using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68af9f454d13f71850cea050",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"68cba9efe91894b799888aeb\",\"Direction\":\"Take one tablet Daily\",\"FoilId\":\"68cba9efe91894b799888b1c\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-09-10T01:31:55Z\",\"ScriptNum\":\"802520\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-05-01T02:22:47.2258272Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-05-01T02:22:47.2258272Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68af9f454d13f71850cea050\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CANDESAN 8mg TAB\",\"DrugCode\":\"CANN2\",\"Austr\":\"195509\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"Light Pink mottled\",\"Shape\":\"Round\",\"Marking\":\"292\",\"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 .\",\"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\":\"8mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68af9f454d13f71850cea050\",\"Usage\":0,\"DrugFullName\":\"CANDESAN 8mg TAB\",\"MedicationFullDetails\":\"CANDESAN 8mg TAB - CANDESARTAN CILEXETIL (CANN2)\",\"Id\":\"5f0e69e0a0ba5db368a174f3\",\"CreatedDate\":\"2020-07-15T02:28:46.815Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:37:56.294Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68cba9efe91894b799888b27\",\"CreatedDate\":\"2025-09-18T06:42:55.735Z\",\"CreatedUserId\":\"68c8bb1c454a73449696776e\",\"LastUpdateUserId\":\"68c8bb1c454a73449696776e\",\"LastUpdateUserName\":\"sgriggs\",\"LastUpdateDate\":\"2026-05-01T02:22:47.2258272Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68cba9efe91894b799888aeb",
"");