using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c32e836012098639a316be",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69e75dc3b02e12b387425c3c\",\"Direction\":\"Inject 80 units Before bed.\",\"FoilId\":\"69e75dc3b02e12b387425c40\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T00:30:21Z\",\"ScriptNum\":\"1395332\",\"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\":\"69c32e836012098639a316be\",\"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\":\"69c32e836012098639a316be\",\"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-10T23:37:24.959Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e75dc3b02e12b387425c4e\",\"CreatedDate\":\"2026-04-21T11:21:39.359Z\",\"CreatedUserId\":\"69e7599fb02e12b3873deab3\",\"LastUpdateDate\":\"2026-04-21T12:22:45.9889059Z\",\"UpdateDeletedDate\":\"2026-04-21T12:22:45.9889059Z\",\"DeletedUserId\":\"69e7599fb02e12b3873deab3\",\"IsDeleted\":true}"),
"69e75dc3b02e12b387425c3c",
"");