Literature DB >> 31533810

Automated SNOMED CT concept and attribute relationship detection through a web-based implementation of cTAKES.

Martijn G Kersloot1, Francis Lau2, Ameen Abu-Hanna3, Derk L Arts3, Ronald Cornet3.   

Abstract

BACKGROUND: Information in Electronic Health Records is largely stored as unstructured free text. Natural language processing (NLP), or Medical Language Processing (MLP) in medicine, aims at extracting structured information from free text, and is less expensive and time-consuming than manual extraction. However, most algorithms in MLP are institution-specific or address only one clinical need, and thus cannot be broadly applied. In addition, most MLP systems do not detect concepts in misspelled text and cannot detect attribute relationships between concepts. The objective of this study was to develop and evaluate an MLP application that includes generic algorithms for the detection of (misspelled) concepts and of attribute relationships between them.
METHODS: An implementation of the MLP system cTAKES, called DIRECT, was developed with generic SNOMED CT concept filter, concept relationship detection, and attribute relationship detection algorithms and a custom dictionary. Four implementations of cTAKES were evaluated by comparing 98 manually annotated oncology charts with the output of DIRECT. The F1-score was determined for named-entity recognition and attribute relationship detection for the concepts 'lung cancer', 'non-small cell lung cancer', and 'recurrence'. The performance of the four implementations was compared with a two-tailed permutation test.
RESULTS: DIRECT detected lung cancer and non-small cell lung cancer concepts with F1-scores between 0.828 and 0.947 and between 0.862 and 0.933, respectively. The concept recurrence was detected with a significantly higher F1-score of 0.921, compared to the other implementations, and the relationship between recurrence and lung cancer with an F1-score of 0.857. The precision of the detection of lung cancer, non-small cell lung cancer, and recurrence concepts were 1.000, 0.966, and 0.879, compared to precisions of 0.943, 0.967, and 0.000 in the original implementation, respectively.
CONCLUSION: DIRECT can detect oncology concepts and attribute relationships with high precision and can detect recurrence with significant increase in F1-score, compared to the original implementation of cTAKES, due to the usage of a custom dictionary and a generic concept relationship detection algorithm. These concepts and relationships can be used to encode clinical narratives, and can thus substantially reduce manual chart abstraction efforts, saving time for clinicians and researchers.

Entities:  

Keywords:  Algorithms; Chart abstraction; Electronic health records; Natural language processing; SNOMED CT

Mesh:

Year:  2019        PMID: 31533810      PMCID: PMC6749652          DOI: 10.1186/s13326-019-0207-3

Source DB:  PubMed          Journal:  J Biomed Semantics


Background

Much of the data present in Electronic Health Records (EHRs) are stored as unstructured free text [1] as clinicians often resort to making free-text notes, despite available coding options [2]. The use of free text should be taken into account when EHR data are reused for other purposes [3], since data reuse for research and development of clinical decision support tools can improve healthcare [4]. However, using free-text notes for searching, summarizing, statistical analysis, and as input for decision support systems is challenging [5]. One of the tasks of natural language processing (NLP) methods, named-entity recognition, aims to extract structured information from free text that is less expensive and time-consuming than extracting it manually [6]. NLP in the medical field, medical language processing (MLP), is more challenging than NLP in various other fields since clinical texts have different grammar, contain ambiguous abbreviations (i.e., the same set of letters has multiple meanings), and contain more misspellings [1, 7]. Recent studies show that MLP can successfully be used for several purposes including deriving comorbidities from the EHR [8], detecting adverse events [9], and finding eligible patients for clinical trials by attaching clinical concepts to patient charts (encoding) [10]. Furthermore, MLP has been proven successful in extracting diagnoses from free-text notes from the EHR, thereby reducing manual chart abstraction efforts. It can, for example, be used to automatically detect the recurrence of breast cancer in patient charts, reducing the number of manually reviewed charts by 90% [11]. Other research shows that MLP can identify uncodified diabetes cases, leading to a more complete ascertainment of diagnoses and, thus, better information provision and targeted care for patients [12]. MLP systems include multiple algorithms to process free text and extract information from it. Clinical Text Analysis and Knowledge Extraction System (cTAKES) is an open-source MLP system from The Apache Software Foundation [13]. It is based on the Unstructured Information Management Architecture (UIMA) framework and the OpenNLP toolkit [13]. cTAKES provides linguistic and semantic annotations for unstructured free text [13] using SNOMED CT [14] and RxNorm [15] dictionaries. cTAKES is designed to be modular and extensible at the information model and method levels, ensuring that it is suitable for a variety of use cases [16]. MLP algorithms have been implemented in various systems. A recent systematic review has shown that most implementations of MLP algorithms are institution-specific, address only one clinical need, might be overfitted, and thus not scalable [17]. In addition, most MLP systems do not detect concepts in misspelled text, e.g. ‘Smll cell lng cancer’, only detect unqualified relationships (e.g. Non-small cell lung cancer relates in a way to Recurrent, Fig. 1.1) between concepts or their instances, and cannot detect attribute relationships, e.g. Non-small cell lung cancer with Recurrent as Clinical course (Fig. 1.2). Attribute relationships make the type of relationship between concepts or their instances explicit (e.g. Clinical Course in Fig. 1.2).
Fig. 1

