Cancer Staging
Synopsis
This example shows how to use qualifier relations to extract staged cancer mentions from patient reports.
Processing Requirements
This query assumes that at least the following emtellipro-db-client processing options were enabled:
--feature qualifier-relations, umlsnci-ontology, snomed-ontology--store-sections-and-sentences
Clinical Context
Medicine has many staging systems and grading systems for different pathologies, and one of the most common is the stage grouping used in cancer diagnosis and treatment. For example, a patient with lung cancer where the disease had spread to distant parts of the body would be described as ‘Stage IV lung cancer’. Other diseases can use grading systems where the grade of a disease state is written as the word ‘Grade’ followed by a numerical value such as ‘Grade 1’.
The NLP API can identify stage and grade qualifier relations between a disease subject being qualified (not limited to just cancer), and a stage or grade qualifier value. Due to how SNOMED has been constructed, there are several disease states that use unitary concepts to describe the stage of the disorder (e.g. 431856006 |Chronic kidney disease stage 2 (disorder)|) while in other cases, there are not. In the cases where there is no unitary concept for the disease stage in SNOMED (e.g. stage 2 COPD), if a stage/grade qualifier value describes a disease state, the NLP API will link the stage qualifier value and the disease mention in a qualifier relation.
The query below combines a filter on a UMLS semantic type (in this case Neoplastic process) with a filter on a SNOMED concept ID for the stage qualifier itself. The example uses 1229978004 |American Joint Committee on Cancer staging system|, which matches TNM values such as ‘N2’. Substitute a different qualifier concept to target a different staging vocabulary — for instance 258228008 |Stage 4 (qualifier value)| to find malignancies described as ‘Stage 4’ or ‘Stage IV’.
SQL query
SQL
Next steps
The stage/grade qualifier is one of several qualifier types recognized by the NLP API. The NLP API many useful qualifier types such as status, size/severity, location, and duration/time. For more information, see Qualifier Relations in the Database Schema section.

