NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Contents of This Page

Use Cases

Previous implementations of the HL7 loaded into LexEVS have made use of artifacts in the RIM database.  The current requirements call for loading data directly from the Model Interchange format XML documents also known as MIF.   These sources expand the set of likely entities and relationships as well as add some assertions about concept domains and data types defined in the expanded definitions of the RIM available in the .coremif documents. This creates some problems around the unique identifier used for entities defined in the current HL7 load implementation as no correlation exists for the uniquely defined values in those portions of the .coremif documents where correlations to entities from the MIF to LexEVS will require further definition. 

Mapping from the .coremif Files to LexEVS

Two separate source files exist with the file extension coremif in the RIM distribution package, "DEF=UV=RIM=<version>" and "DEF=UV=VO=<version>."  The first defines a kind of super hierarchy to the RIM and the second defines the values and relationships that are consistent with the current load of the HL7 RIM to LexEVS.  Opportunities for expressing entities and assertions that define entity relationships exist for the "DEF=UV=RIM" or RIM core MIF that should be outlined here.  Also connections from this MIF file to the DEF=UV=VO, or vocabulary, file can further define relationships to the values that are currently expressed in the old LexEVS mapping. 

The RIM core MIF expresses a number of tags under the root static model that are defined as subject area packages.  We know from the defining xsd that these are sub-packages and we can see that one sub-package can be nested within another, implying that one package is a subclass of another.  Furthermore some sub-packages define contained class tags implying yet another area of sub classification.  We can deduce relationships from these that will allow us to map to LexEVS associations.  When the contained classes are elsewhere fully defined in the RIM core MIF, attributes and annotations are declared that normally might map to Entities and Entity Properties respectively in LexEVS.  However, the attribute tagged values will sometimes bear references to a data type tag or a concept domain tag, both of which are defined in the vocabulary core MIF and correlate to the the code systems also defined there.  We could pre-correlate this relationship by persisting this as a LexEVS association making the attribute a first class entity, or we could leave it as a property and post-correlate the relationship for interested users through a series of LexEVS calls.  Some instances of contained classes are otherwise defined as concepts in code systems designated by the definingVocabulary tag in the RIM core MIF.  This is another relationship between files that will need consideration for definition in LexEVS.  Some few values are expressed in the RIM core MIF as attributes in an endPoint tag, if these should be expressed in LexEVS, some determination will have to be made.

The vocabulary core MIF will map in a manner similar to the  previous load, with some exceptions.  Relationships will be defined with names noted in the concept relationship tag attribute "relationshipName" where previously all relationships were named "hasSubtype."  Otherwise, relationships with the code system will be created based on containment and can maintain the hasSubtype designation.  Most hierarchies defined in LexEVS provide a leaf-to-root resolve direction.  The HL7 load was an exception.  This should be revisited in this design. 

We will otherwise map the definition tag to a definition type property in the LexGrid and concept property tag attributes will define the numerical portion of the unique identifier where the concept property name is "internalId."  The code tag will define the other portion of the unique identifier using the code attribute to concatenate to the end of the numerical identifier preceded by a colon.  These should complete conformance, to a certain extent, with with old LexEVS load of the RIM from the MSAccess database.

To Be Determined:

How value sets are defined in the vocabulary core MIF and how and whether they will be mapped to LexEVS.

How much of the RIM core MIF should be mapped to LexEVS, if any, and whether relationships implied in the defininigCodeSystem, dataType and conceptDomain tags should be expressed in LexEVS.

whether attributes in the RIM core MIF under contained classes be first class entities.

whether endPoint designations should somehow be expressed in LexEVS.

 

Implementation Design

  • No labels