using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6886eb9ebe067a35f45d64ff",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69f056da754399b500022dfc\",\"Direction\":\"Take ONE tablet in the morning.\",\"FoilId\":\"69f056da754399b500022e12\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-28T05:48:16Z\",\"ScriptNum\":\"60428285\",\"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-28T02:30: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\":\"6886eb9ebe067a35f45d64ff\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ROSUVASTATIN (SANDOZ) 10mg TAB\",\"DrugCode\":\"ROSU17\",\"Austr\":\"183595\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"RSV 10\",\"Warning\":\"Special handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"ROSU2\",\"GenericName\":\"ROSUVASTATIN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d7da0ba5d7c50794b0e\",\"ImageSmallSizeId\":\"68f599265a506b941b5c8d90\",\"ImageName\":\"183595-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 (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round RSV 10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6886eb9ebe067a35f45d64ff\",\"Usage\":2,\"DrugFullName\":\"ROSUVASTATIN (SANDOZ) 10mg TAB\",\"MedicationFullDetails\":\"ROSUVASTATIN (SANDOZ) 10mg TAB - ROSUVASTATIN (ROSU17)\",\"Id\":\"5f0e69e0a0ba5db368a16d0d\",\"CreatedDate\":\"2020-07-15T02:28:45.1Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:17:14.109Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f056da754399b500022e2f\",\"CreatedDate\":\"2026-04-28T06:42:34.814Z\",\"CreatedUserId\":\"689bfe59100954d833c1bd11\",\"LastUpdateUserId\":\"689bfe59100954d833c1bd11\",\"LastUpdateUserName\":\"angiec\",\"LastUpdateDate\":\"2026-04-28T06:45:25.2340022Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f056da754399b500022dfc",
"");