using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6848f1cdaf648e0e9084911a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69e6d09bb02e12b387c38e29\",\"Direction\":\"Inject TEN units daily.\",\"FoilId\":\"69e6d09bb02e12b387c38e3b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T02:56:43Z\",\"ScriptNum\":\"6042082\",\"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\":\"0001-01-01T00:00:00\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"PharmacyId\":\"6848f1cdaf648e0e9084911a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP\",\"DrugCode\":\"OPTI13\",\"Austr\":\"159302\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Pre-Filled Pen\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per day**REFRIGERATE DO NOT FREEZE**- Discard contents 28 days after opening\",\"Direction\":\"\",\"GenericCode\":\"INSU15\",\"GenericName\":\"INSULIN GLARGINE SOLOSTAR\",\"Presentation\":\"Used to control blood sugar in people who have type 1 diabetes (condition in which the body does not make insulin and therefore cannot control the amount of sugar in the blood) or in people who have type 2 diabetes (condition in which the blood sugar is too high because the body does not produce or use insulin normally).\",\"AltBrand\":\"LANTUS, LANTUS SOLOSTAR, SEMGLEE, OPTISULIN, OPTISULIN SOLOSTAR\",\"DoNotCrush\":false,\"TradeName\":\"OPTISULIN SOLOSTAR\",\"Formulation\":\"PFP\",\"Strength\":\"100 units/mL, 3mL 5\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6848f1cdaf648e0e9084911a\",\"Usage\":0,\"DrugFullName\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP\",\"MedicationFullDetails\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP - INSULIN GLARGINE SOLOSTAR (OPTI13)\",\"Id\":\"5f0e69e0a0ba5db368a17ab4\",\"CreatedDate\":\"2020-07-15T02:28:48.037Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:54:06.996Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d09bb02e12b387c38e45\",\"CreatedDate\":\"2026-04-21T01:19:23.098Z\",\"CreatedUserId\":\"6848f342a7ab95028ca9ed12\",\"LastUpdateDate\":\"2026-04-21T01:21:00.7856528Z\",\"UpdateDeletedDate\":\"2026-04-21T01:21:00.7856528Z\",\"DeletedUserId\":\"6848f342a7ab95028ca9ed12\",\"IsDeleted\":true}"),
"69e6d09bb02e12b387c38e29",
"");