using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66f0edbb5ac25f0a2c1d3a2f",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"670078435ac25f0d04e61cc2\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"670078435ac25f0d04e61cc6\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2024-08-14T01:33:46Z\",\"ScriptNum\":\"40814145\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-28T06:29:01.5869917Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":2,\"DateCeased\":\"2026-04-28T06:29:01.5869917Z\",\"OriginDrugId\":\"68f9a0a6485905cf26f79de1\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"66f0edbb5ac25f0a2c1d3a2f\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ROSUVASTATIN (APO) 5mg TAB\",\"DrugCode\":\"ROSU40\",\"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\":\"68f599595a506b941b5c900a\",\"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\":1,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66f0edbb5ac25f0a2c1d3a2f\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":21,\"DrugFullName\":\"ROSUVASTATIN (APO) 5mg TAB\",\"MedicationFullDetails\":\"ROSUVASTATIN (APO) 5mg TAB - ROSUVASTATIN (ROSU40)\",\"Id\":\"5f0e69e0a0ba5db368a1715c\",\"CreatedDate\":\"2020-07-15T02:28:46.036Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"66fa3412d222d908d411fac0\",\"LastUpdateDate\":\"2025-11-24T00:14:40.683Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6923918c153c006efc6df737\",\"CreatedDate\":\"2025-11-23T22:58:20.429Z\",\"CreatedUserName\":\"elisecap\",\"CreatedUserId\":\"66fa3412d222d908d411fac0\",\"LastUpdateUserId\":\"67aabe04a7ab9503bcf62f77\",\"LastUpdateUserName\":\"elisecap\",\"LastUpdateDate\":\"2026-04-28T06:29:01.5869917Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"670078435ac25f0d04e61cc2",
"");