using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683d4339af648e059c5eae4a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6bd03b02e12b38773b4ec\",\"Direction\":\"Take ONE tablet TWICE a day \",\"FoilId\":\"69e6bd03b02e12b38773b4f0\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T03:30:06Z\",\"ScriptNum\":\"619325\",\"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-21T02: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\":\"683d4339af648e059c5eae4a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ELIQUIS 5mg TAB\",\"DrugCode\":\"ELIQ4\",\"Austr\":\"193474\",\"Supplier\":\"BRISTOL-MYERS SQUIBB AUST\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"HIC-NO INCREASE IN QTY & RPTS ALLOWED*Certain foods and fruit juices should be avoided while being treated with this medicine*Do not take ASPIRIN or ANTI-INFLAMMATORY medicines unless advised by your Doctor\",\"Direction\":\"\",\"GenericCode\":\"APIX4\",\"GenericName\":\"APIXABAN\",\"Presentation\":\"Are anticoagulants that block the activity of clotting factor Xa and prevents blood clots developing or getting worse.\",\"AltBrand\":\"ELIQUIS\",\"DoNotCrush\":false,\"TradeName\":\"ELIQUIS\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683d4339af648e059c5eae4a\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":7,\"DrugFullName\":\"ELIQUIS 5mg TAB\",\"MedicationFullDetails\":\"ELIQUIS 5mg TAB - APIXABAN (ELIQ4)\",\"Id\":\"5f0e69e0a0ba5db368a16dab\",\"CreatedDate\":\"2020-07-15T02:28:45.239Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68537594af648e0f281a8259\",\"LastUpdateDate\":\"2025-10-28T05:42:56.536Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6bd03b02e12b38773b4f2\",\"CreatedDate\":\"2026-04-20T23:55:47.341Z\",\"CreatedUserId\":\"690fe2d89469790d442a3551\",\"LastUpdateUserId\":\"690fe2d89469790d442a3551\",\"LastUpdateUserName\":\"cx\",\"LastUpdateDate\":\"2026-04-20T23:56:33.6318156Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6bd03b02e12b38773b4ec",
"");