“…The data (demographic, emergency department letters, discharge summaries, clinical notes, radiology reports, medication orders, lab results) was retrieved and analyzed in near real-time from the structured and unstructured components of the electronic health record (EHR) using a variety of natural language processing (NLP) informatics tools belonging to the CogStack ecosystem, 8 namely DrugPipeline, 9 MedCAT 10 and MedCATTrainer. 11 The CogStack NLP pipeline captures negation, synonyms, and acronyms for medical SNOMED-CT concepts as well as surrounding linguistic context using deep learning and long short-term memory networks.…”