using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eacacc747aca488f18a8b1\",\"Direction\":\"Take one tablet in the evening\",\"FoilId\":\"69eacacc747aca488f18a8b5\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-16T01:12:36Z\",\"ScriptNum\":\"6041679\",\"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-30T02: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\":\"69e5616c7f72c22cb3a4705d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ROSUVASTATIN (APO) 10mg TAB\",\"DrugCode\":\"ROSU37\",\"Austr\":\"366814\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"Special handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"ROSU2\",\"GenericName\":\"ROSUVASTATIN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d88a0ba5d7c50795175\",\"ImageSmallSizeId\":\"68f599585a506b941b5c9007\",\"ImageName\":\"183073-C01-01-BL600.jpg\",\"AltBrand\":\"CRESTOR, CAVSTAT, ROSUVASTATIN (ACTAVIS) 10, ROSUVASTATIN (APO), ROSUVASTATIN (CHEM-MART), ROSUVASTATIN (GH), ROSUVASTATIN (RBX), ROSUVASTATIN (SANDOZ), ROSUVASTATIN (TW), ROSTOR 10, CROSUVA 10, ROSUVASTATIN-DRLA, ROSUVASTATIN (AN), ROSUVASTATIN (APO), ROSUVASTATIN (BLOOMS-IB), ROSUVASTATIN (AMNEAL), ROSUVASTATIN (GN HLTH), ROSUVASTATIN (PHARMACOR), ROSUVASTATIN (APOTEX), ROSUVASTATIN (BTC), ROSUVASTATIN (APOTEX), ROSUVASTATIN (NOUMED), ROSUVASTATIN (LUPIN), ROSUVASTATIN (APX), ROSUVASTATIN (BLOOMS-BG), ROS\",\"DoNotCrush\":false,\"TradeName\":\"ROSUVASTATIN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"Usage\":18,\"DrugFullName\":\"ROSUVASTATIN (APO) 10mg TAB\",\"MedicationFullDetails\":\"ROSUVASTATIN (APO) 10mg TAB - ROSUVASTATIN (ROSU37)\",\"Id\":\"5f0e69e0a0ba5db368a17159\",\"CreatedDate\":\"2020-07-15T02:28:46.033Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateDate\":\"2026-04-30T01:13:50.092Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eacacc747aca488f18a8c5\",\"CreatedDate\":\"2026-04-24T01:43:40.43Z\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserName\":\"mpdataentry1550\",\"LastUpdateDate\":\"2026-04-30T07:33:51.1329198Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eacacc747aca488f18a8b1",
"");