using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6684a35b5ac25f0efcd9e5fb",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6790424308efed0e0c62c8e6\",\"Direction\":\"Place ONE capsule in Handihaler & inhale by mouth daily as directed.\",\"FoilId\":\"6790424308efed0e0c62c8e9\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2024-12-10T23:57:47Z\",\"ScriptNum\":\"4121163\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T02:55:08.1690054Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T02:55:08.1690054Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"6684a35b5ac25f0efcd9e5fb\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SPIRIVA 18mcg INH-CAP\",\"DrugCode\":\"SPIR3\",\"Austr\":\"81525\",\"Supplier\":\"BOEHRINGER INGELHEIM PTY\",\"Type\":\"Capsule\",\"Color\":\"light green\",\"Shape\":\"\",\"Marking\":\"(Logo)\",\"Warning\":\"Use only with the approved or recommended device*Ask your pharmacist about the storage conditions for this medicineDiscard _ days after opening. Date opened / /\",\"Direction\":\"\",\"GenericCode\":\"TIOT1\",\"GenericName\":\"TIOTROPIUM BROMIDE\",\"Presentation\":\"Used for management of anxiety disorders; relief of acute alcohol withdrawal symptoms; relief of preoperative apprehension and anxiety.\",\"ImageId\":\"5f3a2d7aa0ba5d7c5079497f\",\"ImageName\":\"81525-C01-01-BL600.jpg\",\"AltBrand\":\"SPIRIVA, BRALTUS, TIOTROPIUM (LUPIN)\",\"DoNotCrush\":false,\"TradeName\":\"SPIRIVA\",\"Formulation\":\"INH-CAP\",\"Strength\":\"18mcg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light green Boehringer Ingelheim Logo\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6684a35b5ac25f0efcd9e5fb\",\"Usage\":0,\"DrugFullName\":\"SPIRIVA 18mcg INH-CAP\",\"MedicationFullDetails\":\"SPIRIVA 18mcg INH-CAP - TIOTROPIUM BROMIDE (SPIR3)\",\"Id\":\"5f0e69e0a0ba5db368a15a14\",\"CreatedDate\":\"2020-07-15T02:28:41.042Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:14:51.213Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6790424308efed0e0c62c931\",\"CreatedDate\":\"2025-01-22T00:56:35.196Z\",\"CreatedUserId\":\"668e1c1a8222d3119420f533\",\"LastUpdateUserId\":\"68436adb08efed04cc87b8d9\",\"LastUpdateUserName\":\"ChrisFigg\",\"LastUpdateDate\":\"2026-04-20T02:55:08.1690054Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6790424308efed0e0c62c8e6",
"");