A representation of a unqualified relationship between Non-small cell lung cancer and Recurrent (1) and an attribute relationship of Non-small cell lung cancer with Recurrent as Clinical course (2). The attribute relationship is modelled as a SNOMED CT concept definition diagram of recurrent non-small cell lung cancer (a new post-coordinated expression). Purple blocks represent defined concepts, blue blocks represent primitive SNOMED CT concepts and yellow blocks represent attributes. Attribute groups are represented using a white circle, and conjunctions are represented using a black dot

A representation of a unqualified relationship between Non-small cell lung cancer and Recurrent (1) and an attribute relationship of Non-small cell lung cancer with Recurrent as Clinical course (2). The attribute relationship is modelled as a SNOMED CT concept definition diagram of recurrent non-small cell lung cancer (a new post-coordinated expression). Purple blocks represent defined concepts, blue blocks represent primitive SNOMED CT concepts and yellow blocks represent attributes. Attribute groups are represented using a white circle, and conjunctions are represented using a black dot Since most MLP systems do not offer these algorithms, this study aimed to develop a cTAKES implementation that includes generic algorithms for the detection of concepts from properly spelled and misspelled descriptions and attribute relationships between these concepts. The implementation is evaluated by encoding free-text oncology charts to detect charts that describe recurrent non-small cell lung cancer, and use these outcomes to calculate the F1-score.

Material and methods

cTAKES

cTAKES enables encoding through several algorithms, which are included in several pipelines. We used cTAKES’ AggregatePlaintextFastUMLSProcessor pipeline (e.g. the output of one algorithm becomes the input to the next [18]), as shown in Fig. 2, for the pre-processing and processing of free-text clinical narratives, since it uses the Unified Medical Language System (UMLS) [19] as its dictionary. In this project, we focus on the SNOMED CT concepts that are included in the UMLS, as the hierarchical and relational structure of SNOMED CT allows us to determine and define relationships between medical concepts.
Fig. 2

A visual representation of the cTAKES AggregatePlaintextFastUMLSProcessor pipeline

A visual representation of the cTAKES AggregatePlaintextFastUMLSProcessor pipeline

Development of an MLP tool

Our project involved the development of a cTAKES implementation named Disease Information and Relationship ExtraCtion Tool (DIRECT). cTAKES provides a generic way of concept matching (through dictionary look-up), and detection of syntactic relationships and temporal references. However, it does not detect attribute relationships between concepts (e.g. Small cell carcinoma of lung with Recurrent as Clinical course) and does not match concepts in misspelled text. DIRECT was designed to filter SNOMED CT concepts matched by cTAKES, detect concepts that cTAKES did not detect, and detect attribute relationships between the detected concepts (example shown in Fig. 1.2). Figure 3 shows the workflow of DIRECT. When a user uploads a document or enters free text in the web interface of the tool (Fig. 3.1), DIRECT calls the cTAKES Application Programming Interface (API, Fig. 3.2) to obtain annotations from cTAKES. The detected annotations are processed in DIRECT (Fig. 3.3) and the result is returned to the user (Fig. 3.4).
Fig. 3

A visual representation of DIRECT in relation to cTAKES. API: Application programming interface. Blue blocks represent developed components, rounded blocks MLP algorithms

A visual representation of DIRECT in relation to cTAKES. API: Application programming interface. Blue blocks represent developed components, rounded blocks MLP algorithms

cTAKES API

An API was developed to communicate with cTAKES. It sends text or the contents of a file, received from an HTTP POST request, to the pipeline. The API sets up a UIMA Java environment with cTAKES and the received text and runs the AggregatePlaintextFastUMLSProcessor pipeline. After the pipeline has annotated the text, the results are parsed and returned as an XML file by the API, which is used by the processing algorithm of DIRECT. The XML file contains the detected syntactic relationships and concept identifiers of UMLS concepts, accompanied with the spans of the related terms in the text.

DIRECT

