R6 Ballot (2nd Draft)

Publish-box (todo)

Example ConceptMap/example2 (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No 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 "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p class=\"res-header-id\">\n        <b>Generated Narrative: ConceptMap example2</b>\n      </p>\n      <a name=\"example2\"> </a>\n      <a name=\"hcexample2\"> </a>\n      <a name=\"example2-en-AU\"> </a>\n      <p>Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2</p>\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:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "vocab" ]
  ] ) ; # 
  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 "6.0.0-ballot2"] ; # 
  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 International / Terminology Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
     ] )
  ] ) ; # 
  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.