PACIO Advance Directive Interoperability Implementation Guide
0.1.0 - STU 1 Ballot

Publication Build: This will be filled in by the publication tooling

## : PADI CapabilityStatement - TTL Representation

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:Resource.id [ fhir:value "padi"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2 id=\"title\">PADI CapabilityStatement</h2><ul><li>Implementation Guide Version: 0.0.1</li><li>FHIR Version: 4.0.1</li><li>Supported formats: xml, json</li><li>Published: 2021-07-26</li><li>Published by: HL7 Patient Empowerment Working Group (PE WG)</li></ul><p>This Section describes the expected capabilities of the PACIO Advance Directive Interoperability (ADI) Server actor which is responsible for providing responses to the queries submitted by the ADI Requestors.</p><p>There are two primary vehicles in which Advance Directive Information can be conveyed: DocumentReference and Bundle. Through a DocumentReference, the ADI may be encoded inside directly as content data or referred to through a content reference (pointing to the ADI included in a resource like Binary) or reference a Bundle with the type=document for FHIR encoded data.\nThe resources referred to by the Composition in the document bundle include Patient, Observation,Goal, ServiceRequest, Organization, RelatedPerson, Consent, List, and Provenance.</p><h3 id=\"behavior\">FHIR RESTful Capabilities</h3><p>The ADI  Server <strong>SHALL</strong>:</p><ol><li>Support all profiles defined in this Implementation Guide.</li><li>Implement the RESTful behavior according to the FHIR specification.</li><li>Return the following response classes:\n<ul><li>(Status 400): invalid parameter</li><li>(Status 401/4xx): unauthorized request</li><li>(Status 403): insufficient scope</li><li>(Status 404): unknown resource</li><li>(Status 410): deleted resource.</li></ul>\n</li><li>Support json source formats for all ADI interactions.</li><li>Support the searchParameters on each profile  individually and in combination.</li></ol><p>The ADI  Server <strong>SHOULD</strong>:</p><ol><li>Support xml source formats for all ADI interactions.</li></ol><p id=\"security\"><strong>Security:</strong></p><ol><li>See the <a href=\"security_privacy_consent.html\">Guidance</a> section for requirements and recommendations.</li><li>A server <strong>SHALL</strong> reject any unauthorized requests by returning an 'HTTP 401' unauthorized response code.</li></ol><h3 id=\"resource--details\" class=\"no_toc\">RESTful Capabilities by Resource/Profile:</h3><p><strong>Summary of Search Criteria</strong></p><table class=\"grid\"><thead><tr><th>Resource Type</th><th>Supported Profiles</th><th>Supported Searches</th><th>Supported <code>_includes</code></th><th>Supported <code>_revincludes</code></th><th>Supported Operations</th></tr></thead><tbody><tr><td><a href=\"#bundle\">Bundle</a></td><td style=\"white-space:nowrap;\">\n\n						</td><td>\n							\n							_id, composition, identifier, timestamp, type\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#composition\">Composition</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html\">PADI-Header</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html\">PADI-PACPComposition</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#consent\">Consent</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html\">PADI-HealthcareAgentAuthority</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html\">PADI-ConsentForHealthcareAgent</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#documentreference\">DocumentReference</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html\">PADI-DocumentReference</a></td><td>\n							\n							_id, authenticator, author, category, contenttype, custodian, date, description, encounter, event, facility, format, identifier, language, location, patient, period, related, relatesto, relation, relationship, security-label, setting, status, subject, type\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#goal\">Goal</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html\">PADI-PersonalGoal</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#list\">List</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html\">PADI-PersonalPrioritiesOrganizer</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#observation\">Observation</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html\">PADI-PMOLSTObservation</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html\">PADI-PersonalInterventionPreference</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html\">PADI-OrganDonationObservation</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html\">PADI-AutopsyObservation</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html\">PADI-CareExperiencePreference</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#organization\">Organization</a></td><td style=\"white-space:nowrap;\">\n\n						</td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#patient\">Patient</a></td><td style=\"white-space:nowrap;\"><a href=\"https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html\">us-core-patient</a></td><td>\n							\n							_id, active, address, address-city, address-country, address-postalcode, address-state, address-use, birthdate, death-date, deceased, email, family, gender, general-practitioner, given, identifier, language, link, name, organization, phone, phonetic, telecom, race, ethnicity\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#provenance\">Provenance</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html\">PADI-Provenance</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#relatedperson\">RelatedPerson</a></td><td style=\"white-space:nowrap;\"><a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html\">PADI-HealthcareAgent</a>, \n\n						\n						<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html\">PADI-Guardian</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr></tbody></table><br/><h4 id=\"bundle\" class=\"no_toc\">Bundle</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>search-type</code>, \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Bundle resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Bundle/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Bundle resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Bundle/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">_id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?_id=[id]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">composition</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?composition=[composition]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?identifier=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">timestamp</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?timestamp=[timestamp]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?type=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"composition\" class=\"no_toc\">Composition</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html\">PADI-Header</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html\">PADI-PACPComposition</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Composition resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Composition/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Composition resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Composition/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"consent\" class=\"no_toc\">Consent</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html\">PADI-HealthcareAgentAuthority</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html\">PADI-ConsentForHealthcareAgent</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Consent resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Consent/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Consent resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Consent/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"documentreference\" class=\"no_toc\">DocumentReference</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html\">PADI-DocumentReference</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a DocumentReference resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/DocumentReference/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a DocumentReference resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/DocumentReference/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">_id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?_id=[id]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">authenticator</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?authenticator=[authenticator]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">author</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?author=[author]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">category</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?category=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">contenttype</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?contenttype=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">custodian</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?custodian=[custodian]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?date=[date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">description</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?description=[description]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">encounter</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?encounter=[encounter]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">event</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?event=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">facility</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?facility=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">format</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?format=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">language</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?language=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">location</a></td><td>\n							uri\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?location=[uri]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">period</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?period=[period]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">related</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?related=[related]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">relatesto</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?relatesto=[relatesto]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">relation</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?relation=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">relationship</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?relationship=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">security-label</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?security-label=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">setting</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?setting=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?status=[status]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">subject</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?subject=[subject]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?type=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"goal\" class=\"no_toc\">Goal</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html\">PADI-PersonalGoal</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Goal resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Goal/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Goal resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Goal/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"list\" class=\"no_toc\">List</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html\">PADI-PersonalPrioritiesOrganizer</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a List resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/List/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a List resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/List/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"observation\" class=\"no_toc\">Observation</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html\">PADI-PMOLSTObservation</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html\">PADI-PersonalInterventionPreference</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html\">PADI-OrganDonationObservation</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html\">PADI-AutopsyObservation</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html\">PADI-CareExperiencePreference</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Observation resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Observation/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Observation resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Observation/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"organization\" class=\"no_toc\">Organization</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Organization resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Organization/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Organization resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Organization/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"patient\" class=\"no_toc\">Patient</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html\">us-core-patient</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Patient resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Patient/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Patient resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Patient/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">_id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?_id=[id]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">active</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?active=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address=[address]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address-city</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address-city=[address-city]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address-country</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address-country=[address-country]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address-postalcode</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address-postalcode=[address-postalcode]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address-state</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address-state=[address-state]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">address-use</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?address-use=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-birthdate.html\">birthdate</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?birthdate=[birthdate]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">death-date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?death-date=[death-date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">deceased</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?deceased=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">email</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?email=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-family.html\">family</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?family=[family]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html\">gender</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?gender=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">general-practitioner</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?general-practitioner=[general-practitioner]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html\">given</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?given=[given]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">language</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?language=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">link</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?link=[link]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-name.html\">name</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?name=[name]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">organization</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?organization=[organization]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">phone</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?phone=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">phonetic</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?phonetic=[phonetic]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">telecom</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?telecom=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-race.html\">race</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?race=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-ethnicity.html\">ethnicity</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?ethnicity=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"provenance\" class=\"no_toc\">Provenance</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html\">PADI-Provenance</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Provenance resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Provenance/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Provenance resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Provenance/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"relatedperson\" class=\"no_toc\">RelatedPerson</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html\">PADI-HealthcareAgent</a>, \n				\n											<a href=\"https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html\">PADI-Guardian</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a RelatedPerson resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/RelatedPerson/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a RelatedPerson resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/RelatedPerson/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><br/></div>"
      ];
      fhir:CapabilityStatement.url [ fhir:value "https://build.fhir.org/ig/HL7/pacio-adi/CapabilityStatement/padi"];
      fhir:CapabilityStatement.version [ fhir:value "0.1.0"];
      fhir:CapabilityStatement.name [ fhir:value "PacioAdiCapabilityStatement"];
      fhir:CapabilityStatement.title [ fhir:value "PADI CapabilityStatement"];
      fhir:CapabilityStatement.status [ fhir:value "active"];
      fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean];
      fhir:CapabilityStatement.date [ fhir:value "2021-07-26"^^xsd:date];
      fhir:CapabilityStatement.publisher [ fhir:value "HL7 Patient Empowerment Working Group"];
      fhir:CapabilityStatement.contact [
         fhir:index 0;
         fhir:ContactDetail.name [ fhir:value "HL7 Patient Empowerment Working Group" ];
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "url" ];
           fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/patientempowerment" ]     ], [
           fhir:index 1;
           fhir:ContactPoint.system [ fhir:value "email" ];
           fhir:ContactPoint.value [ fhir:value "patients@lists.HL7.org" ]     ]
      ];
      fhir:CapabilityStatement.description [ fhir:value "This Section describes the expected capabilities of the PACIO Advance Directive Interoperability (ADI) Server actor which is responsible for providing responses to the queries submitted by the ADI Requestors. \n\nThere are two primary vehicles in which Advance Directive Information can be conveyed: DocumentReference and Bundle. Through a DocumentReference, the ADI may be encoded inside directly as content data or referred to through a content reference (pointing to the ADI included in a resource like Binary) or reference a Bundle with the type=document for FHIR encoded data.\nThe resources referred to by the Composition in the document bundle include Patient, Observation,Goal, ServiceRequest, Organization, RelatedPerson, Consent, List, and Provenance."];
      fhir:CapabilityStatement.jurisdiction [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
           fhir:Coding.code [ fhir:value "US" ]     ]
      ];
      fhir:CapabilityStatement.kind [ fhir:value "requirements"];
      fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"];
      fhir:CapabilityStatement.format [
         fhir:value "xml";
         fhir:index 0
      ], [
         fhir:value "json";
         fhir:index 1
      ];
      fhir:CapabilityStatement.patchFormat [
         fhir:value "application/json-patch+json";
         fhir:index 0
      ];
      fhir:CapabilityStatement.implementationGuide [
         fhir:value "https://build.fhir.org/ig/HL7/pacio-adi/ImplementationGuide-hl7.fhir.us.pacio-adi";
         fhir:index 0;
         fhir:link <https://build.fhir.org/ig/HL7/pacio-adi/ImplementationGuide-hl7.fhir.us.pacio-adi>
      ];
      fhir:CapabilityStatement.rest [
         fhir:index 0;
         fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
         fhir:CapabilityStatement.rest.documentation [ fhir:value "The ADI  Server **SHALL**:\n\n1. Support all profiles defined in this Implementation Guide.\n2.  Implement the RESTful behavior according to the FHIR specification.\n3. Return the following response classes:\n   - (Status 400): invalid parameter\n   - (Status 401/4xx): unauthorized request\n   - (Status 403): insufficient scope\n   - (Status 404): unknown resource\n   - (Status 410): deleted resource.\n4. Support json source formats for all ADI interactions.\n5. Support the searchParameters on each profile  individually and in combination.\n\nThe ADI  Server **SHOULD**:\n\n1. Support xml source formats for all ADI interactions." ];
         fhir:CapabilityStatement.rest.security [
           fhir:CapabilityStatement.rest.security.description [ fhir:value "1. See the [Guidance](security_privacy_consent.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an 'HTTP 401' unauthorized response code." ]     ];
         fhir:CapabilityStatement.rest.resource [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Bundle" ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ];
           fhir:CapabilityStatement.rest.resource.searchParam [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-id";
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "composition" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Bundle-composition";
               fhir:link <http://hl7.org/fhir/SearchParameter/Bundle-composition>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Bundle-identifier";
               fhir:link <http://hl7.org/fhir/SearchParameter/Bundle-identifier>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "timestamp" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Bundle-timestamp";
               fhir:link <http://hl7.org/fhir/SearchParameter/Bundle-timestamp>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Bundle-type";
               fhir:link <http://hl7.org/fhir/SearchParameter/Bundle-type>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
           fhir:index 1;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Composition" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html";
             fhir:index 1;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 2;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Consent" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html";
             fhir:index 1;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 3;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "DocumentReference" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ];
           fhir:CapabilityStatement.rest.resource.searchParam [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-id";
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "authenticator" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-authenticator";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-authenticator>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "author" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-author";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-author>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-category";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-category>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "contenttype" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-contenttype";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-contenttype>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "custodian" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-custodian";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-custodian>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 6;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-date";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-date>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
             fhir:index 7;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "description" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-description";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-description>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 8;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "encounter" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-encounter";
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-encounter>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 9;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "event" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-event";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-event>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 10;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "facility" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-facility";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-facility>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 11;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "format" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-format";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-format>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 12;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-identifier";
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 13;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "language" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-language";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-language>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 14;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "location" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-location";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-location>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "uri" ]       ], [
             fhir:index 15;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-patient";
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 16;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-period";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-period>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
             fhir:index 17;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "related" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-related";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-related>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 18;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "relatesto" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-relatesto";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-relatesto>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 19;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "relation" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-relation";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-relation>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 20;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "relationship" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-relationship";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-relationship>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
             fhir:index 21;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "security-label" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-security-label";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-security-label>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 22;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "setting" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-setting";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-setting>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 23;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-status";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-status>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 24;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/DocumentReference-subject";
               fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-subject>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 25;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-type";
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-type>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
           fhir:index 4;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Goal" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 5;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "List" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 6;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Observation" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html";
             fhir:index 1;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html";
             fhir:index 2;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html";
             fhir:index 3;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html";
             fhir:index 4;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 7;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Organization" ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 8;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Patient" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html";
             fhir:index 0;
             fhir:link <https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ];
           fhir:CapabilityStatement.rest.resource.searchParam [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-id.html" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "active" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-active";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-active>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-city" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address-city";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address-city>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-country" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address-country";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address-country>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-postalcode" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address-postalcode";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address-postalcode>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 6;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-state" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address-state";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address-state>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 7;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-use" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-address-use";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-address-use>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 8;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "birthdate" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://build.fhir.org/ig/HL7/pacio-adi/SearchParameter/patient-birthdate";
               fhir:link <https://build.fhir.org/ig/HL7/pacio-adi/SearchParameter/patient-birthdate>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-birthdate.html" ]       ], [
             fhir:index 9;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "death-date" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-death-date";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-death-date>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
             fhir:index 10;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "deceased" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-deceased";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-deceased>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 11;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "email" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-email";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-email>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 12;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "family" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-family.html" ]       ], [
             fhir:index 13;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "gender" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html" ]       ], [
             fhir:index 14;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "general-practitioner" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-general-practitioner>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 15;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "given" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html" ]       ], [
             fhir:index 16;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-identifier.html" ]       ], [
             fhir:index 17;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "language" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-language";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-language>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 18;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "link" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-link";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-link>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 19;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "name" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-name.html" ]       ], [
             fhir:index 20;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "organization" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Patient-organization";
               fhir:link <http://hl7.org/fhir/SearchParameter/Patient-organization>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
             fhir:index 21;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "phone" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-phone";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-phone>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 22;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "phonetic" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-phonetic";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-phonetic>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
             fhir:index 23;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "telecom" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/individual-telecom";
               fhir:link <http://hl7.org/fhir/SearchParameter/individual-telecom>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
             fhir:index 24;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "race" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-race";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-race>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-race.html" ]       ], [
             fhir:index 25;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "ethnicity" ];
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity";
               fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity>         ];
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-ethnicity.html" ]       ]     ], [
           fhir:index 9;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Provenance" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ], [
           fhir:index 10;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
             fhir:Extension.valueCode [ fhir:value "SHALL" ]       ];
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "RelatedPerson" ];
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html";
             fhir:index 0;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html>       ], [
             fhir:value "https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html";
             fhir:index 1;
             fhir:link <https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html>       ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
             fhir:index 5;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
           fhir:CapabilityStatement.rest.resource.referencePolicy [
             fhir:value "resolves";
             fhir:index 0       ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.