using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c9027765229a4548111529",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69aa5ca1487d3f7778d4fb70\",\"Direction\":\"1 AS REQUIRED\",\"FoilId\":\"69aa5cb1953ddd58ee492b15\",\"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-23T02: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\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"Chest pain\",\"Unit\":\"spray\",\"PharmacyId\":\"68c9027765229a4548111529\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY\",\"DrugCode\":\"NITR5\",\"Austr\":\"308842\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Sublingual Spray\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause dizziness when standing up quickly*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your PharmacistS/Care - Exercise & HeartS/Care - Reducing Fat/Cholest\",\"Direction\":\"\",\"GenericCode\":\"GLYC12\",\"GenericName\":\"GLYCERYL TRINITRATE PUMP\",\"Presentation\":\"Used for angina. \",\"AltBrand\":\"NITROLINGUAL PUMP\",\"DoNotCrush\":false,\"TradeName\":\"NITROLINGUAL PUMP\",\"Formulation\":\"SL-SPRY\",\"Strength\":\"400mcg/dose, 200dose\",\"Schedule\":\"3\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"Usage\":1,\"DrugFullName\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY\",\"MedicationFullDetails\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY - GLYCERYL TRINITRATE PUMP (NITR5)\",\"Id\":\"5f0e69e0a0ba5db368a1536e\",\"CreatedDate\":\"2020-07-15T02:28:39.533Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:06:50.435Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9891426359e3854cbd1cf\",\"CreatedDate\":\"2026-04-23T02:51:00.304Z\",\"CreatedUserName\":\"wildst\",\"CreatedUserId\":\"692538017037eafc0466478c\",\"LastUpdateUserId\":\"692538017037eafc0466478c\",\"LastUpdateUserName\":\"wildst\",\"LastUpdateDate\":\"2026-04-23T02:53:09.0846856Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69aa5ca1487d3f7778d4fb70",
"");