DIRECT is a general-purpose web application that allows users to annotate free text originating from a clinical source by sending it to cTAKES using the cTAKES API. Users can focus on the presence of specific concepts (e.g. Primary malignant neoplasm of lung) and their children (e.g. Small cell carcinoma of lung is a Primary malignant neoplasm of lung) or the relationship between concepts, since DIRECT’s algorithms are generic and do not specifically focus on specific concepts. After the text is processed by cTAKES, DIRECT uses algorithms to detect and filter SNOMED CT concepts, detect relationships between concepts, and uses those relationships to detect attribute relationships. These processing algorithms are described below (SNOMED CT concept filter, Concept relationship detection, and Attribute relationship detection). The output of the annotation and the algorithms is formatted and shown to the user.

SNOMED CT concept filter

The SNOMED CT concept filter algorithm extracts the most relevant concepts from the output of cTAKES. It derives the SNOMED CT concepts related to the UMLS concept identifier provided by cTAKES and checks the status of every concept (e.g. active if the concept is still in use in SNOMED CT, inactive if not). If the concept is inactive, the filter derives its substitute concepts. Once only active concepts are selected, the algorithm detects if the term listing the concept overlaps with other terms, thus determining if multiple concepts are detected in the same span. In case of an overlap, the algorithm selects the concept associated with the longest term (e.g. ‘Lung cancer’: instead of ‘Lung’). Finally, the algorithm analyzes every span in the text to filter duplicate concepts and to select the most detailed concept in case of a parent-child relation.

Concept relationship detection

This algorithm uses cTAKES’ ConllDependencyNode identifier to obtain syntactic relationships between words (tokens) that are detected in the text (e.g. in ‘recurrent cancer’, ‘recurrent’ is an adjective that relates to the noun ‘cancer’, Fig. 4.1). The concept relationship detection algorithm matches words from the syntactic relationships (dependencies), to concepts that are detected in the same span. First, the algorithm includes words that have nominal subject (nsubj), adjectival modifier (amod), modifier of nominal (nmod), adverbial modifier (advmod), noun compound modifier (nn), attribute (attr), direct object (dobj), object of a preposition (pobj) and modifier in hyphenation (hmod) relationships (Fig. 4.1) [20]. Next, the algorithm detects if there are concepts detected by cTAKES in the span that the word is part of (‘recurrent’ in Fig. 4.2). The relationship detection algorithm also tries to match words to SNOMED CT concepts, in case the concept was not detected by the cTAKES NER algorithm, using the same syntactic relationships. It includes free-text descriptions that partly match a SNOMED CT description, calculated by a similarity detection algorithm [21]. Alternative spellings as ‘nonsmall cell lung cancer’ and ‘non small cell lung cancer’ will now map to the description in SNOMED: ‘non-small cell lung cancer’. This similarity detection algorithm is based on PHP’s built-in similar_text function [22]. The algorithm calculates the percentage of similarity by dividing the result of matching characters in two descriptions by the average of the descriptions’ lengths. We included descriptions that matched a concept description for at least 95%, corresponding with a 5% error margin. This error margin did not result in false positive outcomes. Next, the descriptions were matched to the corresponding concept to include SNOMED CT concepts that were misspelled (‘nonsmall cell lung cancer’ in Fig. 4.2). Once the concepts are detected, the algorithm adds these as origin or destination in the relationship (relationship between ‘recurrent’ and ‘Non-small cell lung cancer’ in Fig. 4.3).
Fig. 4

Transformation of the syntactic relationships in the sentence ‘This patient is diagnosed with recurrent nonsmall cell lung cancer’ (1) to a SNOMED CT concept (2) and a relationship between detected SNOMED CT concepts (3, Recurrent and Non-small cell lung cancer)

Transformation of the syntactic relationships in the sentence ‘This patient is diagnosed with recurrent nonsmall cell lung cancer’ (1) to a SNOMED CT concept (2) and a relationship between detected SNOMED CT concepts (3, Recurrent and Non-small cell lung cancer)

Attribute relationship detection

The algorithm to detect attribute relationships analyzes all relationships and searches a possible attribute relationship between the two concepts by using the SNOMED CT Machine Readable Concept Model (MRCM). The MRCM represents the SNOMED CT concept model rules and it includes domains (e.g. Clinical finding), attributes (e.g. Clinical course), and ranges (e.g. Courses) [23]. The attribute relationship detection algorithm retrieves all possible attribute type SNOMED CT concepts (predicates) that link the destination concept (object) to the source concept (subject) and it adds this attribute concept to the relationship to form a new post-coordinated expression (e.g. Non-small cell lung cancer with Recurrent as Clinical course, Fig. 4).

Custom dictionary

Version 2016AB of the UMLS was converted to a cTAKES dictionary using the cTAKES dictionary creator [24]. A custom, plain-text, cTAKES dictionary was developed to link specific keywords that are not included in the UMLS to UMLS concepts. These UMLS concepts are converted to the corresponding SNOMED CT concept in the processing of cTAKES’ output. Words that can be spelled in different ways, such as ‘recurrence’ will now also map to the right concept, such as ‘255227004 | Recurrent (qualifier value) |’.

