using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682282a8222d302886f998f",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6971e74a613ebb391243ca26\",\"Direction\":\"Take ONE capsule DAILY\",\"FoilId\":\"6971e807850f0343e1b74895\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T06:14:44.9899615Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T06:14:44.9899615Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN LA 20mg CR-CAP\",\"DrugCode\":\"RITA1\",\"Austr\":\"82957\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"CR-Capsule\",\"Color\":\"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\":\"METH26\",\"GenericName\":\"METHYLPHENIDATE LA\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2d92a0ba5d7c50795729\",\"ImageSmallSizeId\":\"68f5986e5a506b941b5c7f57\",\"ImageName\":\"82957-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\":\"20mg\",\"Schedule\":\"8A\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white NVR\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":1,\"DrugFullName\":\"RITALIN LA 20mg CR-CAP\",\"MedicationFullDetails\":\"RITALIN LA 20mg CR-CAP - METHYLPHENIDATE LA (RITA1)\",\"Id\":\"5f0e69e0a0ba5db368a159ca\",\"CreatedDate\":\"2020-07-15T02:28:40.97Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:13:54.286Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6971e87a49375a65a70254be\",\"CreatedDate\":\"2026-01-22T09:06:02.481Z\",\"CreatedUserName\":\"tra\",\"CreatedUserId\":\"6691c37bd222d904f400ce7f\",\"LastUpdateUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateDate\":\"2026-04-20T06:14:44.9899615Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6971e74a613ebb391243ca26",
"");