using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68ae55794d13f718508b8692",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68b3ba5650602bf1e98bea77\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"68b3ba5650602bf1e98bea7b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-08-15T01:52:35Z\",\"ScriptNum\":\"1017607\",\"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-04-22T05:28:47.7647008Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T05:28:47.7647008Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68ae55794d13f718508b8692\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TELMISARTAN (APO) 80mg TAB\",\"DrugCode\":\"TELM27\",\"Austr\":\"209334\",\"Supplier\":\"APOTEX 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\":\"5f3a2d79a0ba5d7c507948d5\",\"ImageName\":\"209334-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\":\"TELMISARTAN (APO)\",\"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\":\"68ae55794d13f718508b8692\",\"Usage\":0,\"DrugFullName\":\"TELMISARTAN (APO) 80mg TAB\",\"MedicationFullDetails\":\"TELMISARTAN (APO) 80mg TAB - TELMISARTAN (TELM27)\",\"Id\":\"5f0e69e0a0ba5db368a1702e\",\"CreatedDate\":\"2020-07-15T02:28:45.782Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:23:27.734Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68b3ba5650602bf1e98bea8d\",\"CreatedDate\":\"2025-08-31T02:58:30.092Z\",\"CreatedUserId\":\"68ae6b644d13f71850ceff07\",\"LastUpdateUserId\":\"68ba4e9a377d5f6c42ffb2ca\",\"LastUpdateUserName\":\"PatriciaD\",\"LastUpdateDate\":\"2026-04-22T05:28:47.7647008Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68b3ba5650602bf1e98bea77",
"");