using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6833a71208efed0c0898fa52",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5c8dba5419d95d234cd28\",\"Direction\":\"Take 1 capsule in the morning\",\"FoilId\":\"69e5c8dba5419d95d234cd2d\",\"FoilLabel\":\"Blister Pack 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-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6833a71208efed0c0898fa52\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN LA 10mg CR-CAP\",\"DrugCode\":\"RITA5\",\"Austr\":\"160228\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"CR-Capsule\",\"Color\":\"light brown and white\",\"Shape\":\"\",\"Marking\":\"NVR\",\"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\":\"METH51\",\"GenericName\":\"METHYLPHENIDATE LA\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2d8da0ba5d7c5079542f\",\"ImageSmallSizeId\":\"68f598dc5a506b941b5c8913\",\"ImageName\":\"160228-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN LA, RUBIFEN LA, METHYLPHENIDATE (ORIFARM) S19A, RITALIN LA (SWITZERLAND) S19A\",\"DoNotCrush\":true,\"TradeName\":\"RITALIN LA\",\"Formulation\":\"CR-CAP\",\"Strength\":\"10mg\",\"Schedule\":\"8A\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light brown and white NVR\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6833a71208efed0c0898fa52\",\"Usage\":0,\"DrugFullName\":\"RITALIN LA 10mg CR-CAP\",\"MedicationFullDetails\":\"RITALIN LA 10mg CR-CAP - METHYLPHENIDATE LA (RITA5)\",\"Id\":\"5f0e69e0a0ba5db368a1652a\",\"CreatedDate\":\"2020-07-15T02:28:43.404Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:57:49.864Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5c90aa5419d95d23562d5\",\"CreatedDate\":\"2026-04-20T06:34:50.0013775Z\",\"CreatedUserName\":\"sjlee\",\"CreatedUserId\":\"6875d41fa83da22e2d8dcf61\",\"LastUpdateDate\":\"2026-04-20T06:34:50.0013775Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5c8dba5419d95d234cd28",
"");