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

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

<http://hl7.org/fhir/ConceptMap/example2> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example2"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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      <p>Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2</p>\n      <br/>\n      <p>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        </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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "vocab"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/ConceptMap/example2"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ConceptMap/example2>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.14.8" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "FHIRexanple2"] ; # 
  fhir:title [ fhir:v "FHIR Example 2"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  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:l <http://example.org/fhir/property-value/example>
     ] ;
     fhir:type [ fhir:v "Coding" ]
  ] ) ; # 
  fhir:sourceScope [
     a fhir:Uri ;
     fhir:v "http://example.org/fhir/example1"^^xsd:anyURI ;
     fhir:l <http://example.org/fhir/example1>
  ] ; # 
  fhir:targetScope [
     a fhir:Uri ;
     fhir:v "http://example.org/fhir/example2"^^xsd:anyURI ;
     fhir:l <http://example.org/fhir/example2>
  ] ; # 
  fhir:group ( [
     fhir:source [
       fhir:v "http://example.org/fhir/example1"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/example1>
     ] ;
     fhir:target [
       fhir:v "http://example.org/fhir/example2"^^xsd:anyURI ;
       fhir:l <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:l <http://example.org/fhir/example3>
             ] ;
             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:l <http://example.org/fhir/ConceptMap/map2>
       ]
     ]
  ] ) . # 

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

