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\":\"Take one tablet swallowed whole daily\",\"FoilId\":\"684289a2967e010904a08f01\",\"FoilLabel\":\"Foil 1\",\"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-03-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CONCERTA 18mg ER-TAB\",\"DrugCode\":\"CONC1\",\"Austr\":\"93862\",\"Supplier\":\"JANSSEN-CILAG PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"yellow\",\"Shape\":\"capsule-shaped\",\"Marking\":\"alza 18\",\"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\":\"METH31\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2da7a0ba5d7c50796280\",\"ImageSmallSizeId\":\"68f598785a506b941b5c7fce\",\"ImageName\":\"93862-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\":\"18mg\",\"Schedule\":\"8\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow capsule-shaped alza 18\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6833a5dda7ab9509e0d6f5f2\",\"Usage\":3,\"DrugFullName\":\"CONCERTA 18mg ER-TAB\",\"MedicationFullDetails\":\"CONCERTA 18mg ER-TAB - METHYLPHENIDATE (CONC1)\",\"Id\":\"5f0e69e0a0ba5db368a15b00\",\"CreatedDate\":\"2020-07-15T02:28:41.227Z\",\"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\":\"69be1839197f37bdf69cb03c\",\"CreatedDate\":\"2026-03-21T04:02:01.365Z\",\"CreatedUserName\":\"Vinai25\",\"CreatedUserId\":\"684fa69a08efed10bc20117e\",\"LastUpdateUserId\":\"6833c176af648e06482604e1\",\"LastUpdateUserName\":\"Rasesh\",\"LastUpdateDate\":\"2026-04-20T06:18:23.1781963Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684289a2967e010904a08eff",
"");