using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"689acf1af95b0ff6a3ceb830",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6943a13fe82b6d5bfe4d3991\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"6943a1820a78496fc7ce7cae\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-30T08:22:14.9319453Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T08:22:14.9319453Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"689acf1af95b0ff6a3ceb830\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESARTAN (APO) 32mg TAB\",\"DrugCode\":\"CAND43\",\"Austr\":\"210532\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"light pink\",\"Shape\":\"round\",\"Marking\":\"L294\",\"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\":\"CAND10\",\"GenericName\":\"CANDESARTAN CILEXETIL\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2dc7a0ba5d7c50796e9d\",\"ImageSmallSizeId\":\"68f599295a506b941b5c8db0\",\"ImageName\":\"210532-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\":\"CANDESARTAN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"32mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light pink round L294\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"689acf1af95b0ff6a3ceb830\",\"Usage\":2,\"DrugFullName\":\"CANDESARTAN (APO) 32mg TAB\",\"MedicationFullDetails\":\"CANDESARTAN (APO) 32mg TAB - CANDESARTAN CILEXETIL (CAND43)\",\"Id\":\"5f0e69e0a0ba5db368a16d44\",\"CreatedDate\":\"2020-07-15T02:28:45.142Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:20:32.031Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6943a3ef866142544cd7d58a\",\"CreatedDate\":\"2025-12-18T06:49:19.144Z\",\"CreatedUserName\":\"guildertonpharmacy\",\"CreatedUserId\":\"689ad0e49e33cfe120883a1d\",\"LastUpdateUserId\":\"689ad0e49e33cfe120883a1d\",\"LastUpdateUserName\":\"guildertonpharmacy\",\"LastUpdateDate\":\"2026-04-30T08:22:14.9319453Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6943a13fe82b6d5bfe4d3991",
"");