NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scrollbar
iconsfalse

Page info
title
title

Panel
titleContents of this Page
Table of Contents
minLevel2

This section will be updated with the RRF loader enhancements implemented in LexEVS v5.1 and LexEVS 6.0. Until then, go to the section 3 - LexEVS 5.x Loader Source Mapping section of this guide.

Coding Scheme

UMLS Mapping

...

RRF File Name

...

RRF Column Name

...

RRF Definition

...

NCI Meta only

...

LexGrid Model Element

...

comments

...

Coding Scheme

...

MRSAB.RRF

...

SVER

...

Release date or version number of a source

...

codingScheme.representsVersion

...

MRSAB.RRF

...

SSN

...

Source short name

...

codingScheme.codingSchemeName

...

MRSAB.RRF

...

SON

...

Source Official Name

...

codingScheme.formalName

...

MRSAB.RRF

...

LAT

...

Language of Term(s)

...

codingScheme.defaultLanguage

...

MRSAB.RRF

...

TRF

...

Term frequency for a source

...

codingScheme.approxNumConcepts

...

MRSAB.RRF

...

SCIT

...

Source citation

...

codingScheme.entityDescription

...

inherits entityDescription from versionableAndDescribable

...

MRSAB.RRF

...

SCC

...

Content contact info for a source

...

codingScheme.copyright

...

 

...

codingScheme.codingSchemeURI

...

Pulled from iso mapping configuration file using method getISOString(RSAB from MRSAB.RRF)

...

MRDOC.RRF

...

EXPL

...

Detailed explanation

...

x

...

codingScheme.representsVersion

...

Where Dockey = "RELEASE" and value = "umls.release.name"

...

 

...

x

...

codingScheme.codingSchemeName

...

Hard coded in java file as "NCI MetaThesaurus"

...

 

...

x

...

codingScheme.formalName

...

Hard coded in java file as "NCI MetaThesaurus"

...

 

...

x

...

codingScheme.defaultLanguage

...

Hard coded in java file as "ENG"

...

MRCONSO.RRF

...

x

...

codingScheme.approxNumConcepts

...

Count of CODE value in MRCONSO.RRF

...

 

...

x

...

codingScheme.entityDescription

...

Hard coded in java file as "NCI MetaThesaurus loaded from RRF files."

...

 

...

x

...

codingScheme.copyright

...

Hard coded in java file as "Some material in the NCI Metathesaurus is from copyrighted sources of the respective copyright claimants. All sources appearing in the NCI Metathesaurus are licensed or authorized for NCI use. Users of the NCI Metathesaurus are responsible for compliance with the terms of these licenses and with any copyright restrictions and are referred to NCI Center of Bioinformatics for license terms and to the copyright notices appearing in the original sources, all of which are obtainable online by reference at

...

."

...

 

...

codingScheme.localNameList

...

Hard coded as constant in java file as "localName"

...

MRSAB.RRF

...

SON

...

Source Official Name

...

codingScheme.localNameList.

...

 

...

codingScheme.localNameList

...

Hard coded as constant in java file as "localName"

...

 

...

codingScheme.localNameList.

...

Pulled from iso mapping configuration file using method getISOString(RSAB from MRSAB.RRF)

...

 

...

codingScheme.source

...

Hard coded as constant in java file as "source"

...

MRDOC.RRF

...

EXPL

...

Detailed explanation

...

codingScheme.source.content

...

String concatenation of "UMLS-" and value of EXPL

...

 

...

x

...

codingScheme.localNameList

...

Hard coded as constant in java file as "localName"

...

 

...

x

...

codingScheme.localNameList.

...

Hard coded in java file as "NCI Thesaurus"

...

 

...

x

...

codingScheme.localNameList

...

Hard coded as constant in java file as "localName"

...

 

...

x

...

codingScheme.localNameList.

...

Hard coded in java file as "NCI_Thesaurus"

...

 

...

x

...

codingScheme.localNameList

...

Hard coded as constant in java file as "localName"

...

 

...

x

...

codingScheme.localNameList.

...

Hard coded in java file as "10001"

...

 

...

x

...

codingScheme.localNameList

...

Hard coded as constant in java file as "source"

...

 

...

x

...

codingScheme.localNameList.

...

Hard coded in java file as "RRF Files"

...

 

...

mappings.supportedFormat

...

Hard coded as constant in java file as "Format"

...

 

...

mappings.supportedFormat.localId

...

Hard coded as one of several constants in a java file

...

 

...

mappings.supportedAssociation

...

Hard coded as constant in java file as "Association"

...

MRREL.RRF

...

REL, RELA

...

Relationship, Relationship attribute

...

