using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"685c869208efed10d8706c85",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white to off-white round APO 1.25\",\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"Morning\",\"Noon\",\"Evening\",\"Bedtime\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6891b3372875926d45444ae8\",\"Direction\":\"2 DAILY\",\"FoilId\":\"6891b3372875926d45444ae9\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-23T04:44:58.9395346Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-23T04:44:58.9395346Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"685c869208efed10d8706c85\",\"SyncId\":\"17c6319d-29ec-432e-89e8-39d357ccc980-1087\",\"SyncDate\":\"2025-08-05T07:31:03.598Z\",\"IsSyncImported\":true,\"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\",\"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\":\"685c869208efed10d8706c85\",\"Usage\":0,\"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-11T16:06:18.239Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6891b3372875926d45444aec\",\"CreatedDate\":\"2025-08-05T07:31:03.598Z\",\"LastUpdateUserId\":\"689bebd3e505ae18348fd6d0\",\"LastUpdateDate\":\"2026-04-23T04:44:58.9395346Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6891b3372875926d45444ae8",
"");