using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"687eceb25f35fa41762a253e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5c52f2c1a237be0442719\",\"Direction\":\"1 3xDAILY\",\"FoilId\":\"69e5c59fc21eb1a5a95b5073\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-20T02: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,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"687eceb25f35fa41762a253e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METOCLOPRAMIDE (APO) 10mg, 25 TAB\",\"DrugCode\":\"METO38\",\"Austr\":\"196502\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"circular\",\"Marking\":\"\",\"Warning\":\"*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery\",\"Direction\":\"\",\"GenericCode\":\"ME16\",\"GenericName\":\"METOCLOPRAMIDE HCL\",\"Presentation\":\"Used to relieve symptoms caused by slow stomach emptying in people who have diabetes.Symptoms include nausea, vomiting, heartburn, loss of appetite, and feeling of fullness that lasts long after meals.\",\"ImageId\":\"5f3a2dbea0ba5d7c50796d2f\",\"ImageSmallSizeId\":\"68f599ca5a506b941b5c95fe\",\"ImageName\":\"196502-C01-01-BL600.jpg\",\"AltBrand\":\"MAXOLON, PRAMIN, METOCLOPRAMIDE (APO), METOCLOPRAMIDE (ACTAVIS), METOCLOPRAMIDE (AN), METOCLOPRAMIDE (RBX), EMEXLON, PRAMIN, METOCLOPRAMIDE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"METOCLOPRAMIDE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg, 25\",\"Schedule\":\"4\",\"PackSize\":25,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white circular\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"687eceb25f35fa41762a253e\",\"Usage\":1,\"DrugFullName\":\"METOCLOPRAMIDE (APO) 10mg, 25 TAB\",\"MedicationFullDetails\":\"METOCLOPRAMIDE (APO) 10mg, 25 TAB - METOCLOPRAMIDE HCL (METO38)\",\"Id\":\"5f0e69e0a0ba5db368a16e71\",\"CreatedDate\":\"2020-07-15T02:28:45.402Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:13:08Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5cf4021162426a344e5b5\",\"CreatedDate\":\"2026-04-20T07:01:20.637Z\",\"CreatedUserName\":\"mattb\",\"CreatedUserId\":\"687edf1c5f35fa417650e595\",\"LastUpdateUserId\":\"687edf1c5f35fa417650e595\",\"LastUpdateUserName\":\"mattb\",\"LastUpdateDate\":\"2026-04-20T07:07:36.0416639Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5c52f2c1a237be0442719",
"");