using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c9027765229a4548111529",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"6993b2f15d42635c46e788d4\",\"Direction\":\"1-2 q4h prn\",\"FoilId\":\"6993b4fb827efada292c57ad\",\"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\":\"2026-04-22T02: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\":\"2026-04-20T23:04:34.509Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"Nausea and vomiting\",\"Unit\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ZOTREN ODT 4mg OR-DISTAB\",\"DrugCode\":\"ZOTR2\",\"Austr\":\"287603\",\"Supplier\":\"ARROW PHARMA 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\":\"ONDA9\",\"GenericName\":\"ONDANSETRON\",\"Presentation\":\"\",\"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\":\"ZOTREN ODT\",\"Formulation\":\"OR-DISTAB\",\"Strength\":\"4mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"Usage\":7,\"DrugFullName\":\"ZOTREN ODT 4mg OR-DISTAB\",\"MedicationFullDetails\":\"ZOTREN ODT 4mg OR-DISTAB - ONDANSETRON (ZOTR2)\",\"Id\":\"6102d264a6b66b27b81101eb\",\"CreatedDate\":\"2021-07-29T16:08:04.895Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:07:13.777Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6993b842a96f469969213527\",\"CreatedDate\":\"2026-02-17T00:37:22.174Z\",\"CreatedUserName\":\"wildst\",\"CreatedUserId\":\"692538017037eafc0466478c\",\"LastUpdateUserId\":\"692538017037eafc0466478c\",\"LastUpdateUserName\":\"wildst\",\"LastUpdateDate\":\"2026-04-21T21:44:44.6450283Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6993b2f15d42635c46e788d4",
"");