using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6886eb9ebe067a35f45d64ff",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"TAB OVL PINK 894/5\",\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"689be191a6424dd81db2404b\",\"Direction\":\"Take one tablet twice daily\",\"FoilId\":\"689be191a6424dd81db24081\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2020-11-21T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6886eb9ebe067a35f45d64ff\",\"SyncId\":\"162de23a-3430-4371-8b24-1474788365ac-1017\",\"SyncDate\":\"2025-08-13T00:51:29.62Z\",\"IsSyncImported\":true,\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6886eb9ebe067a35f45d64ff\",\"Usage\":1,\"DrugFullName\":\"ELIQUIS 5mg TAB\",\"MedicationFullDetails\":\"ELIQUIS 5mg TAB - APIXABAN (ELIQ4)\",\"Id\":\"5f0e69e0a0ba5db368a16dab\",\"CreatedDate\":\"2020-07-15T02:28:45.239Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:02:25.036Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"689be191a6424dd81db24085\",\"CreatedDate\":\"2025-08-13T00:51:29.62Z\",\"LastUpdateUserId\":\"689bfe59100954d833c1bd11\",\"LastUpdateUserName\":\"angiec\",\"LastUpdateDate\":\"2026-04-28T01:51:53.6941597Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"689be191a6424dd81db2404b",
"");