using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"62a2ccec59ae850f042e6dd6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e7311bb02e12b3870e700c\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e731c014702a057056dcdc\",\"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-21T04: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\":\"HTN and Renal\",\"Unit\":\"\",\"PharmacyId\":\"62a2ccec59ae850f042e6dd6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MIZART 80mg TAB\",\"DrugCode\":\"MIZA2\",\"Austr\":\"230975\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"oval\",\"Marking\":\"L204\",\"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 quicklyswallowed whole*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsSpecial handling and disposal required - ask your PharmacistPREGNANCY WARNING - Category D\",\"Direction\":\"\",\"GenericCode\":\"TELM2\",\"GenericName\":\"TELMISARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"63607e3d6f6fd8436872b337\",\"ImageSmallSizeId\":\"68f599465a506b941b5c8f17\",\"ImageName\":\"230975-C01-01-BL600.jpg\",\"AltBrand\":\"MICARDIS, PRITOR, TELMISARTAN (TPX BASE), MIZART, TELMIGEN, TELMISARTAN (AN), TELMISARTAN (APO), TELMISARTAN (CHEM-MART), TELMISARTAN (DRLA), TELMISARTAN (GH), TELMISARTAN (PHARMACOR), TELMISARTAN (SANDOZ), TELMISARTAN (TW), TELTARTAN, TELMISARTAN (RBX), TELMISARTAN (NOUMED), TELMISARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"MIZART\",\"Formulation\":\"TAB\",\"Strength\":\"80mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oval L204\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"62a2ccec59ae850f042e6dd6\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":2,\"DrugFullName\":\"MIZART 80mg TAB\",\"MedicationFullDetails\":\"MIZART 80mg TAB - TELMISARTAN (MIZA2)\",\"Id\":\"5f0e69e0a0ba5db368a16fdb\",\"CreatedDate\":\"2020-07-15T02:28:45.71Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-08-09T14:40:06.489Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e73360d23a789810b228bb\",\"CreatedDate\":\"2026-04-21T08:20:48.6092286Z\",\"CreatedUserName\":\"Grace\",\"CreatedUserId\":\"6343a4a6f65a88039c53f71b\",\"LastUpdateDate\":\"2026-04-21T08:20:48.6092286Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e7311bb02e12b3870e700c",
"");