mappings.supportedAssociation.localId

...

 

...

mappings.supportedContext

...

Hard coded as constant in java file as "Context" May not be used in individual RRF load

...

 

...

mappings.supportedSource

...

Hard coded as constant in java file as "Source" May not be used in individual RRF load

...

 

...

 

...

mappings.supportedHierarchy

...

Hard coded as constant in java file as "Hierarchy"

...

 

...

mappings.supportedAssociationQualifier

...

Hard coded as constant in java file as "AssociationQualifier"

...

 

...

mappings.supportedProperty

...

Hard coded as constant in java file as "Property"

...

 

...

mappings.supportedLanguage

...

Hard coded as constant in java file as "Language"

...

 

...

mappings.supportedCodingScheme

...

Hard coded as constant in java file as "CodingScheme"

...

 

...

mappings.supportedRepresentationalForm

...

Hard coded as constant in java file as "RepresentationalForm"

...

 

...

mappings.supportedConceptStatus

...

Hard coded as constant in java file as "ConceptStatus"

...

 

...

mappings.supportedPropertyLink

...

Hard coded as constant in java file as "PropertyLink"

...

 

...

mappings.supportedPropertyQualifier

...

Hard coded as constant in java file as "PropertyQualifier"

...

 

...

mappings.supportedDataType

...

Hard coded as constant in java file as "DataType"

Coding Scheme

HERE

UMLS Mapping Entities

HERE

UMLS Mapping Relations

HERE

SNOMED UMLS Mapping

HERE


Scrollbar
iconsfalse

Entities

UMLS Mapping

RRF File Name

RRF Column Name

RRF Definition

NCI Meta only

LexGrid Model Element

comments

Entities

MRCONSO.RRF

CODE

Unique Identifier or code for string in source

Entity.entityCode

MRCONSO.RRF

CUI

Unique identifier for Entity

x

Entity.entityCode

 

Entity.isActive

Hardcoded in parameter as true.

 

Entity.status

Hard coded as constant in java file as "Active"

 

Entity.isAnonymous

Hardcoded in parameter as false.

MRCONSO.RRF

STR

String

Entity.entityDescription

 

 

 

Entity.Property.Format

Hard coded as constant in java file as "text/plain" or null

 

Entity.Property.propertyName

May be hard coded as constant in java file as one of several properties.

 

Entity.Property.usageContext

 

Entity.Property.propertyId

Generated value for property using "P" concatenated with a steadily incremented numerical value.

 

Entity.presentation.propertyId

Generated value for property textual presentation using "T" concatenated with a steadily incremented numerical value.

 

Entity.comment.propertyId

Generated value for property comment using "C" concatenated with a steadily incremented numerical value.

 

Entity.definition.propertyId

Generated value for property definition using "D" concatenated with a steadily incremented numerical value.

 

Entity.instruction.propertyId

Generated value for property instruction using "I" concatenated with a steadily incremented numerical value.

MRCONSO.RRF

CUI

Unique identifier for Entity

Entity.Property.text.content.

 

Entity.Property.propertyId

Generated value for property using "CUI" concatenated with a steadily incremented numerical value.

 

Entity.Property.propertyName

hard coded as constant in java file as "UMLS_CUI"

 

Entity.Property.propertyType

hard coded as constant in java file as "property"

 

Entity.Property.format

left as null

MRSTY.RRF

STY

Semantic type

Entity.Property.text.content

 

Entity.Property.propertyId

Generated value for property using "SemType" concatenated with a steadily incremented numerical value.

 

Entity.Property.propertyName

hard coded as constant in java file as "Semantic_Type"

 

Entity.Property.propertyType

hard coded as constant in java file as "property"

 

Entity.Property.value.dataType

Hard coded as constant in java file as "text/plain"

MRCONSO.RRF

LAT

Language of Term(s)

Entity.Property.language

Logic of code simply selects the first definition in the source as the preferred source

MRCONSO.RRF

TS

Term status

Entity.presentation.isPreferred

One or a combination of these RRF values determines whether a presentation is preferred: LAT, TS, STT, ISPREF, RANK.

MRCONSO.RRF

STT

String type

Entity.presentation.isPreferred

One or a combination of these RRF values determines whether a presentation is preferred: LAT, TS, STT, ISPREF, RANK.

MRCONSO.RRF

ISPREF

Indicates whether AUI is preferred

Entity.presentation.isPreferred

One or a combination of these RRF values determines whether a presentation is preferred: LAT, TS, STT, ISPREF, RANK.

MRRANK.RRF

RANK

Termgroup ranking

Entity.presentation.isPreferred

One or a combination of these RRF values determines whether a presentation is preferred: LAT, TS, STT, ISPREF, RANK.

 

