using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682a7d0baf648e0c34ee3b27",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"685ca4ee2e39a305f477c2f9\",\"Direction\":\"Take TWO tablets in the morning\",\"FoilId\":\"685ca4ee2e39a305f477c2fa\",\"FoilLabel\":\"Foil 1-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\":\"2025-10-17T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a16408\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"682a7d0baf648e0c34ee3b27\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NEBIVOLOL (APO) 1.25mg TAB\",\"DrugCode\":\"NEBI10\",\"Austr\":\"281799\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"APO 1.25\",\"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\":\"NEBI2\",\"GenericName\":\"NEBIVOLOL (AS HCL)\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2d89a0ba5d7c50795209\",\"ImageSmallSizeId\":\"68f599945a506b941b5c933e\",\"ImageName\":\"281799-C01-01-BL600.jpg\",\"AltBrand\":\"NEBILET, NEBIVOLOL (APO), NEBIVOLOL (SANDOZ), NEPITEN, NEBIVOLOL (LUPIN), NEBIVOLOL (VIATRIS), NEBIVOLOL (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"NEBIVOLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"1.25mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round APO 1.25\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682a7d0baf648e0c34ee3b27\",\"Usage\":1,\"DrugFullName\":\"NEBIVOLOL (APO) 1.25mg TAB\",\"MedicationFullDetails\":\"NEBIVOLOL (APO) 1.25mg TAB - NEBIVOLOL (AS HCL) (NEBI10)\",\"Id\":\"5f0e69e0a0ba5db368a17802\",\"CreatedDate\":\"2020-07-15T02:28:47.49Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:56:29.094Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68f16ca11912af257c735a35\",\"CreatedDate\":\"2025-10-16T22:07:29.789Z\",\"CreatedUserName\":\"Leeah\",\"CreatedUserId\":\"682bd15faf648e081c70fb89\",\"LastUpdateUserId\":\"695b2823375cd9bd82688b3b\",\"LastUpdateUserName\":\"Chels\",\"LastUpdateDate\":\"2026-04-19T23:42:24.8094962Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"685ca4ee2e39a305f477c2f9",
"");