using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697044a8552ae687da1bfc99",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697a6929423ac5cb0198f7d2\",\"Direction\":\"1 MORNINGS (Saturday morning)\",\"FoilId\":\"697a6929423ac5cb0198f7e0\",\"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\":\"2026-04-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,false,false,false,false,false,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"EPILIM 500mg EC-TABS\",\"DrugCode\":\"EPI2\",\"Austr\":\"15370\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"EC-Tablet\",\"Color\":\"lilac\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*Do NOT stop taking this medication abruptly*Do not exceed one Aspirin tablet or capsule per daywith or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryS/Care - EpilepsyS/Care - Driving & Medicationswallowed whole*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"SODV1\",\"GenericName\":\"SODIUM VALPROATE\",\"Presentation\":\"Used as an anticonvulsant and mood-stabilizing drug, primarily in the treatment of epilepsy, bipolar disorder and prevention of migraine headaches.\",\"ImageId\":\"5f3a2d9fa0ba5d7c50795de2\",\"ImageSmallSizeId\":\"68f598145a506b941b5c7aaf\",\"ImageName\":\"15370-A01-01-BL600.jpg\",\"AltBrand\":\"EPILIM, VALPRO EC 500, VALPROATE (WINTHROP), VALPROATE (SANDOZ), VALPREASE 500, SODIUM VALPROATE (APO)\",\"DoNotCrush\":true,\"TradeName\":\"EPILIM\",\"Formulation\":\"EC-TABS\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"lilac round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":4,\"DrugFullName\":\"EPILIM 500mg EC-TABS\",\"MedicationFullDetails\":\"EPILIM 500mg EC-TABS - SODIUM VALPROATE (EPI2)\",\"Id\":\"5f0e69e0a0ba5db368a14488\",\"CreatedDate\":\"2020-07-15T02:28:36.05Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.641Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e978b726359e385490a5b0\",\"CreatedDate\":\"2026-04-23T01:41:11.973Z\",\"CreatedUserName\":\"SamL\",\"CreatedUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserName\":\"SamL\",\"LastUpdateDate\":\"2026-04-23T01:41:20.8145488Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697a6929423ac5cb0198f7d2",
"");