@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.eu/fhir/ig/xshare-yb/CapabilityStatement/capabilityStatement-yb-consumer> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "capabilityStatement-yb-consumer"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement capabilityStatement-yb-consumer</b></p><a name=\"capabilityStatement-yb-consumer\"> </a><a name=\"hccapabilityStatement-yb-consumer\"> </a><h2 id=\"title\">xShare Yellow Button Consumer Capability Statement</h2><ul><li>Implementation Guide Version: 0.3.0-ci </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code>, <code>xml</code></li><li>Published on: 2025-04-01 </li><li>Published by: xShare Project </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h3 id=\"shallIGs\">SHALL Support the Following Implementation Guides</h3><ul><li><a href=\"http://hl7.eu/fhir/laboratory/2.0.0/index.html\">http://hl7.eu/fhir/laboratory/ImplementationGuide/hl7.fhir.eu.laboratory|2.0.0</a></li><li><a href=\"http://hl7.org/fhir/uv/ips/STU2/index.html\">http://hl7.org/fhir/uv/ips/ImplementationGuide/hl7.fhir.uv.ips|2.0.0</a></li><li><a href=\"http://hl7.org/fhir/uv/smart-health-cards-and-links/STU1/index.html\">http://hl7.org/fhir/uv/smart-health-cards-and-links/ImplementationGuide/hl7.fhir.uv.smart-health-cards-and-links|1.0.0</a></li><li><a href=\"http://fhir.ehdsi.eu/laboratory/9.1.1/index.html\">http://fhir.ehdsi.eu/laboratory/ImplementationGuide/myhealth.eu.fhir.laboratory|9.1.1</a></li><li><a href=\"http://hl7.eu/fhir/mpd/1.0.0/index.html\">http://hl7.eu/fhir/mpd/ImplementationGuide/hl7.fhir.eu.mpd|1.0.0</a></li></ul><h2 id=\"document\">FHIR Document Capabilities</h2><table class=\"table table-condensed table-hover\"><thead><tr><th>Mode</th><th>Document Resource Profile</th><th>Documentation</th></tr></thead><tbody><tr><td>consumer</td><td><a href=\"http://hl7.eu/fhir/laboratory/2.0.0/StructureDefinition-Bundle-eu-lab.html\">Bundle: Laboratory Report</a></td><td><div><p>The consumer can interpret or display EU Laboratory Report documents obtained via download or Smart Health Link.</p>\n</div></td></tr><tr><td>consumer</td><td><a href=\"http://hl7.org/fhir/uv/ips/STU2/StructureDefinition-Bundle-uv-ips.html\">Bundle (IPS)version: 2.0.0)</a></td><td><div><p>The consumer can interpret or display IPS documents obtained via download or Smart Health Link.</p>\n</div></td></tr><tr><td>consumer</td><td><a href=\"http://fhir.ehdsi.eu/laboratory/9.1.1/StructureDefinition-Bundle-lab-myhealtheu.html\">Bundle: Laboratory</a></td><td><div><p>The consumer can interpret or display MyHealth@EU lab reports obtained via download or Smart Health Link.</p>\n</div></td></tr></tbody></table></div>"
  ] ;
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.eu/fhir/ig/xshare-yb/CapabilityStatement/capabilityStatement-yb-consumer"] ;
  fhir:CapabilityStatement.version [ fhir:value "0.3.0-ci"] ;
  fhir:CapabilityStatement.name [ fhir:value "CapabilityStatementXshareYBConsumer"] ;
  fhir:CapabilityStatement.title [ fhir:value "xShare Yellow Button Consumer Capability Statement"] ;
  fhir:CapabilityStatement.status [ fhir:value "draft"] ;
  fhir:CapabilityStatement.date [ fhir:value "2025-04-01"^^xsd:date] ;
  fhir:CapabilityStatement.publisher [ fhir:value "xShare Project"] ;
  fhir:CapabilityStatement.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "xShare Project" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://xshare-project.eu/" ]
     ]
  ] ;
  fhir:CapabilityStatement.description [ fhir:value "Defines the capabilities of an xShare Yellow Button Consumer, which can retrieve and interpret FHIR Document Bundles obtained via download or Smart Health Links."] ;
  fhir:CapabilityStatement.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "150" ] ;
       fhir:Coding.display [ fhir:value "Europe" ]
     ]
  ] ;
  fhir:CapabilityStatement.kind [ fhir:value "requirements"] ;
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:CapabilityStatement.format [
     fhir:value "json" ;
     fhir:index 0
  ], [
     fhir:value "xml" ;
     fhir:index 1
  ] ;
  fhir:CapabilityStatement.implementationGuide [
     fhir:value "http://hl7.eu/fhir/laboratory/ImplementationGuide/hl7.fhir.eu.laboratory|2.0.0" ;
     fhir:index 0 ;
     fhir:link <http://hl7.eu/fhir/laboratory/ImplementationGuide/hl7.fhir.eu.laboratory|2.0.0>
  ], [
     fhir:value "http://hl7.org/fhir/uv/ips/ImplementationGuide/hl7.fhir.uv.ips|2.0.0" ;
     fhir:index 1 ;
     fhir:link <http://hl7.org/fhir/uv/ips/ImplementationGuide/hl7.fhir.uv.ips|2.0.0>
  ], [
     fhir:value "http://hl7.org/fhir/uv/smart-health-cards-and-links/ImplementationGuide/hl7.fhir.uv.smart-health-cards-and-links|1.0.0" ;
     fhir:index 2 ;
     fhir:link <http://hl7.org/fhir/uv/smart-health-cards-and-links/ImplementationGuide/hl7.fhir.uv.smart-health-cards-and-links|1.0.0>
  ], [
     fhir:value "http://fhir.ehdsi.eu/laboratory/ImplementationGuide/myhealth.eu.fhir.laboratory|9.1.1" ;
     fhir:index 3 ;
     fhir:link <http://fhir.ehdsi.eu/laboratory/ImplementationGuide/myhealth.eu.fhir.laboratory|9.1.1>
  ], [
     fhir:value "http://hl7.eu/fhir/mpd/ImplementationGuide/hl7.fhir.eu.mpd|1.0.0" ;
     fhir:index 4 ;
     fhir:link <http://hl7.eu/fhir/mpd/ImplementationGuide/hl7.fhir.eu.mpd|1.0.0>
  ] ;
  fhir:CapabilityStatement.document [
     fhir:index 0 ;
     fhir:CapabilityStatement.document.mode [ fhir:value "consumer" ] ;
     fhir:CapabilityStatement.document.documentation [ fhir:value "The consumer can interpret or display EU Laboratory Report documents obtained via download or Smart Health Link." ] ;
     fhir:CapabilityStatement.document.profile [
       fhir:value "http://hl7.eu/fhir/laboratory/StructureDefinition/Bundle-eu-lab" ;
       fhir:link <http://hl7.eu/fhir/laboratory/StructureDefinition/Bundle-eu-lab>
     ]
  ], [
     fhir:index 1 ;
     fhir:CapabilityStatement.document.mode [ fhir:value "consumer" ] ;
     fhir:CapabilityStatement.document.documentation [ fhir:value "The consumer can interpret or display IPS documents obtained via download or Smart Health Link." ] ;
     fhir:CapabilityStatement.document.profile [
       fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Bundle-uv-ips|2.0.0" ;
       fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Bundle-uv-ips|2.0.0>
     ]
  ], [
     fhir:index 2 ;
     fhir:CapabilityStatement.document.mode [ fhir:value "consumer" ] ;
     fhir:CapabilityStatement.document.documentation [ fhir:value "The consumer can interpret or display MyHealth@EU lab reports obtained via download or Smart Health Link." ] ;
     fhir:CapabilityStatement.document.profile [
       fhir:value "http://fhir.ehdsi.eu/laboratory/StructureDefinition/Bundle-lab-myhealtheu" ;
       fhir:link <http://fhir.ehdsi.eu/laboratory/StructureDefinition/Bundle-lab-myhealtheu>
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.eu/fhir/ig/xshare-yb/CapabilityStatement/capabilityStatement-yb-consumer.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

