using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682284e708efed07a8cc64d2",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69dc31f92a0226335f4cf050\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"69e84c529331f9d468b7d10c\",\"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-22T02: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\":\"682284e708efed07a8cc64d2\",\"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\":\"682284e708efed07a8cc64d2\",\"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:55:29.049Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e858af0f0cccf8682e8c01\",\"CreatedDate\":\"2026-04-22T05:12:15.9381588Z\",\"CreatedUserName\":\"Deidre\",\"CreatedUserId\":\"682bf995a7ab950b5c8719dd\",\"LastUpdateDate\":\"2026-04-22T05:12:15.9381588Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69dc31f92a0226335f4cf050",
"");