using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c9fbe26d56c65bbb0d5813",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6182fd23a789810512687\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"69e61847d23a78981051305c\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESAN 32mg TAB\",\"DrugCode\":\"CANN4\",\"Austr\":\"195459\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"Light Pink mottled\",\"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\":\"5f3a2dafa0ba5d7c507966f9\",\"ImageSmallSizeId\":\"68f599795a506b941b5c91f3\",\"ImageName\":\"195459-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\":\"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\":\"69c9fbe26d56c65bbb0d5813\",\"Usage\":0,\"DrugFullName\":\"CANDESAN 32mg TAB\",\"MedicationFullDetails\":\"CANDESAN 32mg TAB - CANDESARTAN CILEXETIL (CANN4)\",\"Id\":\"5f0e69e0a0ba5db368a174f5\",\"CreatedDate\":\"2020-07-15T02:28:46.817Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.489Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6185d5b109806b6bce6c8\",\"CreatedDate\":\"2026-04-20T12:13:17.8201595Z\",\"CreatedUserName\":\"leahkj\",\"CreatedUserId\":\"69cb1f07ba51fecb1a0fd2ad\",\"LastUpdateDate\":\"2026-04-20T12:13:17.8201595Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6182fd23a789810512687",
"");