using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6993ee946f072bc22746cf88",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e076dc143234344290d0cd\",\"Direction\":\"Take ONE tablet at night\",\"FoilId\":\"69e076dc143234344290d0f6\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-06T14:00:00Z\",\"ScriptNum\":\"2261787\",\"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-16T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"Withold from 23.04.26 due to Low BP per Dr Birmingham\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NORDIP 5mg TAB\",\"DrugCode\":\"NORD5\",\"Austr\":\"133159\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"AB 5\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineS/Care - Exercise & HeartS/Care - Reducing Fat/Cholest\",\"Direction\":\"\",\"GenericCode\":\"AML2\",\"GenericName\":\"AMLODIPINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2da4a0ba5d7c507960bf\",\"ImageSmallSizeId\":\"68f598cf5a506b941b5c83ff\",\"ImageName\":\"133159-C01-01-BL600.jpg\",\"AltBrand\":\"NORVASC, AMLODIPINE (TPX BASE), AMLODIPINE (SANDOZ), AMLO, PERIVASC, AMLODIPINE (GH), AMLODIPINE (APO), AMLODIPINE (CHEM-MART), AMLODIPINE (GA), AMLODIPINE (TW), OZLODIP, AMLODIPINE (PHARMACOR), NORDIP, NORVAPINE, AMLODIPINE (DRLA), AMLODIPINE (APO), AMLODIPINE (AURO), AMLODIPINE (PFIZER), AMLODIPINE (AN), AMLODIPINE (BLOOMS-IB), AMLODIPINE (AMNEAL), AMLODIPINE (APOTEX), AMLODIPINE (BTC), AMLODIPINE (NOUMED), AMLODIPINE (BLOOMS-BG), AMLODIPINE (APX), AMLODIPINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"NORDIP\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round AB 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"Usage\":8,\"DrugFullName\":\"NORDIP 5mg TAB\",\"MedicationFullDetails\":\"NORDIP 5mg TAB - AMLODIPINE (NORD5)\",\"Id\":\"5f0e69e0a0ba5db368a1640c\",\"CreatedDate\":\"2020-07-15T02:28:43.144Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.939Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e076dc143234344290d11c\",\"CreatedDate\":\"2026-04-16T05:42:52.187Z\",\"CreatedUserId\":\"69c21352af217b9ed91eb5cb\",\"LastUpdateUserId\":\"6993faae6f072bc2276d1178\",\"LastUpdateUserName\":\"Sharlene\",\"LastUpdateDate\":\"2026-04-22T23:17:13.6376228Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e076dc143234344290d0cd",
"");