using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"62a2ccec59ae850f042e6dd6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e7311bb02e12b3870e700c\",\"Direction\":\"1 on alternate days\",\"FoilId\":\"69e731c014702a057056dcdc\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-21T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":1,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"T2DM\",\"Unit\":\"\",\"PharmacyId\":\"62a2ccec59ae850f042e6dd6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAFORMIN XR 500mg ER-TAB\",\"DrugCode\":\"DIAF4\",\"Austr\":\"120868\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"500\",\"Warning\":\"swallowed wholewith or soon after food.*Do not exceed one Aspirin tablet or capsule per dayS/Care - DiabetesS/Care - Overweight\",\"Direction\":\"\",\"GenericCode\":\"METF16\",\"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\":\"68f598bd5a506b941b5c8324\",\"ImageName\":\"120868-C01-01-BL600.jpg\",\"AltBrand\":\"DIABEX XR, METEX XR, DIAFORMIN XR\",\"DoNotCrush\":true,\"TradeName\":\"DIAFORMIN XR\",\"Formulation\":\"ER-TAB\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":90,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped 500\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"62a2ccec59ae850f042e6dd6\",\"Usage\":2,\"DrugFullName\":\"DIAFORMIN XR 500mg ER-TAB\",\"MedicationFullDetails\":\"DIAFORMIN XR 500mg ER-TAB - METFORMIN HCL (DIAF4)\",\"Id\":\"5f0e69e0a0ba5db368a16284\",\"CreatedDate\":\"2020-07-15T02:28:42.823Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:00:19.253Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e7324e48571626cc9ae805\",\"CreatedDate\":\"2026-04-21T08:16:14.1595374Z\",\"CreatedUserName\":\"Grace\",\"CreatedUserId\":\"6343a4a6f65a88039c53f71b\",\"LastUpdateDate\":\"2026-04-21T08:16:14.1595374Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e7311bb02e12b3870e700c",
"");