using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67eb59eeaf648e1100515eb6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67ec92f108efed13d062340c\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"67ede97208efed0dc47b2937\",\"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\":\"2025-04-03T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"1 week to use on shelf \",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67eb59eeaf648e1100515eb6\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ADESAN 8mg TAB\",\"DrugCode\":\"ADES2\",\"Austr\":\"171022\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"mottled pink\",\"Shape\":\"round\",\"Marking\":\"25\",\"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\":\"CAND7\",\"GenericName\":\"CANDESARTAN CILEXETIL\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2f1da0ba5d7c50797333\",\"ImageSmallSizeId\":\"68f599d35a506b941b5c9665\",\"ImageName\":\"171022-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\":\"ADESAN\",\"Formulation\":\"TAB\",\"Strength\":\"8mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"mottled pink round 25\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67eb59eeaf648e1100515eb6\",\"Usage\":4,\"DrugFullName\":\"ADESAN 8mg TAB\",\"MedicationFullDetails\":\"ADESAN 8mg TAB - CANDESARTAN CILEXETIL (ADES2)\",\"Id\":\"5f0e69e0a0ba5db368a16d35\",\"CreatedDate\":\"2020-07-15T02:28:45.132Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:49:05.822Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"67ede9b9af648e0ea046b001\",\"CreatedDate\":\"2025-04-03T01:51:53.669Z\",\"CreatedUserName\":\"MPAdmin_1279\",\"CreatedUserId\":\"67eb59eeaf648e1100515ee8\",\"LastUpdateUserId\":\"67ec73afaf648e0d001a955a\",\"LastUpdateUserName\":\"KT\",\"LastUpdateDate\":\"2026-04-23T00:32:53.9113403Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67ec92f108efed13d062340c",
"");