using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67d9f6e2af648e0accf00131",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"TAB OVL WHITE 1000\",\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67eb586d967e011394ce8c11\",\"Direction\":\"ONE tablet twice a day\",\"FoilId\":\"67eb586d967e011394ce8c30\",\"FoilLabel\":\"Foil 1\",\"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\":\"2025-06-19T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a170be\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"67d9f6e2af648e0accf00131\",\"SyncId\":\"a9d90b0a-e0f4-425b-bc8f-f9f6c00ba7e1-28724\",\"SyncDate\":\"2025-04-01T03:07:25.513Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"METFORMIN XR (SANDOZ) 1g ER-TAB\",\"DrugCode\":\"MESZ01\",\"Austr\":\"423422\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"swallowed wholewith or soon after food.*Do not exceed one Aspirin tablet or capsule per day\",\"Direction\":\"\",\"GenericCode\":\"METF31\",\"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\":\"\",\"AltBrand\":\"DIABEX XR, DIAFORMIN XR 1000, METFORMIN XR 1000 (APO), METEX XR 1000, METFORMIN XR 1000 (BLOOMS), METFORMIN XR 1000 (CHEM MART), METFORMIN XR 1000 (TW), METEX XR, METFORMIN XR (PHARMACOR), METFORMIN XR (PHARMACOR), METFORMIN XR (WGR), DIAFORMIN XR 1000 (ALPHAPHARM), METFORMIN XR (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"METFORMIN XR (SANDOZ)\",\"Formulation\":\"ER-TAB\",\"Strength\":\"1g\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"PreferredBrand\":[],\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"lge white oval tab \\"1000\\"\",\"UsePrintingDrugName\":true,\"PrintingDrugName\":\"METFORMIN XR 1G (SZ) TAB\",\"PharmacyId\":\"67d9f6e2af648e0accf00131\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Supplier\\":null,\\"Type\\":null,\\"Color\\":null,\\"Shape\\":null,\\"Warning\\":null,\\"Direction\\":null,\\"Presentation\\":null,\\"ImageId\\":null,\\"AltBrand\\":null,\\"PreferredBrand\\":[],\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"UsePrintingDrugName\\":false,\\"PrintingDrugName\\":null,\\"Route\\":null}\",\"Usage\":6,\"DrugFullName\":\"METFORMIN XR (SANDOZ) 1g ER-TAB\",\"UpdateImageUserId\":\"67eb2b1f08efed0b7099fd06\",\"MedicationFullDetails\":\"METFORMIN XR (SANDOZ) 1g ER-TAB - METFORMIN HCL (MESZ01)\",\"Id\":\"6847be86a7ab95065062f486\",\"CreatedDate\":\"2025-06-10T05:29:44.349Z\",\"CreatedUserName\":\"katw\",\"CreatedUserId\":\"67eb2b1f08efed0b7099fd06\",\"LastUpdateUserId\":\"67edff4508efed0dc49d9dde\",\"LastUpdateDate\":\"2025-10-13T07:08:55.753Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"685364e7af648e0f28f80ec8\",\"CreatedDate\":\"2025-06-19T01:16:23.702Z\",\"CreatedUserName\":\"katw\",\"CreatedUserId\":\"67eb2b1f08efed0b7099fd06\",\"LastUpdateUserId\":\"67eb2b1f08efed0b7099fd06\",\"LastUpdateUserName\":\"katw\",\"LastUpdateDate\":\"2026-04-24T04:51:55.9775067Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67eb586d967e011394ce8c11",
"");