using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b782e1d0142c4b21a1ad6e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eb12fd5976b98c1418c2a2\",\"Direction\":\"Take ONE tablet in the morning\",\"FoilId\":\"69eb12fd5976b98c1418c2b5\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-02T05:07:52Z\",\"ScriptNum\":\"1220289\",\"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-02-26T01:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"OriginDrugId\":\"6102d2c6a6b66b27b81103d5\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69b782e1d0142c4b21a1ad6e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ROSUVASTATIN (APO) 5mg TAB\",\"DrugCode\":\"ROSU7\",\"Austr\":\"366813\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"Special handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"ROSU1\",\"GenericName\":\"ROSUVASTATIN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d84a0ba5d7c50794f31\",\"ImageSmallSizeId\":\"68f599255a506b941b5c8d7f\",\"ImageName\":\"183061-C01-01-BL600.jpg\",\"AltBrand\":\"CRESTOR, CAVSTAT, ROSUVASTATIN (ACTAVIS) 5, ROSUVASTATIN (APO), ROSUVASTATIN (CHEM-MART), ROSUVASTATIN (GH), ROSUVASTATIN (RBX), ROSUVASTATIN (SANDOZ), ROSUVASTATIN (TW), ROSTOR 5, CROSUVA 5, ROSUVASTATIN-DRLA, ROSUVASTATIN (AN), ROSUVASTATIN (APO), ROSUVASTATIN (BLOOMS-IB), ROSUVASTATIN (AMNEAL), ROSUVASTATIN (GN HLTH), ROSUVASTATIN (PHARMACOR), ROSUVASTATIN (APOTEX), ROSUVASTATIN (BTC), ROSUVASTATIN (NOUMED), ROSUVASTATIN (APOTEX), ROSUVASTATIN (LUPIN), ROSUVASTATIN (APX), ROSUVASTATIN (BLOOMS-BG), ROSUVA\",\"DoNotCrush\":false,\"TradeName\":\"ROSUVASTATIN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b782e1d0142c4b21a1ad6e\",\"Usage\":1,\"DrugFullName\":\"ROSUVASTATIN (APO) 5mg TAB\",\"MedicationFullDetails\":\"ROSUVASTATIN (APO) 5mg TAB - ROSUVASTATIN (ROSU7)\",\"Id\":\"5f0e69e0a0ba5db368a16cfc\",\"CreatedDate\":\"2020-07-15T02:28:45.086Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69b7886c9c2a8602ab994e98\",\"LastUpdateDate\":\"2026-04-24T07:20:57.64Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb19d95976b98c1428ac9f\",\"CreatedDate\":\"2026-04-24T07:20:57.568Z\",\"CreatedUserName\":\"lyp\",\"CreatedUserId\":\"69b7886c9c2a8602ab994e98\",\"LastUpdateUserId\":\"69b7886c9c2a8602ab994e98\",\"LastUpdateUserName\":\"lyp\",\"LastUpdateDate\":\"2026-04-24T07:21:22.6430989Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eb12fd5976b98c1418c2a2",
"");