using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6874576594244399368454a6",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5abdba5419d95d2cf0588\",\"Direction\":\"Inhale the contents of ONE respule using pump in the morning as directed by the prescriber.\",\"FoilId\":\"69e5abdba5419d95d2cf05aa\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-09T23:50:40Z\",\"ScriptNum\":\"6041024\",\"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-20T02:30: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\":\"6874576594244399368454a6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PULMICORT 1mg/2mL, 30 RESP\",\"DrugCode\":\"PUL2\",\"Austr\":\"10071\",\"Supplier\":\"ASTRAZENECA PTY LTD\",\"Type\":\"Respule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Rinse mouth out with water after useS/Care - Asthma\",\"Direction\":\"\",\"GenericCode\":\"BUD3\",\"GenericName\":\"BUDESONIDE\",\"Presentation\":\"Used to treat rheumatoid arthritis, lupus, asthma, allergies and many other conditions.\",\"AltBrand\":\"PULMICORT\",\"DoNotCrush\":false,\"TradeName\":\"PULMICORT\",\"Formulation\":\"RESP\",\"Strength\":\"1mg/2mL, 30\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6874576594244399368454a6\",\"Usage\":0,\"DrugFullName\":\"PULMICORT 1mg/2mL, 30 RESP\",\"MedicationFullDetails\":\"PULMICORT 1mg/2mL, 30 RESP - BUDESONIDE (PUL2)\",\"Id\":\"5f0e69e0a0ba5db368a14ab9\",\"CreatedDate\":\"2020-07-15T02:28:37.432Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T21:24:44.844Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5abdba5419d95d2cf05c4\",\"CreatedDate\":\"2026-04-20T04:30:19.848Z\",\"CreatedUserId\":\"688ff01ea44e902618c1f849\",\"LastUpdateUserId\":\"688ff01ea44e902618c1f849\",\"LastUpdateUserName\":\"Hack\",\"LastUpdateDate\":\"2026-04-20T04:57:05.4340943Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5abdba5419d95d2cf0588",
"");