@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/ConceptMap/example-priority> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-priority"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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      <p>Mapping from \n        <a href=\"https://browser.ihtsdotools.org/\">All Codes SCT ValueSet</a> to (not specified)\n      </p>\n      <br/>\n      <p>\n        <b>Group 1 </b>Mapping from \n        <code>http://snomed.info./sct</code> to \n        <a href=\"http://tx.fhir.org/r5/ValueSet/icd10-2019\">ICD-10-EN</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://tx.fhir.org/r5/ValueSet/icd10-2019\" title=\"http://hl7.org/fhir/sid/icd-10\">ICD-10-EN</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>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 than</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.9</td>\n          <td style=\"border-left-width: 0px\"/>\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 than</a>\n          </td>\n          <td style=\"border-right-width: 0px\">S59.8</td>\n          <td style=\"border-left-width: 0px\"/>\n          <td>ADDITIONAL CODE POSSIBLE</td>\n          <td>2</td>\n        </tr>\n      </table>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "vocab"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/ConceptMap/example-priority"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ConceptMap/example-priority>
  ] ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:title [ fhir:v "Example map with priorities"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  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 [
     a fhir:Uri ;
     fhir:v "http://snomed.info/sct?fhir_vs"^^xsd:anyURI ;
     fhir:l <http://snomed.info/sct?fhir_vs>
  ] ; # 
  fhir:group ( [
     fhir:source [
       fhir:v "http://snomed.info./sct"^^xsd:anyURI ;
       fhir:l <http://snomed.info./sct>
     ] ;
     fhir:target [
       fhir:v "http://hl7.org/fhir/sid/icd-10"^^xsd:anyURI ;
       fhir:l <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 [
             a fhir:String ;
             fhir:v "1"
           ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [
             a fhir:String ;
             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 [
             a fhir:String ;
             fhir:v "3"
           ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [
             a fhir:String ;
             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 [
             a fhir:String ;
             fhir:v "2"
           ]
         ] [
           fhir:code [ fhir:v "mapAdvice" ] ;
           fhir:value [
             a fhir:String ;
             fhir:v "ADDITIONAL CODE POSSIBLE"
           ]
         ] )
       ] )
     ] )
  ] ) . # 

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

