using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67fc46f3af648e0c34ccabde",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white to off-white round 2 5\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"Morning\",\"Morning \",\"Morning \",\"Morning\",\"\",\"\",\"\",\"\"],\"PatientId\":\"685b71512e39a312e8e80fed\",\"Direction\":\"Take ONE tablet daily\",\"FoilId\":\"685b71512e39a312e8e81010\",\"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-22T08:13:52.3657441Z\",\"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-22T08:13:52.3657441Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"67fc46f3af648e0c34ccabde\",\"SyncId\":\"771f622f-fb29-4805-b36b-69adb0d679c1-60\",\"SyncDate\":\"2025-06-25T03:47:29.509Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"BISOPROLOL (APO) 2.5mg TAB\",\"DrugCode\":\"BISO14\",\"Austr\":\"182106\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"2 5\",\"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\":\"5f3a2dbca0ba5d7c50796c0c\",\"ImageSmallSizeId\":\"68f598fc5a506b941b5c8abf\",\"ImageName\":\"182106-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\":\"BISOPROLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"2.5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white to off-white round 2 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67fc46f3af648e0c34ccabde\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":1,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":4,\"DrugFullName\":\"BISOPROLOL (APO) 2.5mg TAB\",\"MedicationFullDetails\":\"BISOPROLOL (APO) 2.5mg TAB - BISOPROLOL FUMARATE (BISO14)\",\"Id\":\"5f0e69e0a0ba5db368a16918\",\"CreatedDate\":\"2020-07-15T02:28:44.25Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69702bfa6b2b4cdfbc460c17\",\"LastUpdateDate\":\"2026-02-18T06:20:25.717Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"685b71512e39a312e8e81012\",\"CreatedDate\":\"2025-06-25T03:47:29.509Z\",\"LastUpdateUserId\":\"69702bfa6b2b4cdfbc460c17\",\"LastUpdateDate\":\"2026-04-22T08:13:52.3657441Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"685b71512e39a312e8e80fed",
"");