Entity.presentation.isPreferred

MRDEF.RRF

DEF

Definition

Entity.definition.text.content

 

Entity.definition.isPreferred

Logic of code simply selects the first definition in the source as the preferred source

 

MRSAT.RRF

ATN

Attribute name

Entity.Property.propertyType

Translated to a LexGrid property type. For values AN, CX, HN this property is typed as a "COMMENT" in LexGrid. For value EV this property is typed "PRESENTATION" This only occurs when the STYPE points to the CODE, SCUI or SDUI columns in MRREL.RRF or MRCONSO.RRF. If the STYPE points to SAUI then the values are loaded as property qualifiers.

MRSAT.RRF

ATV

Attribute value

Entity.Property.value

MRSAT.RRF

ATN

Attribute name

Entity.Property.propertyQualifier.propertyQualifierName

If the STYPE points to SAUI then the value is loaded as a property qualifier attribute

MRSAT.RRF

ATV

Attribute value

Entity.Property.propertyQualifier.value

If the STYPE points to SAUI then the value is loaded as a property qualifier attribute

MRSAT.RRF

ATUI

Unique identifier for attribute

Entity.Property.propertyId

 

MRSAT.RRF

METAUI

Metathesaurus asserted unique identifier

Entity.Property.PropertyQualifier.propertyQualifierName

set to "METAUI"

MRSAT.RRF

METAUI

Metathesaurus asserted unique identifier

Entity.Property.PropertyQualifier.value

METAUI column value

MRSAT.RRF

STYPE

The name of the column in MRCONSO.RRF or MRREL.RRF that contains the identifier to which the attribute is attached

Entity.Property.PropertyQualifier.propertyQualifierName

set to "STYPE"

MRSAT.RRF

STYPE

The name of the column in MRCONSO.RRF or MRREL.RRF that contains the identifier to which the attribute is attached

Entity.Property.PropertyQualifier.value

STYPE column value

MRSAT.RRF

SUPPRESS

Suppressible flag

Entity.Property.PropertyQualifier.propertyQualifierName

set to "SUPPRESS"

MRSAT.RRF

SUPPRESS

Suppressible flag

Entity.Property.PropertyQualifier.value

STYPE column value if not null

MRCONSO.RRF

SAB

x

Entity.Property.source.content

 

x

Entity.Property.propertyQualifier.propertyQualifierName

hard coded as constant in java file as "source-code"

MRCONSO.RRF

CODE

x

Entity.Property.propertyQualifier.value

 

x

Entity.Property.propertyQualifier.propertyQualifierName

hard coded as constant in java file as "AUI"

MRCONSO.RRF

AUI

x

Entity.Property.propertyQualifier.value

 

Entity.presentation.representationalForm

When ATN value is EV this presentation will be given a representationalForm of "Abbrev."

MRCONSO.RRF

TTY

Term type in source

Entity.presentation.representationForm

When TTY value is FN then representationalForm is represented as "Full Form" Otherwise the representationalForm is the same as the TTY source (i.e. if TTY is PT then representationalForm is PT.) PT is one of the preferred presentations.

 

Entity.Property.propertyQualifier.propertyQualifierId

hard coded as "HCD"

MRHIER.RRF

HCD

Source asserted hierarchical number or code for this atom in this context

Entity.Property.propertyQualifier.content

This propertyQualifier is present when the HCD is populated in the the MRHIER file. The corresponding code and property for entity or code is qualified as a code or entity with a context derived heirarchy.

Relations

UMLS Mapping

RRF File Name

RRF Column Name

RRF Definition

NCI Meta only

LexGrid Model Element

comments

Relations

MRREL.RRF

CUI1

Unique identifier for first concept

MRREL.RRF

AUI1

Unique identifier for first atom

MRCONSO.RRF

CODE

Unique Identifier or code for string in source

ConceptReference.conceptCode (Model element is a ResolvedConceptReference with the value sourceOf attached to the appropriate AssociationList containing this particular REL or RELA association name.)

Mapping to the CODE depends upon the CUI or a combination of CUI and AUI values. If the CODE value is "NOCODE" then LexBIG concatenates "NOCODE" with a "-" and the CUI value. Target or source code value requires use of the DIR flag which indicates the directionality of the relationship in REL or RELA. CUI1 can be used as a pointer to the source CODE value if DIR equals Y, else CUI1 is the targetCode. Similarly, if an AUI exists AUI1 can be an indicator for CODE value to be either or source or target depending on the DIR flag.

MRREL.RRF

CUI2

Unique identifier for second concept

MRREL.RRF

AUI2

Unique identifier for second atom

