using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65f10adaa5ab8f00645494a8",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69b1e6349004f19253faebe7\",\"Direction\":\"INJECT as DIRECTED\",\"FoilId\":\"69b1e6349004f19253faec06\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T02:28:55.2446829Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T02:28:55.2446829Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NOVORAPID 100 units/mL, 10ml INJ\",\"DrugCode\":\"NOVO8\",\"Austr\":\"133443\",\"Supplier\":\"NOVO NORDISK PHARMACEUTIC\",\"Type\":\"Injection\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"**REFRIGERATE DO NOT FREEZE***Do not exceed one Aspirin tablet or capsule per dayS/Care - Diabetes- Discard contents 28 days after opening\",\"Direction\":\"\",\"GenericCode\":\"INSU12\",\"GenericName\":\"INSULIN ASPART\",\"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\":\"NOVORAPID\",\"DoNotCrush\":false,\"TradeName\":\"NOVORAPID\",\"Formulation\":\"INJ\",\"Strength\":\"100 units/mL, 10ml\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"Usage\":0,\"DrugFullName\":\"NOVORAPID 100 units/mL, 10ml INJ\",\"MedicationFullDetails\":\"NOVORAPID 100 units/mL, 10ml INJ - INSULIN ASPART (NOVO8)\",\"Id\":\"5f0e69e0a0ba5db368a15902\",\"CreatedDate\":\"2020-07-15T02:28:40.802Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T16:42:33.362Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69df1422fd5b4f42a9dfd05c\",\"CreatedDate\":\"2026-04-15T04:29:22.987Z\",\"CreatedUserName\":\"tiana\",\"CreatedUserId\":\"68a7acf2d90ccfec0c3f4ce7\",\"LastUpdateUserId\":\"68a7acf2d90ccfec0c3f4ce7\",\"LastUpdateDate\":\"2026-04-20T02:28:55.2446829Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b1e6349004f19253faebe7",
"");