Evaluation of the developed MLP tool

To determine which aspect of DIRECT adds value to the annotation of free text, we compared DIRECT to different implementations: cTAKES with the 2011 UMLS version (out-of-the-box, UMLS2011), cTAKES with the 2016AB UMLS version (UMLS2016), and cTAKES with the 2016AB UMLS version and a custom dictionary (UMLS2016 + Dict.). The free-text clinical notes were used as input for each implementation. The output for named-entity recognition and attribute relationship detection was collected and compared to the manual annotation using an R script. Named-entity recognition focused on the detection of SNOMED CT concepts 93880001 | Primary malignant neoplasm of lung (disorder) |, 254637007 | Non-small cell lung cancer (disorder) |, and 255227004 | Recurrent (qualifier value) |. Attribute relationship detection focused on the detection of the SNOMED CT relationship 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value) |. This resulted in the number of true positives, false positives, true negatives, and false negatives. These classifications were then used to calculate the precision, recall, and the F1-score (Eq. 1, Eq. 2 and Eq. 3, Table 1), the harmonic mean of precision and recall. To compare the performance of the four implementations, a two-tailed permutation test was used, since our dataset is small [25].
Table 1

Variables used in the F-score equation

AlgorithmTrue positive (TP)False positive (FP)False negative (FN)
Named-entity recognitionaSame medical concept identified as golden standard.Identified medical concept differs from golden standard.Medical concept mentioned, but not identified.
Attribute relationship detectionbAttribute relationship present and detected.Attribute relationship not present, but detected.Attribute relationship present, but not detected.

aSNOMED CT concepts 93880001 | Primary malignant neoplasm of lung (disorder) |, 254637007 | Non-small cell lung cancer (disorder) |, and 255227004 | Recurrent (qualifier value)

bSNOMED CT relationship 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value)

cSNOMED CT concept 255227004 | Recurrent (qualifier value)

Variables used in the F-score equation aSNOMED CT concepts 93880001 | Primary malignant neoplasm of lung (disorder) |, 254637007 | Non-small cell lung cancer (disorder) |, and 255227004 | Recurrent (qualifier value) bSNOMED CT relationship 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value) cSNOMED CT concept 255227004 | Recurrent (qualifier value)

Used charts

For the evaluation of DIRECT, 98 English (non-small cell) lung cancer patient charts in the form of treatment progress notes from six different centers were included (Table 2). The cases were provided and approved for use by Jonn Wu (JW), an oncologist at BC Cancer, Canada, and manually annotated by a student (Shan Rajapakshe). Both JW and MK determined if the annotations were of good quality. Thirty randomly selected charts are used as development set. The charts are assigned a positive, negative, or not-listed label, based on the occurrence (independent of the number of concept mentions) of the concepts. This label will be leveraged as reference standard in the evaluation process. 50% of the development set and 44% of the test set consist of charts that mention recurrence, either positive or negative.
Table 2

Specification of the included charts

SetOutcomeLung cancerNon-small cell lung cancerRecurrenceRelation
ImpliedStrictImpliedStrictImpliedStrict
Development set (n = 30)Positive27231717106
Negative5
Not listed3713131513
Test set (n = 68)Positive514036312010
Negative10
Not listed172832373858

Relation: Relationship between Lung cancer and Recurrence

Specification of the included charts Relation: Relationship between Lung cancer and Recurrence Named-entity recognition is evaluated with an implied and a strict approach for the detection of lung cancer and non-small cell lung cancer. The implied approach includes charts that imply that there is an instance of the concept, but do not name the concept, e.g. ‘nonsmall cell’ instead of ‘non-small cell lung cancer’. The strict approach only focuses on the charts that do name the concept.

Results

Development of DIRECT

The concepts were added to the dictionary, according to the methods described. The resulting custom dictionary can be found in Appendix A. DIRECT and the cTAKES API were developed over a period of 4 months by one developer (MK). Figure 5 shows the workflow in the application. Users enter text from a clinical source (Fig. 5.1) and select specific concepts (e.g. Primary malignant neoplasm of lung, Fig. 5.2) and their children, or the relationship between concepts (e.g. Small cell carcinoma of lung with Recurrent as Clinical course, Fig. 5.3) to focus on. The results of the annotation of the free text are then shown to the user (Fig. 5.4).
Fig. 5

Screenshots of DIRECT. 1. Input free text using a text field or text file(s). 2. Selection of SNOMED CT concepts to focus on and top-level concepts to include. 3. Selection of SNOMED CT attribute relationships to focus on. 4. Processing of the free text and results

