using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69a4c85de2638b9f120f5052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c071dcc20a3af6becfd0e0\",\"Direction\":\"Take ONE tablet in the morning.\",\"FoilId\":\"69c071dcc20a3af6becfd0e4\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-06T21:46:26Z\",\"ScriptNum\":\"602079\",\"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-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TELMISARTAN HCTZ 80/25 (APO) 80mg/25mg TAB\",\"DrugCode\":\"TELM48\",\"Austr\":\"208063\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow mottled and white to off-white\",\"Shape\":\"oval\",\"Marking\":\"L201\",\"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 quicklyPREGNANCY WARNING - Category DC/I IN PTS WITH SULPHA ALLERGYSpecial handling and disposal required - ask your Pharmacistswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"TELM5\",\"GenericName\":\"TELMISARTAN/HYDROCHLOROTHIAZID\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f25a0ba5d7c50797828\",\"ImageSmallSizeId\":\"68f5994b5a506b941b5c8f57\",\"ImageName\":\"208063-C01-01-BL600.jpg\",\"AltBrand\":\"MICARDIS PLUS, PRITOR PLUS, MIZART HCT 80/25, TELMIGEN HCT 80/25, TELMISARTAN HCT (SANDOZ), TELMISARTAN HCTZ (CHEM-MART), TELMISARTAN HCTZ 80/25 (AN), TELMISARTAN HCTZ 80/25 (APO), TELMISARTAN HCTZ 80/25 (TW), TELTARTAN HCT 80/25, TELMISARTAN HCT (GH), TELMISARTAN HCTZ 80/25 (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"TELMISARTAN HCTZ 80/25 (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"80mg/25mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow mottled and white to off-white oval L201\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"Usage\":0,\"DrugFullName\":\"TELMISARTAN HCTZ 80/25 (APO) 80mg/25mg TAB\",\"MedicationFullDetails\":\"TELMISARTAN HCTZ 80/25 (APO) 80mg/25mg TAB - TELMISARTAN/HYDROCHLOROTHIAZID (TELM48)\",\"Id\":\"5f0e69e0a0ba5db368a17048\",\"CreatedDate\":\"2020-07-15T02:28:45.801Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.255Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c071dcc20a3af6becfd0f0\",\"CreatedDate\":\"2026-03-22T22:49:00.128Z\",\"CreatedUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserName\":\"peacockluke\",\"LastUpdateDate\":\"2026-04-23T04:29:23.9912083Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c071dcc20a3af6becfd0e0",
"");