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 - XML Representation

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="padi"/>
      <text>
        <status value="generated"/>
        <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.
    The 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:
    <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>
    </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;">

    						</td><td>

    							_id, composition, identifier, timestamp, type

    						</td><td>

    						</td><td>

                </td><td>

    						</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>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html">PADI-PACPComposition</a></td><td>

    						</td><td>

    						</td><td>

                </td><td>

    						</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>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html">PADI-ConsentForHealthcareAgent</a></td><td>

    						</td><td>

    						</td><td>

                </td><td>

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

    							_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

    						</td><td>

    						</td><td>

                </td><td>

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

    						</td><td>

    						</td><td>

                </td><td>

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

    						</td><td>

    						</td><td>

                </td><td>

    						</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>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html">PADI-PersonalInterventionPreference</a>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html">PADI-OrganDonationObservation</a>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html">PADI-AutopsyObservation</a>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html">PADI-CareExperiencePreference</a></td><td>

    						</td><td>

    						</td><td>

                </td><td>

    						</td></tr><tr><td><a href="#organization">Organization</a></td><td style="white-space:nowrap;">

    						</td><td>

    						</td><td>

    						</td><td>

                </td><td>

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

    							_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

    						</td><td>

    						</td><td>

                </td><td>

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

    						</td><td>

    						</td><td>

                </td><td>

    						</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>,

    						<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html">PADI-Guardian</a></td><td>

    						</td><td>

    						</td><td>

                </td><td>

    						</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
    																							<code>create</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>search-type</code>,
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Bundle resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Bundle/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Bundle resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Bundle/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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>
    							token
    						</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>
    							reference
    						</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>
    							token
    						</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>
    							date
    						</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>
    							token
    						</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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html">PADI-Header</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html">PADI-PACPComposition</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Composition resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Composition/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Composition resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Composition/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html">PADI-HealthcareAgentAuthority</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html">PADI-ConsentForHealthcareAgent</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Consent resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Consent/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Consent resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Consent/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html">PADI-DocumentReference</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a DocumentReference resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/DocumentReference/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a DocumentReference resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/DocumentReference/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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>
    							token
    						</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>
    							reference
    						</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>
    							reference
    						</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>
    							token
    						</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>
    							token
    						</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>
    							reference
    						</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>
    							date
    						</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>
    							string
    						</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>
    							reference
    						</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>
    							token
    						</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>
    							token
    						</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>
    							token
    						</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>
    							token
    						</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>
    							token
    						</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>
    							uri
    						</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>
    							reference
    						</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>
    							date
    						</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>
    							reference
    						</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>
    							reference
    						</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>
    							token
    						</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>
    							composite
    						</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>
    							token
    						</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>
    							token
    						</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>
    							token
    						</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>
    							reference
    						</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>
    							token
    						</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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html">PADI-PersonalGoal</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Goal resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Goal/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Goal resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Goal/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html">PADI-PersonalPrioritiesOrganizer</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a List resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/List/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a List resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/List/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html">PADI-PMOLSTObservation</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html">PADI-PersonalInterventionPreference</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html">PADI-OrganDonationObservation</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html">PADI-AutopsyObservation</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html">PADI-CareExperiencePreference</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Observation resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Observation/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Observation resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Observation/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Organization resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Organization/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Organization resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Organization/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html">us-core-patient</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Patient resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Patient/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Patient resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Patient/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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>
    							token
    						</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>
    							token
    						</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>
    							string
    						</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>
    							string
    						</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>
    							string
    						</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>
    							string
    						</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>
    							string
    						</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>
    							token
    						</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>
    							date
    						</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>
    							date
    						</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>
    							token
    						</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>
    							token
    						</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>
    							string
    						</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>
    							token
    						</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>
    							reference
    						</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>
    							string
    						</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>
    							token
    						</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>
    							token
    						</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>
    							reference
    						</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>
    							string
    						</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>
    							reference
    						</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>
    							token
    						</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>
    							string
    						</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>
    							token
    						</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>
    							token
    						</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>
    							token
    						</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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html">PADI-Provenance</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a Provenance resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Provenance/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a Provenance resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/Provenance/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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:

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html">PADI-HealthcareAgent</a>,

    											<a href="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html">PADI-Guardian</a>

    				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support
    																							<code>create</code>,
    																							<code>search-type</code>,
    																							<code>read</code>,
    																							<code>update</code>.</li><li><strong>SHOULD</strong> support
    																							<code>vread</code>,
    																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>
    					A Server <strong>SHALL</strong> be capable of returning a RelatedPerson resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/RelatedPerson/[id]</code>
    				</li><br/><li>
    					A Server <strong>SHOULD</strong> be capable of returning a RelatedPerson resource using:
    					<br/>
    						<code class="highlighter-rouge">GET [base]/RelatedPerson/[id]/_history/vid</code>
    				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive
    				     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>
      </text>
      <url value="https://build.fhir.org/ig/HL7/pacio-adi/CapabilityStatement/padi"/>
      <version value="0.1.0"/>
      <name value="PacioAdiCapabilityStatement"/>
      <title value="PADI CapabilityStatement"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2021-07-26"/>
      <publisher value="HL7 Patient Empowerment Working Group"/>
      <contact>
        <name value="HL7 Patient Empowerment Working Group"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/patientempowerment"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="patients@lists.HL7.org"/>
        </telecom>
      </contact>
      <description
                   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.

    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.
    The resources referred to by the Composition in the document bundle include Patient, Observation,Goal, ServiceRequest, Organization, RelatedPerson, Consent, List, and Provenance."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
        </coding>
      </jurisdiction>
      <kind value="requirements"/>
      <fhirVersion value="4.0.1"/>
      <format value="xml"/>
      <format value="json"/>
      <patchFormat value="application/json-patch+json"/>
      <implementationGuide
                           value="https://build.fhir.org/ig/HL7/pacio-adi/ImplementationGuide-hl7.fhir.us.pacio-adi"/>
      <rest>
        <mode value="server"/>
        <documentation
                       value="The ADI  Server **SHALL**:

    1. Support all profiles defined in this Implementation Guide.
    2.  Implement the RESTful behavior according to the FHIR specification.
    3. Return the following response classes:
       - (Status 400): invalid parameter
       - (Status 401/4xx): unauthorized request
       - (Status 403): insufficient scope
       - (Status 404): unknown resource
       - (Status 410): deleted resource.
    4. Support json source formats for all ADI interactions.
    5. Support the searchParameters on each profile  individually and in combination.

    The ADI  Server **SHOULD**:

    1. Support xml source formats for all ADI interactions."/>
        <security>
          <description
                       value="1. See the [Guidance](security_privacy_consent.html) section for requirements and recommendations.
    1. A server **SHALL** reject any unauthorized requests by returning an &#39;HTTP 401&#39; unauthorized response code."/>
        </security>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Bundle"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="composition"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Bundle-composition"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Bundle-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="timestamp"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Bundle-timestamp"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="type"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Bundle-type"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Composition"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Header.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PACPComposition.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Consent"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgentAuthority.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-ConsentForHealthcareAgent.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="DocumentReference"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-DocumentReference.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_id"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="authenticator"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-authenticator"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="author"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-author"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="contenttype"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-contenttype"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="custodian"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-custodian"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="description"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-description"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="encounter"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/clinical-encounter"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="event"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-event"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="facility"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-facility"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="format"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-format"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/clinical-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="language"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-language"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="location"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-location"/>
            <type value="uri"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="patient"/>
            <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="period"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-period"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="related"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-related"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="relatesto"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-relatesto"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="relation"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-relation"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="relationship"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-relationship"/>
            <type value="composite"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="security-label"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-security-label"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="setting"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-setting"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/DocumentReference-subject"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="type"/>
            <definition value="http://hl7.org/fhir/SearchParameter/clinical-type"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Goal"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalGoal.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="List"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Observation"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PMOLSTObservation.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-PersonalInterventionPreference.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-OrganDonationObservation.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-AutopsyObservation.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-CareExperiencePreference.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Organization"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Patient"/>
          <supportedProfile
                            value="https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id"/>
            <type value="token"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-id.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="active"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Patient-active"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address-city"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address-city"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address-country"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address-country"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address-postalcode"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address-postalcode"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address-state"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address-state"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="address-use"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-address-use"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="birthdate"/>
            <definition
                        value="https://build.fhir.org/ig/HL7/pacio-adi/SearchParameter/patient-birthdate"/>
            <type value="date"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-birthdate.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="death-date"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Patient-death-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="deceased"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Patient-deceased"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="email"/>
            <definition value="http://hl7.org/fhir/SearchParameter/individual-email"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="family"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family"/>
            <type value="string"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-family.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="gender"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender"/>
            <type value="token"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="general-practitioner"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Patient-general-practitioner"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="given"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given"/>
            <type value="string"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier"/>
            <type value="token"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-identifier.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="language"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Patient-language"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="link"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Patient-link"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="name"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name"/>
            <type value="string"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-name.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="organization"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Patient-organization"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="phone"/>
            <definition value="http://hl7.org/fhir/SearchParameter/individual-phone"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="phonetic"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-phonetic"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="telecom"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/individual-telecom"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="race"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-race"/>
            <type value="token"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-race.html"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="ethnicity"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity"/>
            <type value="token"/>
            <documentation
                           value="https://www.hl7.org/fhir/us/core/SearchParameter-us-core-ethnicity.html"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Provenance"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Provenance.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="RelatedPerson"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-HealthcareAgent.html"/>
          <supportedProfile
                            value="https://hl7.org/fhir/us/pacio-adi/StructureDefinition-PADI-Guardian.html"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="vread"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="history-instance"/>
          </interaction>
          <referencePolicy value="resolves"/>
        </resource>
      </rest>
    </CapabilityStatement>