Provider Connect Australia (PCA)
2.4.3 - active Australia flag

Provider Connect Australia (PCA) - Local Development build (v2.4.3) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: PCA Subscriber Agent Capability Statement - TTL Representation

Active as of 2024-03-19

Raw ttl | Download

@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 -------------------------------------------------------------------

 a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pca-subscriber-agent"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2 id=\"title\">PCA Subscriber Agent Capability Statement</h2><ul><li>Implementation Guide Version: 2.4.3</li><li>FHIR Version: 4.0.1</li><li>Supported Formats: <code>application/fhir+json</code>, <code>application/fhir+xml</code></li><li>Supported Patch Formats: </li><li>Published on: Tue Mar 19 15:12:36 GMT+10:00 2024</li><li>Published by: Australian Digital Health Agency</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 &quot;SHALL NOT&quot;. 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><p>A PCA Subscriber Agent manages the service offerings for one subscriber organisation (also referred to as a 'business partner' in the PCA portal).</p>\n<p>The PCA service instantiates one PCA Subscriber Agent for each participating subscriber organisation. That is, each subscriber organisation interacts with a PCA Subscriber Agent located at a <em>subscriber agent base url</em> that is unique to that organisation.</p>\n<p>The <em>subscriber agent base URL</em> for a particular organisation is available via the PCA portal on the 'Organisation Details' screen of the subscriber organisation.</p>\n<p>A service offering is made available to a subscriber organisation when a publisher authorises publication of a resource to one or more of the subscriber organisation's partner services.</p>\n<p><strong>Publication process</strong></p>\n<p>A PCA Publisher Agent creates the <code>Location</code>, <code>HealthcareService</code> and <code>PractitionerRole</code> resources (that are associated with existing <code>Organization</code> and <code>Practitioner</code> resources) that represent their service offerings.  These resources are made available to a subscriber organisation when a publisher authorises publication of a <code>HealthcareService</code> or <code>PractitionerRole</code> resource to one or more of the subscriber organisation's partner services.</p>\n<p>The authority to publish is represented using <code>Contract</code> resources which are also implemented by the PCA Publisher Agent (see the <a href=\"CapabilityStatement-pca-publisher-agent.html#contract\">Contract resource endpoint</a>).</p>\n<p><strong>Identifier disclosure rules</strong></p>\n<p>The PCA service enforces certain business rules regarding the disclosure of <em>Identifiers</em> (including subscriber-issued identifiers) in the resources that it makes available to subscribers.</p>\n<p>The result of these rules may be that a copy of  a resource received by one subscriber may contain <em>Identifiers</em> that are not included in the copy of the same resource that is received by a different subscriber.</p>\n<p>In the case of HPI-Is these <em>identifier disclosure rules</em> ensure that relevant legal requirements are complied with.</p>\n<p>Other <em>identifier disclosure rules</em> are defined by the PCA operator.</p>\n<p>The <em>identifier disclosure rules</em> are applied automatically at the time that the resource is retrieved by the target PCA Subscriber Agent.</p>\n<p><strong>Authorisation rules</strong></p>\n<p>Authorised client systems are only permitted to interact with a PCA Subscriber Agent API where the participating organisation associated with the PCA Subscriber Agent has a subscriber approval status of 'Approved'.</p>\n<p><strong>Resource profiles and extensions</strong></p>\n<p>This API specification defines the required resource profiles for each operation.  The PCA Subscriber Agent will reject any request to create or update a resource that contains any extensions (including modifier extensions) not explicitly defined in that resource profile.</p>\n</div><div class=\"lead\"><em>Security</em></div><div class=\"row\"><div class=\"col-lg-6\">Enable CORS: yes</div><div class=\"col-lg-6\">Security services supported: <code>OAuth</code></div></div><blockquote><div><p>This server implements OAuth2</p>\n</div></blockquote><div class=\"lead\"><em>Summary of System-wide Interactions</em></div><ul><li>Supports the <code>search-system</code> interaction described as follows:<div><p><strong>Definition</strong>:<br/>\nThis operation is a RESTful <em>search</em> interaction (whole system interaction), across multiple resource types (as described in the <a href=\"https://www.hl7.org/fhir/http.html#search\">FHIR specification</a>).</p>\n<p><strong>Behaviour</strong>:<br/>\nThis operation is used by a client system operated by a subscriber organisation to get resources that match the specified search parameters and that have been published to the subscriber organisation's partner services.</p>\n<p>The following  search parameters are supported:</p>\n<ul>\n<li>\n<p><em>_lastUpdated</em> is used to get the resources that have been added or changed since the requesting system last synchronised their local data store with PCA Subscriber Agent.  This search parameter supports the <code>gt</code> and <code>lt</code> comparison prefixes.</p>\n</li>\n<li>\n<p><em>_type</em> is used to filter the resources returned by their resource type. The available types are:</p>\n<ul>\n<li>\n<p><code>HealthcareService</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-healthcare-service.html\">PCA Healthcare Service</a> profile)</p>\n</li>\n<li>\n<p><code>PractitionerRole</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-practitioner-role.html\">PCA Practitioner Role</a> profile)</p>\n</li>\n<li>\n<p><code>Organization</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-organization.html\">PCA Organization</a> profile)</p>\n</li>\n<li>\n<p><code>Location</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-location.html\">PCA Location</a> profile)</p>\n</li>\n<li>\n<p><code>Practitioner</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-practitioner.html\">PCA Practitioner</a> profile)</p>\n</li>\n<li>\n<p><code>Provenance</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-provenance.html\">PCA Provenance</a> profile)</p>\n</li>\n<li>\n<p><code>Contract</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-publication-authorisation-record.html\">PCA Publication Authorisation Record</a> profile)</p>\n</li>\n<li>\n<p><code>Task</code> (returns resources conforming to the <a href=\"StructureDefinition-pca-match-record.html\">PCA Match Record</a> profile)</p>\n<ul>\n<li>Note: a <code>Contract</code> resource with 'status' of 'revoked' indiates that a service offering that was previously published to a partner service is no longer available to that partner service. In this case the <code>Contract</code> resource will reference a <em>target</em> <code>Organization</code>, <code>Location</code>, <code>HealthcareService</code>, or <code>PractitionerRole</code> that is not included in the <code>Bundle</code> (but its <em>id</em> will identify the resource which is no longer published to the subscriber).</li>\n</ul>\n</li>\n</ul>\n</li>\n<li>\n<p><em>_include</em> (and <em>_include:iterate</em>) are used in order that all the resources that match the <em>_lastUpdated</em> and <em>_type</em> filters will be accompanied, in the result <code>Bundle</code>, with all the other resources which they reference (directly or indirectly).  Note that the use of <em>_include</em> (and <em>_include:iterate</em>) means that a resource may be present in the result <code>Bundle</code> either because it matched the other query parameters or because it was referenced (possibly indirectly) by another resource that matched the other query parameters.</p>\n</li>\n<li>\n<p><em>_filter</em> is used to only get the resources that have been published to a specific <a href=\"StructureDefinition-pca-partner-service.html\">PCA Partner Service</a> of the subscriber organisation.  If the <em>_filter</em> parameter is not present, the operation will return resources that have been published to all of the subscriber organisation's partner services.  The <em>_filter</em> parameter supports the following query expression:</p>\n<ul>\n<li><code>HealthcareService: id eq [FHIR ID of partner service]</code></li>\n</ul>\n</li>\n</ul>\n<p>All of the following query parameters are required in order to receive the complete set of resources that have been created, changed or published to all the subscriber organisation's partner services since <em>[last_synchronized]</em>:</p>\n<p><code>_lastUpdated=[last_synchronized]</code><br/>\n<code>_type=HealthcareService,PractitionerRole,Practitioner,Organization,Location,Provenance,Contract,Task </code><br/>\n<code>_include=Location:organization </code><br/>\n<code>_include=HealthcareService:organization </code><br/>\n<code>_include=HealthcareService:location </code><br/>\n<code>_include=PractitionerRole:organization </code><br/>\n<code>_include=PractitionerRole:location </code><br/>\n<code>_include=PractitionerRole:service </code><br/>\n<code>_include=PractitionerRole:practitioner </code><br/>\n<code>_include=Provenance:target </code><br/>\n<code>_include=Contract:subject </code><br/>\n<code>_include:iterate=HealthcareService:organization  </code><br/>\n<code>_include:iterate=HealthcareService:location </code><br/>\n<code>_include:iterate=PractitionerRole:organization </code><br/>\n<code>_include:iterate=PractitionerRole:location </code><br/>\n<code>_include:iterate=PractitionerRole:service </code><br/>\n<code>_include:iterate=PractitionerRole:practitioner </code></p>\n<p>As described <a href=\"CapabilityStatement-pca-subscriber-agent.html#common-behaviour\">above</a> the resources returned in the Bundle exclude any <em>Identifiers</em> (e.g. HPI-Is) that cannot be disclosed to the subscriber.</p>\n<p>This operation supports 'paging' (<a href=\"https://www.hl7.org/fhir/search.html#Paging\">see FHIR specification</a>).  If there are too many resources to return in one <code>Bundle</code>, the FHIR server adds a <em>next</em> link to the response <code>Bundle</code>. The contents of the result <code>Bundle</code> therefore comprise all instances of the requested resource types whose <em>lastUpdated</em> timestamp is greater than the &lt;lastSync&gt; in the request query expression and less than or equal to &lt;lastInBundle&gt; where &lt;lastInBundle&gt; is the greatest <em>lastUpdated</em> value of all resources included in the result <code>Bundle</code>. The Subscriber Agent FHIR server sets the <em>next</em> link to the filter expression that was used in the original request except that &lt;lastSync&gt; is replaced with &lt;lastInBundle&gt;. If the <em>next</em> link is not present in the Bundle, then there are no more service offerings available.</p>\n<p><strong>HTTP interaction signature</strong>:</p>\n<ul>\n<li><code>GET [subscriber agent base url]/?[parameters]</code></li>\n</ul>\n<p><strong>Mandatory Request Headers</strong>:</p>\n<ul>\n<li><code>Accept: application/fhir+json;charset=utf-8</code> or <code>Accept: application/fhir+xml;charset=utf-8</code></li>\n<li><code>Authorization: Bearer [token]</code></li>\n</ul>\n<p><strong>Request Body</strong>:</p>\n<ul>\n<li>(No request body)</li>\n</ul>\n<p><strong>Mandatory Response Headers</strong>:</p>\n<ul>\n<li><code>Content-Type: application/fhir+json;charset=utf-8</code> or <code>Content-Type: application/fhir+xml;charset=utf-8</code></li>\n</ul>\n<p><strong>Response Body</strong>:</p>\n<ul>\n<li>\n<p>Success: <code>Bundle</code> that contains zero to many resources (where the resource type was included in the filter expression of the search request) that conform to the following <a href=\"profiles.html\">PCA profiles</a>:</p>\n<ul>\n<li>\n<p><code>HealthcareService</code> resources conforming to the <a href=\"StructureDefinition-pca-healthcare-service.html\">PCA Healthcare Service</a> profile</p>\n</li>\n<li>\n<p><code>PractitionerRole</code> resources conforming to the <a href=\"StructureDefinition-pca-practitioner-role.html\">PCA Practitioner Role</a> profile</p>\n</li>\n<li>\n<p><code>Organization</code> resources conforming to the <a href=\"StructureDefinition-pca-organization.html\">PCA Organization</a> profile</p>\n</li>\n<li>\n<p><code>Location</code> resources conforming to the <a href=\"StructureDefinition-pca-location.html\">PCA Location</a> profile</p>\n</li>\n<li>\n<p><code>Practitioner</code> resources conforming to the <a href=\"StructureDefinition-pca-practitioner.html\">PCA Practitioner</a> profile</p>\n</li>\n<li>\n<p><code>Provenance</code> resources conforming to the <a href=\"StructureDefinition-pca-provenance.html\">PCA Provenance</a> profile</p>\n</li>\n<li>\n<p><code>Contract</code> resources conforming to the <a href=\"StructureDefinition-pca-publication-authorisation-record.html\">PCA Publication Authorisation Record</a> profile</p>\n<ul>\n<li><code>Contract</code> resources will be returned that reference each of the <code>HealthcareService</code> or <code>PractitionerRole</code> resources that are included in the <code>Bundle</code> - these <code>Contract</code> resources have a <em>status</em> of “executed” if the associated PCA Partner Service is active, or a <em>status</em> of “cancelled” if the associated PCA Partner Service is inactive).</li>\n<li><code>Contract</code> resources will also be returned that reference <code>HealthcareService</code> or <code>PractitionerRole</code> resources that are not in the <code>Bundle</code> but for which authority to publish has been revoked - these <code>Contract</code> resources will have a <em>status</em> of “revoked”).</li>\n</ul>\n</li>\n<li>\n<p><code>Task</code> resources conforming to the <a href=\"StructureDefinition-pca-match-record.html\">PCA Match Record</a> profile</p>\n</li>\n</ul>\n</li>\n<li>\n<p>Error: <code>OperationOutcome</code> resource (see <a href=\"https://www.hl7.org/fhir/operationoutcome.html\">FHIR specification</a>).</p>\n</li>\n</ul>\n<p><strong>Required OAuth 2.0 scopes</strong>:</p>\n<p>The <em>scope</em> string <strong>SHALL</strong> contain the following <em>scoped role</em>:</p>\n<ul>\n<li><code> Organization/[id]:SS_Receiver</code></li>\n</ul>\n<p>Where [id] <strong>SHALL</strong> identify the <code>Organization</code> associated with the target PCA Subscriber Agent.</p>\n<p><strong>Response Codes</strong>:</p>\n<ul>\n<li>Code 200:  Search successfully performed (but may return zero matching results).</li>\n<li>Code 400:  The input query could not be parsed, or the <a href=\"StructureDefinition-pca-partner-service.html\">PCA Partner Service</a> referenced in the <code>_filter</code> parameter could not be found or is inactive.</li>\n<li>Code 403:  Server refused to perform the search.</li>\n</ul>\n</div></li></ul></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=\"PATCH a new resource version (patch interaction)\">P</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=\"#Organization1-1\">Organization</a></td><td><a href=\"StructureDefinition-pca-organization.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-organization</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Location1-2\">Location</a></td><td><a href=\"StructureDefinition-pca-location.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-location</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#HealthcareService1-3\">HealthcareService</a></td><td> </td><td>y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_profile, active, organization, service-catgeory, coverage-area.location.address-postalcode</td><td/><td/><td/></tr><tr><td><a href=\"#PractitionerRole1-4\">PractitionerRole</a></td><td><a href=\"StructureDefinition-pca-practitioner-role.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner-role</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td><code>PractitionerRole:practitioner</code>, <code>PractitionerRole:healthcareService</code>, <code>PractitionerRole:organization</code>, <code>PractitionerRole:location</code></td><td/><td/></tr><tr><td><a href=\"#Practitioner1-5\">Practitioner</a></td><td><a href=\"StructureDefinition-pca-practitioner.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Provenance1-6\">Provenance</a></td><td><a href=\"StructureDefinition-pca-provenance.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-provenance</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Contract1-7\">Contract</a></td><td> </td><td>y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_profile, subject, version</td><td/><td/><td/></tr><tr><td><a href=\"#Task1-8\">Task</a></td><td><a href=\"StructureDefinition-pca-match-record.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-match-record</a></td><td>y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Subscription1-9\">Subscription</a></td><td><a href=\"http://hl7.org/fhir/R4/subscription.html\">http://hl7.org/fhir/StructureDefinition/Subscription</a></td><td></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Organization1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Organization</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-pca-organization.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-organization</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>patch</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-organization.html\">PCA Organization</a> profile of the <code>Organization</code> resource type.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Location1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Location</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-pca-location.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-location</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>patch</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-location.html\">PCA Location</a> profile of the <code>Location</code> resource type.</p>\n<p>A <code>Location</code> resource conforming to the <a href=\"StructureDefinition-pca-location.html\">PCA Location</a> profile represents a location at which healthcare services are offered by a PCA publisher.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"HealthcareService1-3\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>HealthcareService</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/healthcareservice.html\">HealthcareService</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>patch</code>, <code>search-type</code>.</li></ul></div></div><p/><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-healthcare-service.html\">PCA Healthcare Service</a> profile and the <a href=\"StructureDefinition-pca-partner-service.html\">PCA Partner Service</a> profile of the <code>HealthcareService</code> resource type.</p>\n<p>A <code>HealthcareService</code> resource conforming to the <a href=\"StructureDefinition-pca-healthcare-service.html\">PCA Healthcare Service</a> profile describes a healthcare service offered at a location by a PCA publisher.</p>\n<p>A <code>HealthcareService</code> resource conforming to the <a href=\"StructureDefinition-pca-partner-service.html\">PCA Partner Service</a> profile describes a partner service offered by a subscriber to which PCA publishers can publish their service offerings.</p>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_profile</a></td><td><code>uri</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/healthcareservice.html#search\">active</a></td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/healthcareservice.html#search\">organization</a></td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/healthcareservice.html#search\">service-catgeory</a></td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>coverage-area.location.address-postalcode</td><td><code>string</code></td><td><div/></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"PractitionerRole1-4\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>PractitionerRole</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-pca-practitioner-role.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner-role</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>patch</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-practitioner-role.html\">PCA Practitioner Role</a> profile of the <code>PractitionerRole</code> resource type.<br/>\nEach <code>PractitionerRole</code> resource conforming to the <a href=\"StructureDefinition-pca-practitioner-role.html\">PCA Practitioner Role</a> profile describes a practitioner in a role at a healthcare service.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Practitioner1-5\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Practitioner</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-pca-practitioner.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner</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>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-practitioner.html\">PCA Practitioner</a> profile of the <code>Practitioner</code> resource type.</p>\n<p>Each <code>Practitioner</code> resource conforming the <a href=\"StructureDefinition-pca-practitioner.html\">PCA Practitioner</a> profile is a read-only proxy for a corresponding <code>Practitioner</code> resource managed by the PCA portal.</p>\n<p>Each 'proxy' has the same <em>id</em> and <em>versionId</em> as the resource within the PCA portal for which it is a proxy.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Provenance1-6\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Provenance</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-pca-provenance.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-provenance</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>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-provenance.html\">PCA Provenance</a> profile of the <code>Provenance</code> resource type.</p>\n<p>Each <code>Provenance</code> resource conforming to the <a href=\"StructureDefinition-pca-provenance.html\">PCA Provenance</a> profile represents an activity performed by the PCA service (conditionally on behalf of a participating organisation when the target element references a PCA Organization resource) whereby specific data elements of a PCA Organization or PCA Practitioner resource have been initially retrieved, updated or verified from an external system of record.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Contract1-7\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Contract</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/contract.html\">Contract</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/><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-publication-authorisation-record.html\">PCA Publication Authorisation Record</a> profile and the <a href=\"StructureDefinition-pca-information-use-statement.html\">PCA Information Use Statement</a> profile of the <code>Contract</code> resource type.</p>\n<p>A <code>Contract</code> resource conforming to the <a href=\"StructureDefinition-pca-publication-authorisation-record.html\">PCA Publication Authorisation Record</a> profile records a decision regarding the publication of a specific service offering (either a <code>HealthcareService</code> or a <code>PractitionerRole</code>) to a specific partner service. The decision is either to authorise publication or to revoke a previous authority to publish.</p>\n<p>A <code>Contract</code> resource conforming to the <a href=\"StructureDefinition-pca-information-use-statement.html\">PCA Information Use Statement</a> profile represents a policy statement by a subscriber organisation's partner service that describes how they will use the information from publisher organisations that is disclosed to the partner service.</p>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_profile</a></td><td><code>uri</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/contract.html#search\">subject</a></td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td>version</td><td><code>string</code></td><td><div/></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Task1-8\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Task</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-pca-match-record.html\">http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-match-record</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>, <code>update</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-match-record.html\">PCA Match Record</a> profile of the <code>Task</code> resource type.</p>\n<p>A <code>Task</code> resource conforming to the <a href=\"StructureDefinition-pca-match-record.html\">PCA Match Record</a> profile indicates the matching status of a service offering to a partner service’s local data store.</p>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Subscription1-9\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported</span>Subscription</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=\"http://hl7.org/fhir/R4/subscription.html\">http://hl7.org/fhir/StructureDefinition/Subscription</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>create</code>, <code>search-type</code>, <code>delete</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>This section defines the supported interactions for the <a href=\"StructureDefinition-pca-subscription.html\">PCA Subscription</a> profile of the <code>Subscription</code> resource type.</p>\n<p>The <a href=\"StructureDefinition-pca-subscription.html\">PCA Subscription</a> profile of <code>Subscription</code> is used by subscribing systems to register for notifications from the PCA service when new or updated service offerings are available, or when publication of existing service offerings has been newly revoked.</p>\n</div></blockquote></div></div></div></div></div></div>"
  ] ; # 
  fhir:url [ fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/CapabilityStatement/pca-subscriber-agent"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "2.4.3"] ; # 
  fhir:name [ fhir:v "PCASubscriberAgentCapabilityStatement"] ; # 
  fhir:title [ fhir:v "PCA Subscriber Agent Capability Statement"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-03-19T15:12:36+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Australian Digital Health Agency"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:[email protected]" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is the Capability statement for a PCA Subscriber Agent FHIR server."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AU" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/."] ; # 
  fhir:kind [ fhir:v "requirements"] ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [ fhir:v "application/fhir+json"] [ fhir:v "application/fhir+xml"] ) ; # 
  fhir:rest ( [
fhir:mode [ fhir:v "server" ] ;
fhir:documentation [ fhir:v "A PCA Subscriber Agent manages the service offerings for one subscriber organisation (also referred to as a 'business partner' in the PCA portal).      \n\nThe PCA service instantiates one PCA Subscriber Agent for each participating subscriber organisation. That is, each subscriber organisation interacts with a PCA Subscriber Agent located at a *subscriber agent base url* that is unique to that organisation.    \n\nThe *subscriber agent base URL* for a particular organisation is available via the PCA portal on the 'Organisation Details' screen of the subscriber organisation.    \n\nA service offering is made available to a subscriber organisation when a publisher authorises publication of a resource to one or more of the subscriber organisation's partner services.    \n    \n **Publication process**    \n    \n A PCA Publisher Agent creates the ```Location```, ```HealthcareService``` and ```PractitionerRole``` resources (that are associated with existing ```Organization``` and ```Practitioner``` resources) that represent their service offerings.  These resources are made available to a subscriber organisation when a publisher authorises publication of a ```HealthcareService``` or ```PractitionerRole``` resource to one or more of the subscriber organisation's partner services.    \n    \n The authority to publish is represented using ```Contract``` resources which are also implemented by the PCA Publisher Agent (see the [Contract resource endpoint](CapabilityStatement-pca-publisher-agent.html#contract)).    \n    \n **Identifier disclosure rules**    \n    \n The PCA service enforces certain business rules regarding the disclosure of *Identifiers* (including subscriber-issued identifiers) in the resources that it makes available to subscribers.     \n    \n The result of these rules may be that a copy of  a resource received by one subscriber may contain *Identifiers* that are not included in the copy of the same resource that is received by a different subscriber.    \n    \n In the case of HPI-Is these *identifier disclosure rules* ensure that relevant legal requirements are complied with.    \n    \n Other *identifier disclosure rules* are defined by the PCA operator.     \n    \n The *identifier disclosure rules* are applied automatically at the time that the resource is retrieved by the target PCA Subscriber Agent.    \n    \n **Authorisation rules**    \n    \nAuthorised client systems are only permitted to interact with a PCA Subscriber Agent API where the participating organisation associated with the PCA Subscriber Agent has a subscriber approval status of 'Approved'.    \n    \n **Resource profiles and extensions**    \n    \nThis API specification defines the required resource profiles for each operation.  The PCA Subscriber Agent will reject any request to create or update a resource that contains any extensions (including modifier extensions) not explicitly defined in that resource profile.    \n    " ] ;
fhir:security [
fhir:cors [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:service [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/restful-security-service"^^xsd:anyURI ] ;
fhir:code [ fhir:v "OAuth" ] ;
fhir:display [ fhir:v "OAuth" ]         ] )       ] ) ;
fhir:description [ fhir:v "This server implements OAuth2" ]     ] ;
    ( fhir:resource [
fhir:type [ fhir:v "Organization" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-organization"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-organization>       ] ;
fhir:documentation [ fhir:v "     \n     \n This section defines the supported interactions for the [PCA Organization](StructureDefinition-pca-organization.html) profile of the ```Organization``` resource type.     " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of an ```Organization``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```Organization``` resource that conforms to the [PCA Organization](StructureDefinition-pca-organization.html) profile. As described in the [common behaviour](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) section, the ```Organization``` resource excludes any *Identifiers* that cannot be disclosed to the subscriber.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Organization/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Organization``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Organization``` resource that conforms to the [PCA Organization](StructureDefinition-pca-organization.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ```Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "patch" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **patch** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#patch)) of an ```Organization``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to update an identified ```Organization``` resource that conforms to the [PCA Organization](StructureDefinition-pca-organization.html) profile via a JSON or XML patch document. This operation will only process a patch operation for adding or updating an *identifier* element.      \n      \n If any of the following data validation rules are violated, then the request is rejected and the error code 422 is returned:      \n      \n * The patch document **SHALL** only contain an operation for adding or updating an *identifier* element.      \n * Only one *identifier* element per *identifier.system* **SHALL** be allowed for the identified ```Organization``` resource.      \n * The patch operation **SHALL** only add or update an *identifier* element where *identifier.system* identifies a subscriber identifier system that is owned by the participating organisation associated with the target PCA Subscriber Agent.      \n * The patch operation **SHALL** only add or update an *identifier* element where a [PCA Match Record](StructureDefinition-pca-match-record.html) exists within the PCA service with:      \n   * A *status* of 'completed', and;       \n   * A *focus* referencing the ```Organization``` resource, and;      \n   * An *owner* referencing a [PCA Partner Service](StructureDefinition-pca-partner-service.html) of the participating organisation associated with the target PCA Subscriber Agent.      \n      \n **HTTP interaction signature**:      \n * ```PATCH [subscriber agent base url]/Organization/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Content-Type: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * A JSON Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc6902](https://datatracker.ietf.org/doc/html/rfc6902) with a content type of ```application/json-patch+json```, or;      \n * An XML Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc5261](https://datatracker.ietf.org/doc/html/rfc5261) with a content type of ```application/xml-patch+xml```      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Organization``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Organization``` resource that conforms to the [PCA Organization](StructureDefinition-pca-organization.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      \n *  Code 422:  The input patch document violated applicable FHIR profiles or server data validation rules.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] [
fhir:type [ fhir:v "Location" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-location"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-location>       ] ;
fhir:documentation [ fhir:v "       \n     \n This section defines the supported interactions for the [PCA Location](StructureDefinition-pca-location.html) profile of the ```Location``` resource type.     \n     \n A ```Location``` resource conforming to the [PCA Location](StructureDefinition-pca-location.html) profile represents a location at which healthcare services are offered by a PCA publisher.       " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```Location``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```Location``` resource that conforms to the [PCA Location](StructureDefinition-pca-location.html) profile. As described in the [common behaviour](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) section, the ```Location``` resource excludes any *Identifiers* that cannot be disclosed to the subscriber.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Location/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Location``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Location``` resource that conforms to the [PCA Location](StructureDefinition-pca-location.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "patch" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **patch** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#patch)) of a ```Location``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to update an identified ```Location``` resource that conforms to the [PCA Location](StructureDefinition-pca-location.html) profile via a JSON or XML patch document. This operation will only process a patch operation for adding or updating an *identifier* element.      \n      \n If any of the following data validation rules are violated, then the request is rejected and the error code 422 is returned:      \n      \n * The patch document **SHALL** only contain an operation for adding or updating an *identifier* element.      \n * Only one *identifier* element per *identifier.system* **SHALL** be allowed for the identified ```Location``` resource.      \n * The patch operation **SHALL** only add or update an *identifier* element where *identifier.system* identifies a subscriber identifier system that is owned by the participating organisation associated with the target PCA Subscriber Agent.      \n * The patch operation **SHALL** only add or update an *identifier* element where a [PCA Match Record](StructureDefinition-pca-match-record.html) exists within the PCA service with:      \n   * A *status* of 'completed', and;       \n   * A *focus* referencing the ```Location``` resource, and;      \n   * An *owner* referencing a [PCA Partner Service](StructureDefinition-pca-partner-service.html) of the participating organisation associated with the target PCA Subscriber Agent.      \n      \n **HTTP interaction signature**:      \n * ```PATCH [subscriber agent base url]/Location/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Content-Type: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * A JSON Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc6902](https://datatracker.ietf.org/doc/html/rfc6902) with a content type of ```application/json-patch+json```, or;      \n * An XML Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc5261](https://datatracker.ietf.org/doc/html/rfc5261) with a content type of ```application/xml-patch+xml```      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Location``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Location``` resource that conforms to the [PCA Location](StructureDefinition-pca-location.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      \n *  Code 422:  The input patch document violated applicable FHIR profiles or server data validation rules.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] [
fhir:type [ fhir:v "HealthcareService" ] ;
fhir:documentation [ fhir:v "       \n     \n This section defines the supported interactions for the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile and the [PCA Partner Service](StructureDefinition-pca-partner-service.html) profile of the ```HealthcareService``` resource type.     \n     \n A ```HealthcareService``` resource conforming to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile describes a healthcare service offered at a location by a PCA publisher.     \n     \n A ```HealthcareService``` resource conforming to the [PCA Partner Service](StructureDefinition-pca-partner-service.html) profile describes a partner service offered by a subscriber to which PCA publishers can publish their service offerings.     " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```HealthcareService``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to retrieve an identified ```HealthcareService``` resource that conforms to one of the following profiles:      \n * [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html)      \n * [PCA Partner Service](StructureDefinition-pca-partner-service.html)      \n      \n As described [above](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) a ```HealthcareService``` resource conforming to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile excludes any *Identifiers* that cannot be disclosed to the subscriber.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/HealthcareService/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```HealthcareService``` resource returned.        \n      \n **Response Body**:      \n * Success: ```HealthcareService``` resource that conforms to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "patch" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **patch** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#patch)) of a ```HealthcareService``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to update an identified ```HealthcareService``` resource that conforms to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile via a JSON or XML patch document. This operation will only process a patch operation for adding or updating an *identifier* element.      \n      \n If any of the following data validation rules are violated, then the request is rejected and the error code 422 is returned:      \n      \n * The patch document **SHALL** only contain an operation for adding or updating an *identifier* element.      \n * Only one *identifier* element per *identifier.system* **SHALL** be allowed for the identified ```HealthcareService``` resource.      \n * The patch operation **SHALL** only add or update an *identifier* element where *identifier.system* identifies a subscriber identifier system that is owned by the participating organisation associated with the target PCA Subscriber Agent.      \n * The patch operation **SHALL** only add or update an *identifier* element where a [PCA Match Record](StructureDefinition-pca-match-record.html) exists within the PCA service with:      \n   * A *status* of 'completed', and;       \n   * A *focus* referencing the ```HealthcareService``` resource, and;      \n   * An *owner* referencing a [PCA Partner Service](StructureDefinition-pca-partner-service.html) of the participating organisation associated with the target PCA Subscriber Agent.      \n      \n **HTTP interaction signature**:      \n * ```PATCH [subscriber agent base url]/HealthcareService/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Content-Type: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * A JSON Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc6902](https://datatracker.ietf.org/doc/html/rfc6902) with a content type of ```application/json-patch+json```, or;      \n * An XML Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc5261](https://datatracker.ietf.org/doc/html/rfc5261) with a content type of ```application/xml-patch+xml```      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```HealthcareService``` resource returned.        \n      \n **Response Body**:      \n * Success: ```HealthcareService``` resource that conforms to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      \n *  Code 422:  The input patch document violated applicable FHIR profiles or server data validation rules.      " ]       ] [
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **search** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#search)) for ```HealthcareService``` resources that conform to the [PCA Partner Service](StructureDefinition-pca-partner-service.html) profile.       \n      \n **Behaviour**:      \n      \n The operation is used to find ```HealthcareService``` resources that that conform to the profile [PCA Partner Service](StructureDefinition-pca-partner-service.html) profile and that match the search parameters.      \n Note that all [PCA Partner Service](StructureDefinition-pca-partner-service.html) resources in the PCA service are accessible to all authorised client systems.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/HealthcareService/{?[parameters]}```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: Bundle that contains zero to many ```HealthcareService``` resources that conform to the [PCA Partner Service](StructureDefinition-pca-partner-service.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  Search successfully performed (but may return zero matching results).      \n * Code 403:  Server refused to perform the search.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ] ;
      ( fhir:searchParam [
fhir:name [ fhir:v "_profile" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-profile"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-profile>         ] ;
fhir:type [ fhir:v "uri" ]       ] [
fhir:name [ fhir:v "active" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/HealthcareService-active"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/HealthcareService-active>         ] ;
fhir:type [ fhir:v "token" ]       ] [
fhir:name [ fhir:v "organization" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/HealthcareService-organization"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/HealthcareService-organization>         ] ;
fhir:type [ fhir:v "reference" ]       ] [
fhir:name [ fhir:v "service-catgeory" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/HealthcareService-service-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/HealthcareService-service-category>         ] ;
fhir:type [ fhir:v "token" ]       ] [
fhir:name [ fhir:v "coverage-area.location.address-postalcode" ] ;
fhir:type [ fhir:v "string" ]       ] )     ] [
fhir:type [ fhir:v "PractitionerRole" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner-role"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner-role>       ] ;
fhir:documentation [ fhir:v "       \n     \n This section defines the supported interactions for the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile of the ```PractitionerRole``` resource type.     \nEach ```PractitionerRole``` resource conforming to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile describes a practitioner in a role at a healthcare service.     " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```PractitionerRole``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```PractitionerRole``` resource that conforms to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile. As described in the [common behaviour](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) section, the ```PractitionerRole``` resource excludes any *Identifiers* that cannot be disclosed to the subscriber.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/PractitionerRole/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```PractitionerRole``` resource returned.        \n      \n **Response Body**:      \n * Success: ```PractitionerRole``` resource that conforms to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ```Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n*  Code 200:  The resource was found and returned.      \n*  Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "patch" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **patch** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#patch)) of a ```PractitionerRole``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to update an identified ```PractitionerRole``` resource that conforms to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile via a JSON or XML patch document. This operation will only process a patch operation for adding or updating an *identifier* element.      \n      \n If any of the following data validation rules are violated, then the request is rejected and the error code 422 is returned:      \n      \n * The patch document **SHALL** only contain an operation for adding or updating an *identifier* element.      \n * Only one *identifier* element per *identifier.system* **SHALL** be allowed for the identified ```PractitionerRole``` resource.      \n * The patch operation **SHALL** only add or update an *identifier* element where *identifier.system* identifies a subscriber identifier system that is owned by the participating organisation associated with the target PCA Subscriber Agent.      \n * The patch operation **SHALL** only add or update an *identifier* element where a [PCA Match Record](StructureDefinition-pca-match-record.html) exists within the PCA service with:      \n   * A *status* of 'completed', and;       \n   * A *focus* referencing the ```PractitionerRole``` resource, and;      \n   * An *owner* referencing a [PCA Partner Service](StructureDefinition-pca-partner-service.html) of the participating organisation associated with the target PCA Subscriber Agent.      \n      \n **HTTP interaction signature**:      \n * ```PATCH [subscriber agent base url]/PractitionerRole/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Content-Type: application/json-patch+json;charset=utf-8``` or ```Accept: application/xml-patch+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * A JSON Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc6902](https://datatracker.ietf.org/doc/html/rfc6902) with a content type of ```application/json-patch+json```, or;      \n * An XML Patch document that conforms to [https://datatracker.ietf.org/doc/html/rfc5261](https://datatracker.ietf.org/doc/html/rfc5261) with a content type of ```application/xml-patch+xml```      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```PractitionerRole``` resource returned.        \n      \n **Response Body**:      \n * Success: ```PractitionerRole``` resource that conforms to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n *  Code 200:  The resource was found and returned.      \n *  Code 404:  The resource was not found.      \n *  Code 422:  The input patch document violated applicable FHIR profiles or server data validation rules.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ] ;
      ( fhir:searchInclude [ fhir:v "PractitionerRole:practitioner" ] [ fhir:v "PractitionerRole:healthcareService" ] [ fhir:v "PractitionerRole:organization" ] [ fhir:v "PractitionerRole:location" ] )     ] [
fhir:type [ fhir:v "Practitioner" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-practitioner>       ] ;
fhir:documentation [ fhir:v "     \n     \n This section defines the supported interactions for the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile of the ```Practitioner``` resource type.       \n     \nEach ```Practitioner``` resource conforming the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile is a read-only proxy for a corresponding ```Practitioner``` resource managed by the PCA portal.     \n     \nEach 'proxy' has the same *id* and *versionId* as the resource within the PCA portal for which it is a proxy.       " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```Practitioner``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```Practitioner``` resource that conforms to the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile. As described in the [common behaviour](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) section, the ```Practitioner``` resource excludes any *Identifiers* that cannot be disclosed to the subscriber.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Practitioner/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Practitioner``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Practitioner``` resource that conforms to the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 404:  The resource was not found.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] [
fhir:type [ fhir:v "Provenance" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-provenance"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-provenance>       ] ;
fhir:documentation [ fhir:v "     \n     \n This section defines the supported interactions for the [PCA Provenance](StructureDefinition-pca-provenance.html) profile of the ```Provenance``` resource type.     \n     \n Each ```Provenance``` resource conforming to the [PCA Provenance](StructureDefinition-pca-provenance.html) profile represents an activity performed by the PCA service (conditionally on behalf of a participating organisation when the target element references a PCA Organization resource) whereby specific data elements of a PCA Organization or PCA Practitioner resource have been initially retrieved, updated or verified from an external system of record.   " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```Provenance``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```Provenance``` resource that conforms to the [PCA Provenance](StructureDefinition-pca-practitioner-role.html) profile.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Provenance/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: ```Provenance``` resource that conforms to the [PCA Provenance](StructureDefinition-pca-provenance.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n  The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 404:  The resource was not found.      " ]       ] ) ;
fhir:versioning [ fhir:v "no-version" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] [
fhir:type [ fhir:v "Contract" ] ;
fhir:documentation [ fhir:v "     \n     \n This section defines the supported interactions for the [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html) profile and the [PCA Information Use Statement](StructureDefinition-pca-information-use-statement.html) profile of the ```Contract``` resource type.     \n     \n     \n A ```Contract``` resource conforming to the [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html) profile records a decision regarding the publication of a specific service offering (either a ```HealthcareService``` or a ```PractitionerRole```) to a specific partner service. The decision is either to authorise publication or to revoke a previous authority to publish.     \n     \n A ```Contract``` resource conforming to the [PCA Information Use Statement](StructureDefinition-pca-information-use-statement.html) profile represents a policy statement by a subscriber organisation's partner service that describes how they will use the information from publisher organisations that is disclosed to the partner service.         " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```Contract``` resource.       \n      \n This operation is used to retrieve an identified ```Contract``` resource that conforms to one of the following profiles:      \n * [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html)      \n * [PCA Information Use Statement](StructureDefinition-pca-information-use-statement.html)      \n      \n Different authorisation rules apply depending on the profile of the ```Contract``` resource being retrieved; see the 'Required OAuth 2.0 scopes' section       \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Contract/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: ```Contract``` resource that conforms to the [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **search** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#search)) for ```Contract``` resources.       \n      \n **Behaviour**:      \n      \n This operation is used to find ```Contract``` resources that conform to the [PCA Information Use Statement](StructureDefinition-pca-information-use-statement) profile and that match the search parameters.       \n      \n Note that all [PCA Information Use Statement](StructureDefinition-pca-information-use-statement.html) resources in the PCA service are accessible to all authorised client systems.      \n      \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Contract/{?[parameters]}```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: Bundle containing zero to many ```Contract``` resources that conform to the profile [PCA Information Use Statement](StructureDefinition-pca-information-use-statement.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  Search successfully performed (but may return zero matching results).      \n * Code 403:  Server refused to perform the search.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ] ;
      ( fhir:searchParam [
fhir:name [ fhir:v "_profile" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-profile"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-profile>         ] ;
fhir:type [ fhir:v "uri" ]       ] [
fhir:name [ fhir:v "subject" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Contract-subject"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Contract-subject>         ] ;
fhir:type [ fhir:v "reference" ]       ] [
fhir:name [ fhir:v "version" ] ;
fhir:type [ fhir:v "string" ]       ] )     ] [
fhir:type [ fhir:v "Task" ] ;
fhir:profile [
fhir:v "http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-match-record"^^xsd:anyURI ;
fhir:link <http://pca.digitalhealth.gov.au/fhir/4.0/StructureDefinition/pca-match-record>       ] ;
fhir:documentation [ fhir:v "     \n     \n This section defines the supported interactions for the [PCA Match Record](StructureDefinition-pca-match-record.html) profile of the ```Task``` resource type.     \n     \n A ```Task``` resource conforming to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile indicates the matching status of a service offering to a partner service’s local data store.       " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **read** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#read)) of a ```Task``` resource.       \n      \n **Behaviour**:      \n      \n This operation retrieves an identified ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.       \n       \n **HTTP interaction signature**:      \n * ```GET [subscriber agent base url]/Task/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 404:  The resource was not found.      " ]       ] [
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **create** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#create)) of a ```Task``` resource conforming to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.       \n      \n **Behaviour**:      \n      \n If any of the following data validation rules are violated in the input resource then the request is rejected and the error code 422 is returned:      \n      \n * The resource **SHALL** conform to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n * *id* **SHALL NOT** be present.         \n * *meta.versionId* **SHALL NOT** be present.         \n * *meta.lastUpdated* **SHALL NOT** be present.         \n * *focus* **SHALL** reference a resource that has been published to one or more [Partner Services](StructureDefinition-pca-partner-service.html) associated with the target PCA Subscriber Agent.       \n * *owner* **SHALL** reference a [Partner Service](StructureDefinition-pca-partner-service.html) associated with the target PCA Subscriber Agent.      \n * *note.text* **SHALL** be a maximum of 200 characters.      \n       \n **HTTP interaction signature**:      \n * ```POST [subscriber agent base url]/Task```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the new ```Task``` resource.        \n      \n **Response Body**:      \n * Success: ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n*  Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 201:  The resource was successfully created.      \n * Code 400:  The input resource could not be parsed or failed basic FHIR validation rules.      \n * Code 404:  The resource type is not supported, or not a FHIR end-point.      \n * Code 422:  The input resource violated applicable FHIR profiles or server data validation rules.      " ]       ] [
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **update** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#update)) of a ```Task``` resource.       \n      \n **Behaviour**:      \n      \n If any of the following data validation rules are violated in the input resource then the request is rejected and the error code 422 is returned:      \n      \n * The resource **SHALL** conform to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n * *id* **SHALL** be identical to the corresponding value in the version of the ```Task``` identified in the 'if-match' HTTP header.       \n * *meta.versionId* **SHALL NOT** be present.         \n * *meta.lastUpdated* **SHALL NOT** be present.         \n * *owner* **SHALL** reference a [Partner Service](StructureDefinition-pca-partner-service.html) associated with the target PCA Subscriber Agent.      \n * Only changes to *status* (and optionally *note.text*) will be accepted; changes to any other element values will not be accepted when updating an existing ```Task```.       \n * *note.text* **SHALL** only be updated if *status* is being changed from 'completed' to 'failed'.      \n * *note.text* **SHALL** be a maximum of 200 characters.      \n      \n If the 'if-match' HTTP header is not provided in the request, then the PCA Subscriber Agent will reject the request and return the error code 400.        \n      \n If the 'if-match' HTTP header does not match the current version, then the PCA Subscriber Agent will reject the request and return the error code 412.            \n      \n **HTTP interaction signature**:      \n * ```PUT [subscriber agent base url]/Task/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n * ```if-match [version id]``` where [version id] is the version of the ```Task``` being updated.      \n      \n **Request Body**:      \n ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```ETag: [version id]``` where [version id] identifies the version of the ```Task``` resource returned.        \n      \n **Response Body**:      \n * Success: ```Task``` resource that conforms to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile.      \n*  Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Updater```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 200:  The resource was found and returned.      \n * Code 400:  Client error:  request did not include the *if-match* HTTP header.      \n * Code 404:  The resource was not found.      \n * Code 412:  The version id given in the *if-Match* HTTP request header does not match the current version.      \n * Code 422:  The input resource violated applicable FHIR profiles or server data validation rules.      " ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] [
fhir:type [ fhir:v "Subscription" ] ;
fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Subscription"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Subscription>       ] ;
fhir:documentation [ fhir:v "     \n      \n This section defines the supported interactions for the [PCA Subscription](StructureDefinition-pca-subscription.html) profile of the ```Subscription``` resource type.     \n     \n The [PCA Subscription](StructureDefinition-pca-subscription.html) profile of ```Subscription``` is used by subscribing systems to register for notifications from the PCA service when new or updated service offerings are available, or when publication of existing service offerings has been newly revoked.       " ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **create** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#create)) of a ```Subscription``` resource conforming to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.       \n      \n **Behaviour**:      \n      \n This operation is used to register a callback to receive a notification whenever there are changes in the data set that is published to a subscriber.      \n      \n A notification is simply a HTTP POST without any content – the purpose is to trigger the subscriber’s client system to get the available service offerings by invoking the [whole system search operation](CapabilityStatement-pca-subscriber-agent.html#search-system).      \n      \n If any of the following data validation rules are violated in the input resource, then the request is rejected and the error code 422 is returned:      \n * *status* **SHALL** be 'requested'      \n * *reason* **SHALL** be 'subscriber change notifications'      \n * *criteria*  **SHALL** be a space separated list of resource types from the list 'HealthcareService', 'PractitionerRole', 'Location', 'Organization', 'Practitioner', 'Provenance', 'Contract', 'Task'       \n * *channel.type*  **SHALL** be 'rest-hook'       \n * *channel.endpoint* **SHALL** be the URL of an endpoint that is operated by (or on behalf of) the subscriber for receiving notifications. The protocol **SHALL** be https.      \n * *channel.payload* **SHALL NOT** be present – its absence indicates that the subscriber will not receive any resources via this endpoint.       \n * *channel.header* **SHALL** be set to 'Authorization: Bearer [secret string]' where [secret string] is the basic authentication string, set by the subscriber organisation, that is used to authenticate the PCA Subscriber Agent to the notification receiving endpoint.      \n      \n **HTTP interaction signature**:      \n * ```POST [subscriber agent base url]/Subscription```      \n      \n **Mandatory Request Headers**:      \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * ```Subscription``` resource that conforms to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.      \n      \n **Mandatory Response Headers**:      \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```      \n      \n **Response Body**:      \n * Success: ```Subcription``` resource that conforms to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.      \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 201:  The resource was successfully created.      \n * Code 400:  The input resource could not be parsed or failed basic FHIR validation rules.      \n * Code 404:  The resource type is not supported, or not a FHIR end-point.      \n * Code 422:  The input resource violated applicable FHIR profiles or server data validation rules.      " ]       ] [
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "**Definition**:       \n       \n This operation is a RESTful **search** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#search)) for a ```Subscription``` resource that is associated with the target Subscriber Agent and that conforms to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.        \n       \n **Behaviour**:       \n       \n This operation is used to find a ```Subscription``` resource that is associated with the target Subscriber Agent and that conforms to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.       \n       \n **HTTP interaction signature**:       \n        \n * ```GET [subscriber agent base url]/Subscription/```       \n       \n **Mandatory Request Headers**:       \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```       \n * ```Authorization: Bearer [token]```       \n       \n **Request Body**:       \n * (No request body)       \n       \n **Mandatory Response Headers**:       \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```       \n       \n **Response Body**:       \n * Success: ```Bundle``` that contains zero or one ```Subscription``` resource that that is associated with the target Subscriber Agent and that conforms to the [PCA Subscription](StructureDefinition-pca-subscription.html) profile.       \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).       \n       \n **Required OAuth 2.0 scopes**:       \n       \n The *scope* string **SHALL** contain the following *scoped role*:       \n * ``` Organization/[id]:SS_Receiver```       \n       \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.       \n       \n **Response Codes**:           \n * Code 200:  Search successfully performed (but may return zero matching results).       \n * Code 403:  Server refused to perform the search.       " ]       ] [
fhir:code [ fhir:v "delete" ] ;
fhir:documentation [ fhir:v "**Definition**:      \n      \n This operation is a RESTful **delete** interaction (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#delete)) of a ```Subscription``` resource.       \n      \n **Behaviour**:      \n      \n This operation is used to deregister an existing notification callback.       \n      \n **HTTP interaction signature**:      \n * ```DELETE [subscriber agent base url]/Subscription/[id]```      \n      \n **Mandatory Request Headers**:      \n * ```Authorization: Bearer [token]```      \n      \n **Request Body**:      \n * (No request body)      \n      \n **Mandatory Response Headers**:      \n * (No request body)      \n      \n **Response Body**:      \n * (No request body)      \n      \n **Required OAuth 2.0 scopes**:      \n      \n The *scope* string **SHALL** contain the following *scoped role*:      \n * ``` Organization/[id]:SS_Receiver```      \n      \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.      \n      \n **Response Codes**:          \n * Code 202:  The deletion was accepted.      \n * Code 404:  The resource was not found.      " ]       ] ) ;
fhir:versioning [ fhir:v "no-version" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ]     ] ) ;
    ( fhir:interaction [
fhir:code [ fhir:v "search-system" ] ;
fhir:documentation [ fhir:v "**Definition**:     \n This operation is a RESTful *search* interaction (whole system interaction), across multiple resource types (as described in the [FHIR specification](https://www.hl7.org/fhir/http.html#search)).      \n     \n **Behaviour**:     \n This operation is used by a client system operated by a subscriber organisation to get resources that match the specified search parameters and that have been published to the subscriber organisation's partner services.     \n     \n The following  search parameters are supported:     \n     \n * *_lastUpdated* is used to get the resources that have been added or changed since the requesting system last synchronised their local data store with PCA Subscriber Agent.  This search parameter supports the ```gt``` and ```lt``` comparison prefixes.     \n * *_type* is used to filter the resources returned by their resource type. The available types are:      \n     \n   * ```HealthcareService``` (returns resources conforming to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile)     \n   * ```PractitionerRole``` (returns resources conforming to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile)     \n   * ```Organization``` (returns resources conforming to the [PCA Organization](StructureDefinition-pca-organization.html) profile)     \n   * ```Location``` (returns resources conforming to the [PCA Location](StructureDefinition-pca-location.html) profile)     \n   * ```Practitioner``` (returns resources conforming to the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile)     \n   * ```Provenance``` (returns resources conforming to the [PCA Provenance](StructureDefinition-pca-provenance.html) profile)     \n   * ```Contract``` (returns resources conforming to the [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html) profile)      \n   * ```Task``` (returns resources conforming to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile)      \n     \n     * Note: a ```Contract``` resource with 'status' of 'revoked' indiates that a service offering that was previously published to a partner service is no longer available to that partner service. In this case the ```Contract``` resource will reference a *target* ```Organization```, ```Location```, ```HealthcareService```, or ```PractitionerRole``` that is not included in the ```Bundle``` (but its *id* will identify the resource which is no longer published to the subscriber).      \n            \n * *_include* (and *_include:iterate*) are used in order that all the resources that match the *_lastUpdated* and *_type* filters will be accompanied, in the result ```Bundle```, with all the other resources which they reference (directly or indirectly).  Note that the use of *_include* (and *_include:iterate*) means that a resource may be present in the result ```Bundle``` either because it matched the other query parameters or because it was referenced (possibly indirectly) by another resource that matched the other query parameters.     \n * *_filter* is used to only get the resources that have been published to a specific [PCA Partner Service](StructureDefinition-pca-partner-service.html) of the subscriber organisation.  If the *_filter* parameter is not present, the operation will return resources that have been published to all of the subscriber organisation's partner services.  The *_filter* parameter supports the following query expression:     \n     \n   * ```HealthcareService: id eq [FHIR ID of partner service]```     \n      \n All of the following query parameters are required in order to receive the complete set of resources that have been created, changed or published to all the subscriber organisation's partner services since *[last_synchronized]*:     \n     \n ``` _lastUpdated=[last_synchronized] ```     \n ```_type=HealthcareService,PractitionerRole,Practitioner,Organization,Location,Provenance,Contract,Task ```     \n ```_include=Location:organization ```     \n ```_include=HealthcareService:organization ```     \n ```_include=HealthcareService:location ```     \n ```_include=PractitionerRole:organization ```     \n ```_include=PractitionerRole:location ```       \n ```_include=PractitionerRole:service ```     \n ```_include=PractitionerRole:practitioner ```      \n ```_include=Provenance:target ```        \n ```_include=Contract:subject ```        \n ```_include:iterate=HealthcareService:organization  ```       \n ```_include:iterate=HealthcareService:location ```     \n ```_include:iterate=PractitionerRole:organization ```     \n ```_include:iterate=PractitionerRole:location ```     \n ```_include:iterate=PractitionerRole:service ```     \n ```_include:iterate=PractitionerRole:practitioner ```     \n      \n As described [above](CapabilityStatement-pca-subscriber-agent.html#common-behaviour) the resources returned in the Bundle exclude any *Identifiers* (e.g. HPI-Is) that cannot be disclosed to the subscriber.     \n      \n This operation supports 'paging' ([see FHIR specification](https://www.hl7.org/fhir/search.html#Paging)).  If there are too many resources to return in one ```Bundle```, the FHIR server adds a *next* link to the response ```Bundle```. The contents of the result ```Bundle``` therefore comprise all instances of the requested resource types whose *lastUpdated* timestamp is greater than the <lastSync> in the request query expression and less than or equal to <lastInBundle> where <lastInBundle> is the greatest *lastUpdated* value of all resources included in the result ```Bundle```. The Subscriber Agent FHIR server sets the *next* link to the filter expression that was used in the original request except that <lastSync> is replaced with <lastInBundle>. If the *next* link is not present in the Bundle, then there are no more service offerings available.     \n     \n **HTTP interaction signature**:     \n * ```GET [subscriber agent base url]/?[parameters]```     \n     \n **Mandatory Request Headers**:     \n * ```Accept: application/fhir+json;charset=utf-8``` or ```Accept: application/fhir+xml;charset=utf-8```     \n * ```Authorization: Bearer [token]```     \n     \n **Request Body**:     \n * (No request body)     \n     \n **Mandatory Response Headers**:     \n * ```Content-Type: application/fhir+json;charset=utf-8``` or ```Content-Type: application/fhir+xml;charset=utf-8```     \n     \n **Response Body**:     \n * Success: ```Bundle``` that contains zero to many resources (where the resource type was included in the filter expression of the search request) that conform to the following [PCA profiles](profiles.html):      \n     \n   * ```HealthcareService``` resources conforming to the [PCA Healthcare Service](StructureDefinition-pca-healthcare-service.html) profile     \n   * ```PractitionerRole``` resources conforming to the [PCA Practitioner Role](StructureDefinition-pca-practitioner-role.html) profile     \n   * ```Organization``` resources conforming to the [PCA Organization](StructureDefinition-pca-organization.html) profile     \n   * ```Location``` resources conforming to the [PCA Location](StructureDefinition-pca-location.html) profile     \n   * ```Practitioner``` resources conforming to the [PCA Practitioner](StructureDefinition-pca-practitioner.html) profile     \n   * ```Provenance``` resources conforming to the [PCA Provenance](StructureDefinition-pca-provenance.html) profile     \n   * ```Contract``` resources conforming to the [PCA Publication Authorisation Record](StructureDefinition-pca-publication-authorisation-record.html) profile     \n     \n     * ```Contract``` resources will be returned that reference each of the ```HealthcareService``` or ```PractitionerRole``` resources that are included in the ```Bundle``` - these ```Contract``` resources have a *status* of “executed” if the associated PCA Partner Service is active, or a *status* of “cancelled” if the associated PCA Partner Service is inactive).     \n     * ```Contract``` resources will also be returned that reference ```HealthcareService``` or ```PractitionerRole``` resources that are not in the ```Bundle``` but for which authority to publish has been revoked - these ```Contract``` resources will have a *status* of “revoked”).     \n     \n   * ```Task``` resources conforming to the [PCA Match Record](StructureDefinition-pca-match-record.html) profile      \n     \n     \n * Error: ```OperationOutcome``` resource (see [FHIR specification](https://www.hl7.org/fhir/operationoutcome.html)).      \n     \n **Required OAuth 2.0 scopes**:     \n     \n The *scope* string **SHALL** contain the following *scoped role*:     \n * ``` Organization/[id]:SS_Receiver```     \n     \n Where [id] **SHALL** identify the ```Organization``` associated with the target PCA Subscriber Agent.     \n     \n **Response Codes**:         \n * Code 200:  Search successfully performed (but may return zero matching results).     \n * Code 400:  The input query could not be parsed, or the [PCA Partner Service](StructureDefinition-pca-partner-service.html) referenced in the ```_filter``` parameter could not be found or is inactive.      \n * Code 403:  Server refused to perform the search.     " ]     ] ) ;
    ( fhir:searchParam [
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>       ] ;
fhir:type [ fhir:v "date" ]     ] [
fhir:name [ fhir:v "_type" ] ;
fhir:type [ fhir:v "token" ]     ] [
fhir:name [ fhir:v "_include" ] ;
fhir:type [ fhir:v "special" ]     ] [
fhir:name [ fhir:v "_include:iterate" ] ;
fhir:type [ fhir:v "special" ]     ] [
fhir:name [ fhir:v "_filter" ] ;
fhir:type [ fhir:v "special" ]     ] [
fhir:name [ fhir:v "_page" ] ;
fhir:type [ fhir:v "special" ]     ] [
fhir:name [ fhir:v "_count" ] ;
fhir:type [ fhir:v "special" ]     ] [
fhir:name [ fhir:v "_resultId" ] ;
fhir:type [ fhir:v "special" ]     ] )
  ] ) . #