using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68140200af648e0cbcbea80a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68241de7af648e0bacfa2650\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"68241de7af648e0bacfa2651\",\"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-05-01T02: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\":\"68140200af648e0cbcbea80a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CARVEDILOL (APO) 3.125mg TAB\",\"DrugCode\":\"APOC9\",\"Austr\":\"123823\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"oval\",\"Marking\":\"(Logo)\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine*May cause dizziness when standing up quicklywith or soon after food.\",\"Direction\":\"\",\"GenericCode\":\"CARV5\",\"GenericName\":\"CARVEDILOL\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2f25a0ba5d7c507977d9\",\"ImageSmallSizeId\":\"68f598e45a506b941b5c8974\",\"ImageName\":\"123823-C01-01-BL600.jpg\",\"AltBrand\":\"DILATREND, KREDEX, CARVEDILOL (GENRX), CARVEDILOL (CHEM-MART), CARVEDILOL (TW), DILASIG, CARVEDILOL (GN), VEDILOL, CARVEDILOL (APO), VOLIROP, CARVEDILOL (AN), CARVIDOL\",\"DoNotCrush\":false,\"TradeName\":\"CARVEDILOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"3.125mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oval P logo\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68140200af648e0cbcbea80a\",\"Usage\":0,\"DrugFullName\":\"CARVEDILOL (APO) 3.125mg TAB\",\"MedicationFullDetails\":\"CARVEDILOL (APO) 3.125mg TAB - CARVEDILOL (APOC9)\",\"Id\":\"5f0e69e0a0ba5db368a165ca\",\"CreatedDate\":\"2020-07-15T02:28:43.547Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:53:07.556Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f419052b4a013b979a3acc\",\"CreatedDate\":\"2026-05-01T03:07:49.0893413Z\",\"CreatedUserName\":\"BrimbankDCO\",\"CreatedUserId\":\"681413d908efed09281bd489\",\"LastUpdateDate\":\"2026-05-01T03:07:49.0893413Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68241de7af648e0bacfa2650",
"");