using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,3.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eacacc747aca488f18a8c6\",\"Direction\":\"Swallow whole THREE tablets in the evening\",\"FoilId\":\"69eacacc747aca488f18a8ca\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-17T21:46:25Z\",\"ScriptNum\":\"6031810\",\"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\":\"2026-04-30T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"OriginDrugId\":\"6102d275a6b66b27b811023a\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAFORMIN XR 500mg ER-TAB\",\"DrugCode\":\"DIAF6\",\"Austr\":\"120868\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"white to off-white capsule-shaped 500\",\"Warning\":\"swallowed wholewith or soon after food.*Do not exceed one Aspirin tablet or capsule per day*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"METF29\",\"GenericName\":\"METFORMIN HCL\",\"Presentation\":\"Used in the treatment of diabetes. Controlling high blood sugar helps prevent heart disease, strokes, kidney disease, circulation problems, and blindness.\",\"ImageId\":\"5f3a2dbca0ba5d7c50796c20\",\"ImageSmallSizeId\":\"68f598d85a506b941b5c88dc\",\"ImageName\":\"120868-C01-01-BL600.jpg\",\"AltBrand\":\"DIABEX XR 500, DIAFORMIN XR, METEX XR, METFORMIN XR 500 (APO), METFORMIN XR 500 (CHEM MART), METFORMIN XR 500 (TW), METFORMIN XR 500 (APO), METFORMIN XR 500 (APOTEX), METFORMIN XR 500 (BLOOMS), METFORMIN (MEDSURGE), METFORMIN XR (PHARMACOR), METFORMIN XR (PHARMACOR), METFORMIN XR (WGR), DIAFORMIN XR (ALPHAPHARM), METFORMIN XR (SANDOZ), METFORMIN XR (LUPIN)\",\"DoNotCrush\":true,\"TradeName\":\"DIAFORMIN XR\",\"Formulation\":\"ER-TAB\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":120,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped 500\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"Usage\":1,\"DrugFullName\":\"DIAFORMIN XR 500mg ER-TAB\",\"MedicationFullDetails\":\"DIAFORMIN XR 500mg ER-TAB - METFORMIN HCL (DIAF6)\",\"Id\":\"5f0e69e0a0ba5db368a164ca\",\"CreatedDate\":\"2020-07-15T02:28:43.325Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateDate\":\"2026-04-30T07:30:20.889Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f3050c1b4602a5af0429b5\",\"CreatedDate\":\"2026-04-30T07:30:20.792Z\",\"CreatedUserName\":\"mpdataentry1550\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserName\":\"mpdataentry1550\",\"LastUpdateDate\":\"2026-04-30T07:30:36.8895609Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eacacc747aca488f18a8c6",
"");