R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #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

Conceptmap-example-2.ttl

Vocabulary Work GroupMaturity Level: N/ABallot 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 -------------------------------------------------------------------

<http://hl7.org/fhir/ConceptMap/example2> a fhir:ConceptMap;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example2"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>FHIR-exanple-2 (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 13/06/2012 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      <table class=\"grid\">\n        <tr>\n          <td colspan=\"2\">\n            <b>Source Concept Details</b>\n          </td>\n          <td>\n            <b>Equivalence</b>\n          </td>\n          <td colspan=\"1\">\n            <b>Destination Concept Details</b>\n          </td>\n        </tr>\n        <tr>\n          <td>\n            <b>Code</b> from http://example.org/fhir/example1\n          </td>\n          <td>\n            <b>Code</b> from http://example.org/fhir/example3\n          </td>\n          <td/>\n          <td>\n            <b>Code</b> from http://example.org/fhir/example2\n          </td>\n        </tr>\n        <tr>\n          <td>code</td>\n          <td>some-code</td>\n          <td>\n            <a href=\"codesystem-concept-map-equivalence.html#equivalent\">equivalent</a>\n          </td>\n          <td>code2</td>\n        </tr>\n      </table>\n    </div>"
  ];
  fhir:ConceptMap.url [ fhir:value "http://hl7.org/fhir/ConceptMap/example2"];
  fhir:ConceptMap.name [ fhir:value "FHIR-exanple-2"];
  fhir:ConceptMap.title [ fhir:value "FHIR Example 2"];
  fhir:ConceptMap.status [ fhir:value "draft"];
  fhir:ConceptMap.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:ConceptMap.date [ fhir:value "2012-06-13"^^xsd:date];
  fhir:ConceptMap.publisher [ fhir:value "HL7, Inc"];
  fhir:ConceptMap.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "FHIR project team (example)" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:ConceptMap.description [ fhir:value "An example mapping"];
  fhir:ConceptMap.purpose [ fhir:value "To illustrate mapping features"];
  fhir:ConceptMap.sourceUri [ fhir:value "http://example.org/fhir/example1"];
  fhir:ConceptMap.targetUri [ fhir:value "http://example.org/fhir/example2"];
  fhir:ConceptMap.group [
     fhir:index 0;
     fhir:ConceptMap.group.source [ fhir:value "http://example.org/fhir/example1" ];
     fhir:ConceptMap.group.target [ fhir:value "http://example.org/fhir/example2" ];
     fhir:ConceptMap.group.element [
       fhir:index 0;
       fhir:ConceptMap.group.element.code [ fhir:value "code" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Example Code" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:ConceptMap.group.element.target.code [ fhir:value "code2" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "Some Example Code" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ];
         fhir:ConceptMap.group.element.target.dependsOn [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "http://example.org/fhir/property-value/example" ];
           fhir:ConceptMap.group.element.target.dependsOn.system [
             fhir:value "http://example.org/fhir/example3";
             fhir:link <http://example.org/fhir/example3>
           ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "some-code" ];
           fhir:ConceptMap.group.element.target.dependsOn.display [ fhir:value "Something Coded" ]
         ]
       ]
     ];
     fhir:ConceptMap.group.unmapped [
       fhir:ConceptMap.group.unmapped.mode [ fhir:value "other-map" ];
       fhir:ConceptMap.group.unmapped.url [
         fhir:value "http://example.org/fhir/ConceptMap/map2";
         fhir:link <http://example.org/fhir/ConceptMap/map2>
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/ConceptMap/example2.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ConceptMap/example2.ttl> .

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


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.