Screenshots of DIRECT. 1. Input free text using a text field or text file(s). 2. Selection of SNOMED CT concepts to focus on and top-level concepts to include. 3. Selection of SNOMED CT attribute relationships to focus on. 4. Processing of the free text and results

Evaluation of the algorithms of DIRECT

Table 3 shows the outcomes of the evaluation of named-entity recognition and attribute relationship detection for the three concepts, the data used for calculating the metrics (true positives, false positives, and false negatives) can be found in Appendix B. The calculated F1-scores can also be found in Table 4. The results are shown resp. for the implementations, the implied and strict approach, and the actual presence and absence of the concept in the text. All relationships in the development set were detected, however, not all relationships in the test set were detected. In all but one of the cases, the F1-score of DIRECT was higher than the scores of the other implementations, the only exception being non-small cell lung cancer, having an F1-score that was higher in the UMLS2011 implementation. The UMLS2016 + Dict. implementation and DIRECT did detect ‘recurrence’, where the UMLS2011 and UMLS2016 implementations did not. DIRECT did not detect recurrence in one case.
Table 3

Precision, recall and calculated F-scores from the evaluation outcomes

Development set (n = 30)Test set (n = 68)
ImplementationAlgorithmConceptApproachPrecisionRecallF-scorePrecisionRecallF-score
UMLS2011Named-entity recognitionLung canceraImplied0.9380.5560.6981.0000.6860.814
cTAKES with UMLS 2011Strict0.9380.6520.7690.9430.8250.880
Non-small cell lung cancerbImplied0.9170.6470.7590.9670.8060.879
Strict0.9170.6470.7590.9670.9350.951
Recurrencec0.0000.0000.0000.0000.0000.000
UMLS2016Named-entity recognitionLung canceraImplied1.0000.3700.5411.0000.5690.725
cTAKES with UMLS 2016Strict1.0000.4350.6061.0000.7250.841
Non-small cell lung cancerbImplied1.0000.2940.4550.9470.5000.655
Strict1.0000.2940.4550.9470.5810.720
Recurrencec0.0000.0000.0000.0000.0000.000
UMLS2016 + Dict.Named-entity recognitionLung canceraImplied1.0000.8520.9201.0000.7060.828
cTAKES with UMLS 2016 and custom dictionaryStrict1.0001.0001.0001.0000.9000.947
Non-small cell lung cancerbImplied1.0000.7650.8670.9570.6110.746
Strict1.0000.7650.8670.9570.7100.815
Recurrencec1.0001.0001.0000.8821.0000.938
DIRECTNamed-entity recognitionLung canceraImplied1.0000.8520.9201.0000.7060.828
cTAKES with UMLS 2016, custom dictionary, and additional processingStrict1.0001.0001.0001.0000.9000.947
Non-small cell lung cancerbImplied1.0001.0001.0000.9660.7780.862
Strict1.0001.0001.0000.9660.9030.933
Recurrencec1.0001.0001.0000.8790.9670.921
Attribute relationship detectionRecurrent lung cancerd1.0001.0001.0001.0000.7500.857

aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder)

bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder)

cSNOMED CT concept 255227004 | Recurrent (qualifier value)

dRelationship between three SNOMED CT concepts: 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value)

Table 4

F-scores calculated from the evaluation outcomes

Development set (n = 30)Test set (n = 68)
AlgorithmConceptApproachUMLS2011UMLS2016UMLS2016DDIRECTUMLS2011UMLS2016UMLS2016DDIRECT
Named-entity recognitionLung canceraImplied0.6980.5410.9200.9200.8140.7250.8280.828
Strict0.7690.6061.0001.0000.8800.8410.9470.947
Non-small cell lung cancerbImplied0.7590.4550.8671.0000.8790.6550.7460.862
Strict0.7590.4550.8671.0000.9510.7200.8150.933
Recurrencec0.0000.0001.0001.0000.0000.0000.9380.921
Relationship detectionRecurrent lung cancerd1.0000.857

aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder)

bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder)

cSNOMED CT concept 255227004 | Recurrent (qualifier value)

dRelationship between three SNOMED CT concepts: 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value)

Precision, recall and calculated F-scores from the evaluation outcomes aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder) bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder) cSNOMED CT concept 255227004 | Recurrent (qualifier value) dRelationship between three SNOMED CT concepts: 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value) F-scores calculated from the evaluation outcomes aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder) bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder) cSNOMED CT concept 255227004 | Recurrent (qualifier value) dRelationship between three SNOMED CT concepts: 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value) The results of the two-tailed permutation test for comparison between the different implementations and DIRECT are shown in Table 5. The test showed statistically significant differences (P <  0.05) in outcomes between DIRECT and the UMLS2016 implementation for the detection of lung cancer and non-small cell lung, demonstrating that these differences are not coincidental [25]. There were no significant differences between the detection of lung cancer and non-small cell lung cancer in the original cTAKES (with UMLS 2011) and DIRECT, despite the higher F-scores for the detection of lung cancer. However, there was a significant difference between the detection of recurrence in these implementations.
Table 5

