Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack


Page tree
Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »


OpenMRS has a mechanism to map concepts to external sources (concept_map tables); however, OpenMRS does not yet have a means to map metadata to external sources.


The following design was proposed on the Design Forum 2015-06-22:

Metadata Mapping Table Design

Notes on data model design:

  • metadata_source is used to define a unique source (authority) for each namespace of metadata terms.
    • nameshould be fully qualified and universally unique.
  • metadata_termtable provides both the term andits mapping to local metadata.
    • codeshould be unique within the given source.
    • metadata_classrefers to the Java class for the metadata.
    • metadata_referenceis a unique reference to the metadata within the class (e.g., uuid)
  • metadata_setis used to define relating grouping of metadata similar to what OpenMRS has traditionally done within global properties and similar to FHIR's ValueSet for metadata terms.
    • sort_weightis used to optionally give members of a metadata set a reliable sequence.


  • No labels