HL7 FHIR® US Core Implementation Guide STU3 Release 3.1.1

This page is part of the US Core (v3.1.1: STU3) based on FHIR R4. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions

Turtle Format: CapabilityStatement-us-core-server

Download Raw ttl

@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 "us-core-server"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2 id=\"title\">US Core Server CapabilityStatement</h2><ul><li>Implementation Guide Version: 3.1.1</li><li>FHIR Version: 4.0.1</li><li>Supported formats: xml, json</li><li>Published: 2020-07-28</li><li>Published by: HL7 International - US Realm Steering Committee</li></ul><p><p>This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC <a href=\"https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf\">U.S. Core Data for Interoperability (USCDI)</a>.  US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.</p></p><h3 id=\"behavior\">FHIR RESTful Capabilities</h3><p>The US Core Server <strong>SHALL</strong>:</p><ol><li>Support the US Core Patient resource profile.</li><li>Support at least one additional resource profile from the list of US Core Profiles.</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 US Core interactions.</li></ol><p>The US Core Server <strong>SHOULD</strong>:</p><ol><li>Support xml source formats for all US Core interactions.</li><li>Identify the US Core profiles supported as part of the FHIR <code>meta.profile</code> attribute for each instance.</li><li>Support xml resource formats for all Argonaut questionnaire interactions.</li></ol><p id=\"security\"><strong>Security:</strong></p><ol><li>See the <a href=\"security.html\">General Security Considerations</a> section for requirements and recommendations.</li><li>A server <strong>SHALL</strong> reject any unauthorized requests by returning an <code>HTTP 401</code> unauthorized response code.</li></ol><p><strong>Summary of System Wide Interactions</strong></p><li><strong>MAY</strong> support the	<code>transaction</code> interaction.</li><li><strong>MAY</strong> support the	<code>batch</code> interaction.</li><li><strong>MAY</strong> support the	<code>search-system</code> interaction.</li><li><strong>MAY</strong> support the	<code>history-system</code> interaction.</li><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=\"#allergyintolerance\">AllergyIntolerance</a></td><td><a href=\"StructureDefinition-us-core-allergyintolerance.html\">US Core AllergyIntolerance Profile</a></td><td>\n							\n							clinical-status, patient\n							patient+clinical-status\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#careplan\">CarePlan</a></td><td><a href=\"StructureDefinition-us-core-careplan.html\">US Core CarePlan Profile</a></td><td>\n							\n							category, date, patient, status\n							patient+category+status+date, patient+category+status, patient+category, patient+category+date\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#careteam\">CareTeam</a></td><td><a href=\"StructureDefinition-us-core-careteam.html\">US Core CareTeam Profile</a></td><td>\n							\n							patient, status\n							patient+status\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#condition\">Condition</a></td><td><a href=\"StructureDefinition-us-core-condition.html\">US Core Condition Profile</a></td><td>\n							\n							category, clinical-status, patient, onset-date, code\n							patient+onset-date, patient+category, patient+clinical-status, patient+code\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#device\">Device</a></td><td><a href=\"StructureDefinition-us-core-implantable-device.html\">US Core Implantable Device Profile</a></td><td>\n							\n							patient, type\n							patient+type\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#diagnosticreport\">DiagnosticReport</a></td><td><a href=\"StructureDefinition-us-core-diagnosticreport-note.html\">US Core DiagnosticReport Profile for Report and Note exchange</a>, \n\n						<a href=\"StructureDefinition-us-core-diagnosticreport-lab.html\">US Core DiagnosticReport Profile for Laboratory Results Reporting</a></td><td>\n							\n							status, patient, category, code, date\n							patient+category+date, patient+status, patient+code+date, patient+code, patient+category\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#documentreference\">DocumentReference</a></td><td><a href=\"StructureDefinition-us-core-documentreference.html\">US Core DocumentReference Profile</a></td><td>\n							\n							_id, status, patient, category, type, date, period\n							patient+type+period, patient+type, patient+category+date, patient+status, patient+category\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							docref\n						</td></tr><tr><td><a href=\"#encounter\">Encounter</a></td><td><a href=\"StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a></td><td>\n							\n							_id, class, date, identifier, patient, status, type\n							class+patient, patient+status, patient+type, date+patient\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#goal\">Goal</a></td><td><a href=\"StructureDefinition-us-core-goal.html\">US Core Goal Profile</a></td><td>\n							\n							lifecycle-status, patient, target-date\n							patient+lifecycle-status, patient+target-date\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#immunization\">Immunization</a></td><td><a href=\"StructureDefinition-us-core-immunization.html\">US Core Immunization Profile</a></td><td>\n							\n							patient, status, date\n							patient+date, patient+status\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#location\">Location</a></td><td><a href=\"StructureDefinition-us-core-location.html\">US Core Location Profile</a></td><td>\n							\n							name, address, address-city, address-state, address-postalcode\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#medication\">Medication</a></td><td><a href=\"StructureDefinition-us-core-medication.html\">US Core Medication Profile</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#medicationrequest\">MedicationRequest</a></td><td><a href=\"StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a></td><td>\n							\n							status, intent, patient, encounter, authoredon\n							patient+intent, patient+intent+encounter, patient+intent+authoredon, patient+intent+status\n							\n							\n						</td><td>\n							MedicationRequest:medication\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#observation\">Observation</a></td><td><a href=\"StructureDefinition-us-core-smokingstatus.html\">US Core Smoking Status Observation Profile</a>, \n\n						<a href=\"StructureDefinition-pediatric-weight-for-height.html\">US Core Pediatric Weight  for Height Observation Profile</a>, \n\n						<a href=\"StructureDefinition-us-core-observation-lab.html\">US Core Laboratory Result Observation Profile</a>, \n\n						<a href=\"StructureDefinition-pediatric-bmi-for-age.html\">US Core Pediatric BMI for Age Observation Profile</a>, \n\n						<a href=\"StructureDefinition-us-core-pulse-oximetry.html\">US Core Pulse Oximetry Profile</a>, \n\n						<a href=\"StructureDefinition-head-occipital-frontal-circumference-percentile.html\">US Core Pediatric Head Occipital-frontal Circumference Percentile Profile</a></td><td>\n							\n							status, category, code, date, patient\n							patient+category+date, patient+category+status, patient+code+date, patient+code, patient+category\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#organization\">Organization</a></td><td><a href=\"StructureDefinition-us-core-organization.html\">US Core Organization Profile</a></td><td>\n							\n							name, address\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=\"StructureDefinition-us-core-patient.html\">US Core Patient Profile</a></td><td>\n							\n							_id, birthdate, family, gender, given, identifier, name\n							birthdate+family, family+gender, birthdate+name, gender+name\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#practitioner\">Practitioner</a></td><td><a href=\"StructureDefinition-us-core-practitioner.html\">US Core Practitioner Profile</a></td><td>\n							\n							name, identifier\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#practitionerrole\">PractitionerRole</a></td><td><a href=\"StructureDefinition-us-core-practitionerrole.html\">US Core PractitionerRole Profile</a></td><td>\n							\n							specialty, practitioner\n							\n							\n							\n						</td><td>\n							PractitionerRole:endpoint, PractitionerRole:practitioner\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#procedure\">Procedure</a></td><td><a href=\"StructureDefinition-us-core-procedure.html\">US Core Procedure Profile</a></td><td>\n							\n							status, patient, date, code\n							patient+date, patient+status, patient+code+date\n							\n							\n						</td><td>\n							\n						</td><td>\n              Provenance:target\n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#provenance\">Provenance</a></td><td><a href=\"StructureDefinition-us-core-provenance.html\">US Core Provenance Profile</a></td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr><tr><td><a href=\"#valueset\">ValueSet</a></td><td>\n\n						</td><td>\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							expand\n						</td></tr></tbody></table><br/><h4 id=\"allergyintolerance\" class=\"no_toc\">AllergyIntolerance</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-allergyintolerance.html\">US Core AllergyIntolerance Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a AllergyIntolerance resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-allergyintolerance-clinical-status.html\">clinical-status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance?clinical-status=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-allergyintolerance-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance?patient=[patient]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+clinical-status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance?patient=[patient]&amp;clinical-status=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"careplan\" class=\"no_toc\">CarePlan</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-careplan.html\">US Core CarePlan Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a CarePlan resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/CarePlan/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/CarePlan?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-careplan-category.html\">category</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?category=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-careplan-date.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?date=[date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-careplan-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-careplan-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?status=[status]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+category+status+date\n						</td><td>reference+token+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?patient=[patient]&amp;category=[system]|[code]&amp;status=[status]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+category+status\n						</td><td>reference+token+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?patient=[patient]&amp;category=[system]|[code]&amp;status=[status]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+category\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?patient=[patient]&amp;category=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+category+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CarePlan?patient=[patient]&amp;category=[system]|[code]&amp;date=[date]</code></td></tr></tbody></table><hr/><h4 id=\"careteam\" class=\"no_toc\">CareTeam</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-careteam.html\">US Core CareTeam Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a CareTeam resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/CareTeam/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/CareTeam?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-careteam-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CareTeam?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-careteam-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CareTeam?status=[status]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/CareTeam?patient=[patient]&amp;status=[status]</code></td></tr></tbody></table><hr/><h4 id=\"condition\" class=\"no_toc\">Condition</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-condition.html\">US Core Condition Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Condition resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Condition/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Condition?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-condition-category.html\">category</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?category=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-condition-clinical-status.html\">clinical-status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?clinical-status=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-condition-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-condition-onset-date.html\">onset-date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?onset-date=[onset-date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-condition-code.html\">code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?code=[system]|[code]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+onset-date\n						</td><td>reference+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?patient=[patient]&amp;onset-date=[onset-date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+category\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?patient=[patient]&amp;category=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+clinical-status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?patient=[patient]&amp;clinical-status=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+code\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Condition?patient=[patient]&amp;code=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"device\" class=\"no_toc\">Device</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-implantable-device.html\">US Core Implantable Device Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Device resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Device/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Device?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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=\"SearchParameter-us-core-device-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Device?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-device-type.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Device?type=[system]|[code]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+type\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Device?patient=[patient]&amp;type=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"diagnosticreport\" class=\"no_toc\">DiagnosticReport</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-diagnosticreport-note.html\">US Core DiagnosticReport Profile for Report and Note exchange</a>, \n				\n											<a href=\"StructureDefinition-us-core-diagnosticreport-lab.html\">US Core DiagnosticReport Profile for Laboratory Results Reporting</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><sup>†</sup>, \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><blockquote>create<sup>†</sup><p>This conformance expectation applies <strong>only</strong>  to the <em>US Core DiagnosticReport Profile for Report and Note exchange</em> profile.  The conformance expectation for the <em>US Core DiagnosticReport Profile for Laboratory Results Reporting</em> is  <strong>MAY</strong>.</p>\n</blockquote><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a DiagnosticReport resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/DiagnosticReport/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-diagnosticreport-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?status=[status]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-diagnosticreport-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-diagnosticreport-category.html\">category</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?category=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-diagnosticreport-code.html\">code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?code=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-diagnosticreport-date.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?date=[date]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td>patient+category+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]&amp;category=[system]|[code]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]&amp;status=[status]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+code+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]&amp;code=[system]|[code]&amp;date=[date]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+code\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]&amp;code=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+category\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?patient=[patient]&amp;category=[system]|[code]</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=\"StructureDefinition-us-core-documentreference.html\">US Core DocumentReference Profile</a>\n				\n				</p><p>Resource Specific Documentation:</p><blockquote><p>The DocumentReference.type binding SHALL support at a minimum the <a href=\"ValueSet-us-core-clinical-note-type.html\">5 Common Clinical Notes</a> and may extend to the full US Core DocumentReference Type Value Set</p></blockquote><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>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Operation  Summary:</p><ul><li><strong>SHALL</strong> support the \n																								<a href=\"OperationDefinition-docref.html\">$docref</a> operation\n																								<p><p>A server <strong>SHALL</strong> be capable of responding to a $docref operation and  capable of returning at least a reference to a generated CCD document, if available. <strong>MAY</strong> provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server <strong>SHALL</strong> provide references to last or current encounter.  <strong>SHOULD</strong> document what resources, if any, are returned as included resources</p><p><code>GET [base]/DocumentReference/$docref?patient=[id]</code></p></p></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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/DocumentReference?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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=\"SearchParameter-us-core-documentreference-id.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=\"SearchParameter-us-core-documentreference-status.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>SHALL</strong></td><td><a href=\"SearchParameter-us-core-documentreference-patient.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>MAY</strong></td><td><a href=\"SearchParameter-us-core-documentreference-category.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>MAY</strong></td><td><a href=\"SearchParameter-us-core-documentreference-type.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?type=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-documentreference-date.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=\"SearchParameter-us-core-documentreference-period.html\">period</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?period=[period]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+type+period\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]&amp;type=[system]|[code]&amp;period=[period]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+type\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]&amp;type=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+category+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]&amp;category=[system]|[code]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]&amp;status=[status]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+category\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/DocumentReference?patient=[patient]&amp;category=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"encounter\" class=\"no_toc\">Encounter</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Encounter resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Encounter/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Encounter?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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=\"SearchParameter-us-core-encounter-id.html\">_id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?_id=[id]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-encounter-class.html\">class</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?class=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-encounter-date.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"SearchParameter-us-core-encounter-identifier.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?identifier=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-encounter-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-encounter-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?status=[status]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-encounter-type.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?type=[system]|[code]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>class+patient\n						</td><td>token+reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?class=[system]|[code]&amp;patient=[patient]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?patient=[patient]&amp;status=[status]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+type\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?patient=[patient]&amp;type=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td>date+patient\n						</td><td>date+reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?date=[date]&amp;patient=[patient]</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=\"StructureDefinition-us-core-goal.html\">US Core Goal Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Goal?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-goal-lifecycle-status.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=\"SearchParameter-us-core-goal-patient.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=\"SearchParameter-us-core-goal-target-date.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><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+lifecycle-status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?patient=[patient]&amp;lifecycle-status=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+target-date\n						</td><td>reference+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Goal?patient=[patient]&amp;target-date=[target-date]</code></td></tr></tbody></table><hr/><h4 id=\"immunization\" class=\"no_toc\">Immunization</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-immunization.html\">US Core Immunization Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Immunization resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Immunization/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Immunization?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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=\"SearchParameter-us-core-immunization-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Immunization?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-immunization-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Immunization?status=[status]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-immunization-date.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Immunization?date=[date]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>patient+date\n						</td><td>reference+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Immunization?patient=[patient]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Immunization?patient=[patient]&amp;status=[status]</code></td></tr></tbody></table><hr/><h4 id=\"location\" class=\"no_toc\">Location</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-location.html\">US Core Location Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Location resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Location/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-location-name.html\">name</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Location?name=[name]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-location-address.html\">address</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Location?address=[address]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"SearchParameter-us-core-location-address-city.html\">address-city</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Location?address-city=[address-city]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"SearchParameter-us-core-location-address-state.html\">address-state</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Location?address-state=[address-state]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"SearchParameter-us-core-location-address-postalcode.html\">address-postalcode</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Location?address-postalcode=[address-postalcode]</code></td></tr></tbody></table><hr/><h4 id=\"medication\" class=\"no_toc\">Medication</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-medication.html\">US Core Medication Profile</a>\n				\n				</p><p>Resource Specific Documentation:</p><blockquote><p>The  MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resourcse is used in a MedicationRequest, then the READ  <strong>SHALL</strong>  be supported.</p></blockquote><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Medication resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Medication/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"medicationrequest\" class=\"no_toc\">MedicationRequest</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n				\n				</p><p>Resource Specific Documentation:</p><blockquote><p>The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be <a href=\"http://hl7.org/fhir/R4/references.html#contained\">contained</a> or an external resource. The server application <strong>MAY</strong> choose any one way or more than one method, but if an external reference to Medication is used, the server <strong>SHALL</strong> support the _include` parameter for searching this element. The client application must support all methods.</p><p>For example, A server <strong>SHALL</strong> be capable of returning all medications for a patient using one of or both:</p><p><code>GET /MedicationRequest?patient=[id]</code></p><p><code>GET /MedicationRequest?patient=[id]&amp;_include=MedicationRequest:medication</code></p></blockquote><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a MedicationRequest resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/MedicationRequest/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHOULD</strong> be capable of supporting the following _includes:\n					<br/>\n					\n						MedicationRequest:medication - <code class=\"highlighter-rouge\">GET [base]/MedicationRequest?[parameter=value]&amp;_include=MedicationRequest:medication</code><br/>\n					\n				</li><br/>  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/MedicationRequest?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-medicationrequest-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?status=[status]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-medicationrequest-intent.html\">intent</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?intent=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-medicationrequest-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-medicationrequest-encounter.html\">encounter</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?encounter=[encounter]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-medicationrequest-authoredon.html\">authoredon</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?authoredon=[authoredon]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td>patient+intent\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?patient=[patient]&amp;intent=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+intent+encounter\n						</td><td>reference+token+reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?patient=[patient]&amp;intent=[system]|[code]&amp;encounter=[encounter]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+intent+authoredon\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?patient=[patient]&amp;intent=[system]|[code]&amp;authoredon=[authoredon]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+intent+status\n						</td><td>reference+token+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/MedicationRequest?patient=[patient]&amp;intent=[system]|[code]&amp;status=[status]</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=\"StructureDefinition-us-core-smokingstatus.html\">US Core Smoking Status Observation Profile</a>, \n				\n											<a href=\"StructureDefinition-pediatric-weight-for-height.html\">US Core Pediatric Weight  for Height Observation Profile</a>, \n				\n											<a href=\"StructureDefinition-us-core-observation-lab.html\">US Core Laboratory Result Observation Profile</a>, \n				\n											<a href=\"StructureDefinition-pediatric-bmi-for-age.html\">US Core Pediatric BMI for Age Observation Profile</a>, \n				\n											<a href=\"StructureDefinition-us-core-pulse-oximetry.html\">US Core Pulse Oximetry Profile</a>, \n				\n											<a href=\"StructureDefinition-head-occipital-frontal-circumference-percentile.html\">US Core Pediatric Head Occipital-frontal Circumference Percentile Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Observation?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-observation-status.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=\"SearchParameter-us-core-observation-category.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>MAY</strong></td><td><a href=\"SearchParameter-us-core-observation-code.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=\"SearchParameter-us-core-observation-date.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=\"SearchParameter-us-core-observation-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td>patient+category+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]&amp;category=[system]|[code]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+category+status\n						</td><td>reference+token+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]&amp;category=[system]|[code]&amp;status=[status]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+code+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]&amp;code=[system]|[code]&amp;date=[date]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+code\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]&amp;code=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td>patient+category\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Observation?patient=[patient]&amp;category=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"organization\" class=\"no_toc\">Organization</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-organization.html\">US Core Organization Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-organization-name.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>SHALL</strong></td><td><a href=\"SearchParameter-us-core-organization-address.html\">address</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Organization?address=[address]</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=\"StructureDefinition-us-core-patient.html\">US Core Patient Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Patient?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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=\"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>MAY</strong></td><td><a href=\"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=\"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>MAY</strong></td><td><a href=\"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=\"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=\"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>SHALL</strong></td><td><a href=\"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></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHOULD</strong></td><td>birthdate+family\n						</td><td>date+string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?birthdate=[birthdate]&amp;family=[family]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>family+gender\n						</td><td>string+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?family=[family]&amp;gender=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td>birthdate+name\n						</td><td>date+string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?birthdate=[birthdate]&amp;name=[name]</code></td></tr><tr><td><strong>SHALL</strong></td><td>gender+name\n						</td><td>token+string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Patient?gender=[system]|[code]&amp;name=[name]</code></td></tr></tbody></table><hr/><h4 id=\"practitioner\" class=\"no_toc\">Practitioner</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-practitioner.html\">US Core Practitioner Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Practitioner resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Practitioner/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-practitioner-name.html\">name</a></td><td>\n							string\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Practitioner?name=[name]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-practitioner-identifier.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Practitioner?identifier=[system]|[code]</code></td></tr></tbody></table><hr/><h4 id=\"practitionerrole\" class=\"no_toc\">PractitionerRole</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-practitionerrole.html\">US Core PractitionerRole Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a PractitionerRole resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/PractitionerRole/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHOULD</strong> be capable of supporting the following _includes:\n					<br/>\n					\n						PractitionerRole:endpoint - <code class=\"highlighter-rouge\">GET [base]/PractitionerRole?[parameter=value]&amp;_include=PractitionerRole:endpoint</code><br/>\n					\n						PractitionerRole:practitioner - <code class=\"highlighter-rouge\">GET [base]/PractitionerRole?[parameter=value]&amp;_include=PractitionerRole:practitioner</code><br/>\n					\n				</li><br/>  <!-- 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=\"SearchParameter-us-core-practitionerrole-specialty.html\">specialty</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/PractitionerRole?specialty=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-practitionerrole-practitioner.html\">practitioner</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/PractitionerRole?practitioner=[practitioner]</code></td></tr></tbody></table><hr/><h4 id=\"procedure\" class=\"no_toc\">Procedure</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"StructureDefinition-us-core-procedure.html\">US Core Procedure Profile</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>search-type</code>, \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Procedure resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Procedure/[id]</code>\n				</li><br/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --><li>\n					A Server <strong>SHALL</strong> be capable of supporting the following _revincludes:\n					<br/>\n					\n						Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Procedure?[parameter=value]&amp;_revinclude=Provenance:target</code><br/>\n					\n				</li><br/></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>MAY</strong></td><td><a href=\"SearchParameter-us-core-procedure-status.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?status=[status]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"SearchParameter-us-core-procedure-patient.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-procedure-date.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?date=[date]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"SearchParameter-us-core-procedure-code.html\">code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?code=[system]|[code]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter Combination</th><th>Types</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td>patient+date\n						</td><td>reference+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?patient=[patient]&amp;date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+status\n						</td><td>reference+token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?patient=[patient]&amp;status=[status]</code></td></tr><tr><td><strong>SHOULD</strong></td><td>patient+code+date\n						</td><td>reference+token+date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Procedure?patient=[patient]&amp;code=[system]|[code]&amp;date=[date]</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=\"StructureDefinition-us-core-provenance.html\">US Core Provenance Profile</a>\n				\n				</p><p>Resource Specific Documentation:</p><blockquote><p>If a system receives a provider in <code>Provenance.agent.who</code> as free text they must capture who sent them the information as the organization. On request they <strong>SHALL</strong> provide this organization as the source and <strong>MAY</strong> include the free text provider.</p></blockquote><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>read</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li><li><strong>MAY</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>update</code>, \n																							<code>patch</code>, \n																							<code>delete</code>, \n																							<code>history-type</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/>  <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><hr/><h4 id=\"valueset\" class=\"no_toc\">ValueSet</h4><p>Conformance Expectation:	<strong>SHOULD</strong></p><p>Operation  Summary:</p><ul><li><strong>SHOULD</strong> support the \n																									<a href=\"http://hl7.org/fhir/OperationDefinition/ValueSet-expand\">$expand</a> operation\n																									<p><p>A  client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions.</p></p></li></ul><hr/><br/></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server"];
  fhir:CapabilityStatement.version [ fhir:value "3.1.1"];
  fhir:CapabilityStatement.name [ fhir:value "UsCoreServerCapabilityStatement"];
  fhir:CapabilityStatement.title [ fhir:value "US Core Server CapabilityStatement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2020-07-28"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 International - US Realm Steering Committee"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/usrealm/index.cfm" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf).  US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements."];
  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:Coding.display [ fhir:value "United States of America" ]     ]
  ];
  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://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1>
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The US Core Server **SHALL**:\n\n1. Support the US Core Patient resource profile.\n1. Support at least one additional resource profile from the list of US Core Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. 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.\n1. Support json source formats for all US Core interactions.\n\nThe US Core Server **SHOULD**:\n\n1. Support xml source formats for all US Core interactions.\n1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n1. Support xml resource formats for all Argonaut questionnaire interactions." ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.description [ fhir:value "1. See the [General Security Considerations](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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "clinical-status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "AllergyIntolerance" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "clinical-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ], [
           fhir:index 4;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CarePlan" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CareTeam" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status>         ];
         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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "onset-date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "clinical-status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Condition" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category>         ];
         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 "clinical-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "onset-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-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 "SHALL" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Device" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type>         ];
         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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DiagnosticReport" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab>       ];
       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:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "This conformance expectation applies **only**  to the *US Core DiagnosticReport Profile for Report and Note exchange* profile.  The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is  **MAY**." ]       ], [
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient>         ];
         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/us/core/SearchParameter/us-core-diagnosticreport-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "type" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "period" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DocumentReference" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set" ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         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.operation.name [ fhir:value "docref" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/us/core/OperationDefinition/docref";
           fhir:link <http://hl7.org/fhir/us/core/OperationDefinition/docref>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "A server **SHALL** be capable of responding to a $docref operation and  capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter.  **SHOULD** document what resources, if any, are returned as included resources\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" ]       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "class" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Encounter" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-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 "class" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class>         ];
         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/us/core/SearchParameter/us-core-encounter-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient>         ];
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status>         ];
         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 "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type>         ];
         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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "lifecycle-status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "target-date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Goal" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "lifecycle-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient>         ];
         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 "target-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date>         ];
         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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Immunization" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Location" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-location>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "address" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "address-city" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city>         ];
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-state" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state>         ];
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-postalcode" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Medication" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The  MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resourcse is used in a MedicationRequest, then the READ  **SHALL**  be supported." ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "intent" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "encounter" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "authoredon" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationRequest" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`" ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "MedicationRequest:medication";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status>         ];
         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 "intent" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "encounter" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "authoredon" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Observation" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab";
         fhir:index 2;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age";
         fhir:index 3;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry";
         fhir:index 4;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile";
         fhir:index 5;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status>         ];
         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 "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category>         ];
         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 "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Organization" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "address" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ]     ], [
       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: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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "birthdate" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "family" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "family" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "gender" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "birthdate" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "name" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "gender" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "name" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Patient" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir: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 "birthdate" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "family" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         fhir: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 "gender" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir: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 "given" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         fhir: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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir: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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ]     ], [
       fhir: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.type [ fhir:value "Practitioner" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "PractitionerRole" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "PractitionerRole:endpoint";
         fhir:index 0       ], [
         fhir:value "PractitionerRole:practitioner";
         fhir:index 1       ];
       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 "specialty" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty>         ];
         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 "practitioner" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner>         ];
         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 "SHALL" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "code" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Procedure" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure>       ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-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 "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Provenance" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider." ];
       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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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.interaction.code [ fhir:value "delete" ]       ], [
         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.interaction.code [ fhir:value "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ]     ], [
       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 "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "ValueSet" ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "expand" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/OperationDefinition/ValueSet-expand";
           fhir:link <http://hl7.org/fhir/OperationDefinition/ValueSet-expand>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "A  client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." ]       ]     ];
     fhir:CapabilityStatement.rest.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 "MAY" ]       ];
       fhir:CapabilityStatement.rest.interaction.code [ fhir:value "transaction" ]     ], [
       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.interaction.code [ fhir:value "batch" ]     ], [
       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.interaction.code [ fhir:value "search-system" ]     ], [
       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.interaction.code [ fhir:value "history-system" ]     ]
  ].

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

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