using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eacacc747aca488f18a8b1\",\"Direction\":\"Take ONE tablet TWICE a day\",\"FoilId\":\"69eacacc747aca488f18a8b5\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-17T21:51:39Z\",\"ScriptNum\":\"6031817\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-30T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PROPRANOLOL (APO) 40mg TAB\",\"DrugCode\":\"PROP14\",\"Austr\":\"222969\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"green\",\"Shape\":\"round\",\"Marking\":\"P 40\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"PRP2\",\"GenericName\":\"PROPRANOLOL\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2d80a0ba5d7c50794ca8\",\"ImageSmallSizeId\":\"68f599655a506b941b5c90a7\",\"ImageName\":\"222969-C01-01-BL600.jpg\",\"AltBrand\":\"DERALIN, INDERAL, PROPRANOLOL (APO), PROPRANOLOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"PROPRANOLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"green round P 40\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"Usage\":3,\"DrugFullName\":\"PROPRANOLOL (APO) 40mg TAB\",\"MedicationFullDetails\":\"PROPRANOLOL (APO) 40mg TAB - PROPRANOLOL (PROP14)\",\"Id\":\"5f0e69e0a0ba5db368a172d4\",\"CreatedDate\":\"2020-07-15T02:28:46.352Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.073Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eacacc747aca488f18a8be\",\"CreatedDate\":\"2026-04-24T01:43:40.412Z\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserName\":\"mpdataentry1550\",\"LastUpdateDate\":\"2026-04-30T07:33:40.5113499Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eacacc747aca488f18a8b1",
"");