using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67d7933aaf648e06f86e73e7\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"67d7933aaf648e06f86e73eb\",\"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\":\"2025-03-26T02: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:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CAL-SUP 500mg CHEW-TAB\",\"DrugCode\":\"CA67\",\"Austr\":\"59914\",\"Supplier\":\"INOVA PHARMACEUTICALS (AU\",\"Type\":\"Chewable Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"CAL-SUP 500\",\"Warning\":\"\",\"Direction\":\"\",\"GenericCode\":\"CALA1\",\"GenericName\":\"CALCIUM (AS CARBONATE)\",\"Presentation\":\"Used for treating osteoporosis, low calcium in the blood, and high blood pressure.\",\"ImageId\":\"5f3a2f1fa0ba5d7c5079746c\",\"ImageSmallSizeId\":\"68f5980a5a506b941b5c7a3a\",\"ImageName\":\"59914-A01-01-BL600.jpg\",\"AltBrand\":\"CAL-SUP, CAL-500, CAL-500\",\"DoNotCrush\":false,\"TradeName\":\"CAL-SUP\",\"Formulation\":\"CHEW-TAB\",\"Strength\":\"500mg\",\"Schedule\":\"\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round CAL-SUP 500\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":1,\"DrugFullName\":\"CAL-SUP 500mg CHEW-TAB\",\"MedicationFullDetails\":\"CAL-SUP 500mg CHEW-TAB - CALCIUM (AS CARBONATE) (CA67)\",\"Id\":\"5f0e69e0a0ba5db368a141cf\",\"CreatedDate\":\"2020-07-15T02:28:35.403Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:53:35.386Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"67e3465eaf648e0928047c6b\",\"CreatedDate\":\"2025-03-26T00:12:14.381Z\",\"CreatedUserName\":\"Max\",\"CreatedUserId\":\"64547b8af65a8808c4c57d0f\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserName\":\"Thomas\",\"LastUpdateDate\":\"2026-04-24T11:40:38.5772726Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67d7933aaf648e06f86e73e7",
"");