Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ConceptMap/example-priority (Turtle)

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

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

Example Concept Map with priorities

@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:Resource.id [ fhir:value "example-priority"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>null (http://hl7.org/fhir/ConceptMap/example-priority)</h2>\n      <p>Mapping from http://snomed.info/sct?fhir_vs to (not specified)</p>\n      <p>DRAFT. Published on ?ngen-10? by null. Creative Commons 0</p>\n      <div>\n        <p>Example inspired by UK extended complex map (999002271000000101)</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>Relationship</b>\n          </td>\n          <td colspan=\"4\">\n            <b>Target Concept Details</b>\n          </td>\n        </tr>\n        <tr>\n          <td colspan=\"2\">\n            <b>Code</b> from http://snomed.info./sct\n          </td>\n          <td/>\n          <td colspan=\"2\">\n            <b>Code</b> from \n            <a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-icd10.html\" title=\"http://hl7.org/fhir/sid/icd-10\">ICD-10</a>\n          </td>\n          <td>\n            <b>mapAdvice</b>\n          </td>\n          <td>\n            <b>priority</b>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"border-right-width: 0px; border-bottom-style: none\">429353004</td>\n          <td style=\"border-left-width: 0px; border-bottom-style: none\"/>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#source-is-narrower-than-target\" title=\"source-is-narrower-than-target\">is narrower then</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.7</td>\n          <td style=\"border-left-width: 0px\">Multiple injuries of forearm</td>\n          <td>ADDITIONAL CODE POSSIBLE</td>\n          <td>1</td>\n        </tr>\n        <tr>\n          <td style=\"border-right-width: 0px; border-top-style: none; border-bottom-style: none\"/>\n          <td style=\"border-left-width: 0px; border-top-style: none; border-bottom-style: none\"/>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#source-is-narrower-than-target\" title=\"source-is-narrower-than-target\">is narrower then</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.9</td>\n          <td style=\"border-left-width: 0px\">Unspecified injury of forearm</td>\n          <td>ADDITIONAL CODE POSSIBLE</td>\n          <td>3</td>\n        </tr>\n        <tr>\n          <td style=\"border-right-width: 0px; border-top-style: none\"/>\n          <td style=\"border-top-style: none; border-left-width: 0px\"/>\n          <td>\n            <a href=\"codesystem-concept-map-relationship.html#source-is-narrower-than-target\" title=\"source-is-narrower-than-target\">is narrower then</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.8</td>\n          <td style=\"border-left-width: 0px\">Other specified injuries of forearm</td>\n          <td>ADDITIONAL CODE POSSIBLE</td>\n          <td>2</td>\n        </tr>\n      </table>\n    </div>"
  ];
  fhir:ConceptMap.url [ fhir:value "http://hl7.org/fhir/ConceptMap/example-priority"];
  fhir:ConceptMap.version [ fhir:value "5.0.0-ballot"];
  fhir:ConceptMap.title [ fhir:value "Example map with priorities"];
  fhir:ConceptMap.status [ fhir:value "draft"];
  fhir:ConceptMap.description [ fhir:value "Example inspired by UK extended complex map (999002271000000101)"];
  fhir:ConceptMap.copyright [ fhir:value "Creative Commons 0"];
  fhir:ConceptMap.sourceScopeUri [ fhir:value "http://snomed.info/sct?fhir_vs"];
  fhir:ConceptMap.group [
     fhir:index 0;
     fhir:ConceptMap.group.source [
       fhir:value "http://snomed.info./sct";
       fhir:link <http://snomed.info./sct>
     ];
     fhir:ConceptMap.group.target [
       fhir:value "http://hl7.org/fhir/sid/icd-10";
       fhir:link <http://hl7.org/fhir/sid/icd-10>
     ];
     fhir:ConceptMap.group.element [
       fhir:index 0;
       fhir:ConceptMap.group.element.code [ fhir:value "429353004" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:ConceptMap.group.element.target.code [ fhir:value "S59.7" ];
         fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-narrower-than-target" ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "priority" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueInteger [ fhir:value "1"^^xsd:integer ]
         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "mapAdvice" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueString [ fhir:value "ADDITIONAL CODE POSSIBLE" ]
         ]
       ], [
         fhir:index 1;
         fhir:ConceptMap.group.element.target.code [ fhir:value "S59.9" ];
         fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-narrower-than-target" ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "priority" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueInteger [ fhir:value "3"^^xsd:integer ]
         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "mapAdvice" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueString [ fhir:value "ADDITIONAL CODE POSSIBLE" ]
         ]
       ], [
         fhir:index 2;
         fhir:ConceptMap.group.element.target.code [ fhir:value "S59.8" ];
         fhir:ConceptMap.group.element.target.relationship [ fhir:value "source-is-narrower-than-target" ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "priority" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueInteger [ fhir:value "2"^^xsd:integer ]
         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "mapAdvice" ];
           fhir:ConceptMap.group.element.target.dependsOn.valueString [ fhir:value "ADDITIONAL CODE POSSIBLE" ]
         ]
       ]
     ]
  ]] .

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

[a owl:Ontology;
  owl:imports fhir:fhir.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.