@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.org/fhir/smart-app-launch/CapabilityStatement/smart-app-state-server> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "smart-app-state-server"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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 smart-app-state-server</b></p><a name=\"smart-app-state-server\"> </a><a name=\"hcsmart-app-state-server\"> </a><h2 id=\"title\">App State Server CapabilityStatement</h2><ul><li>Implementation Guide Version: 2.2.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code></li><li>Published on: 2022-09-19 </li><li>Published by: HL7 International / FHIR Infrastructure </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><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><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 class=\"text-center\"><b title=\"DELETE a resource (delete interaction)\">D</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=\"#Basic1-1\">Basic</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smart-app-state-basic.html\">SMART App State</a></td><td class=\"text-center\"/><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><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=\"Basic1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHALL </span>Basic</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/basic.html\">Basic</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>create</code>, <code>update</code>, <code>delete</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smart-app-state-basic.html\">SMART App State</a></p></div></div><p/></div></div></div></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:Extension.valueCode [ fhir:value "fhir" ]
  ] ;
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/smart-app-launch/CapabilityStatement/smart-app-state-server"] ;
  fhir:CapabilityStatement.version [ fhir:value "2.2.0"] ;
  fhir:CapabilityStatement.name [ fhir:value "AppStateServerCapabilityStatement"] ;
  fhir:CapabilityStatement.title [ fhir:value "App State Server CapabilityStatement"] ;
  fhir:CapabilityStatement.status [ fhir:value "active"] ;
  fhir:CapabilityStatement.date [ fhir:value "2022-09-19"^^xsd:date] ;
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 International / FHIR Infrastructure"] ;
  fhir:CapabilityStatement.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / FHIR Infrastructure" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/fiwg" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "fhir@lists.HL7.org" ]
     ]
  ] ;
  fhir:CapabilityStatement.description [ fhir:value "Required capabilities for App State Server"] ;
  fhir:CapabilityStatement.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ] ;
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ] ;
  fhir:CapabilityStatement.kind [ fhir:value "requirements"] ;
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:CapabilityStatement.format [
     fhir:value "json" ;
     fhir:index -1
  ] ;
  fhir:CapabilityStatement.rest [
     fhir:index -1 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ] ;
     fhir:CapabilityStatement.rest.resource [
       fhir:index -1 ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
         fhir:Extension.valueCode [ fhir:value "SHALL" ]
       ] ;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Basic" ] ;
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic" ;
         fhir:index -1 ;
         fhir:link <http://hl7.org/fhir/smart-app-launch/StructureDefinition/smart-app-state-basic>
       ] ;
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]
       ], [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]
       ], [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]
       ], [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/smart-app-launch/CapabilityStatement/smart-app-state-server.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/smart-app-launch/CapabilityStatement/smart-app-state-server.ttl> .

# -------------------------------------------------------------------------------------

