using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698d50af9c6752ab21ee82e6",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,2.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6993c2efea4154733d229511\",\"Direction\":\"Inhale 2 puffs in the morning\",\"FoilId\":\"69e6db24d23a7898108a6e14\",\"FoilLabel\":\"Blister Pack 2\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"IH\",\"Description\":\"Inhaled\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2025-11-13T04: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\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPIOLTO RESPIMAT REUSEABLE 2.5mcg/2.5mcg, 60 INH-PACK\",\"DrugCode\":\"SPIOL2\",\"Austr\":\"326008\",\"Supplier\":\"BOEHRINGER INGELHEIM PTY\",\"Type\":\"Inhaler Pack\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"**Device reusable**Rec use 6 cartridges per inhalerDo not use reusable inhaler for >1 year\",\"Direction\":\"\",\"GenericCode\":\"TIOL1\",\"GenericName\":\"TIOTROPIUM/OLODATEROL\",\"Presentation\":\"\",\"AltBrand\":\"SPIOLTO RESPIMAT DISPOSABLE, SPIOLTO RESPIMAT CARTRIDGE, SPIOLTO RESPIMAT REUSEABLE\",\"DoNotCrush\":false,\"TradeName\":\"SPIOLTO RESPIMAT REUSEABLE\",\"Formulation\":\"INH-PACK\",\"Strength\":\"2.5mcg/2.5mcg, 60\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698d50af9c6752ab21ee82e6\",\"Usage\":0,\"DrugFullName\":\"SPIOLTO RESPIMAT REUSEABLE 2.5mcg/2.5mcg, 60 INH-PACK\",\"MedicationFullDetails\":\"SPIOLTO RESPIMAT REUSEABLE 2.5mcg/2.5mcg, 60 INH-PACK - TIOTROPIUM/OLODATEROL (SPIOL2)\",\"Id\":\"6102d2ada6b66b27b8110348\",\"CreatedDate\":\"2021-07-29T16:09:17.128Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:25.846Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6dd9748571626cc7bd1a8\",\"CreatedDate\":\"2026-04-21T02:14:47.2715444Z\",\"CreatedUserName\":\"Admin123\",\"CreatedUserId\":\"698d623a9c6752ab211e93b5\",\"LastUpdateDate\":\"2026-04-21T02:14:47.2715444Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993c2efea4154733d229511",
"");