@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://johnmoehrke.github.io/ConsentAboutAI/CapabilityStatement/AccessControlCapability> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "AccessControlCapability"] ;
  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 AccessControlCapability</b></p><a name=\"AccessControlCapability\"> </a><a name=\"hcAccessControlCapability\"> </a><h2 id=\"title\">Access Control Actor CapabilityStatement</h2><ul><li>Implementation Guide Version: 0.2.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code>, <code>xml</code></li><li>Published on: 2026-11-16 </li><li>Published by: John Moehrke (Moehrke Research LLC) </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>client</code></h3></div><div class=\"panel-body\"><div><p>The Access Control actor retrieves the Consents applicable to the patient and the requesting system.</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=\"#Consent1-1\">Consent</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-ai-consent.html\">Consent about AI</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"/><td class=\"text-center\"/><td/><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Consent1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: unspecified </span>Consent</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/consent.html\">Consent</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>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-ai-consent.html\">Consent about AI</a></p></div></div><p/></div></div></div></div>"
  ] ;
  fhir:CapabilityStatement.url [ fhir:value "http://johnmoehrke.github.io/ConsentAboutAI/CapabilityStatement/AccessControlCapability"] ;
  fhir:CapabilityStatement.version [ fhir:value "0.2.0"] ;
  fhir:CapabilityStatement.name [ fhir:value "AccessControlCapability"] ;
  fhir:CapabilityStatement.title [ fhir:value "Access Control Actor CapabilityStatement"] ;
  fhir:CapabilityStatement.status [ fhir:value "active"] ;
  fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CapabilityStatement.date [ fhir:value "2026-11-16"^^xsd:date] ;
  fhir:CapabilityStatement.publisher [ fhir:value "John Moehrke (Moehrke Research LLC)"] ;
  fhir:CapabilityStatement.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "John Moehrke (Moehrke Research LLC)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://healthcaresecprivacy.blogspot.com" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "JohnMoehrke@gmail.com" ]
     ]
  ] ;
  fhir:CapabilityStatement.description [ fhir:value "The Access Control actor reads and evaluates Consents conforming to the Consent about AI profile in order to enforce them. It enforces the provisions, including the PurposeOfUse declared by the Data Requester or AI Agent, any specific AI Device identified, and any limits placed upon a permit."] ;
  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:CapabilityStatement.kind [ fhir:value "requirements"] ;
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:CapabilityStatement.format [
     fhir:value "json" ;
     fhir:index -1
  ], [
     fhir:value "xml" ;
     fhir:index -1
  ] ;
  fhir:CapabilityStatement.rest [
     fhir:index -1 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "client" ] ;
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The Access Control actor retrieves the Consents applicable to the patient and the requesting system." ] ;
     fhir:CapabilityStatement.rest.resource [
       fhir:index -1 ;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Consent" ] ;
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://johnmoehrke.github.io/ConsentAboutAI/StructureDefinition/ai-consent" ;
         fhir:index -1 ;
         fhir:link <http://johnmoehrke.github.io/ConsentAboutAI/StructureDefinition/ai-consent>
       ] ;
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]
       ], [
         fhir:index -1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://johnmoehrke.github.io/ConsentAboutAI/CapabilityStatement/AccessControlCapability.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

