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\":\"6685eca4d8c5020c58e4ab90\",\"Direction\":\"Take 1 tablet DAILY\",\"FoilId\":\"6685eca4d8c5020c58e4ab99\",\"FoilLabel\":\"Morning\",\"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-21T10:52:55.9824273Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T10:52:55.9824273Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CONCERTA 54mg ER-TAB\",\"DrugCode\":\"CONC3\",\"Austr\":\"93864\",\"Supplier\":\"JANSSEN-CILAG PTY LTD\",\"Type\":\"ER-Tablet\",\"Color\":\"brownish-red\",\"Shape\":\"capsule-shaped\",\"Marking\":\"alza 54\",\"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\":\"METH40\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"5f3a2da7a0ba5d7c5079627d\",\"ImageSmallSizeId\":\"68f5987b5a506b941b5c7ffc\",\"ImageName\":\"93864-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\":\"54mg\",\"Schedule\":\"8\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"brownish-red capsule-shaped alza 54\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":2,\"DrugFullName\":\"CONCERTA 54mg ER-TAB\",\"MedicationFullDetails\":\"CONCERTA 54mg ER-TAB - METHYLPHENIDATE (CONC3)\",\"Id\":\"5f0e69e0a0ba5db368a15ba0\",\"CreatedDate\":\"2020-07-15T02:28:41.359Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:13:53.431Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69bcf8212a5ec9a54b528b16\",\"CreatedDate\":\"2026-03-20T07:32:49.034Z\",\"CreatedUserName\":\"tra\",\"CreatedUserId\":\"6691c37bd222d904f400ce7f\",\"LastUpdateUserId\":\"6691c37bd222d904f400ce7f\",\"LastUpdateUserName\":\"tra\",\"LastUpdateDate\":\"2026-04-21T10:52:55.9824273Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6685eca4d8c5020c58e4ab90",
"");