using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":1,\"Description\":\"\",\"Dose\":[0.0,0.0,0.0,6.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6705e2d227976e0e9c30beed\",\"Direction\":\"AS DIRECTED\",\"FoilId\":\"6705e2d227976e0e9c30bf40\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"IN\",\"Description\":\"Injection\"},\"IsStandard\":false,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":true,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2024-09-26T00: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:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncId\":\"a6de7216-ee59-4866-9de7-c7a379638d1d-4467\",\"SyncDate\":\"2024-10-09T01:56:34.802Z\",\"IsSyncImported\":true,\"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\":\"66c563c98222d312085e5f33\",\"Usage\":3,\"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-10T17:28:57.759Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6705e2d227976e0e9c30bf4c\",\"CreatedDate\":\"2024-10-09T01:56:34.802Z\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserName\":\"chloe\",\"LastUpdateDate\":\"2026-04-21T05:33:43.7996896Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6705e2d227976e0e9c30beed",
"");