using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6861ce491451af7793f51091",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"686770f9fa5b362fe4cbbd08\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"686770f9fa5b362fe4cbbd0b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-06-23T22:57:52Z\",\"ScriptNum\":\"1517788\",\"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\":\"2026-04-07T23:04:06.944Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6861ce491451af7793f51091\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESAN 16mg TAB\",\"DrugCode\":\"CANN3\",\"Austr\":\"195443\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"Light Pink mottled\",\"Shape\":\"Round\",\"Marking\":\"L293\",\"Warning\":\"*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyDo not use if pregnantDo not consider pregnancy w/o Drs adviceSpecial handling and disposal required - ask your Pharmacistswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"CAND8\",\"GenericName\":\"CANDESARTAN CILEXETIL\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2f24a0ba5d7c5079779a\",\"ImageSmallSizeId\":\"68f599795a506b941b5c91f2\",\"ImageName\":\"195443-C01-01-BL600.jpg\",\"AltBrand\":\"ATACAND, CANDESARTEN (TPX), ADESAN, CANDESARTAN (APO), CANDESARTAN (ASPEN), CANDESARTAN (GA), CANDESARTAN (GH), CANDESARTAN (SANDOZ), CANDESARTAN (STADA), CANDESARTAN (RBX), CANDESARTAN (PHARMACOR), CANDESARTAN (AURO), CANDESARTAN (CHEM-MART), CANDESARTAN (TW), CANDESARTAN (AN), CANDESARTAN (BLOOMS), CANDESAN, CANDESARTAN (NOUMED), CANDESARTAN (BTC), CANDESARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"CANDESAN\",\"Formulation\":\"TAB\",\"Strength\":\"16mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light pink round L293\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6861ce491451af7793f51091\",\"Usage\":2,\"DrugFullName\":\"CANDESAN 16mg TAB\",\"MedicationFullDetails\":\"CANDESAN 16mg TAB - CANDESARTAN CILEXETIL (CANN3)\",\"Id\":\"5f0e69e0a0ba5db368a174f4\",\"CreatedDate\":\"2020-07-15T02:28:46.816Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:07:37.239Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"686770f9fa5b362fe4cbbd0d\",\"CreatedDate\":\"2025-07-04T06:13:13.906Z\",\"CreatedUserId\":\"6861f22d1451af779347e672\",\"LastUpdateUserId\":\"692391c8b05aad65a7dfaded\",\"LastUpdateUserName\":\"irsheid\",\"LastUpdateDate\":\"2026-04-20T07:14:18.7439613Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"686770f9fa5b362fe4cbbd08",
"");