Outcomes of the two-tailed permutation test between the different implementations Statistically significant values (p <  0.05) are in bold face

Implementation 1Implementation 2Lung canceraNon-small cell lung cancerbRecurrencec
UMLS2011UMLS2016 0.024 0.002 1.000
UMLS2011UMLS2016 + Dict.1.000 0.016 <  0.001
UMLS2011DIRECT1.0001.000 <  0.001
UMLS2016UMLS2016 + Dict. 0.024 0.142 <  0.001
UMLS2016DIRECT 0.018 0.001 <  0.001
UMLS2016 + Dict.DIRECT1.000 0.035 1.000

aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder)

bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder)

cSNOMED CT concept 255227004 | Recurrent (qualifier value)

Outcomes of the two-tailed permutation test between the different implementations Statistically significant values (p <  0.05) are in bold face aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder) bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder) cSNOMED CT concept 255227004 | Recurrent (qualifier value)

Discussion

In this study we implemented DIRECT, a custom version of cTAKES that includes an API and MLP algorithms, and evaluated it using (non-small cell) lung cancer cases. Our results show that DIRECT can identify lung cancer, non-small cell lung cancer and recurrence concepts in charts with precisions of 1.000, 0.966, and 0.879, either with implied and strict approaches, compared to strict precisions of 0.943, 0.967, and 0.000 in the original cTAKES implementation. Use of either the UMLS2011 or UMLS2016 dictionary results in statistically significant differences in F1-scores for named-entity recognition. The old dictionary (2011) consists of all the synonyms of SNOMED CT, NCI Thesaurus, MeSH, and ICD-9 whereas the new dictionary (2016) solely consists of SNOMED CT concepts and descriptions. Therefore, many concepts in the new dictionary have less descriptions and are thus harder to detect using the algorithm. DIRECT does detect these concepts with its algorithms, however with an F1-score for the detection of lung cancer that does not differ significantly from that of the UMLS2011 implementation. The statistically significant differences in F1-scores between the UMLS2011 implementation and DIRECT for non-small cell lung cancer can be explained by the relationship detection algorithm. The noun phrase as adverbial modifier relationship (npadvmod) was not included in the relationship detection. One case that contains this relationship between non-small cell and lung cancer could not be detected due to the missing relationship in the algorithm. One chart included the text ‘recurrent disease’. Since this description is longer than ‘recurrent’, DIRECT chose the SNOMED concept for recurrent disease over the concept for recurrent. This explains why the F1-score for the detection of recurrence is higher in the UMLS2016 + Dict. implementation compared to DIRECT. The relationship ‘lung cancer with recurrent as clinical course’ is detected with an F1-score of 0.857. cTAKES does detect relationships between complex adjective and noun combinations (e.g. ‘Recurrent T3 N0 nonsmall cell (adenocarcinoma) lung cancer’ or ‘recurrence of stage IIB non-small lung cancer’ instead of ‘recurrent non-small cell lung cancer’), however it labels them with the wrong syntactic category. Therefore, the algorithm cannot detect the attribute relationship. This problem might be solved in DIRECT by changing the algorithm to include other syntactic relationships as well. The F1-scores show that DIRECT can substantially reduce manual chart abstraction efforts for these concepts. Possible reasons for not tagging concepts are spelling mistakes that are off by more than 5% from the SNOMED CT concept description or concept relationships in texts that are not detected, such as charts that mention cancer in one sentence and specify it as non-small cell in another sentence. Strengths of our study include the customizability of the dictionaries and the selection of focus concepts in the user interface. This makes DIRECT generic (i.e. non-institution-specific) and allows it to be used for different study designs. Moreover, the algorithms used in DIRECT are generic and therefore not bound to non-small cell lung cancer charts. The algorithms are described in detail, thus these algorithms can be replicated in other implementations. We also used a UMLS dictionary, which is scalable due to the large quantity and variety of concepts available in the UMLS. Several limitations of our study should be noted. The number of cases is acceptable, but a larger dataset could be used to give the evaluation more power. Additionally, the split-sample evaluation exclusively focussed on (non-small cell) lung cancer with cases that had limited (e.g. ‘nonsmall cell’) to no misspelled concepts and is not externally validated. We did not use cross-validation, since the creation of custom dictionaries and the development of the algorithms based on the development data is highly labour-intensive. Other implementations or cases could give other outcomes, partly due to the non-scalable non-small cell lung cancer custom dictionary. Comparing the outcome of the algorithms with algorithms found in literature is challenging, since algorithms are often developed for specific implementations and evaluated by encoding specific free-text narratives. We therefore could not compare our outcomes to outcomes described in other MLP papers. Complete and structured EHR data can improve health care by allowing data to be reused for research and development of clinical decision support tools [4]. This study found that DIRECT can be used to detect specific oncology concepts in free text. We believe that DIRECT and the algorithms described in this paper may be used in other medical settings as well. Clinicians can use DIRECT to get acquainted with MLP, without building their own MLP pipelines. Batches of free text can be processed by the cTAKES API, saving time for clinicians and researchers, who would otherwise have to abstract information manually. Future studies should validate MLP tools such as cTAKES and DIRECT using cross-validation and external validation and should investigate a different implementation for (non-small cell) lung cancer or other specialisms. Furthermore, the performance of the relationship detection algorithm could be improved and further research is needed to provide methods for that. Future studies should also critically assess the encoded attribute relationships, since DIRECT does not determine if the detected relationships are clinically correct and relevant.

