Release 5 Snapshot #1

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

Conceptmap2-example-2.xml

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Additional ConceptMap2 Example (id = "example2")

<?xml version="1.0" encoding="UTF-8"?>

<ConceptMap2 xmlns="http://hl7.org/fhir">
  <id value="example2"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </p> <div> <p> Resource &quot;example2&quot; </p> </div> <p> <b> url</b> : <a> http://hl7.org/fhir/ConceptMap/example2</a> </p> <p> <b> name</b> : FHIR-exanple-2</p> <p> <b> title</b> : FHIR Example 2</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> : An example mapping</p> <p> <b> purpose</b> : To illustrate mapping features</p> <p> <b> source</b> : <a> http://example.org/fhir/example1</a> </p> <p> <b> target</b> : <a> http://example.org/fhir/example2</a> </p> <blockquote> <p> <b> group</b> </p> <p> <b> source</b> : <a> http://example.org/fhir/example1</a> </p> <p> <b> target</b> : <a> http://example.org/fhir/example2</a> </p> <blockquote> <p> <b> element</b> </p> <p> <b> code</b> : code</p> <p> <b> display</b> : Example Code</p> <blockquote> <p> <b> target</b> </p> <p> <b> code</b> : code2</p> <p> <b> display</b> : Some Example Code</p> <p> <b> relationship</b> : equivalent</p> <h3> DependsOns</h3> <table> <tr> <td> -</td> <td> <b> Property</b> </td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> <a> http://example.org/fhir/property-value/example</a> </td> <td> Something Coded (Details: http://example.org/fhir/example3 code some-code = 'some-code',
                   stated as 'Something Coded')</td> </tr> </table> </blockquote> </blockquote> <h3> Unmappeds</h3> <table> <tr> <td> -</td> <td> <b> Mode</b> </td> <td> <b> Url</b> </td> </tr> <tr> <td> *</td> <td> other-map</td> <td> <a> http://example.org/fhir/ConceptMap/map2</a> </td> </tr> </table> </blockquote> </div> </text> <url value="http://hl7.org/fhir/ConceptMap/example2"/> 
  <!--     set of loinc codes for cholesterol for LONC 2.36     -->
  <name value="FHIR-exanple-2"/> 
  <title value="FHIR Example 2"/> 
  <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="An example mapping"/> 
  <purpose value="To illustrate mapping features"/> 
  <sourceUri value="http://example.org/fhir/example1"/> 
  <targetUri value="http://example.org/fhir/example2"/> 
  <group> 
    <source value="http://example.org/fhir/example1"/> 
    <target value="http://example.org/fhir/example2"/> 
    <element> 
      <code value="code"/> 
      <display value="Example Code"/> 
      <target> 
        <code value="code2"/> 
        <display value="Some Example Code"/> 
        <relationship value="equivalent"/> 
        <!--    this mapping is only valid if the context is [some=code]    -->
        <dependsOn> 
          <property value="http://example.org/fhir/property-value/example"/> 
          <valueCoding> 
            <system value="http://example.org/fhir/example3"/> 
            <code value="some-code"/> 
            <display value="Something Coded"/> 
          </valueCoding> 
        </dependsOn> 
      </target> 

    </element> 
    <!--    for all other codes, see another map    -->
    <unmapped> 
      <mode value="other-map"/> 
      <url value="http://example.org/fhir/ConceptMap/map2"/> 
    </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.