using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683ce47d08efed0e78bda829",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[3.0,0.0,3.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69a8fb6a1b0a2a5b945a6a0b\",\"Direction\":\"Take THREE tablets TWICE a day as directed by your doctor\",\"FoilId\":\"69a8fb6a1b0a2a5b945a6a1a\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-05T02:53:53Z\",\"ScriptNum\":\"136251\",\"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-20T01:54:05.8987229Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T01:54:05.8987229Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"683ce47d08efed0e78bda829\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"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\":\"683ce47d08efed0e78bda829\",\"Usage\":1,\"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-11T15:59:41.149Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69a8fb6a1b0a2a5b945a6a1e\",\"CreatedDate\":\"2026-03-05T03:41:30.49Z\",\"CreatedUserId\":\"68414df2a7ab95045c5ba626\",\"LastUpdateUserId\":\"683fe723a7ab95049c7c30d8\",\"LastUpdateUserName\":\"bg\",\"LastUpdateDate\":\"2026-04-20T01:54:05.8987229Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69a8fb6a1b0a2a5b945a6a0b",
"");