This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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
Example Index:
| General ConceptMap Example | XML | JSON |
| Specimen Type v2 -> SNOMED-CT Mapping | XML | JSON |
XML
General ConceptMap Example (id = "101")
<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>
JSON
General ConceptMap Example
{
"resourceType": "ConceptMap",
"id": "101",
"text": {
"status": "generated",
"div": "<div>!-- Snipped for Brevity --></div>"
},
"url": "256a5231-a2bb-49bd-9fea-f349d428b70d",
"version": "20120613",
"name": "FHIR/v3 Address Use Mapping",
"publisher": "FHIR project team (example)",
"contact": [
{
"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",
"sourceReference": {
"reference": "http://hl7.org/fhir/address-use"
},
"targetReference": {
"reference": "http://hl7.org/fhir/v3/AddressUse"
},
"element": [
{
"codeSystem": "http://hl7.org/fhir/address-use",
"code": "home",
"map": [
{
"codeSystem": "http://hl7.org/fhir/v3/AddressUse",
"code": "H",
"equivalence": "equivalent"
}
]
},
{
"codeSystem": "http://hl7.org/fhir/address-use",
"code": "home",
"map": [
{
"codeSystem": "http://hl7.org/fhir/v3/AddressUse",
"code": "H",
"equivalence": "equivalent"
}
]
},
{
"codeSystem": "http://hl7.org/fhir/address-use",
"code": "work",
"map": [
{
"codeSystem": "http://hl7.org/fhir/v3/AddressUse",
"code": "WP",
"equivalence": "equivalent"
}
]
},
{
"codeSystem": "http://hl7.org/fhir/address-use",
"code": "temp",
"map": [
{
"codeSystem": "http://hl7.org/fhir/v3/AddressUse",
"code": "TMP",
"equivalence": "equivalent"
}
]
},
{
"codeSystem": "http://hl7.org/fhir/address-use",
"code": "old",
"map": [
{
"codeSystem": "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"
}
]
}
]
}
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.