DSTU2 Ballot Source

This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Conceptmap-example.xml

Raw XML (canonical form)

General ConceptMap Example (id = "101")

Raw XML

<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="101"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text><!--    this example, we elected to use a UUID. We could have used 
     an OID, or a URI - depends on how it will be used.    -->
  <url value="256a5231-a2bb-49bd-9fea-f349d428b70d"/><!--    for version, we are going to simply use the day of publication. This is also 
    arbitrary - whatever is here is what people use to refer to the version. 
    Could also be a UUID too    -->
  <version value="20120613"/><!--    set of loinc codes for cholesterol for LONC 2.36    -->
  <name value="FHIR/v3 Address Use Mapping"/>
  <publisher value="FHIR project team (example)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <description value="A mapping between the FHIR and V3 AddressUse Code systems"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2012-06-13"/>
  <sourceReference>
    <reference value="http://hl7.org/fhir/address-use"/>
  </sourceReference>
  <targetReference>
    <reference value="http://hl7.org/fhir/v3/AddressUse"/>
  </targetReference>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="home"/>
    <map>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </map>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="home"/>
    <map>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </map>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="work"/>
    <map>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="WP"/>
      <equivalence value="equivalent"/>
    </map>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="temp"/>
    <map>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="TMP"/>
      <equivalence value="equivalent"/>
    </map>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="old"/>
    <map>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="BAD"/>
      <equivalence value="disjoint"/>
      <comments value="In the V3 AD, old is handled by the usablePeriod element, but you have to provide a time,
       there's no simple equivalent of flagging an address as old"/>
    </map>
  </element>
</ConceptMap>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.