using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67313abcaf648e0ebcbb64c6",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69a64284eb353e9464448d13\",\"Direction\":\"Allow ONE to TWO wafers dissolve on the tongue THREE times a day when required\",\"FoilId\":\"69e58bb5c21eb1a5a991f86c\",\"FoilLabel\":\"NON PACKED/PRN MEDS\",\"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-03-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ZOFRAN ZYDIS 4mg WAF\",\"DrugCode\":\"ZOFR7\",\"Austr\":\"63054\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"Wafer\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"ONDA9\",\"GenericName\":\"ONDANSETRON\",\"Presentation\":\"\",\"ImageId\":\"636088266f6fd81ad4e2d99b\",\"ImageSmallSizeId\":\"68f5984d5a506b941b5c7dbb\",\"ImageName\":\"63054-C01-01-BL600.jpg\",\"AltBrand\":\"ZOFRAN ZYDIS, ONDANSETRON-RL ZYDIS, ONDAZ ZYDIS, ONDANSETRON ODT (DRLA), ONSETRON ODT, ONDANSETRON ODT (AN), ZILFOJIM ODT, ONDANSETRON ODT (SZ), ONDANSETRON ODT (GH), ONDANSETRON ODT (MYLAN), ONDANSETRON ODT (APO), ZOTREN ODT, ONDANSETRON ODT (APX), ONDANSETRON ODT (LUPIN), ONDANSETRON ODT (VIATRIS), ONDANSETRON ODT (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ZOFRAN ZYDIS\",\"Formulation\":\"WAF\",\"Strength\":\"4mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67313abcaf648e0ebcbb64c6\",\"Usage\":0,\"DrugFullName\":\"ZOFRAN ZYDIS 4mg WAF\",\"MedicationFullDetails\":\"ZOFRAN ZYDIS 4mg WAF - ONDANSETRON (ZOFR7)\",\"Id\":\"5f0e69e0a0ba5db368a1549a\",\"CreatedDate\":\"2020-07-15T02:28:39.775Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:27:17.629Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c0ae309e49f61f3da4b787\",\"CreatedDate\":\"2026-03-23T03:06:24.487Z\",\"CreatedUserName\":\"sam.parker\",\"CreatedUserId\":\"69ba0ff85438bf0439cbceb9\",\"LastUpdateUserId\":\"69ba0ff85438bf0439cbceb9\",\"LastUpdateUserName\":\"sam.parker\",\"LastUpdateDate\":\"2026-04-20T02:14:47.0518841Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69a64284eb353e9464448d13",
"69a6438b0049a58f42b69c0b");