Release 4B Ballot #1

This page is part of the FHIR Specification (v4.1.0: Release 4B Ballot #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 . Page versions: R5 R4B R4 R3

Conceptmap-example-2.ttl

Vocabulary 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 -------------------------------------------------------------------

<http://hl7.org/fhir/ConceptMap/example2> a fhir:ConceptMap;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example2"];
  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.