using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6833a5dda7ab9509e0d6f5f2",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"684289a2967e010904a08eff\",\"Direction\":\"Talke 1 tablet at 7.30am\",\"FoilId\":\"69e84ffc9331f9d468c467aa\",\"FoilLabel\":\"Blister Pack 2\",\"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\":\"2026-04-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CONCERTA 27mg ER-TAB\",\"DrugCode\":\"CONC9\",\"Austr\":\"124502\",\"Supplier\":\"JANSSEN-CILAG PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"grey\",\"Shape\":\"capsule-shaped\",\"Marking\":\"alza 27\",\"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\":\"METH49\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2daca0ba5d7c5079658c\",\"ImageSmallSizeId\":\"68f5989f5a506b941b5c81bd\",\"ImageName\":\"124502-C01-01-BL600.jpg\",\"AltBrand\":\"CONCERTA, METHYLPHENIDATE XR (ARX), METHYLPHENIDATE XR (TEVA), CONCERTA (SWITZERLAND) S19A\",\"DoNotCrush\":true,\"TradeName\":\"CONCERTA\",\"Formulation\":\"ER-TAB\",\"Strength\":\"27mg\",\"Schedule\":\"8\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"grey capsule-shaped alza 27\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"Usage\":3,\"DrugFullName\":\"CONCERTA 27mg ER-TAB\",\"MedicationFullDetails\":\"CONCERTA 27mg ER-TAB - METHYLPHENIDATE (CONC9)\",\"Id\":\"5f0e69e0a0ba5db368a1600d\",\"CreatedDate\":\"2020-07-15T02:28:42.293Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:57:28.333Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e8504cf027e30283429bee\",\"CreatedDate\":\"2026-04-22T04:36:28.236Z\",\"CreatedUserName\":\"Vinai25\",\"CreatedUserId\":\"684fa69a08efed10bc20117e\",\"LastUpdateUserId\":\"684fa69a08efed10bc20117e\",\"LastUpdateUserName\":\"Vinai25\",\"LastUpdateDate\":\"2026-04-22T04:38:48.2754214Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684289a2967e010904a08eff",
"");