Conclusion

In this study we developed and evaluated the MLP tool DIRECT, an implementation of cTAKES. We demonstrated how DIRECT could be used to detect oncology concepts through a web interface and how it could detect attribute relationships using MLP algorithms with significant increase in F1-score, compared to the original implementation of cTAKES. DIRECT can be used to encode clinical narratives, and thus substantially reduce manual chart abstraction efforts, saving time for clinicians and researchers.
Table 6

Contents of the custom dictionary

CUIConcept descriptionTypeType descriptionWords
C2945760RecurrentT079Temporal Conceptrecurrent
C2945760RecurrentT079Temporal Conceptrecurring
C2945760RecurrentT079Temporal Conceptrecurrence
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon-small cell lung carcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnonsmall cell lung carcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon-small cell lung adenocarcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnonsmall cell lung adenocarcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon-small cell carcinoma of the lung
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnonsmall cell carcinoma of the lung
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon-small cell adenocarcinoma of the lung
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnonsmall cell adenocarcinoma of the lung
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon small cell lung carcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon small cell lung adenocarcinoma
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon small cell carcinoma of the lung
C0007131Non-Small Cell Lung CarcinomaT191Neoplastic Processnon small cell adenocarcinoma of the lung
C0149925Small cell carcinoma of lungT191Neoplastic Processsmall cell lung carcinoma
C0149925Small cell carcinoma of lungT191Neoplastic Processsmall cell lung adenocarcinoma
C0149925Small cell carcinoma of lungT191Neoplastic Processsmall cell carcinoma of the lung
C0149925Small cell carcinoma of lungT191Neoplastic Processsmall cell adenocarcinoma of the lung
C1306460Primary malignant neoplasm of lungT191Neoplastic Processlung carcinoma
C1306460Primary malignant neoplasm of lungT191Neoplastic Processlung adenocarcinoma
C1306460Primary malignant neoplasm of lungT191Neoplastic Processcarcinoma of the lung
C1306460Primary malignant neoplasm of lungT191Neoplastic Processadenocarcinoma of the lung

CUI Unified Medical Language System's Concept Unique Identifier

Table 7

Evaluation outcomes of the different implementations and datasets

Named-entity recognitionAttribute relation detection
ImplementationSetApproachOutcomeLung canceraNon-small cell lung cancerbRecurrencecRecurrent lung cancerd
PresentAbsentPresentAbsentPresentPresentAbsent
1Development set (n = 30)RelaxedDetected1511110
cTAKES with UMLS 2011Not detected12261215
StrictDetected151111
Not detected86612
Test set (n = 68)RelaxedDetected3502910
Not detected161773130
StrictDetected332291
Not detected726236
2Development set (n = 30)RelaxedDetected100500
cTAKES with UMLS 2016Not detected173121315
StrictDetected10050
Not detected1371213
Test set (n = 68)RelaxedDetected2901810
Not detected2217183130
StrictDetected290181
Not detected11281336
3Development set (n = 30)RelaxedDetected23013015
cTAKES with UMLS 2016 and custom dictionaryNot detected434130
StrictDetected230130
Not detected07413
Test set (n = 68)RelaxedDetected36022130
Not detected151714310
StrictDetected360221
Not detected428936
4Development set (n = 30)RelaxedDetected2301701560
DIRECT cTAKES with UMLS 2016, custom dictionary, and post-processingNot detected430130010
StrictDetected230170
Not detected07013
Test set (n = 68)RelaxedDetected3602812990
Not detected15178311318
StrictDetected360281
Not detected428336

aSNOMED CT concept 93880001 | Primary malignant neoplasm of lung (disorder)

