FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
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 "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p class=\"res-header-id\">\n        <b>Generated Narrative: ConceptMap example-priority</b>\n      </p>\n      <a name=\"example-priority\"> </a>\n      <a name=\"hcexample-priority\"> </a>\n      <a name=\"example-priority-en-US\"> </a>\n      <p>Mapping from http://snomed.info/sct?fhir_vs to (not specified)</p>\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/6.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/6.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 than</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.7</td>\n          <td style=\"border-left-width: 0px\"/>\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 than</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.9</td>\n          <td style=\"border-left-width: 0px\"/>\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 than</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.8</td>\n          <td style=\"border-left-width: 0px\"/>\n          <td>todo</td>\n          <td>todo</td>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "vocab" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ConceptMap/example-priority"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:title [ fhir:v "Example map with priorities"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  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 "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.