using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67d75a7c08efed097032b754",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5c232a5419d95d21eff11\",\"Direction\":\"Take ONE capsule TWICE a day #SC4269\",\"FoilId\":\"69e5c232a5419d95d21eff2a\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-24T13:00:00Z\",\"ScriptNum\":\"1936913\",\"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-20T02: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\":\"67d75a7c08efed097032b754\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DABIGATRAN (ARX) 110mg CAP\",\"DrugCode\":\"DABI16\",\"Austr\":\"414771\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"swallowed wholewith a glass of water*Ask your pharmacist about the storage conditions for this medicine*Do not take ASPIRIN or ANTI-INFLAMMATORY medicines unless advised by your Doctor*Avoid combination with St John's wortDo NOT crush or chew\",\"Direction\":\"\",\"GenericCode\":\"DABI7\",\"GenericName\":\"DABIGATRAN ETEXILATE\",\"Presentation\":\"Are a class of anticoagulant drugs that can be used to prevent and treat embolisms and blood clots caused by various diseases.\",\"AltBrand\":\"PRADAXA, DABIGATRAN (ARX), DABIGATRAN (PHARMACOR), DABIGATRAN (SANDOZ), DABIGATRAN (VIATRIS), DABIGATRAN (PHARMACOR)\",\"DoNotCrush\":true,\"TradeName\":\"DABIGATRAN (ARX)\",\"Formulation\":\"CAP\",\"Strength\":\"110mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67d75a7c08efed097032b754\",\"Usage\":2,\"DrugFullName\":\"DABIGATRAN (ARX) 110mg CAP\",\"MedicationFullDetails\":\"DABIGATRAN (ARX) 110mg CAP - DABIGATRAN ETEXILATE (DABI16)\",\"Id\":\"657a4a7127976e0f10fdca5b\",\"CreatedDate\":\"2023-12-14T00:21:05.777Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateDate\":\"2026-02-23T05:16:34.512Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5c232a5419d95d21eff31\",\"CreatedDate\":\"2026-04-20T06:05:38.819Z\",\"CreatedUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateUserName\":\"spark\",\"LastUpdateDate\":\"2026-04-20T06:07:25.5846237Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5c232a5419d95d21eff11",
"");