MRCONSO.RRF

CODE

Unique Identifier or code for string in source

ConceptReference.conceptCode (Model element is a ResolvedConceptReference with the value targetOf attached to the appropriate AssociationList containing this particular REL or RELA association name.)

Mapping to the CODE depends upon the CUI or a combination of CUI and AUI values. If the CODE value is "NOCODE" then LexBIG concatenates "NOCODE" with a "-" and the CUI value. Target or source code value requires use of the DIR flag which indicates the directionality of the relationship in REL or RELA. CUI2 can be used as a pointer to the source CODE value if DIR equals Y, else CUI1 is the targetCode. Similarly, if an AUI exists AUI2 can be an indicator for CODE value to be either or source or target depending on the DIR flag.

MRREL.RRF

DIR

Source asserted directionality flag

The UMLS directional flag. Y indicates that this is the direction of the RELA relationship in its source; N indicates that it is not; otherwise indicates that it is not important or has not yet been determined. (If blank RELA, we interpret as 'N', based on empirical review of meta files).

 

MRREL.RRF

RELA

Relationship attribute

AssociationPredicate.associationName

Source defined associations. If RELA value is "inverse_isa" then it is changed to "hasSubtype." All others mapped as defined in source.

 

MRREL.RRF

REL

Relationship

AssociationPredicate.associationName

UMLS defined associations

 

 

MRSAT.RRF

METAUI

Metathesaurus asserted unique identifier

Presence of RUI in MRSAT.RRF METAUI column indicates the association defined in MRREL has an association qualifier. Currentely only MedDRA uses these.

MRSAT.RRF

ATN

AssociatedConcept.nameAndValueList.name

MRSAT.RRF

ATV

AssociationQualification.nameAndValueList.content

 

AssociatedConcept.nameAndValueList.name

qualifier name is hard coded to "HCD" This association qualifier is attached to an association when the HCD field in MRHIER.RRF is populated. Associations are identified by evaluating a structured series of AUI's that describe the path to root (PTR field in MRHIER) Once these associations are identified they have and association qualifier attached to them with the value of the HCD loaded as the qualifier.

MRHIER.RRF

HCD

AssociationQualification.nameAndValueList.content

MRSAB.RRF

SSN

Source short name

association.codingSchemeId (Inherited from Entity)

MRREL.RR

REL or RELA

Relationship or Relationship attribute

AssociationEntity.forwardName

unqualified REL or RELA value (inverse_isa remains the same)

MRDOC.RRF

EXPL

Detailed explanation

AssociationEntity.reverseName

Where DOCKEY in MRDOC equals REL or RELA and value is the association name and TYPE is REL or RELA name prepended to "_inverse".

 

association.isNavigable

hard coded as Boolean with value true.

MRREL.RRF

SAB, REL, RELA

Source abbreviation

AssociationEntity.isTransitive

True when the name of the association can be mapped to a source defined in the SAB attribute of MRREL.RRF. Not the SAB value itself, but extrapolated from it using SAB to REL, RELA relationship.

 

AssociatableElement.entityDescription.content (inheritance path for entityDescription is Entity->versionableAndDescribable)

Hard coded to: "UMLS-defined relationships"

 

 

relations.containerName

If REL, this is hard coded as "UMLS-Relations" if RELA then it is hard coded to "Relations"

MRREL.RRF

REL, RELA

x

propertyLink.link

This is a link established when the MRREL.RRF file contains a relationship where the CUI is related to itself. Under these conditions the relationship is mapped as a property link with the MRREL defined relationship mapped as the link value.

 

x

propertyLink.sourceProperty

Generated as a propertyId for concept, ex: "T-10" This is retrieved based on the AUI value in MRCONSO.RRF from the entityPropertyMultiAttrib table where the AUI equals the attributeValue column.

 

x

propertyLink.targetProperty

Generated as a propertyId for concept, ex: "T-10" This is retrieved based on the AUI value in MRCONSO.RRF from the entityPropertyMultiAttrib table where the AUI equals the attributeValue column.

SNOMED UMLS Mapping

...

SNOMED UMLS Mapping

...

RRF File Name

...

RRF Column Name

...

RRF Definition

...

LexGrid Model Element

...

comments

...

RSAB.RRF

...

SVER

...

Release date or version number of a source

...

codingScheme.representsVersion

...

RSAB.RRF

...

SSN

...

Source short name

...

codingScheme.codingScheme?

...

RSAB.RRF

...

SON

...

Source Official Name

...

codingScheme.formalName

...

 

...

Hard coded to "en"

...

codingScheme.defaultLanguage

...

MRSAT.RRF

...

ATV

...

concept.presentation.language

...