R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example ConceptMap/example2 (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

Additional ConceptMap Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example2"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>FHIRexanple2 (http://hl7.org/fhir/ConceptMap/example2)</h2>\n      <p>Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2</p>\n      <p>DRAFT (not intended for production usage). Published on 2012-06-13 by HL7, Inc (FHIR project team (example): \n        <a href=\"http://hl7.org/fhir\">http://hl7.org/fhir</a>). \n      </p>\n      <div>\n        <p>An example mapping</p>\n\n      </div>\n      <br/>\n      <p>\n        <b>Group 1</b>Mapping from \n        <code>http://example.org/fhir/example1</code> to \n        <code>http://example.org/fhir/example2</code>\n      </p>\n      <table class=\"grid\">\n        <tr>\n          <td colspan=\"3\">\n            <b>Source Concept Details</b>\n          </td>\n          <td>\n            <b>Relationship</b>\n          </td>\n          <td colspan=\"2\">\n            <b>Target Concept Details</b>\n          </td>\n          <td colspan=\"2\">\n            <b>Properties</b>\n          </td>\n        </tr>\n        <tr>\n          <td colspan=\"2\">\n            <b>Codes</b> from http://example.org/fhir/example1\n          </td>\n          <td>\n            <b>ex3</b>\n          </td>\n          <td/>\n          <td colspan=\"2\">\n            <b>Codes</b> from http://example.org/fhir/example2\n          </td>\n        </tr>\n        <tr>\n          <td style=\"border-right-width: 0px\">code</td>\n          <td style=\"border-left-width: 0px\">Example Code</td>\n          <td/>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a>\n          </td>\n          <td style=\"border-right-width: 0px\">code2</td>\n          <td style=\"border-left-width: 0px\">Some Example Code</td>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ConceptMap/example2"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.14.8" ]
  ] ) ; # 
  fhir:version [ fhir:v "5.0.0-draft-final"] ; # 
  fhir:name [ fhir:v "FHIRexanple2"] ; # 
  fhir:title [ fhir:v "FHIR Example 2"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2012-06-13"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7, Inc"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "FHIR project team (example)" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "An example mapping"] ; # 
  fhir:purpose [ fhir:v "To illustrate mapping features"] ; # 
  fhir:additionalAttribute ( [
     fhir:code [ fhir:v "ex3" ] ;
     fhir:uri [ fhir:v "http://example.org/fhir/property-value/example"^^xsd:anyURI ] ;
     fhir:type [ fhir:v "Coding" ]
  ] ) ; # 
  fhir:sourceScope [ fhir:v "http://example.org/fhir/example1"^^xsd:anyURI] ; # 
  fhir:targetScope [ fhir:v "http://example.org/fhir/example2"^^xsd:anyURI] ; # 
  fhir:group ( [
     fhir:source [
       fhir:v "http://example.org/fhir/example1"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/example1>
     ] ;
     fhir:target [
       fhir:v "http://example.org/fhir/example2"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/example2>
     ] ;
     fhir:element ( [
       fhir:code [ fhir:v "code" ] ;
       fhir:display [ fhir:v "Example Code" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "code2" ] ;
         fhir:display [ fhir:v "Some Example Code" ] ;
         fhir:relationship [ fhir:v "equivalent" ] ;
         fhir:dependsOn ( [
           fhir:attribute [ fhir:v "ex3" ] ;
           fhir:value [
             a fhir:Coding ;
             fhir:system [ fhir:v "http://example.org/fhir/example3"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "some-code" ] ;
             fhir:display [ fhir:v "Something Coded" ]
           ]
         ] )
       ] )
     ] ) ;
     fhir:unmapped [
       fhir:mode [ fhir:v "other-map" ] ;
       fhir:otherMap [
         fhir:v "http://example.org/fhir/ConceptMap/map2"^^xsd:anyURI ;
         fhir:link <http://example.org/fhir/ConceptMap/map2>
       ]
     ]
  ] )] . # 

# -------------------------------------------------------------------------------------


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.