using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"657f8abb117b5203884cd4d5",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"659e849396096609ac82933c\",\"Direction\":\"Half to One wafer up to three times daily\",\"FoilId\":\"65a5cb3c96096609901cbdaf\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T06:19:25.0241556Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T06:19:25.0241556Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"Wafer\",\"PharmacyId\":\"657f8abb117b5203884cd4d5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ONDANSETRON ODT (APX) 8mg OR-DISTAB\",\"DrugCode\":\"ONDA85\",\"Austr\":\"196809\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Oral Dispersible Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"E\",\"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\":\"ONDA10\",\"GenericName\":\"ONDANSETRON\",\"Presentation\":\"\",\"AltBrand\":\"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\":\"ONDANSETRON ODT (APX)\",\"Formulation\":\"OR-DISTAB\",\"Strength\":\"8mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"657f8abb117b5203884cd4d5\",\"Usage\":2,\"DrugFullName\":\"ONDANSETRON ODT (APX) 8mg OR-DISTAB\",\"MedicationFullDetails\":\"ONDANSETRON ODT (APX) 8mg OR-DISTAB - ONDANSETRON (ONDA85)\",\"Id\":\"611a634ea6b66b123c8c8605\",\"CreatedDate\":\"2021-08-16T13:08:30.375Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T15:56:33.915Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69af652eb060801ff1ece618\",\"CreatedDate\":\"2026-03-10T00:26:22.804Z\",\"CreatedUserName\":\"SarahKeenan\",\"CreatedUserId\":\"659e064716f53f0fecb70c67\",\"LastUpdateUserId\":\"657fc3d08339a30a9c4497a1\",\"LastUpdateDate\":\"2026-04-20T06:19:25.0241556Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"659e849396096609ac82933c",
"");