using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697044a8552ae687da1bfc99",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e80f9ebc5ce8d51b863068\",\"Direction\":\"1 lunch\",\"FoilId\":\"69e80f9ebc5ce8d51b863075\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-21T23:23:07Z\",\"ScriptNum\":\"1927412\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"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\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN 10mg TAB\",\"DrugCode\":\"RITN1\",\"Austr\":\"11052\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"AB\",\"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 medicine\",\"Direction\":\"\",\"GenericCode\":\"METH1\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2db5a0ba5d7c50796a9c\",\"ImageSmallSizeId\":\"68f5982a5a506b941b5c7bd1\",\"ImageName\":\"11052-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN, ATTENTA, METHYLPHENIDATE (DP), LORENTIN, METHYLPHENIDATE (CHEMMART), METHYLPHENIDATE (GENRX), METHYLPHENIDATE (TW), ARTIGE\",\"DoNotCrush\":false,\"TradeName\":\"RITALIN\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"8A\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round AB\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":0,\"DrugFullName\":\"RITALIN 10mg TAB\",\"MedicationFullDetails\":\"RITALIN 10mg TAB - METHYLPHENIDATE (RITN1)\",\"Id\":\"5f0e69e0a0ba5db368a14b28\",\"CreatedDate\":\"2020-07-15T02:28:37.517Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.146Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e80f9ebc5ce8d51b863077\",\"CreatedDate\":\"2026-04-22T00:00:30.352Z\",\"CreatedUserId\":\"6970820b6b2b4cdfbc0e88bc\",\"LastUpdateUserId\":\"69707543f24f28f0c19a12ff\",\"LastUpdateUserName\":\"nguyetn\",\"LastUpdateDate\":\"2026-04-22T00:04:48.4364891Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e80f9ebc5ce8d51b863068",
"");