Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Unified Medical Language System® (UMLS®)

UMLS Database Query Diagrams:
How to perform searches in the source history file (MRHIST.RRF)

How to perform searches in the source history file: MRHIST graph

This diagram shows how to perform searches in the source history file (MRHIST.RRF).

As of the UMLS 2008AB release, only source history for SNOMED CT is represented in the UMLS. In their history model, records are created for concept identifiers (SCUI) and description identifiers (SAUI). Thus, a search for either of these fields in the MRHIST SOURCEUI field will yield information about the history of these elements (as asserted by the source).

The diagram models a join with MRCONSO.RRF to indicate that the UMLS does not attempt to map the SOURCEUI field to a UMLS UI field other than CUI. Thus, if you were to have an AUI and wanted to find any source asserted history information about its SAUI, SCUI, or SDUI you would have to search for that atom's CUI value in MRHIST.RRF and join SOURCEUI on the appropriate source asserted identifier (SAUI, SCUI, SDUI, CODE).

Corresponding Oracle Queries:

1. Find source history information for a SNOMED CT Concept.

SELECT b.* FROM mrconso a, mrhist b
WHERE a.cui = b.cui
    AND a.scui = b.sourceui
    AND a.sab = b.sab
    AND a.scui = '159558008'
    AND a.sab = 'SNOMEDCT';

2. Find source history information for a SNOMED CT Description.

SELECT b.* FROM mrconso a, mrhist b
WHERE a.cui = b.cui
    AND a.saui = b.sourceui
    AND a.sab = b.sab
    AND a.saui = '540359010'
    AND a.sab = 'SNOMEDCT';

Last Reviewed: July 29, 2016