using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"699cdae0a3649470cabc2491",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69b2843ec90798600e039453\",\"Direction\":\"1 MORNING\",\"FoilId\":\"69b2843ec90798600e039457\",\"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-24T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00\",\"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\":\"699cdae0a3649470cabc2491\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESAN 4mg TAB\",\"DrugCode\":\"CANN1\",\"Austr\":\"195483\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"Light Pink mottled\",\"Shape\":\"Round\",\"Marking\":\"291\",\"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\":\"CAND6\",\"GenericName\":\"CANDESARTAN CILEXETIL\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"AltBrand\":\"ATACAND, 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\":\"4mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"699cdae0a3649470cabc2491\",\"Usage\":2,\"DrugFullName\":\"CANDESAN 4mg TAB\",\"MedicationFullDetails\":\"CANDESAN 4mg TAB - CANDESARTAN CILEXETIL (CANN1)\",\"Id\":\"5f0e69e0a0ba5db368a174f2\",\"CreatedDate\":\"2020-07-15T02:28:46.814Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:18.607Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb0fa25976b98c140dbadb\",\"CreatedDate\":\"2026-04-24T06:37:22.215Z\",\"CreatedUserName\":\"SXS\",\"CreatedUserId\":\"699ce6256e5c9d48bbb3c66d\",\"LastUpdateDate\":\"2026-04-24T06:38:39.7914922Z\",\"UpdateDeletedDate\":\"2026-04-24T06:38:39.7914922Z\",\"DeletedUserId\":\"699ce6256e5c9d48bbb3c66d\",\"IsDeleted\":true}"),
"69b2843ec90798600e039453",
"");