using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c416a38222d30ea8c549dc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e828ec9331f9d46842aa39\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e828ec9331f9d46842aa78\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-03T01:46:37Z\",\"ScriptNum\":\"3125033\",\"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-22T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"GLICLAZIDE MR (PHARMACOR) 60mg MR-TAB\",\"DrugCode\":\"GLIC22\",\"Austr\":\"316923\",\"Supplier\":\"PHARMACOR PTY LIMITED\",\"Type\":\"MR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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.\",\"AltBrand\":\"DIAMICRON, ARDIX GLICLAZIDE MR, GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (LUPIN)\",\"DoNotCrush\":true,\"TradeName\":\"GLICLAZIDE MR (PHARMACOR)\",\"Formulation\":\"MR-TAB\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"Usage\":0,\"DrugFullName\":\"GLICLAZIDE MR (PHARMACOR) 60mg MR-TAB\",\"MedicationFullDetails\":\"GLICLAZIDE MR (PHARMACOR) 60mg MR-TAB - GLICLAZIDE (GLIC22)\",\"Id\":\"6102d23fa6b66b27b8110136\",\"CreatedDate\":\"2021-07-29T16:07:27.057Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:27:22.334Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e828ec9331f9d46842ae99\",\"CreatedDate\":\"2026-04-22T01:48:28.639Z\",\"CreatedUserId\":\"673eb60308efed0d60aadb24\",\"LastUpdateUserId\":\"66f572625ac25f0618273565\",\"LastUpdateUserName\":\"max.g\",\"LastUpdateDate\":\"2026-04-22T02:55:11.9355364Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e828ec9331f9d46842aa39",
"");