This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #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
Vocabulary Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
General ConceptMap2 Example (id = "101")
<?xml version="1.0" encoding="UTF-8"?> <ConceptMap2 xmlns="http://hl7.org/fhir"> <id value="101"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </p> <div> <p> Resource "101" </p> </div> <p> <b> url</b> : <a> http://hl7.org/fhir/ConceptMap/101</a> </p> <p> <b> identifier</b> : id: urn:uuid:53cd62ee-033e-414c-9f58-3ca97b5ffc3b</p> <p> <b> version</b> : 20120613</p> <p> <b> name</b> : FHIR-v3-Address-Use</p> <p> <b> title</b> : FHIR/v3 Address Use Mapping</p> <p> <b> status</b> : draft</p> <p> <b> experimental</b> : true</p> <p> <b> date</b> : 2012-06-13</p> <p> <b> publisher</b> : HL7, Inc</p> <p> <b> contact</b> : FHIR project team (example): <a> http://hl7.org/fhir</a> </p> <p> <b> description</b> : A mapping between the FHIR and HL7 v3 AddressUse Code systems</p> <p> <b> jurisdiction</b> : United States of America <span> (unknown#US)</span> </p> <p> <b> purpose</b> : To help implementers map from HL7 v3/CDA to FHIR</p> <p> <b> copyright</b> : Creative Commons 0</p> <p> <b> source</b> : <a> http://hl7.org/fhir/ValueSet/address-use</a> </p> <p> <b> target</b> : <a> http://terminology.hl7.org/ValueSet/v3-AddressUse</a> </p> <blockquote> <p> <b> group</b> </p> <p> <b> source</b> : <a> http://hl7.org/fhir/address-use</a> </p> <p> <b> target</b> : <a> http://terminology.hl7.org/CodeSystem/v3-AddressUse</a> </p> <blockquote> <p> <b> element</b> </p> <p> <b> code</b> : home</p> <p> <b> display</b> : home</p> <h3> Targets</h3> <table> <tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Display</b> </td> <td> <b> Relationship</b> </td> </tr> <tr> <td> *</td> <td> H</td> <td> home</td> <td> equivalent</td> </tr> </table> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> code</b> : work</p> <p> <b> display</b> : work</p> <h3> Targets</h3> <table> <tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Display</b> </td> <td> <b> Relationship</b> </td> </tr> <tr> <td> *</td> <td> WP</td> <td> work place</td> <td> equivalent</td> </tr> </table> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> code</b> : temp</p> <p> <b> display</b> : temp</p> <h3> Targets</h3> <table> <tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Display</b> </td> <td> <b> Relationship</b> </td> </tr> <tr> <td> *</td> <td> TMP</td> <td> temporary address</td> <td> equivalent</td> </tr> </table> </blockquote> <blockquote> <p> <b> element</b> </p> <p> <b> code</b> : old</p> <p> <b> display</b> : old</p> <h3> Targets</h3> <table> <tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Display</b> </td> <td> <b> Relationship</b> </td> <td> <b> Comment</b> </td> </tr> <tr> <td> *</td> <td> BAD</td> <td> bad address</td> <td> not-related-to</td> <td> In the HL7 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> </blockquote> <h3> Unmappeds</h3> <table> <tr> <td> -</td> <td> <b> Mode</b> </td> <td> <b> Code</b> </td> <td> <b> Display</b> </td> </tr> <tr> <td> *</td> <td> fixed</td> <td> temp</td> <td> temp</td> </tr> </table> </blockquote> </div> </text> <url value="http://hl7.org/fhir/ConceptMap/101"/> <identifier> <system value="urn:ietf:rfc:3986"/> <value value="urn:uuid:53cd62ee-033e-414c-9f58-3ca97b5ffc3b"/> </identifier> <!-- 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"/> <title value="FHIR/v3 Address Use Mapping"/> <status value="draft"/> <experimental value="true"/> <date value="2012-06-13"/> <publisher value="HL7, Inc"/> <contact> <name value="FHIR project team (example)"/> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> </contact> <description value="A mapping between the FHIR and HL7 v3 AddressUse Code systems"/> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="venue"/> <!-- todo ... --> </code> <valueCodeableConcept> <text value="for CCDA Usage"/> </valueCodeableConcept> </useContext> <jurisdiction> <coding> <system value="urn:iso:std:iso:3166"/> <code value="US"/> </coding> </jurisdiction> <purpose value="To help implementers map from HL7 v3/CDA to FHIR"/> <copyright value="Creative Commons 0"/> <sourceUri value="http://hl7.org/fhir/ValueSet/address-use"/> <targetUri value="http://terminology.hl7.org/ValueSet/v3-AddressUse"/> <group> <source value="http://hl7.org/fhir/address-use"/> <target value="http://terminology.hl7.org/CodeSystem/v3-AddressUse"/> <element> <code value="home"/> <display value="home"/> <target> <code value="H"/> <display value="home"/> <relationship value="equivalent"/> </target> </element> <element> <code value="work"/> <display value="work"/> <target> <code value="WP"/> <display value="work place"/> <relationship value="equivalent"/> </target> </element> <element> <code value="temp"/> <display value="temp"/> <target> <code value="TMP"/> <display value="temporary address"/> <relationship value="equivalent"/> </target> </element> <element> <code value="old"/> <display value="old"/> <target> <code value="BAD"/> <display value="bad address"/> <relationship value="not-related-to"/> <comment value="In the HL7 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"/> </target> </element> <!-- for all other codes, we map to 'temp'. This is a silly thing to do in reality, but it serves the purpose here --> <unmapped> <mode value="fixed"/> <code value="temp"/> <display value="temp"/> </unmapped> </group> </ConceptMap2>
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.