using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68140200af648e0cbcbea80a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68241de9af648e0bacfa2d6c\",\"Direction\":\"Swallow whole ONE capsule daily ( total of 112.5mg daily ) as directed\",\"FoilId\":\"68241de9af648e0bacfa2d6f\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-04-14T14:00:00Z\",\"ScriptNum\":\"50518538\",\"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-30T04:56:55.2545629Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T04:56:55.2545629Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68140200af648e0cbcbea80a\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"EFEXOR XR 37.5mg SR-CAP\",\"DrugCode\":\"EFEX6\",\"Austr\":\"99802\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"SR-Capsule\",\"Color\":\"grey and peach\",\"Shape\":\"\",\"Marking\":\"W\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinerywith or soon after food.swallowed whole\",\"Direction\":\"\",\"GenericCode\":\"VENL6\",\"GenericName\":\"VENLAFAXINE\",\"Presentation\":\"Used in the treatment of major depressive disorder (MDD) and other mood disorders. Sometimes also used to treat anxiety disorders, obsessive-compulsive disorder (OCD), attention deficit hyperactivity disorder (ADHD), chronic neuropathic pain, and fibromyalgia syndrome (FMS), and for the relief of menopausal symptoms.\",\"ImageId\":\"5f3a2da1a0ba5d7c50795eb9\",\"ImageName\":\"99802-C01-01-BL600.jpg\",\"AltBrand\":\"EFEXOR XR, EVELEXA XR, ELAXINE SR, VENLA (RBX), ALTVEN XR, VENLAFAXINE (ACTAVIS), VENLAFAXINE SR (AN), VENLAFAXINE XR (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"EFEXOR XR\",\"Formulation\":\"SR-CAP\",\"Strength\":\"37.5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"grey and peach W\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68140200af648e0cbcbea80a\",\"Usage\":0,\"DrugFullName\":\"EFEXOR XR 37.5mg SR-CAP\",\"MedicationFullDetails\":\"EFEXOR XR 37.5mg SR-CAP - VENLAFAXINE (EFEX6)\",\"Id\":\"5f0e69e0a0ba5db368a15d25\",\"CreatedDate\":\"2020-07-15T02:28:41.706Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:53:07.774Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68241de9af648e0bacfa2d77\",\"CreatedDate\":\"2025-05-14T04:36:57.478Z\",\"CreatedUserId\":\"681413d908efed09281bd489\",\"LastUpdateUserId\":\"681413d908efed09281bd489\",\"LastUpdateUserName\":\"BrimbankDCO\",\"LastUpdateDate\":\"2026-04-30T04:56:55.2545629Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68241de9af648e0bacfa2d6c",
"");