DSTU2

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

  
    
    
      
      Mapping from 
         to 
        
      
      Draft (not intended for production usage). Published on 13-Jun 2012 by FHIR project team
         (example) (
        ). 
      
      
      
      
        
          
            
          
          
            
          
          
            
          
          
            
          
        
        
          
          
          
          
        
        
          
          
          
          
        
        
          
          
          
          
        
        
          
          
          
          
        
        
          
          
          
          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
        
      
    
  <!--    this example, we elected to use a UUID. We could have used 
     an OID, or a URI - depends on how it will be used.    -->
  <!--    for version, we are going to simply use the day of publication. This is also 

<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="101"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>FHIR/v3 Address Use Mapping (http://hl7.org/fhir/ConceptMap/101)</h2>
      <p>Mapping from 
        <a href="valueset-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/06/2012 by HL7, Inc (FHIR project
         team (example): 
        <a href="http://hl7.org/fhir">http://hl7.org/fhir</a>; ). Creative Commons 0
      </p>
      <p>A mapping between the FHIR and HL7 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 (Home)</td>
          <td>equivalent</td>
          <td>H (home address)</td>
          <td/>
        </tr>
        <tr>
          <td>home (Home)</td>
          <td>equivalent</td>
          <td>H (home address)</td>
          <td/>
        </tr>
        <tr>
          <td>work (Work)</td>
          <td>equivalent</td>
          <td>WP (work place)</td>
          <td/>
        </tr>
        <tr>
          <td>temp (Temporary)</td>
          <td>equivalent</td>
          <td>TMP (temporary address)</td>
          <td/>
        </tr>
        <tr>
          <td>old (Old / Incorrect)</td>
          <td>disjoint</td>
          <td>BAD (bad address)</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>
    </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    -->
  
  
  
  
    
    
  
  
  
  
  
  
    
  
  
    
  
  
    
    
    
      
      
      
    
  
  
    
    
    
      
      
      
    
  
  
    
    
    
      
      
      
    
  
  
    
    
    
      
      
      
    
  
  
    
    
    
      
      
      
      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
    
  

    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"/>
  <status value="draft"/>
  <experimental value="true"/>
  <publisher value="HL7, Inc"/>
  <contact>
    <name value="FHIR project team (example)"/>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <date value="2012-06-13"/>
  <description value="A mapping between the FHIR and HL7 v3 AddressUse Code systems"/>
  <useContext>
    <text value="for CDA Usage"/>
  </useContext>
  <requirements value="To help implementers map from HL7 v3/CDA to FHIR"/>
  <copyright value="Creative Commons 0"/>
  <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"/>
    <target>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </target>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="home"/>
    <target>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="H"/>
      <equivalence value="equivalent"/>
    </target>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="work"/>
    <target>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="WP"/>
      <equivalence value="equivalent"/>
    </target>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="temp"/>
    <target>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="TMP"/>
      <equivalence value="equivalent"/>
    </target>
  </element>
  <element>
    <codeSystem value="http://hl7.org/fhir/address-use"/>
    <code value="old"/>
    <target>
      <codeSystem value="http://hl7.org/fhir/v3/AddressUse"/>
      <code value="BAD"/>
      <equivalence value="disjoint"/>
      <comments 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>


</ConceptMap>

</

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.