using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69a4c85de2638b9f120f5052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c097e7552ad7224f6181e1\",\"Direction\":\"Take ONE tablet TWICE a day.\",\"FoilId\":\"69c097e7552ad7224f618228\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-20T23:30:18Z\",\"ScriptNum\":\"6032179\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AZATHIOPRINE (APO) 50mg TAB\",\"DrugCode\":\"AZAT5\",\"Austr\":\"205762\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale yellow\",\"Shape\":\"round\",\"Marking\":\"AZA 50\",\"Warning\":\"swallowed wholeDo NOT crush or chewwith or soon after food.*Avoid excessive exposure to sunlight and sunlamps*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"AZA3\",\"GenericName\":\"AZATHIOPRINE\",\"Presentation\":\"Used to help prevent rejection following organ transplant operations and also to treat a variety of chronic (long-term) inflammatory and autoimmune conditions, such as rheumatoid arthritis, systemic lupus erythematosus, and Crohn's disease.\",\"ImageId\":\"5f3a2db4a0ba5d7c50796a53\",\"ImageSmallSizeId\":\"68f599375a506b941b5c8e5d\",\"ImageName\":\"205762-C01-01-BL600.jpg\",\"AltBrand\":\"IMURAN, THIOPRINE, AZAMUN, AZATHIOPRINE (SANDOZ), AZATHIOPRINE (GENRX), AZAPIN, AZATHIOPRINE (PS), AZATHIOPRINE (APO), AZATHIOPRINE (AN), IMAZAN, AZATHIOPRINE (GH), AZRAN, AZATHIOPRINE (NOUMED), AZATHIOPRINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"AZATHIOPRINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":true,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale yellow round AZA 50\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"Usage\":0,\"DrugFullName\":\"AZATHIOPRINE (APO) 50mg TAB\",\"MedicationFullDetails\":\"AZATHIOPRINE (APO) 50mg TAB - AZATHIOPRINE (AZAT5)\",\"Id\":\"5f0e69e0a0ba5db368a16e9f\",\"CreatedDate\":\"2020-07-15T02:28:45.443Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.458Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c097e7552ad7224f61824d\",\"CreatedDate\":\"2026-03-23T01:31:19.881Z\",\"CreatedUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserName\":\"peacockluke\",\"LastUpdateDate\":\"2026-04-20T06:30:35.6199156Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c097e7552ad7224f6181e1",
"");