using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67886244a7ab950ac03b5b29",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white heart-shaped\",\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"Morning\",\"Noon\",\"Evening\",\"Bedtime\",\"\",\"\",\"\",\"\"],\"PatientId\":\"679b0c4108d9230e5c48be24\",\"Direction\":\"Take HALF a tablet daily\",\"FoilId\":\"679b0c4108d9230e5c48be25\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T01:38:29.474451Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T01:38:29.474451Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"67886244a7ab950ac03b5b29\",\"SyncId\":\"d2eca354-197c-435f-a0de-306d6b8972bf-2509\",\"SyncDate\":\"2025-01-31T06:42:06.836Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"BISPRO 2.5mg TAB\",\"DrugCode\":\"BISP1\",\"Austr\":\"130178\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"heart-shaped\",\"Marking\":\"\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole*May cause dizziness when standing up quickly*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"BISO2\",\"GenericName\":\"BISOPROLOL FUMARATE\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2db2a0ba5d7c50796915\",\"ImageName\":\"130178-C01-01-BL600.jpg\",\"AltBrand\":\"BICOR, BISPRO, BISOPROLOL (SANDOZ), BICARD, BISOPROLOL (GEN HLTH), BISOPROLOL (PFIZER), BISOPROLOL (APO), BISOPROLOL (CHEM MART), BISOPROLOL (TW), BEPROL, BISO, BISOPROLOL (AN), BISOPROLOL (DR REDDY'S), BISOPROLOL (CIPLA), BISOPROLOL (NOUMED), BISOPROLOL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"BISPRO\",\"Formulation\":\"TAB\",\"Strength\":\"2.5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white heart-shaped\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67886244a7ab950ac03b5b29\",\"Usage\":1,\"DrugFullName\":\"BISPRO 2.5mg TAB\",\"MedicationFullDetails\":\"BISPRO 2.5mg TAB - BISOPROLOL FUMARATE (BISP1)\",\"Id\":\"5f0e69e0a0ba5db368a162c5\",\"CreatedDate\":\"2020-07-15T02:28:42.879Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:34:25.636Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"679b0c4108d9230e5c48be27\",\"CreatedDate\":\"2025-01-30T05:21:05.846Z\",\"LastUpdateUserId\":\"679b02b4af648e0a60b040ff\",\"LastUpdateDate\":\"2026-04-22T01:38:29.474451Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"679b0c4108d9230e5c48be24",
"");