using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a3ce7b5a33ecf5ffc357f1",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[7.5,7.5,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5cee9c21eb1a5a97a9828\",\"Direction\":\"Take 7.5 ml by metric measure in the morning and in the evening\",\"FoilId\":\"69e5cf68a5419d95d24a5b56\",\"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-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\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"EPILIM 200mg/5mL 300mL SYRP\",\"DrugCode\":\"EPT6\",\"Austr\":\"15372\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Syrup\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Do NOT stop taking this medication abruptly*Do not exceed one Aspirin tablet or capsule per daywith or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryS/Care - Epilepsy*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"SOV1\",\"GenericName\":\"SODIUM VALPROATE\",\"Presentation\":\"Used as an anticonvulsant and mood-stabilizing drug, primarily in the treatment of epilepsy, bipolar disorder and prevention of migraine headaches.\",\"ImageId\":\"\",\"AltBrand\":\"EPILIM\",\"DoNotCrush\":false,\"TradeName\":\"EPILIM\",\"Formulation\":\"SYRP\",\"Strength\":\"200mg/5mL 300mL\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"Usage\":0,\"DrugFullName\":\"EPILIM 200mg/5mL 300mL SYRP\",\"MedicationFullDetails\":\"EPILIM 200mg/5mL 300mL SYRP - SODIUM VALPROATE (EPT6)\",\"Id\":\"5f0e69e0a0ba5db368a1448a\",\"CreatedDate\":\"2020-07-15T02:28:36.051Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:23:51.614Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5d0aca5419d95d24d8252\",\"CreatedDate\":\"2026-04-20T07:07:24.4738894Z\",\"CreatedUserName\":\"TSS\",\"CreatedUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateDate\":\"2026-04-20T07:07:24.4738894Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5cee9c21eb1a5a97a9828",
"");