using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b9ea5c52100378ae138360",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e989820f0cccf86836c2c4\",\"Direction\":\"Take 1 tab daily\",\"FoilId\":\"69e989820f0cccf86836c2c5\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-14T05:29:46Z\",\"ScriptNum\":\"4919120\",\"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\":\"69b9ea5c52100378ae138360\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CONCERTA 36mg ER-TAB\",\"DrugCode\":\"CONC2\",\"Austr\":\"93863\",\"Supplier\":\"JANSSEN-CILAG PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"alza 36\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"METH32\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2f22a0ba5d7c507975e3\",\"ImageSmallSizeId\":\"68f598785a506b941b5c7fcf\",\"ImageName\":\"93863-C01-01-BL600.jpg\",\"AltBrand\":\"CONCERTA, METHYLPHENIDATE XR (ARX), METHYLPHENIDATE XR (TEVA), CONCERTA (SWITZERLAND) S19A, CONCERTA (SWITZERLAND) S19A\",\"DoNotCrush\":true,\"TradeName\":\"CONCERTA\",\"Formulation\":\"ER-TAB\",\"Strength\":\"36mg\",\"Schedule\":\"8\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white capsule-shaped alza 36\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"Usage\":2,\"DrugFullName\":\"CONCERTA 36mg ER-TAB\",\"MedicationFullDetails\":\"CONCERTA 36mg ER-TAB - METHYLPHENIDATE (CONC2)\",\"Id\":\"5f0e69e0a0ba5db368a15b01\",\"CreatedDate\":\"2020-07-15T02:28:41.228Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.559Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e989820f0cccf86836c2c7\",\"CreatedDate\":\"2026-04-23T02:52:50.906Z\",\"CreatedUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateUserName\":\"shaw\",\"LastUpdateDate\":\"2026-04-23T02:53:18.529679Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e989820f0cccf86836c2c4",
"");