using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"688af571be5d338e0eb50c6b\",\"Direction\":\"Take ONE tablet in the morning\",\"FoilId\":\"688af571be5d338e0eb50c6c\",\"FoilLabel\":\"Regular Pack\",\"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-30T02: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\":\"68831b733e5f1b9fd3be5032\",\"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\":\"68831b733e5f1b9fd3be5032\",\"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-11T16:16:52.338Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f2b4186a52244e588aeef8\",\"CreatedDate\":\"2026-04-30T01:44:56.5001086Z\",\"CreatedUserName\":\"jbt\",\"CreatedUserId\":\"688b0a305300ebda2d6e80e3\",\"LastUpdateDate\":\"2026-04-30T01:44:56.5001086Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"688af571be5d338e0eb50c6b",
"");