@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://ig.hiu.lk/fhir/documentrepository/CapabilityStatement/lk-document-repository-capability-statement> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "lk-document-repository-capability-statement"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement lk-document-repository-capability-statement</b></p><a name=\"lk-document-repository-capability-statement\"> </a><a name=\"hclk-document-repository-capability-statement\"> </a><h2 id=\"title\">Sri Lanka Document Repository Capability Statement</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <strong>SHALL</strong> support <code>json</code></li><li>Published on: 2026-12-31 </li><li>Published by: Sir Lanka Ministry of Health </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>http://ig.hiu.lk/fhir/nehr/ImplementationGuide/fhir.lk.documentrepository</li></ul><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div><p>The Document Repository supports a limited number of interactions and has special operations.</p>\n</div></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#Bundle1-1\">Bundle</a></td><td><a href=\"StructureDefinition-LKDocumentBundle.html\">http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKDocumentBundle</a></td><td class=\"text-center\">y</td><td class=\"text-center\"/><td class=\"text-center\"/><td class=\"text-center\">y</td><td/><td/><td/><td/></tr><tr><td><a href=\"#DocumentReference1-2\">DocumentReference</a></td><td><a href=\"StructureDefinition-LKPublishSimpleDocument.html\">http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKPublishSimpleDocument</a></td><td class=\"text-center\">y</td><td class=\"text-center\"/><td class=\"text-center\"/><td class=\"text-center\">y</td><td/><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Bundle1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Bundle</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-LKDocumentBundle.html\">LKDocumentBundle</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>, <code>create</code>.</li></ul></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"DocumentReference1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>DocumentReference</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-LKPublishSimpleDocument.html\">LKPublishSimpleDocument</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>, <code>create</code>.</li></ul></div></div><p/></div></div></div></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "http://ig.hiu.lk/fhir/documentrepository/CapabilityStatement/lk-document-repository-capability-statement"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "LK_DocumentRepository_CapabilityStatement"] ; # 
  fhir:title [ fhir:v "Sri Lanka Document Repository Capability Statement"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-12-31"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Sir Lanka Ministry of Health"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Sir Lanka Ministry of Health" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.health.gov.lk" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This capability statement describes the interactions that are supported by the Document Repository."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "LKA" ] ;
       fhir:display [ fhir:v "Sri Lanka" ]
     ] )
  ] ) ; # 
  fhir:kind [ fhir:v "requirements"] ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [
     fhir:v "json" ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:code ;
         fhir:v "SHALL"
       ]
     ] )
  ] ) ; # 
  fhir:implementationGuide ( [
     fhir:v "http://ig.hiu.lk/fhir/nehr/ImplementationGuide/fhir.lk.documentrepository"^^xsd:anyURI ;
     fhir:link <http://ig.hiu.lk/fhir/nehr/ImplementationGuide/fhir.lk.documentrepository>
  ] ) ; # 
  fhir:rest ( [
     fhir:mode [ fhir:v "server" ] ;
     fhir:documentation [ fhir:v "The Document Repository supports a limited number of interactions and has special operations." ] ;
     fhir:resource ( [
       fhir:type [ fhir:v "Bundle" ] ;
       fhir:profile [
         fhir:v "http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKDocumentBundle"^^xsd:anyURI ;
         fhir:link <http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKDocumentBundle>
       ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "create" ]
       ] ) ;
       fhir:readHistory [ fhir:v false ] ;
       fhir:updateCreate [ fhir:v false ] ;
       fhir:conditionalCreate [ fhir:v false ] ;
       fhir:conditionalRead [ fhir:v "not-supported" ] ;
       fhir:conditionalDelete [ fhir:v "not-supported" ]
     ] [
       fhir:type [ fhir:v "DocumentReference" ] ;
       fhir:profile [
         fhir:v "http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKPublishSimpleDocument"^^xsd:anyURI ;
         fhir:link <http://ig.hiu.lk/fhir/documentrepository/StructureDefinition/LKPublishSimpleDocument>
       ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "create" ]
       ] ) ;
       fhir:readHistory [ fhir:v false ] ;
       fhir:updateCreate [ fhir:v false ] ;
       fhir:conditionalCreate [ fhir:v false ] ;
       fhir:conditionalRead [ fhir:v "not-supported" ] ;
       fhir:conditionalDelete [ fhir:v "not-supported" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

