PACIO Advance Directive Interoperability Implementation Guide
0.0.1 - STU1

PACIO Advance Directive Interoperability Implementation Guide - Local Development build (v0.0.1). See the Directory of published versions

: 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-05-13</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 Composition. 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). Through a Composition, the complete document may be retrieved through a $document operation or its referred to entries retrieved directly.\nThe resources referred to by the composition resource include Observation, Organization, RelatedPerson, Consent, List, and Provenance.</p><p>[TODO] Additional guidance on general use</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.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=\"#composition\">Composition</a></td><td><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Header.html\">PADI-Header</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PACPComposition.html\">PADI-PACPComposition</a></td><td>\n							\n							_id, attester, author, category, confidentiality, context, date, encounter, entry, identifier, patient, period, related-id, related-ref, section, status, subject, title, type\n							\n							\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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgentAuthority.html\">PADI-HealthcareAgentAuthority</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-ConsentForHealthcareAgent.html\">PADI-ConsentForHealthcareAgent</a></td><td>\n							\n							_id, action, actor, category, consentor, data, date, identifier, organization, patient, period, purpose, scope, security-label, source-reference, status\n							\n							\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><a href=\"https://paciowg.github.io/advance-directives-ig/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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalHealthGoal.html\">PADI-PersonalHealthGoal</a></td><td>\n							\n							_id, achievement-status, category, identifier, lifecycle-status, patient, start-date, subject, target-date\n							\n							\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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html\">PADI-PersonalPrioritiesOrganizer</a></td><td>\n							\n							_id, code, date, empty-reason, encounter, identifier, item, notes, patient, source, status, subject, title\n							\n							\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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PMOLSTObservation.html\">PADI-PMOLSTObservation</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalInterventionPreference.html\">PADI-PersonalInterventionPreference</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-OrganDonationObservation.html\">PADI-OrganDonationObservation</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-AutopsyObservation.html\">PADI-AutopsyObservation</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-CareExperiencePreference.html\">PADI-CareExperiencePreference</a></td><td>\n							\n							_id, based-on, category, code, code-value-concept, code-value-date, code-value-quantity, code-value-string, combo-code, combo-code-value-concept, combo-code-value-quantity, combo-data-absent-reason, combo-value-concept, combo-value-quantity, component-code, component-code-value-concept, component-code-value-quantity, component-data-absent-reason, component-value-concept, component-value-quantity, data-absent-reason, date, derived-from, device, encounter, focus, has-member, identifier, method, part-of, patient, performer, specimen, status, subject, value-concept, value-date, value-quantity, value-string\n							\n							\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>\n\n						</td><td>\n							\n							_id, active, address, address-city, address-country, address-postalcode, address-state, address-use, endpoint, identifier, name, partof, phonetic, type\n							\n							\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><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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Provenance.html\">PADI-Provenance</a></td><td>\n							\n							_id, agent, agent-role, agent-type, entity, location, patient, recorded, signature-type, target, when\n							\n							\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><a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgent.html\">PADI-HealthcareAgent</a>, \n\n						<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Guardian.html\">PADI-Guardian</a></td><td>\n							\n							_id, active, address, address-city, address-country, address-postalcode, address-state, address-use, birthdate, email, gender, identifier, name, patient, phone, phonetic, relationship, telecom\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr></tbody></table><br/><h4 id=\"composition\" class=\"no_toc\">Composition</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Header.html\">PADI-Header</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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><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]/Composition?_id=[id]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">attester</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?attester=[attester]</code></td></tr><tr><td><strong>SHOULD</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]/Composition?author=[author]</code></td></tr><tr><td><strong>SHALL</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]/Composition?category=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">confidentiality</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?confidentiality=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">context</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?context=[system]|[code]</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]/Composition?date=[date]</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]/Composition?encounter=[encounter]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">entry</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?entry=[entry]</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]/Composition?identifier=[system]|[code]</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]/Composition?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]/Composition?period=[period]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">related-id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?related-id=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">related-ref</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?related-ref=[related-ref]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">section</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?section=[system]|[code]</code></td></tr><tr><td><strong>MAY</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]/Composition?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]/Composition?subject=[subject]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">title</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?title=[title]</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]/Composition?type=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"consent\" class=\"no_toc\">Consent</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgentAuthority.html\">PADI-HealthcareAgentAuthority</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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><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]/Consent?_id=[id]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">action</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?action=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">actor</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?actor=[actor]</code></td></tr><tr><td><strong>SHALL</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]/Consent?category=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">consentor</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?consentor=[consentor]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">data</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?data=[data]</code></td></tr><tr><td><strong>MAY</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]/Consent?date=[date]</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]/Consent?identifier=[system]|[code]</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]/Consent?organization=[organization]</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]/Consent?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]/Consent?period=[period]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">purpose</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?purpose=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">scope</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?scope=[system]|[code]</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]/Consent?security-label=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">source-reference</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?source-reference=[source-reference]</code></td></tr><tr><td><strong>MAY</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]/Consent?status=[status]</code></td></tr></tbody></table><hr/><h4 id=\"documentreference\" class=\"no_toc\">DocumentReference</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalHealthGoal.html\">PADI-PersonalHealthGoal</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><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]/Goal?_id=[id]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">achievement-status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?achievement-status=[system]|[code]</code></td></tr><tr><td><strong>SHALL</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]/Goal?category=[system]|[code]</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]/Goal?identifier=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">lifecycle-status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?lifecycle-status=[system]|[code]</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]/Goal?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">start-date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?start-date=[start-date]</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]/Goal?subject=[subject]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">target-date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?target-date=[target-date]</code></td></tr></tbody></table><hr/><h4 id=\"list\" class=\"no_toc\">List</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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><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]/List?_id=[id]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?code=[system]|[code]</code></td></tr><tr><td><strong>MAY</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]/List?date=[date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">empty-reason</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?empty-reason=[system]|[code]</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]/List?encounter=[encounter]</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]/List?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">item</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?item=[item]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">notes</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?notes=[notes]</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]/List?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">source</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?source=[source]</code></td></tr><tr><td><strong>MAY</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]/List?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]/List?subject=[subject]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">title</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/List?title=[title]</code></td></tr></tbody></table><hr/><h4 id=\"observation\" class=\"no_toc\">Observation</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PMOLSTObservation.html\">PADI-PMOLSTObservation</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalInterventionPreference.html\">PADI-PersonalInterventionPreference</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-OrganDonationObservation.html\">PADI-OrganDonationObservation</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-AutopsyObservation.html\">PADI-AutopsyObservation</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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><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]/Observation?_id=[id]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">based-on</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?based-on=[based-on]</code></td></tr><tr><td><strong>MAY</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]/Observation?category=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?code=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code-value-concept</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?code-value-concept=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code-value-date</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?code-value-date=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code-value-quantity</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?code-value-quantity=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">code-value-string</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?code-value-string=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-code=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-code-value-concept</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-code-value-concept=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-code-value-quantity</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-code-value-quantity=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-data-absent-reason</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-data-absent-reason=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-value-concept</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-value-concept=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">combo-value-quantity</a></td><td>\n							quantity\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?combo-value-quantity=[combo-value-quantity]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-code=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-code-value-concept</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-code-value-concept=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-code-value-quantity</a></td><td>\n							composite\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-code-value-quantity=[code]&amp;[value]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-data-absent-reason</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-data-absent-reason=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-value-concept</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-value-concept=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">component-value-quantity</a></td><td>\n							quantity\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?component-value-quantity=[component-value-quantity]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">data-absent-reason</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?data-absent-reason=[system]|[code]</code></td></tr><tr><td><strong>MAY</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]/Observation?date=[date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">derived-from</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?derived-from=[derived-from]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">device</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?device=[device]</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]/Observation?encounter=[encounter]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">focus</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?focus=[focus]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">has-member</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?has-member=[has-member]</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]/Observation?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">method</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?method=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">part-of</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?part-of=[part-of]</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]/Observation?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">performer</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?performer=[performer]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">specimen</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?specimen=[specimen]</code></td></tr><tr><td><strong>MAY</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]/Observation?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]/Observation?subject=[subject]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">value-concept</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?value-concept=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">value-date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?value-date=[value-date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">value-quantity</a></td><td>\n							quantity\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?value-quantity=[value-quantity]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">value-string</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?value-string=[value-string]</code></td></tr></tbody></table><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><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]/Organization?_id=[id]</code></td></tr><tr><td><strong>MAY</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]/Organization?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]/Organization?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]/Organization?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]/Organization?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]/Organization?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]/Organization?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]/Organization?address-use=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">endpoint</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Organization?endpoint=[endpoint]</code></td></tr><tr><td><strong>MAY</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]/Organization?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">name</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Organization?name=[name]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">partof</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Organization?partof=[partof]</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]/Organization?phonetic=[phonetic]</code></td></tr><tr><td><strong>MAY</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]/Organization?type=[system]|[code]</code></td></tr></tbody></table><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=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-id.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-gender.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=\"https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-identifier.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://paciowg.github.io/advance-directives-ig/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><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]/Provenance?_id=[id]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">agent</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?agent=[agent]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">agent-role</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?agent-role=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">agent-type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?agent-type=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">entity</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?entity=[entity]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">location</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?location=[location]</code></td></tr><tr><td><strong>MAY</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]/Provenance?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">recorded</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?recorded=[recorded]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">signature-type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?signature-type=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">target</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?target=[target]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">when</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Provenance?when=[when]</code></td></tr></tbody></table><hr/><h4 id=\"relatedperson\" class=\"no_toc\">RelatedPerson</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgent.html\">PADI-HealthcareAgent</a>, \n				\n											<a href=\"https://paciowg.github.io/advance-directives-ig/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><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]/RelatedPerson?_id=[id]</code></td></tr><tr><td><strong>MAY</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]/RelatedPerson?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]/RelatedPerson?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]/RelatedPerson?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]/RelatedPerson?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]/RelatedPerson?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]/RelatedPerson?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]/RelatedPerson?address-use=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">birthdate</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/RelatedPerson?birthdate=[birthdate]</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]/RelatedPerson?email=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">gender</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/RelatedPerson?gender=[system]|[code]</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]/RelatedPerson?identifier=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">name</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/RelatedPerson?name=[name]</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]/RelatedPerson?patient=[patient]</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]/RelatedPerson?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]/RelatedPerson?phonetic=[phonetic]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/search.html\">relationship</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/RelatedPerson?relationship=[system]|[code]</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]/RelatedPerson?telecom=[system]|[code]</code></td></tr></tbody></table><hr/><br/></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "https://paciowg.github.io/advance-directives-ig/CapabilityStatement/padi"];
  fhir:CapabilityStatement.version [ fhir:value "0.0.1"];
  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-05-13"^^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/index.cfm" ]     ], [
       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 Composition. 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). Through a Composition, the complete document may be retrieved through a $document operation or its referred to entries retrieved directly.\nThe resources referred to by the composition resource include Observation, Organization, RelatedPerson, Consent, List, and Provenance.\n\n[TODO] Additional guidance on general use"];
  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 "http://paciowg.github.io/advance-directives-ig/ImplementationGuide-hl7.fhir.us.pacio-adi";
     fhir:index 0;
     fhir:link <http://paciowg.github.io/advance-directives-ig/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.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 "Composition" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Header.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Header.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PACPComposition.html";
         fhir:index 1;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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: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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "attester" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-attester";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-attester>         ];
         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 "author" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-author";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-category";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "confidentiality" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-confidentiality";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-confidentiality>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "context" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-context";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-context>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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/clinical-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-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 "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 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 "entry" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-entry";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-entry>         ];
         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 "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 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.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 11;
         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/Composition-period";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-period>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "related-id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-related-id";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-related-id>         ];
         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 "related-ref" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-related-ref";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-related-ref>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "section" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-section";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-section>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-subject";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-subject>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "title" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Composition-title";
           fhir:link <http://hl7.org/fhir/SearchParameter/Composition-title>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "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 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 "Consent" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgentAuthority.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgentAuthority.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-ConsentForHealthcareAgent.html";
         fhir:index 1;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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: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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "action" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-action";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-action>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "actor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-actor";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-actor>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-category";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "consentor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-consentor";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-consentor>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "data" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-data";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-data>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-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 "SHOULD" ]         ];
         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 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 "organization" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-organization";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-organization>         ];
         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 "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 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.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-period";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-period>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "purpose" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-purpose";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-purpose>         ];
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "scope" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-scope";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-scope>         ];
         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 "security-label" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-security-label";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-security-label>         ];
         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 "source-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-source-reference";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-source-reference>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Consent-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Consent-status>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DocumentReference" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-DocumentReference.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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 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 "Goal" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalHealthGoal.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalHealthGoal.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 "achievement-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-achievement-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-achievement-status>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-category";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-category>         ];
         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 "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 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 "lifecycle-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status>         ];
         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 "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 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 "start-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-start-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-start-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 "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-subject";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-subject>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "target-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Goal-target-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/Goal-target-date>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "List" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalPrioritiesOrganizer.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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: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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-code";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "empty-reason" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-empty-reason";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-empty-reason>         ];
         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 "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 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.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 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 "item" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-item";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-item>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "notes" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-notes";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-notes>         ];
         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 "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 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 "source" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-source";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-source>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-status>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-subject";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-subject>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "title" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/List-title";
           fhir:link <http://hl7.org/fhir/SearchParameter/List-title>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Observation" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PMOLSTObservation.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PMOLSTObservation.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalInterventionPreference.html";
         fhir:index 1;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-PersonalInterventionPreference.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-OrganDonationObservation.html";
         fhir:index 2;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-OrganDonationObservation.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-AutopsyObservation.html";
         fhir:index 3;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-AutopsyObservation.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-CareExperiencePreference.html";
         fhir:index 4;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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: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 "based-on" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-based-on";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-based-on>         ];
         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 "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-category";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-category>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-code";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code-value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-code-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-code-value-concept>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "code-value-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-code-value-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-code-value-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "code-value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-code-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-code-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "code-value-string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-code-value-string";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-code-value-string>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "combo-code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-code";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "combo-code-value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-code-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-code-value-concept>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "combo-code-value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-code-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-code-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "combo-data-absent-reason" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-data-absent-reason";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-data-absent-reason>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "combo-value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-value-concept>         ];
         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 "combo-value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-combo-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-combo-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "quantity" ]       ], [
         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 "component-code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-code";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "component-code-value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-code-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-code-value-concept>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "component-code-value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-code-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-code-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "composite" ]       ], [
         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 "component-data-absent-reason" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-data-absent-reason";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-data-absent-reason>         ];
         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 "component-value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-value-concept>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "component-value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-component-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-component-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "quantity" ]       ], [
         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 "data-absent-reason" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-data-absent-reason";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-data-absent-reason>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "derived-from" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-derived-from";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-derived-from>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "device" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-device";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-device>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "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 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 "focus" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-focus";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-focus>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 26;
         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 "has-member" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-has-member";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-has-member>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 27;
         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/clinical-identifier";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 28;
         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 "method" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-method";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-method>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 29;
         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 "part-of" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-part-of";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-part-of>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 30;
         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 31;
         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 "performer" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-performer";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-performer>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 32;
         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 "specimen" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-specimen";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-specimen>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 33;
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 34;
         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/Observation-subject";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-subject>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 35;
         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 "value-concept" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-value-concept";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-value-concept>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 36;
         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 "value-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-value-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-value-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 37;
         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 "value-quantity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-value-quantity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-value-quantity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "quantity" ]       ], [
         fhir:index 38;
         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 "value-string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Observation-value-string";
           fhir:link <http://hl7.org/fhir/SearchParameter/Observation-value-string>         ];
         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 "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: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 "active" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-active";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address-city";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address-country";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address-postalcode";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address-state";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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/Organization-address-use";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "endpoint" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-endpoint";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-endpoint>         ];
         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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-identifier";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-identifier>         ];
         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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-name";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "partof" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-partof";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-partof>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "phonetic" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-phonetic";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-phonetic>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Organization-type";
           fhir:link <http://hl7.org/fhir/SearchParameter/Organization-type>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       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 "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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-id";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-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 "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://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-birthdate";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-birthdate>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-family";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-family>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-gender";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-gender>         ];
         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 "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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-given>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-identifier";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-name";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-patient-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-race";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-race>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "https://www.hl7.org/fhir/us/core/SearchParameter-us-core-ethnicity";
           fhir:link <https://www.hl7.org/fhir/us/core/SearchParameter-us-core-ethnicity>         ];
         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.type [ fhir:value "Provenance" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Provenance.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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: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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "agent" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-agent";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-agent>         ];
         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 "agent-role" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-agent-role";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-agent-role>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "agent-type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-agent-type";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-agent-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "entity" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-entity";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-entity>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "location" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-location";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-location>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-patient";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "recorded" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-recorded";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-recorded>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "signature-type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-signature-type";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-signature-type>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "target" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-target";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-target>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "when" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-when";
           fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-when>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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 "RelatedPerson" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgent.html";
         fhir:index 0;
         fhir:link <https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-HealthcareAgent.html>       ], [
         fhir:value "https://paciowg.github.io/advance-directives-ig/StructureDefinition-PADI-Guardian.html";
         fhir:index 1;
         fhir:link <https://paciowg.github.io/advance-directives-ig/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       ];
       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 "active" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/RelatedPerson-active";
           fhir:link <http://hl7.org/fhir/SearchParameter/RelatedPerson-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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "birthdate" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/individual-birthdate";
           fhir:link <http://hl7.org/fhir/SearchParameter/individual-birthdate>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "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 10;
         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 "gender" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/individual-gender";
           fhir:link <http://hl7.org/fhir/SearchParameter/individual-gender>         ];
         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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/RelatedPerson-identifier";
           fhir:link <http://hl7.org/fhir/SearchParameter/RelatedPerson-identifier>         ];
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/RelatedPerson-name";
           fhir:link <http://hl7.org/fhir/SearchParameter/RelatedPerson-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/RelatedPerson-patient";
           fhir:link <http://hl7.org/fhir/SearchParameter/RelatedPerson-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "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 15;
         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 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 "relationship" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/RelatedPerson-relationship";
           fhir:link <http://hl7.org/fhir/SearchParameter/RelatedPerson-relationship>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "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" ]       ]     ]
  ].

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

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