using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"691e3d0fdc505060207c6847",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e8613d9331f9d468fc0042\",\"Direction\":\"1 3xDAILY\",\"FoilId\":\"69f1711ec251b9858873c60a\",\"FoilLabel\":\"ibuprofen\",\"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-29T02: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\":\"\",\"PharmacyId\":\"691e3d0fdc505060207c6847\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"IBUPROFEN (APO) 400mg TAB\",\"DrugCode\":\"IBUP19\",\"Austr\":\"289218\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"pillow-shaped\",\"Marking\":\"\",\"Warning\":\"with or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Do not exceed one Aspirin tablet or capsule per dayConsult doctor or pharmacist before taking other medicines for pain or inflammationTGA Warning: Prior/During Pregnancy\",\"Direction\":\"\",\"GenericCode\":\"IBUP14\",\"GenericName\":\"IBUPROFEN\",\"Presentation\":\"For analgesic (pain reducing), antipyretic (fever reducing) effects. In higher doses they reduce inflammation (swelling)\",\"ImageId\":\"5f3a2f26a0ba5d7c507978d5\",\"ImageSmallSizeId\":\"68f5998b5a506b941b5c92cc\",\"ImageName\":\"289218-C01-01-BL600.jpg\",\"AltBrand\":\"BRUFEN, IBUPROFEN (APO), IBUPROFEN (MEDICHOICE), IBUPROFEN (WGR), IBUPROFEN (PCY ACTION)\",\"DoNotCrush\":false,\"TradeName\":\"IBUPROFEN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"400mg\",\"Schedule\":\"3\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white pillow-shaped\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"691e3d0fdc505060207c6847\",\"Usage\":3,\"DrugFullName\":\"IBUPROFEN (APO) 400mg TAB\",\"MedicationFullDetails\":\"IBUPROFEN (APO) 400mg TAB - IBUPROFEN (IBUP19)\",\"Id\":\"5f0e69e0a0ba5db368a176ed\",\"CreatedDate\":\"2020-07-15T02:28:47.265Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.737Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f1713ac251b985887433ff\",\"CreatedDate\":\"2026-04-29T02:47:22.8523652Z\",\"CreatedUserName\":\"Coburgp4l\",\"CreatedUserId\":\"691e3f65881495199870bcf3\",\"LastUpdateDate\":\"2026-04-29T02:47:22.8523652Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e8613d9331f9d468fc0042",
"");