using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698bdc7b7c330bf95d6f2b23",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69de02a9342a471bd178ab07\",\"Direction\":\"Take as directed by the doctor \",\"FoilId\":\"69de02a9342a471bd178ab1e\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-14T00:34:53Z\",\"ScriptNum\":\"385463\",\"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-20T04: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\":\"698bdc7b7c330bf95d6f2b23\",\"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\":\"698bdc7b7c330bf95d6f2b23\",\"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:36:34.508Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69de02a9342a471bd178ab30\",\"CreatedDate\":\"2026-04-14T09:02:33.524Z\",\"CreatedUserId\":\"69b7829d485625038a8f53fe\",\"LastUpdateUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateUserName\":\"mundijong\",\"LastUpdateDate\":\"2026-04-20T07:15:14.6897216Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69de02a9342a471bd178ab07",
"");