This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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

6.15.7 Resource ConceptMap - Examples

Example Index:

General ConceptMap ExampleXMLJSON
Specimen Type v2 -> SNOMED-CT MappingXMLJSON

6.15.7.1 General

XML

General ConceptMap Example (id = "101")

Raw XML

<ConceptMap xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>FHIR/v3 Address Use Mapping (256a5231-a2bb-49bd-9fea-f349d428b70d)</h2>
      <p>Mapping from 
        <a href="address-use.html">http://hl7.org/fhir/address-use</a> to 
        <a href="v3/AddressUse/index.html">http://hl7.org/fhir/v3/AddressUse</a>
      </p>
      <p>Draft (not intended for production usage). Published on 13-Jun 2012 by FHIR project team
         (example) (
        <a href="http://hl7.org/fhir">http://hl7.org/fhir</a>). 
      </p>
      <p>A mapping between the FHIR and V3 AddressUse Code systems</p>
      <br/>
      <table class="grid">
        <tr>
          <td>
            <b>Source Code</b>
          </td>
          <td>
            <b>Equivalence</b>
          </td>
          <td>
            <b>Destination Code</b>
          </td>
          <td>
            <b>Comments</b>
          </td>
        </tr>
        <tr>
          <td>home</td>
          <td>equivalent</td>
          <td>H (home address)</td>
          <td/>
        </tr>
        <tr>
          <td>home</td>
          <td>equivalent</td>
          <td>H (home address)</td>
          <td/>
        </tr>
        <tr>
          <td>work</td>
          <td>equivalent</td>
          <td>WP (work place)</td>
          <td/>
        </tr>
        <tr>
          <td>temp</td>
          <td>equivalent</td>
          <td>TMP (temporary address)</td>
          <td/>
        </tr>
        <tr>
          <td>old</td>
          <td>disjoint</td>
          <td>BAD (bad address)</td>
          <td>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</td>
        </tr>
      </table>
    </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.    -->
  <identifier 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)"/>
  <telecom>
    <system value="url"/>
    <value value="http://hl7.org/fhir"/>
  </telecom>
  <description value="A mapping between the FHIR and V3 AddressUse Code systems"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2012-06-13"/>
  <source>
    <reference value="http://hl7.org/fhir/address-use"/>
  </source>
  <target>
    <reference value="http://hl7.org/fhir/v3/AddressUse"/>
  </target>
  <concept>
    <system value="http://hl7.org/fhir/address-use"/>
    <code value="home"/>
    <map>
      <system value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </map>
  </concept>
  <concept>
    <system value="http://hl7.org/fhir/address-use"/>
    <code value="home"/>
    <map>
      <system value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </map>
  </concept>
  <concept>
    <system value="http://hl7.org/fhir/address-use"/>
    <code value="work"/>
    <map>
      <system value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="WP"/>
      <equivalence value="equivalent"/>
    </map>
  </concept>
  <concept>
    <system value="http://hl7.org/fhir/address-use"/>
    <code value="temp"/>
    <map>
      <system value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="TMP"/>
      <equivalence value="equivalent"/>
    </map>
  </concept>
  <concept>
    <system value="http://hl7.org/fhir/address-use"/>
    <code value="old"/>
    <map>
      <system 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>
  </concept>
</ConceptMap>

JSON

General ConceptMap Example

{
  "resourceType": "ConceptMap",
  "text": {
    "status": "generated",
    "div": "<div>\n      <h2>FHIR/v3 Address Use Mapping (256a5231-a2bb-49bd-9fea-f349d428b70d)</h2>\n      <p>Mapping from \n        <a href=\"address-use.html\">http://hl7.org/fhir/address-use</a> to \n        <a href=\"v3/AddressUse/index.html\">http://hl7.org/fhir/v3/AddressUse</a>\n      </p>\n      <p>Draft (not intended for production usage). Published on 13-Jun 2012 by FHIR project team (example) (\n        <a href=\"http://hl7.org/fhir\">http://hl7.org/fhir</a>). \n      </p>\n      <p>A mapping between the FHIR and V3 AddressUse Code systems</p>\n      <br/>\n      <table class=\"grid\">\n        <tr>\n          <td>\n            <b>Source Code</b>\n          </td>\n          <td>\n            <b>Equivalence</b>\n          </td>\n          <td>\n            <b>Destination Code</b>\n          </td>\n          <td>\n            <b>Comments</b>\n          </td>\n        </tr>\n        <tr>\n          <td>home</td>\n          <td>equivalent</td>\n          <td>H (home address)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>home</td>\n          <td>equivalent</td>\n          <td>H (home address)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>work</td>\n          <td>equivalent</td>\n          <td>WP (work place)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>temp</td>\n          <td>equivalent</td>\n          <td>TMP (temporary address)</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>old</td>\n          <td>disjoint</td>\n          <td>BAD (bad address)</td>\n          <td>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</td>\n        </tr>\n      </table>\n    </div>"
  },
  "identifier": "256a5231-a2bb-49bd-9fea-f349d428b70d",
  "version": "20120613",
  "name": "FHIR/v3 Address Use Mapping",
  "publisher": "FHIR project team (example)",
  "telecom": [
    {
      "system": "url",
      "value": "http://hl7.org/fhir"
    }
  ],
  "description": "A mapping between the FHIR and V3 AddressUse Code systems",
  "status": "draft",
  "experimental": true,
  "date": "2012-06-13",
  "source": {
    "reference": "http://hl7.org/fhir/address-use"
  },
  "target": {
    "reference": "http://hl7.org/fhir/v3/AddressUse"
  },
  "concept": [
    {
      "system": "http://hl7.org/fhir/address-use",
      "code": "home",
      "map": [
        {
          "system": "http://hl7.org/fhir/v3/AddressUse",
          "code": "H",
          "equivalence": "equivalent"
        }
      ]
    },
    {
      "system": "http://hl7.org/fhir/address-use",
      "code": "home",
      "map": [
        {
          "system": "http://hl7.org/fhir/v3/AddressUse",
          "code": "H",
          "equivalence": "equivalent"
        }
      ]
    },
    {
      "system": "http://hl7.org/fhir/address-use",
      "code": "work",
      "map": [
        {
          "system": "http://hl7.org/fhir/v3/AddressUse",
          "code": "WP",
          "equivalence": "equivalent"
        }
      ]
    },
    {
      "system": "http://hl7.org/fhir/address-use",
      "code": "temp",
      "map": [
        {
          "system": "http://hl7.org/fhir/v3/AddressUse",
          "code": "TMP",
          "equivalence": "equivalent"
        }
      ]
    },
    {
      "system": "http://hl7.org/fhir/address-use",
      "code": "old",
      "map": [
        {
          "system": "http://hl7.org/fhir/v3/AddressUse",
          "code": "BAD",
          "equivalence": "disjoint",
          "comments": "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"
        }
      ]
    }
  ]
}

comments powered by Disqus