using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eacacc747aca488f18a8b1\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"69eacacc747aca488f18a8b5\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-18T01:42:36Z\",\"ScriptNum\":\"6031816\",\"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\":\"2026-04-30T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a1704a\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TELMISARTAN (APO) 40mg TAB\",\"DrugCode\":\"TELM17\",\"Austr\":\"209336\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"oval\",\"Marking\":\"white to off-white oval L203\",\"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\":\"TELM1\",\"GenericName\":\"TELMISARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2d79a0ba5d7c507948d9\",\"ImageSmallSizeId\":\"68f5994a5a506b941b5c8f47\",\"ImageName\":\"209336-C01-01-BL600.jpg\",\"AltBrand\":\"MICARDIS, PRITOR, TELMISARTAN (TPX BASE), MIZART, TELMIGEN, TELMISARTAN (AN), TELMISARTAN (APO), TELMISARTAN (CHEM-MART), TELMISARTAN (DRLA), TELMISARTAN (GH), TELMISARTAN (SANDOZ), TELMISARTAN (TW), TELMISARTAN 40 (PHARMACOR), TELTARTAN, TELMISARTAN (RBX), TELMISARTAN (NOUMED), TELMISARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"TELMISARTAN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white oval L203\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"Usage\":3,\"DrugFullName\":\"TELMISARTAN (APO) 40mg TAB\",\"MedicationFullDetails\":\"TELMISARTAN (APO) 40mg TAB - TELMISARTAN (TELM17)\",\"Id\":\"5f0e69e0a0ba5db368a1702d\",\"CreatedDate\":\"2020-07-15T02:28:45.781Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateDate\":\"2026-04-30T07:34:01.88Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f305e96a52244e589d00e5\",\"CreatedDate\":\"2026-04-30T07:34:01.462Z\",\"CreatedUserName\":\"mpdataentry1550\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserName\":\"mpdataentry1550\",\"LastUpdateDate\":\"2026-04-30T07:34:08.4807725Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eacacc747aca488f18a8b1",
"");