using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b8c52e287ee44aaea44a57",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69d6f795e216df2a1aab5137\",\"Direction\":\"Place ONE capsule in Handihaler & inhale by mouth daily.\",\"FoilId\":\"69d6f795e216df2a1aab513a\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-29T23:50:12Z\",\"ScriptNum\":\"60128752\",\"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\":\"2026-04-23T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69b8c52e287ee44aaea44a57\",\"SyncDate\":\"0001-01-01T00:00:00\",\"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\",\"ImageSmallSizeId\":\"68f598705a506b941b5c7f76\",\"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\":\"69b8c52e287ee44aaea44a57\",\"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-11T16:36:35.218Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69d6f795e216df2a1aab513d\",\"CreatedDate\":\"2026-04-09T00:49:25.486Z\",\"CreatedUserId\":\"69b8cafa52100378ae7a2315\",\"LastUpdateUserId\":\"69b8cafa52100378ae7a2315\",\"LastUpdateUserName\":\"nic\",\"LastUpdateDate\":\"2026-04-23T07:10:36.2569669Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69d6f795e216df2a1aab5137",
"");