Imagelink Summary
Synopsis
This query finds all imagelink relations extracted by the NLP API, showing the annotated terms for the image reference and findings.
SQL statements to retrieve filename and patient id are provided but commented out.
Processing Requirements
This query assumes that at least the following emtellipro-db-client processing options were enabled:
--feature imagelink-relations--store-sections-and-sentences
Clinical Context
Cross-sectional medical imaging studies such as MRI and CT may contain hundreds to thousands of images, which according to the DICOM standard, are organized into one or more series that contain one or more images. When a radiologist dictates the study, to aid in finding the lesion in question by the reader of the report, they may dictate the series number and image number of the lesion using varying notation methods. An example of this would be “There is a 5 mm nodule in the right lower lobe (4:3).” to indicate that the nodule is present on image 3 of series 4, or they may more explicitly state an image location as “There is a 1.2 cm hemangioma in Segment IVa of the liver on (Series 601, Image 29)”.
The NLP API identifies these Imagelink relations between the pathology (or finding) being described and the series/image annotation and returns them as a relation. The query below can be used to retrieve the finding and image reference from radiology reports.
SQL query
SQL
Snowflake
Next steps
After previewing the data extracted by imagelink relations, you may want to limit the result set to the imaging results for certain findings only. You can do this in a number of ways:
- Using SQL pattern-matching operators (i.e. LIKE and ILIKE) to find specific words in the annotated text.
- Using a concept-based approach where you search for finding entities that are mapped to a specific concept ID e.g. for a specific anatomical feature, or morphological abnormalities. This example shows how to search for specific concepts, see Sleep Apnea.
- Using a concept hierarchy search. This type of query searches for a parent and all its children concepts using Snomed CT. Examples of this approach, are found here.
- For the most general search, you may also choose to search for a specific entity type.

