using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68dc7772bc1a57a4a810c5d0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69dde61b5952f0e4c2db22a9\",\"Direction\":\"Take ONE tablet in the evening\",\"FoilId\":\"69de0490342a471bd17b3e29\",\"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-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OLMESARTAN (APO) 20mg TAB\",\"DrugCode\":\"OLME26\",\"Austr\":\"221052\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"L\",\"Warning\":\"*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyPREGNANCY WARNING - Category DSpecial handling and disposal required - ask your Pharmacistswallowed wholeDo NOT crush or chew\",\"Direction\":\"\",\"GenericCode\":\"OLME6\",\"GenericName\":\"OLMESARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2dbba0ba5d7c50796bbe\",\"ImageSmallSizeId\":\"68f599835a506b941b5c9266\",\"ImageName\":\"221052-C01-01-BL600.jpg\",\"AltBrand\":\"OLMETEC, OLMESARTAN (TPX BASE), OLMESARTAN (MYL), OLMERTAN, OLMESARTAN (AN), OLMESARTAN (APO), OLMESARTAN (PCOR), OLMESARTAN (SZ), OLMESARTAN (APX), OLSETAN, OLMESARTAN (BLOOMS), OLMESARTAN (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"OLMESARTAN (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round L\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68dc7772bc1a57a4a810c5d0\",\"Usage\":1,\"DrugFullName\":\"OLMESARTAN (APO) 20mg TAB\",\"MedicationFullDetails\":\"OLMESARTAN (APO) 20mg TAB - OLMESARTAN (OLME26)\",\"Id\":\"5f0e69e0a0ba5db368a175f6\",\"CreatedDate\":\"2020-07-15T02:28:47.029Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:34:15.32Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e7229db02e12b387ef1fc7\",\"CreatedDate\":\"2026-04-21T07:09:17.957Z\",\"CreatedUserName\":\"DD\",\"CreatedUserId\":\"69097bd0ef4a2fe1d76310f7\",\"LastUpdateUserId\":\"69097bd0ef4a2fe1d76310f7\",\"LastUpdateUserName\":\"DD\",\"LastUpdateDate\":\"2026-04-21T07:10:06.6356357Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69dde61b5952f0e4c2db22a9",
"");