using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67d75a7c08efed097032b754",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67f9bad5a7ab950220a654c6\",\"Direction\":\"Take HALF a tablet in the evening\",\"FoilId\":\"67f9bad5a7ab950220a654c7\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T06:49:38.649314Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T06:49:38.649314Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67d75a7c08efed097032b754\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NEBIVOLOL (APO) 10mg TAB\",\"DrugCode\":\"NEBI12\",\"Austr\":\"281798\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"N10\",\"Warning\":\"swallowed whole*May cause dizziness when standing up quickly*Do not take antacids within 2 hours*Do NOT stop taking this medication abruptlyDo NOT crush or chew\",\"Direction\":\"\",\"GenericCode\":\"NEBI9\",\"GenericName\":\"NEBIVOLOL (AS HCL)\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2d89a0ba5d7c50795207\",\"ImageSmallSizeId\":\"68f599945a506b941b5c9340\",\"ImageName\":\"281798-C01-01-BL600.jpg\",\"AltBrand\":\"NEBILET, NEBIVOLOL (APO), NEBIVOLOL (SANDOZ), NEPITEN, NEBIVOLOL (LUPIN), NEBIVOLOL (VIATRIS), NEBALOC, NEBIVOLOL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"NEBIVOLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round N10\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67d75a7c08efed097032b754\",\"Usage\":3,\"DrugFullName\":\"NEBIVOLOL (APO) 10mg TAB\",\"MedicationFullDetails\":\"NEBIVOLOL (APO) 10mg TAB - NEBIVOLOL (AS HCL) (NEBI12)\",\"Id\":\"5f0e69e0a0ba5db368a17804\",\"CreatedDate\":\"2020-07-15T02:28:47.492Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:45:00.251Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"688c1c1ac5757cc4300fc561\",\"CreatedDate\":\"2025-08-01T01:44:58.98Z\",\"CreatedUserName\":\"spark\",\"CreatedUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateUserName\":\"spark\",\"LastUpdateDate\":\"2026-04-21T06:49:38.649314Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67f9bad5a7ab950220a654c6",
"");