using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65f10adaa5ab8f00645494a8",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69b0c4189004f19253439f7b\",\"Direction\":\"1 4xDAILY for 5 days\",\"FoilId\":\"69cd9667a75e70d71708db99\",\"FoilLabel\":\"A/B PACKS\",\"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-23T02:00:00Z\",\"EndDate\":\"2026-04-28T02: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\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NITROFURANTOIN (APO) 100mg CAP\",\"DrugCode\":\"NITR9\",\"Austr\":\"299385\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"with or soon after food.Take for the number of days advised by your prescriber.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery\",\"Direction\":\"\",\"GenericCode\":\"NI44\",\"GenericName\":\"NITROFURANTOIN\",\"Presentation\":\"Used for treating urinary tract infections caused by several types of bacteria.\",\"AltBrand\":\"MACRODANTIN, RALODANTIN, NITROFURANTOIN (APO), NITROFURANTOIN (BNM), NITROFURANTOIN (ARX)\",\"DoNotCrush\":false,\"TradeName\":\"NITROFURANTOIN (APO)\",\"Formulation\":\"CAP\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65f10adaa5ab8f00645494a8\",\"Usage\":2,\"DrugFullName\":\"NITROFURANTOIN (APO) 100mg CAP\",\"MedicationFullDetails\":\"NITROFURANTOIN (APO) 100mg CAP - NITROFURANTOIN (NITR9)\",\"Id\":\"6102d24ca6b66b27b8110179\",\"CreatedDate\":\"2021-07-29T16:07:40.899Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T16:42:52.39Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e995190f0cccf8685c1bde\",\"CreatedDate\":\"2026-04-23T03:42:17.3481638Z\",\"CreatedUserName\":\"seppie\",\"CreatedUserId\":\"68ab9740414f211e58238813\",\"LastUpdateDate\":\"2026-04-23T03:42:17.3481638Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b0c4189004f19253439f7b",
"");