bSNOMED CT concept 254637007 | Non-small cell lung cancer (disorder)

cSNOMED CT concept 255227004 | Recurrent (qualifier value)

dRelationship between three SNOMED CT concepts: 93880001 | Primary malignant neoplasm of lung (disorder) |: 263502005 | Clinical course (attribute) | = 255227004 | Recurrent (qualifier value)

  16 in total

1.  Mayo clinical Text Analysis and Knowledge Extraction System (cTAKES): architecture, component evaluation and applications.

Authors:  Guergana K Savova; James J Masanz; Philip V Ogren; Jiaping Zheng; Sunghwan Sohn; Karin C Kipper-Schuler; Christopher G Chute
Journal:  J Am Med Inform Assoc       Date:  2010 Sep-Oct       Impact factor: 4.497

Review 2.  Extracting information from textual documents in the electronic health record: a review of recent research.

Authors:  S M Meystre; G K Savova; K C Kipper-Schuler; J F Hurdle
Journal:  Yearb Med Inform       Date:  2008

3.  Towards a semantic lexicon for clinical natural language processing.

Authors:  Hongfang Liu; Stephen T Wu; Dingcheng Li; Siddhartha Jonnalagadda; Sunghwan Sohn; Kavishwar Wagholikar; Peter J Haug; Stanley M Huff; Christopher G Chute
Journal:  AMIA Annu Symp Proc       Date:  2012-11-03

4.  Using natural language processing to improve efficiency of manual chart abstraction in research: the case of breast cancer recurrence.

Authors:  David S Carrell; Scott Halgrim; Diem-Thy Tran; Diana S M Buist; Jessica Chubak; Wendy W Chapman; Guergana Savova
Journal:  Am J Epidemiol       Date:  2014-01-30       Impact factor: 4.897

Review 5.  Natural language processing systems for capturing and standardizing unstructured clinical information: A systematic review.

Authors:  Kory Kreimeyer; Matthew Foster; Abhishek Pandey; Nina Arya; Gwendolyn Halford; Sandra F Jones; Richard Forshee; Mark Walderhaug; Taxiarchis Botsis
Journal:  J Biomed Inform       Date:  2017-07-17       Impact factor: 6.317

6.  Strategies for handling missing data in electronic health record derived data.

Authors:  Brian J Wells; Kevin M Chagin; Amy S Nowacki; Michael W Kattan
Journal:  EGEMS (Wash DC)       Date:  2013-12-17

7.  Increasing the efficiency of trial-patient matching: automated clinical trial eligibility pre-screening for pediatric oncology patients.

Authors:  Yizhao Ni; Jordan Wright; John Perentesis; Todd Lingren; Louise Deleger; Megan Kaiser; Isaac Kohane; Imre Solti
Journal:  BMC Med Inform Decis Mak       Date:  2015-04-14       Impact factor: 2.796

8.  Phenotyping for patient safety: algorithm development for electronic health record based automated adverse event and medical error detection in neonatal intensive care.

Authors:  Qi Li; Kristin Melton; Todd Lingren; Eric S Kirkendall; Eric Hall; Haijun Zhai; Yizhao Ni; Megan Kaiser; Laura Stoutenborough; Imre Solti
Journal:  J Am Med Inform Assoc       Date:  2014-01-08       Impact factor: 4.497

9.  Optimising the use of electronic health records to estimate the incidence of rheumatoid arthritis in primary care: what information is hidden in free text?

Authors:  Elizabeth Ford; Amanda Nicholson; Rob Koeling; A Tate; John Carroll; Lesley Axelrod; Helen E Smith; Greta Rait; Kevin A Davies; Irene Petersen; Tim Williams; Jackie A Cassell
Journal:  BMC Med Res Methodol       Date:  2013-08-21       Impact factor: 4.615

10.  Using Machine Learning and Natural Language Processing Algorithms to Automate the Evaluation of Clinical Decision Support in Electronic Medical Record Systems.

Authors:  Donald A Szlosek; Jonathan Ferrett
Journal:  EGEMS (Wash DC)       Date:  2016-08-10
View more
  2 in total

1.  A corpus-driven standardization framework for encoding clinical problems with HL7 FHIR.

Authors:  Kevin J Peterson; Guoqian Jiang; Hongfang Liu
Journal:  J Biomed Inform       Date:  2020-08-16       Impact factor: 6.317

2.  Natural language processing algorithms for mapping clinical text fragments onto ontology concepts: a systematic review and recommendations for future studies.

Authors:  Martijn G Kersloot; Florentien J P van Putten; Ameen Abu-Hanna; Ronald Cornet; Derk L Arts
Journal:  J Biomed Semantics       Date:  2020-11-16
  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.