using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6858cb3ba7ab9508f4bd8d37",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"68a6d75ed90ccfec0c71d705\",\"Direction\":\"Take HALF a tablet daily.\",\"FoilId\":\"68a6d75ed90ccfec0c71d71c\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-08-11T02:35:33Z\",\"ScriptNum\":\"50521267\",\"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\":\"2025-08-21T04: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:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6858cb3ba7ab9508f4bd8d37\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ROSUVASTATIN (SANDOZ) 40mg TAB\",\"DrugCode\":\"ROSU31\",\"Austr\":\"183599\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"RSV 40\",\"Warning\":\"Special handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"ROSU4\",\"GenericName\":\"ROSUVASTATIN\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d7da0ba5d7c50794b08\",\"ImageSmallSizeId\":\"68f599265a506b941b5c8d92\",\"ImageName\":\"183599-C01-01-BL600.jpg\",\"AltBrand\":\"CRESTOR, CAVSTAT, ROSUVASTATIN (ACTAVIS) 40, ROSUVASTATIN (APO), ROSUVASTATIN (CHEM-MART), ROSUVASTATIN (GH), ROSUVASTATIN (RBX), ROSUVASTATIN (SANDOZ), ROSUVASTATIN (TW), ROSTOR 40, CROSUVA 40, 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), ROS\",\"DoNotCrush\":false,\"TradeName\":\"ROSUVASTATIN (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white to off-white round RSV 40\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6858cb3ba7ab9508f4bd8d37\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":1,\"DrugFullName\":\"ROSUVASTATIN (SANDOZ) 40mg TAB\",\"MedicationFullDetails\":\"ROSUVASTATIN (SANDOZ) 40mg TAB - ROSUVASTATIN (ROSU31)\",\"Id\":\"5f0e69e0a0ba5db368a16d0f\",\"CreatedDate\":\"2020-07-15T02:28:45.102Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68f719a7be2860622bf26eb6\",\"LastUpdateDate\":\"2026-01-07T01:31:42.814Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68a6d75ed90ccfec0c71d727\",\"CreatedDate\":\"2025-08-21T08:22:54.609Z\",\"CreatedUserId\":\"685a06cca7ab9508f07caa7c\",\"LastUpdateUserId\":\"68f719a7be2860622bf26eb6\",\"LastUpdateUserName\":\"taylor\",\"LastUpdateDate\":\"2026-04-22T05:12:28.2109229Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68a6d75ed90ccfec0c71d705",
"");