using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a3ce7b5a33ecf5ffc357f1",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68c23b1f6019f646aba39472\",\"Direction\":\"Place ONE wafer under the tongue THREE times a day when required\",\"FoilId\":\"68c23b1f6019f646aba39494\",\"FoilLabel\":\"foil 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-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"Wafer\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ONDANSETRON ODT (SZ) 4mg OR-DISTAB\",\"DrugCode\":\"ONDA62\",\"Austr\":\"163653\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Oral Dispersible Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"O\",\"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\":\"5f3a2d86a0ba5d7c50795046\",\"ImageSmallSizeId\":\"68f599615a506b941b5c9073\",\"ImageName\":\"163653-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\":\"ONDANSETRON ODT (SZ)\",\"Formulation\":\"OR-DISTAB\",\"Strength\":\"4mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round O\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"Usage\":0,\"DrugFullName\":\"ONDANSETRON ODT (SZ) 4mg OR-DISTAB\",\"MedicationFullDetails\":\"ONDANSETRON ODT (SZ) 4mg OR-DISTAB - ONDANSETRON (ONDA62)\",\"Id\":\"5f0e69e0a0ba5db368a17239\",\"CreatedDate\":\"2020-07-15T02:28:46.223Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:21:45.039Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5ae572c1a237be0ef5d03\",\"CreatedDate\":\"2026-04-20T04:40:55.5700716Z\",\"CreatedUserName\":\"TSS\",\"CreatedUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateDate\":\"2026-04-20T04:40:55.5700716Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68c23b1f6019f646aba39472",
"");