using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"687486c79d2fa1422a1937a5",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white oblong DIA 60 DIA 60\",\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"690944704301ebd6e98bf7af\",\"Direction\":\"Take One in the morning \",\"FoilId\":\"690944704301ebd6e98bf7d7\",\"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\":\"2021-03-24T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"687486c79d2fa1422a1937a5\",\"SyncId\":\"019071b2-df9c-4055-8fb3-71f3d6dd746a-138\",\"SyncDate\":\"2025-11-04T00:10:24.697Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"ARDIX GLICLAZIDE MR 60mg MR-TAB\",\"DrugCode\":\"ARDI1\",\"Austr\":\"154049\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"MR-Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"DIA 60\",\"Warning\":\"swallowed whole*Do not exceed one Aspirin tablet or capsule per daywith or soon after food.*Avoid combination with St John's wort*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"GLIC9\",\"GenericName\":\"GLICLAZIDE\",\"Presentation\":\"Used in the treatment of diabetes. Controlling high blood sugar helps prevent heart disease, strokes, kidney disease, circulation problems, and blindness.\",\"ImageId\":\"5f3a2f1aa0ba5d7c5079717b\",\"ImageSmallSizeId\":\"68f599535a506b941b5c8fb4\",\"ImageName\":\"154049-C01-01-BL600.jpg\",\"AltBrand\":\"DIAMICRON, ARDIX GLICLAZIDE MR, GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (LUPIN)\",\"DoNotCrush\":true,\"TradeName\":\"ARDIX GLICLAZIDE MR\",\"Formulation\":\"MR-TAB\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong DIA 60\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"687486c79d2fa1422a1937a5\",\"Usage\":5,\"DrugFullName\":\"ARDIX GLICLAZIDE MR 60mg MR-TAB\",\"MedicationFullDetails\":\"ARDIX GLICLAZIDE MR 60mg MR-TAB - GLICLAZIDE (ARDI1)\",\"Id\":\"5f0e69e0a0ba5db368a170eb\",\"CreatedDate\":\"2020-07-15T02:28:45.935Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:10:01.824Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"690944704301ebd6e98bf7ed\",\"CreatedDate\":\"2025-11-04T00:10:24.697Z\",\"LastUpdateUserId\":\"689ae5dc2e3f4ac6b7113b77\",\"LastUpdateUserName\":\"JOD\",\"LastUpdateDate\":\"2026-04-23T07:04:42.3919874Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"690944704301ebd6e98bf7af",
"");