using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"686f00b97721a023c416a2a1",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e99e8926359e385412d459\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"69e99e8926359e385412d48e\",\"FoilLabel\":\"Main\",\"DateDispensed\":\"2026-04-23T04:05:43Z\",\"ScriptNum\":\"60309192\",\"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\":\"2026-04-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"686f00b97721a023c416a2a1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DESVENLAFAXINE (SANDOZ) 50mg ER-TAB\",\"DrugCode\":\"DESV10\",\"Austr\":\"218083\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"light pink\",\"Shape\":\"diamond-shaped\",\"Marking\":\"L189\",\"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 machineryswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"DESV1\",\"GenericName\":\"DESVENLAFAXINE\",\"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\":\"5f3a2daca0ba5d7c50796551\",\"ImageSmallSizeId\":\"68f599775a506b941b5c91d9\",\"ImageName\":\"218083-C01-01-BL600.jpg\",\"AltBrand\":\"PRISTIQ, DESFAX, DESVENLAFAXINE (ACTAVIS), DESVENLAFAXINE XR (GH), DESVENLAFAXINE MR (APO), DESVENLAFAXINE (SANDOZ), DESVEN, DESVENLAFAXINE (BTC), DESVENLAFAXINE XR (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"DESVENLAFAXINE (SANDOZ)\",\"Formulation\":\"ER-TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light pink diamond-shaped L189\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"686f00b97721a023c416a2a1\",\"Usage\":0,\"DrugFullName\":\"DESVENLAFAXINE (SANDOZ) 50mg ER-TAB\",\"MedicationFullDetails\":\"DESVENLAFAXINE (SANDOZ) 50mg ER-TAB - DESVENLAFAXINE (DESV10)\",\"Id\":\"5f0e69e0a0ba5db368a174c9\",\"CreatedDate\":\"2020-07-15T02:28:46.773Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:08:55.055Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e99e8a26359e385412d78f\",\"CreatedDate\":\"2026-04-23T04:22:34.601Z\",\"CreatedUserId\":\"68a507c58564ae6d3d67c29c\",\"LastUpdateUserId\":\"68a507c58564ae6d3d67c29c\",\"LastUpdateUserName\":\"lestevam\",\"LastUpdateDate\":\"2026-04-23T04:24:32.0337122Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e99e8926359e385412d459",
"");