Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Example ConceptMap/example-priority (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No 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:id [ fhir:v "example-priority"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir: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 (not intended for production usage). 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      <p>\n        <b>Group 1</b>Mapping from \n        <code>http://snomed.info./sct</code> to \n        <a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-icd10.html\">ICD-10</a>\n      </p>\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=\"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://snomed.info./sct\n          </td>\n          <td/>\n          <td colspan=\"2\">\n            <b>Codes</b> from \n            <a href=\"http://terminology.hl7.org/5.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>todo</td>\n          <td>todo</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>todo</td>\n          <td>todo</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>todo</td>\n          <td>todo</td>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ConceptMap/example-priority"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:title [ fhir:v "Example map with priorities"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:description [ fhir:v "Example inspired by UK extended complex map (999002271000000101)"] ; # 
  fhir:copyright [ fhir:v "Creative Commons 0"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "priority" ] ;
     fhir:description [ fhir:v "The priority with which to choose this mapping over the other mappings for the same code" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "mapAdvice" ] ;
     fhir:description [ fhir:v "Additional advice for a user using these maps" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:sourceScope [ fhir:v "http://snomed.info/sct?fhir_vs"^^xsd:anyURI] ; # 
  fhir:group ( [
     fhir:source [
       fhir:v "http://snomed.info./sct"^^xsd:anyURI ;
       fhir:link <http://snomed.info./sct>
     ] ;
     fhir:target [
       fhir:v "http://hl7.org/fhir/sid/icd-10"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/sid/icd-10>
     ] ;
     fhir:element ( [
       fhir:code [ fhir:v "429353004" ] ;
       fhir:target ( [
         fhir:code [ fhir:v "S59.7" ] ;
         fhir:relationship [ fhir:v "source-is-narrower-than-target" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "priority" ] ;
           fhir:value [ fhir:v "1" ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [ fhir:v "ADDITIONAL CODE POSSIBLE" ]
         ] )
       ] [
         fhir:code [ fhir:v "S59.9" ] ;
         fhir:relationship [ fhir:v "source-is-narrower-than-target" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "priority" ] ;
           fhir:value [ fhir:v "3" ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [ fhir:v "ADDITIONAL CODE POSSIBLE" ]
         ] )
       ] [
         fhir:code [ fhir:v "S59.8" ] ;
         fhir:relationship [ fhir:v "source-is-narrower-than-target" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "priority" ] ;
           fhir:value [ fhir:v "2" ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [ fhir:v "ADDITIONAL CODE POSSIBLE" ]
         ] )
       ] )
     ] )
  ] )] . # 

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


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.