using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"649923d0f65a8813a473b052",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[4.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"66177c8f16f53f136c2fd15f\",\"Direction\":\"4-10mg every 2 hours as REQ\",\"FoilId\":\"66177c8f16f53f136c2fd17c\",\"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-29T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"mL\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ORDINE 1 1mg/mL O-SOLN\",\"DrugCode\":\"MO82\",\"Austr\":\"150219\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"Oral Solution\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.PDL Warn: Caution Strengths- Discard contents 6 months after openingUse of this medicine has the risks of overdose and dependenceS/Care - Driving & MedicationS/Care - Pain Relievers\",\"Direction\":\"\",\"GenericCode\":\"MO81\",\"GenericName\":\"MORPHINE HCL TRIHYDRATE\",\"Presentation\":\"\",\"AltBrand\":\"ORDINE 1, RA-MORPH S19A\",\"DoNotCrush\":false,\"TradeName\":\"ORDINE 1\",\"Formulation\":\"O-SOLN\",\"Strength\":\"1mg/mL\",\"Schedule\":\"8\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"Usage\":0,\"DrugFullName\":\"ORDINE 1 1mg/mL O-SOLN\",\"MedicationFullDetails\":\"ORDINE 1 1mg/mL O-SOLN - MORPHINE HCL TRIHYDRATE (MO82)\",\"Id\":\"5f0e69e0a0ba5db368a14ec8\",\"CreatedDate\":\"2020-07-15T02:28:38.423Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T16:23:40.223Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f1adedc44f8367b72a9ba0\",\"CreatedDate\":\"2026-04-29T07:06:21.0137617Z\",\"CreatedUserName\":\"AlisonP\",\"CreatedUserId\":\"64cae9c5f65a8810846f1bb3\",\"LastUpdateDate\":\"2026-04-29T07:06:21.0137617Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"66177c8f16f53f136c2fd15f",
"");