using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65c44668a5ab8f0a98e8c2e4",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[10.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69b77f80485625038a86890f\",\"Direction\":\"Inject 10 units daily\",\"FoilId\":\"69b77f98d0142c4b2196a70a\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"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\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65c44668a5ab8f0a98e8c2e4\",\"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\":\"65c44668a5ab8f0a98e8c2e4\",\"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-10T15:59:31.631Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9a65a0f0cccf868997a35\",\"CreatedDate\":\"2026-04-23T04:55:54.068Z\",\"CreatedUserName\":\"Xiang\",\"CreatedUserId\":\"65cc2f8096096603c8cb6476\",\"LastUpdateUserId\":\"65cc2f8096096603c8cb6476\",\"LastUpdateUserName\":\"Xiang\",\"LastUpdateDate\":\"2026-04-23T04:59:17.5134948Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b77f80485625038a86890f",
"");