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 in the morning from Mon to Fri (school days).\",\"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\":\"2026-04-20T04: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\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN LA 30mg CR-CAP\",\"DrugCode\":\"RITA2\",\"Austr\":\"82958\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"CR-Capsule\",\"Color\":\"yellow\",\"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\":\"METH27\",\"GenericName\":\"METHYLPHENIDATE LA\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2d7ea0ba5d7c50794b35\",\"ImageSmallSizeId\":\"68f5986e5a506b941b5c7f58\",\"ImageName\":\"82958-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN LA, RUBIFEN LA, METHYLPHENIDATE (ORIFARM) S19A\",\"DoNotCrush\":true,\"TradeName\":\"RITALIN LA\",\"Formulation\":\"CR-CAP\",\"Strength\":\"30mg\",\"Schedule\":\"8A\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow NVR\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":7,\"DrugFullName\":\"RITALIN LA 30mg CR-CAP\",\"MedicationFullDetails\":\"RITALIN LA 30mg CR-CAP - METHYLPHENIDATE LA (RITA2)\",\"Id\":\"5f0e69e0a0ba5db368a159cb\",\"CreatedDate\":\"2020-07-15T02:28:40.971Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:13:54.287Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5c47b2c1a237be0419968\",\"CreatedDate\":\"2026-04-20T06:15:23.2819352Z\",\"CreatedUserName\":\"sa00\",\"CreatedUserId\":\"668f75b35ac25f0ee077a9b2\",\"LastUpdateDate\":\"2026-04-20T06:15:23.2819352Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6971e74a613ebb391243ca26",
"");