US Core Implementation Guide
3.2.0 - ballot

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

: US Core Client CapabilityStatement - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "us-core-client"];
  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 Client 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-11-20</li> <li>Published by: HL7 International - US Realm Steering Committee</li> </ul> <p>This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the <a href=\"CapabilityStatement-us-core-server.html\">Conformance Requirements for Server</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> <h3 id=\"behavior\">FHIR RESTful Capabilities</h3> <p>The US Core Client <strong>SHALL</strong>:</p> <ol> <li>Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.</li> </ol> <p id=\"security\"><strong>Security:</strong></p> <ol> <li>See the [General Security Considerations] section for requirements and recommendations.</li> </ol> <p><strong>Summary of System Wide Interactions</strong></p> <ul> <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> </ul> <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> clinical-status, patient patient+clinical-status </td> <td> </td> <td> Provenance:target </td> <td> </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> category, date, patient, status patient+category, patient+category+status, patient+category+date, patient+category+status+date </td> <td> </td> <td> Provenance:target </td> <td> </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> patient, status patient+status </td> <td> </td> <td> Provenance:target </td> <td> </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> category, clinical-status, patient, onset-date, code patient+category, patient+code, patient+clinical-status, patient+onset-date </td> <td> </td> <td> Provenance:target </td> <td> </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> patient, type patient+type </td> <td> </td> <td> Provenance:target </td> <td> </td> </tr> <tr> <td> <a href=\"#diagnosticreport\">DiagnosticReport</a> </td> <td> <a href=\"StructureDefinition-us-core-diagnosticreport-lab.html\">US Core DiagnosticReport Profile for Laboratory Results Reporting</a>, <a href=\"StructureDefinition-us-core-diagnosticreport-note.html\">US Core DiagnosticReport Profile for Report and Note exchange</a> </td> <td> status, patient, category, code, date patient+category, patient+status, patient+code+date, patient+code, patient+category+date </td> <td> </td> <td> Provenance:target </td> <td> </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> _id, status, patient, category, type, date, period patient+type, patient+type+period, patient+category, patient+status, patient+category+date </td> <td> </td> <td> Provenance:target </td> <td> docref </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> _id, class, date, identifier, patient, status, type date+patient, class+patient, patient+status, patient+type </td> <td> </td> <td> Provenance:target </td> <td> </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> lifecycle-status, patient, target-date patient+target-date, patient+lifecycle-status </td> <td> </td> <td> Provenance:target </td> <td> </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> patient, status, date patient+date, patient+status </td> <td> </td> <td> Provenance:target </td> <td> </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> name, address, address-city, address-state, address-postalcode </td> <td> </td> <td> </td> <td> </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> </td> <td> </td> <td> </td> <td> </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> status, intent, patient, encounter, authoredon patient+intent+encounter, patient+intent+authoredon, patient+intent+status, patient+intent </td> <td> MedicationRequest:medication </td> <td> Provenance:target </td> <td> </td> </tr> <tr> <td> <a href=\"#observation\">Observation</a> </td> <td> <a href=\"StructureDefinition-us-core-observation-lab.html\">US Core Laboratory Result Observation Profile</a>, <a href=\"StructureDefinition-us-core-vital-signs.html\">US Core Vital Signs Profile</a>, <a href=\"StructureDefinition-us-core-blood-pressure.html\">US Core Blood Pressure Profile</a>, <a href=\"StructureDefinition-us-core-bmi.html\">US Core BMI Profile</a>, <a href=\"StructureDefinition-us-core-head-circumference.html\">US Core Head Circumference Profile</a>, <a href=\"StructureDefinition-us-core-body-height.html\">US Core Body Height Profile</a>, <a href=\"StructureDefinition-us-core-body-weight.html\">US Core Body Weight Profile</a>, <a href=\"StructureDefinition-us-core-body-temperature.html\">US Core Body Temperature Profile</a>, <a href=\"StructureDefinition-us-core-heart-rate.html\">US Core Heart Rate Profile</a>, <a href=\"StructureDefinition-pediatric-bmi-for-age.html\">US Core Pediatric BMI for Age Observation Profile</a>, <a href=\"StructureDefinition-head-occipital-frontal-circumference-percentile.html\">US Core Pediatric Head Occipital-frontal Circumference Percentile Profile</a>, <a href=\"StructureDefinition-pediatric-weight-for-height.html\">US Core Pediatric Weight for Height Observation Profile</a>, <a href=\"StructureDefinition-us-core-pulse-oximetry.html\">US Core Pulse Oximetry Profile</a>, <a href=\"StructureDefinition-us-core-respiratory-rate.html\">US Core Respiratory Rate Profile</a>, <a href=\"StructureDefinition-us-core-smokingstatus.html\">US Core Smoking Status Observation Profile</a> </td> <td> status, category, code, date, patient patient+category, patient+category+status, patient+code+date, patient+code, patient+category+date </td> <td> </td> <td> Provenance:target </td> <td> </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> name, address </td> <td> </td> <td> </td> <td> </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> _id, birthdate, family, gender, given, identifier, name family+gender, birthdate+name, gender+name, birthdate+family </td> <td> </td> <td> Provenance:target </td> <td> </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> name, identifier </td> <td> </td> <td> </td> <td> </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> specialty, practitioner </td> <td> PractitionerRole:endpoint, PractitionerRole:practitioner </td> <td> </td> <td> </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> status, patient, date, code patient+status, patient+code+date, patient+date </td> <td> </td> <td> Provenance:target </td> <td> </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> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> <a href=\"#valueset\">ValueSet</a> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> expand </td> </tr> </tbody> </table> <h4 id=\"allergyintolerance\" class=\"no_toc\">AllergyIntolerance</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-allergyintolerance.html\">US Core AllergyIntolerance Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a AllergyIntolerance resource using: <code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/AllergyIntolerance?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-allergyintolerance-clinical-status.html\">clinical-status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-allergyintolerance-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"careplan\" class=\"no_toc\">CarePlan</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-careplan.html\">US Core CarePlan Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>Additional considerations for systems aligning with <a href=\"http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492\">HL7 Consolidated (C-CDA)</a> Care Plan requirements: <ul> <li>US Core Goal <strong>SHOULD</strong> be present in CarePlan.goal</li> <li>US Core Condition <strong>SHOULD</strong> be present in CarePlan.addresses</li> <li>Assement and Plan <strong>MAY</strong> be included as narrative text</li> </ul> </li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a CarePlan resource using: <code class=\"highlighter-rouge\">GET [base]/CarePlan/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/CarePlan?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careplan-category.html\">category</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careplan-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careplan-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careplan-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+status </td> <td>reference+token+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+status+date </td> <td>reference+token+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"careteam\" class=\"no_toc\">CareTeam</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-careteam.html\">US Core CareTeam Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a CareTeam resource using: <code class=\"highlighter-rouge\">GET [base]/CareTeam/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/CareTeam?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careteam-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-careteam-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"condition\" class=\"no_toc\">Condition</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-condition.html\">US Core Condition Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Condition resource using: <code class=\"highlighter-rouge\">GET [base]/Condition/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Condition?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-condition-category.html\">category</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-condition-clinical-status.html\">clinical-status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-condition-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-condition-onset-date.html\">onset-date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-condition-code.html\">code</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+clinical-status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+onset-date </td> <td>reference+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"device\" class=\"no_toc\">Device</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-implantable-device.html\">US Core Implantable Device Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li> <p>Implantable medical devices that have UDI information <strong>SHALL</strong> represent this information in either <code>carrierAIDC</code> or <code>carrierHRF</code>.</p> <ul> <li>UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants.</li> <li>Servers are not required to support both <code>carrierAIDC</code> and <code>carrierHR</code>.</li> </ul> </li> <li> <p>For Implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) <strong>SHALL</strong> be present.</p> </li> <li> <p>Servers <strong>SHOULD</strong> support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices.</p> </li> <li> <p>In the [Quick Start] section below, searching for all devices is described. Records of implanted devices <strong>MAY</strong> be queried against UDI data including:</p> <ul> <li>UDI HRF string (<code>udi-carrier</code>)</li> <li>UDI Device Identifier (<code>udi-di</code>)</li> <li>Manufacturer (<code>manufacturer</code>)</li> <li>Model number (<code>model</code>)</li> </ul> </li> <li> <p>Implementers <strong>MAY</strong> also adopt custom SearchParameters for searching by:</p> <ul> <li>lot numbers</li> <li>serial number</li> <li>expiration date</li> <li>manufacture date</li> <li>distinct identifier</li> </ul> </li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Device resource using: <code class=\"highlighter-rouge\">GET [base]/Device/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Device?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-device-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-device-type.html\">type</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"diagnosticreport\" class=\"no_toc\">DiagnosticReport</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-diagnosticreport-lab.html\">US Core DiagnosticReport Profile for Laboratory Results Reporting</a>, <a href=\"StructureDefinition-us-core-diagnosticreport-note.html\">US Core DiagnosticReport Profile for Report and Note exchange</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>create</code><sup>†</sup>, <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>update</code>, <code>patch</code>, <code>delete</code>, <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> </blockquote> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a DiagnosticReport resource using: <code class=\"highlighter-rouge\">GET [base]/DiagnosticReport/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/DiagnosticReport?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-diagnosticreport-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-diagnosticreport-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-diagnosticreport-category.html\">category</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-diagnosticreport-code.html\">code</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-diagnosticreport-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"documentreference\" class=\"no_toc\">DocumentReference</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-documentreference.html\">US Core DocumentReference Profile</a> </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>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>create</code>, <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Operation Summary:</p> <ul> <li><strong>SHOULD</strong> support the <a href=\"OperationDefinition-docref.html\">$docref</a> operation <p>A client <strong>SHOULD</strong> be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and <strong>MAY</strong> be able to receive other document types, if available. <strong>SHOULD</strong> be capable of receiving documents as included resources in response to the operation.</p> <p><code>GET [base]/DocumentReference/$docref?patient=[id]</code></p> </li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a DocumentReference resource using: <code class=\"highlighter-rouge\">GET [base]/DocumentReference/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/DocumentReference?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-id.html\">_id</a> </td> <td> token </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-category.html\">category</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-type.html\">type</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-documentreference-period.html\">period</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+type+period </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"encounter\" class=\"no_toc\">Encounter</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>The Encounter resource can represent a reason using either a code with <code>Encounter.reasonCode</code>, or a reference with <code>Encounter.reasonReference</code> to Condition or other resource. <ul> <li>Although both are marked as must support, the server systems are not required to support both a code and a reference, but they <strong>SHALL</strong> support <em>at least one</em> of these elements.</li> <li>The client application <strong>SHALL</strong> support both elements.</li> <li>if <code>Encounter.reasonReference</code> references an Observation, it <strong>SHOULD</strong> conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)</li> </ul> </li> <li>The intent of this profile is to support <em>where the encounter occurred</em>. The location address can be represented by either by the Location referenced by <code>Encounter.location.location</code> or indirectly through the Organization referenced by <code>Encounter.serviceProvider</code>. <ul> <li>Although both are marked as must support, the server systems are not required to support both <code>Encounter.location.location</code> and <code>Encounter.serviceProvider</code>, but they <strong>SHALL</strong> support <em>at least one</em> of these elements.</li> <li>The client application <strong>SHALL</strong> support both elements.</li> <li>if using <code>Encounter.locatison.location</code> it <strong>SHOULD</strong> conform to US Core Location. However, as a result of implementation feedback, it <strong>MAY</strong> reference the base FHIR Location resource. See this guidance on [Referencing US Core Profiles]</li> </ul> </li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Encounter resource using: <code class=\"highlighter-rouge\">GET [base]/Encounter/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Encounter?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-id.html\">_id</a> </td> <td> token </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-class.html\">class</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-identifier.html\">identifier</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-encounter-type.html\">type</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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>date+patient </td> <td>date+reference </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>class+patient </td> <td>token+reference </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+type </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"goal\" class=\"no_toc\">Goal</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-goal.html\">US Core Goal Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Goal resource using: <code class=\"highlighter-rouge\">GET [base]/Goal/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Goal?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-goal-lifecycle-status.html\">lifecycle-status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-goal-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-goal-target-date.html\">target-date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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+target-date </td> <td>reference+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+lifecycle-status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"immunization\" class=\"no_toc\">Immunization</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-immunization.html\">US Core Immunization Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>Based upon the ONC U.S. Core Data for Interoperability (USCDI) v1 requirements, CVX vaccine codes are required and the NDC vaccine codes <strong>SHOULD</strong> be supported as translations to them.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Immunization resource using: <code class=\"highlighter-rouge\">GET [base]/Immunization/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Immunization?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-immunization-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-immunization-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-immunization-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"location\" class=\"no_toc\">Location</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-location.html\">US Core Location Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they <strong>SHOULD</strong> be used as the default profile if referenced by another US Core profile.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Location resource using: <code class=\"highlighter-rouge\">GET [base]/Location/[id]</code> </li>   <!-- 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>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-location-name.html\">name</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-location-address.html\">address</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-location-address-city.html\">address-city</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-location-address-state.html\">address-state</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-location-address-postalcode.html\">address-postalcode</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr> </tbody> </table> <hr/> <h4 id=\"medication\" class=\"no_toc\">Medication</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-medication.html\">US Core Medication Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ <strong>SHALL</strong> be supported.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>search-type</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Medication resource using: <code class=\"highlighter-rouge\">GET [base]/Medication/[id]</code> </li>   <!-- 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>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>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.</li> </ul> <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> <ul> <li>The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in <code>MedicationRequest.reportedBoolean</code>, or a reference using <code>MedicationRequest.reportedReference</code> to Practitioner or other resource. <ul> <li>Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but <strong>SHALL</strong> choose to support at least one of these elements.</li> <li>The client application <strong>SHALL</strong> support both elements.</li> </ul> </li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a MedicationRequest resource using: <code class=\"highlighter-rouge\">GET [base]/MedicationRequest/[id]</code> </li>   <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet --> <li> A Client <strong>SHOULD</strong> be capable of supporting the following _includes: MedicationRequest:medication - <code class=\"highlighter-rouge\">GET [base]/MedicationRequest?[parameter=value]&amp;_include=MedicationRequest:medication</code> </li>   <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --> <li> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/MedicationRequest?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-medicationrequest-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-medicationrequest-intent.html\">intent</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-medicationrequest-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-medicationrequest-encounter.html\">encounter</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-medicationrequest-authoredon.html\">authoredon</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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+intent+encounter </td> <td>reference+token+reference </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+intent+authoredon </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+intent+status </td> <td>reference+token+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+intent </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"observation\" class=\"no_toc\">Observation</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-observation-lab.html\">US Core Laboratory Result Observation Profile</a>, <a href=\"StructureDefinition-us-core-vital-signs.html\">US Core Vital Signs Profile</a>, <a href=\"StructureDefinition-us-core-blood-pressure.html\">US Core Blood Pressure Profile</a>, <a href=\"StructureDefinition-us-core-bmi.html\">US Core BMI Profile</a>, <a href=\"StructureDefinition-us-core-head-circumference.html\">US Core Head Circumference Profile</a>, <a href=\"StructureDefinition-us-core-body-height.html\">US Core Body Height Profile</a>, <a href=\"StructureDefinition-us-core-body-weight.html\">US Core Body Weight Profile</a>, <a href=\"StructureDefinition-us-core-body-temperature.html\">US Core Body Temperature Profile</a>, <a href=\"StructureDefinition-us-core-heart-rate.html\">US Core Heart Rate Profile</a>, <a href=\"StructureDefinition-pediatric-bmi-for-age.html\">US Core Pediatric BMI for Age Observation Profile</a>, <a href=\"StructureDefinition-head-occipital-frontal-circumference-percentile.html\">US Core Pediatric Head Occipital-frontal Circumference Percentile Profile</a>, <a href=\"StructureDefinition-pediatric-weight-for-height.html\">US Core Pediatric Weight for Height Observation Profile</a>, <a href=\"StructureDefinition-us-core-pulse-oximetry.html\">US Core Pulse Oximetry Profile</a>, <a href=\"StructureDefinition-us-core-respiratory-rate.html\">US Core Respiratory Rate Profile</a>, <a href=\"StructureDefinition-us-core-smokingstatus.html\">US Core Smoking Status Observation Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>Systems <strong>SHOULD</strong> support <code>Observation.effectivePeriod</code> to accurately represent laboratory tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).</li> <li>An Observation without a value, <strong>SHALL</strong> include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Observation resource using: <code class=\"highlighter-rouge\">GET [base]/Observation/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Observation?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-observation-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-observation-category.html\">category</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-observation-code.html\">code</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-observation-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-observation-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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 </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+status </td> <td>reference+token+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+category+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"organization\" class=\"no_toc\">Organization</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-organization.html\">US Core Organization Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Organization resource using: <code class=\"highlighter-rouge\">GET [base]/Organization/[id]</code> </li>   <!-- 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>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-organization-name.html\">name</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-organization-address.html\">address</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr> </tbody> </table> <hr/> <h4 id=\"patient\" class=\"no_toc\">Patient</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-patient.html\">US Core Patient Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.</li> </ul> <ol> <li>contact detail (e.g. a telephone number or an email address)</li> <li>a communication language</li> <li>a race</li> <li>an ethnicity</li> <li>a birth sex*</li> <li>previous name <ul> <li>Previous name is represented by providing an end date in the <code>Patient.name.period</code> element for a previous name.</li> </ul> </li> <li>suffix <ul> <li>Suffix is represented using the <code>Patient.name.suffix</code> element.</li> </ul> </li> </ol> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Patient resource using: <code class=\"highlighter-rouge\">GET [base]/Patient/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Patient?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-id.html\">_id</a> </td> <td> token </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-birthdate.html\">birthdate</a> </td> <td> date </td> <td align=\"left\"> <p>The <em>day</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-family.html\">family</a> </td> <td> string </td> <td align=\"left\"> <p>The <em>day</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-gender.html\">gender</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-given.html\">given</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-identifier.html\">identifier</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-patient-name.html\">name</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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>family+gender </td> <td>string+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>birthdate+name </td> <td>date+string </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>gender+name </td> <td>token+string </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>birthdate+family </td> <td>date+string </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"practitioner\" class=\"no_toc\">Practitioner</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-practitioner.html\">US Core Practitioner Profile</a> </p> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Practitioner resource using: <code class=\"highlighter-rouge\">GET [base]/Practitioner/[id]</code> </li>   <!-- 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>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-practitioner-name.html\">name</a> </td> <td> string </td> <td align=\"left\"> -   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-practitioner-identifier.html\">identifier</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr> </tbody> </table> <hr/> <h4 id=\"practitionerrole\" class=\"no_toc\">PractitionerRole</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-practitionerrole.html\">US Core PractitionerRole Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they <strong>SHOULD</strong> be used as the default profile if referenced by another US Core profile.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a PractitionerRole resource using: <code class=\"highlighter-rouge\">GET [base]/PractitionerRole/[id]</code> </li>   <!-- Only SHOULDs for include for now the capability statement does not create the primitive extensios for this yet --> <li> A Client <strong>SHOULD</strong> be capable of supporting the following _includes: PractitionerRole:endpoint - <code class=\"highlighter-rouge\">GET [base]/PractitionerRole?[parameter=value]&amp;_include=PractitionerRole:endpoint</code> PractitionerRole:practitioner - <code class=\"highlighter-rouge\">GET [base]/PractitionerRole?[parameter=value]&amp;_include=PractitionerRole:practitioner</code> </li>   <!-- 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>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-practitionerrole-specialty.html\">specialty</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-practitionerrole-practitioner.html\">practitioner</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr> </tbody> </table> <hr/> <h4 id=\"procedure\" class=\"no_toc\">Procedure</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-procedure.html\">US Core Procedure Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>A procedure including an implantable device <strong>SHOULD</strong> use <code>Procedure.focalDevice</code> with a reference to the [US Core Implantable Device Profile].</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Procedure resource using: <code class=\"highlighter-rouge\">GET [base]/Procedure/[id]</code> </li>   <!-- 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> A Client <strong>SHOULD</strong> be capable of supporting the following _revincludes: Provenance:target - <code class=\"highlighter-rouge\">GET [base]/Procedure?[parameter=value]&amp;_revinclude=Provenance:target</code> </li> </ul> <p>Search Parameter Summary:</p> <table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter</th> <th>Type</th> <th>Documentation</th> </tr> </thead> <tbody><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-procedure-status.html\">status</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-procedure-patient.html\">patient</a> </td> <td> reference </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-procedure-date.html\">date</a> </td> <td> date </td> <td align=\"left\"> <p>TheThe <em>second + time offset</em>.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</code> --> </td> </tr><tr> <td> <strong>SHOULD</strong> </td> <td> <a href=\"SearchParameter-us-core-procedure-code.html\">code</a> </td> <td> token </td> <td align=\"left\"> <p>TheTheThe server <strong>SHALL</strong> support both.</p>   <!-- <code class=\"highlighter-rouge\">GET [base]/{{r.type}}?{{s.name}}{%- if s.name == '_id' %}=[id]\n																																						 {%- elif s.name == 'status' %}=[status]\n																																						 {%- elif s.type == 'composite' %}=[code]&amp;[value]\n																																						 {%- elif s.type == 'uri' %}=[uri]\n																																						 {%- elif s.type == 'string' %}=[{{s.name}}]\n																																						 {%- elif s.type == 'token' %}=[system]|[code]\n																																						 {%- elif s.name in ['us-core-includeprovenance'] %}\n																																						 {%- else %}=[{{s.name}}]\n																																						 {%- endif %}</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+status </td> <td>reference+token </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+code+date </td> <td>reference+token+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> <tr> <td><strong>SHOULD</strong> </td> <td>patient+date </td> <td>reference+date </td>   <!-- <td>\n							<code class=\"highlighter-rouge\">GET [base]/{{r.type}}?\n								{%- for combo in combos.extension if combo.url == 'required' or combo.url == 'optional'-%}\n								{%- set p = combo.valueString -%}{%- set t = sp_map[combo.valueString] -%}\n																																							{{p}}{%- if p == '_id' %}=[id]\n																																							{%- elif p == 'status' %}=[status]\n																																							{%- elif t == 'composite' %}=[code]&amp;[value]\n																																							{%- elif t == 'uri' %}=[uri]\n																																							{%- elif t == 'string' %}=[{{p}}]\n																																							{%- elif t== 'token' %}=[system]|[code]\n																																						 	{%- elif p in ['us-core-includeprovenance'] %}\n																																							{%- else %}=[{{p}}]\n																																							{%- endif %}\n\n								{%- if not loop.last %}&amp;{%- endif %}\n								{%- endfor -%}\n							</code>\n						 </td> --> </tr> </tbody> </table> <hr/> <h4 id=\"provenance\" class=\"no_toc\">Provenance</h4> <p>Conformance Expectation: <strong>SHOULD</strong></p> <p>Supported Profiles: <a href=\"StructureDefinition-us-core-provenance.html\">US Core Provenance Profile</a> </p> <p>Resource Specific Documentation:</p> <blockquote><ul> <li>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.</li> <li>Systems that need to know the activity has occurred <strong>SHOULD</strong> populate the activity.</li> </ul> </blockquote> <p>Profile Interaction Summary:</p> <ul> <li><strong>SHALL</strong> support <code>read</code>.</li><li><strong>SHOULD</strong> support <code>vread</code>, <code>history-instance</code>.</li><li><strong>MAY</strong> support <code>create</code>, <code>search-type</code>, <code>update</code>, <code>patch</code>, <code>delete</code>, <code>history-type</code>.</li> </ul> <p>Fetch and Search Criteria:</p> <ul> <li> A Client <strong>SHALL</strong> be capable of fetching a Provenance resource using: <code class=\"highlighter-rouge\">GET [base]/Provenance/[id]</code> </li>   <!-- 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 <a href=\"http://hl7.org/fhir/OperationDefinition/ValueSet-expand\">$expand</a> operation <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> </li> </ul> <hr/> </div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client"];
  fhir:CapabilityStatement.version [ fhir:value "3.2.0"];
  fhir:CapabilityStatement.name [ fhir:value "UsCoreClientCapabilityStatement"];
  fhir:CapabilityStatement.title [ fhir:value "US Core Client CapabilityStatement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2020-11-20"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 International - US Realm Steering Committee"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - US Realm Steering Committee" ];
     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 Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). 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:CapabilityStatement.copyright [ fhir:value "Used by permission of HL7 International, all rights reserved Creative Commons License"];
  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.2.1";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.2.1>
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "client" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The US Core Client **SHALL**:\n\n1. Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.\n" ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.description [ fhir:value "1. See the [General Security Considerations] section for requirements and recommendations." ]     ];
     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 "SHOULD" ]       ], [
         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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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: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 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 "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 "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: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.documentation [ fhir:value "* Additional considerations for systems aligning with [HL7 Consolidated (C-CDA)](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492) Care Plan requirements:\n    - US Core Goal **SHOULD** be present in CarePlan.goal\n    - US Core Condition **SHOULD** be present in CarePlan.addresses\n    - Assement and Plan **MAY** be included as narrative text" ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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: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 "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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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: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 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 "code" ]         ];
         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 "onset-date" ]         ];
         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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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: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.documentation [ fhir:value "*  Implantable medical devices that have UDI information **SHALL** represent this information in either `carrierAIDC` or `carrierHRF`.\n     - UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants.\n     - Servers are not required to support both `carrierAIDC` and `carrierHR`.\n* For Implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) **SHALL** be present.\n* Servers **SHOULD** support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices.  \n* In the [Quick Start] section below, searching for all devices is described. Records of implanted devices **MAY** be queried against UDI data including:\n\n    - UDI HRF string (`udi-carrier`)\n    - UDI Device Identifier (`udi-di`)\n    - Manufacturer (`manufacturer`)\n    - Model number (`model`)\n\n* Implementers **MAY** also adopt custom SearchParameters for searching by:\n\n    - lot numbers\n    - serial number\n    - expiration date\n    - manufacture date\n    - distinct identifier" ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       fhir:index 5;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ], [
         fhir: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: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 "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:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ], [
           fhir: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 "DiagnosticReport" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note>       ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ]     ], [
       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 "SHOULD" ]       ], [
         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: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 "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 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 "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 "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 "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 "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.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 "SHOULD" ]         ];
         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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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 "SHOULD" ]         ];
         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.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ];
       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 "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 client **SHOULD** be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and  **MAY** be able to receive other document types, if available.   **SHOULD**  be capable of receiving documents as included resources in response to the operation.\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 "SHOULD" ]       ], [
         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 "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: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 "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 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 "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 "type" ]         ];
         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.documentation [ fhir:value "* The Encounter resource can represent a reason using either a code with `Encounter.reasonCode`, or a reference with `Encounter.reasonReference` to  Condition or other resource.\n   * Although both are marked as must support, the server systems are not required to support both a code and a reference, but they **SHALL** support *at least one* of these elements.\n   * The client application **SHALL** support both elements.\n   * if `Encounter.reasonReference` references an Observation, it **SHOULD** conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)\n* The intent of this profile is to support *where the encounter occurred*.  The location address can be represented by either by the Location referenced by `Encounter.location.location` or indirectly through the Organization referenced by `Encounter.serviceProvider`.\n  * Although both are marked as must support, the server systems are not required to support both `Encounter.location.location` and `Encounter.serviceProvider`, but they **SHALL** support *at least one* of these elements.\n  * The client application **SHALL** support both elements.\n  * if using `Encounter.locatison.location` it **SHOULD** conform to US Core Location.  However, as a result of implementation feedback, it **MAY**  reference the base FHIR Location resource.  See this guidance on [Referencing US Core Profiles]" ];
       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.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 "SHOULD" ]         ];
         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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       fhir:index 8;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ], [
         fhir: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 "target-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 "lifecycle-status" ]         ];
         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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ]     ], [
       fhir:index 9;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ], [
         fhir: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.documentation [ fhir:value "* Based upon the ONC U.S. Core Data for Interoperability (USCDI) v1 requirements, CVX vaccine codes are required and the NDC vaccine codes **SHOULD** be supported as translations to them." ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ]     ], [
       fhir:index 10;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.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.documentation [ fhir:value "* The US Core Location  and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile." ];
       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.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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 "SHOULD" ]         ];
         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 "SHOULD" ]       ];
       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 Resource 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:index 12;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ], [
         fhir: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 "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 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 "authoredon" ]         ];
         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 "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 "intent" ]         ];
         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`\n\n* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in `MedicationRequest.reportedBoolean`, or a reference using `MedicationRequest.reportedReference` to Practitioner or other resource.\n   *   Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but **SHALL** choose to support at least one of these elements.\n   *  The client application **SHALL** support both elements." ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ]     ], [
       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 "SHOULD" ]       ], [
         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: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 "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:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ], [
           fhir: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 "Observation" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure";
         fhir:index 2;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi";
         fhir:index 3;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference";
         fhir:index 4;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height";
         fhir:index 5;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight";
         fhir:index 6;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature";
         fhir:index 7;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate";
         fhir:index 8;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age";
         fhir:index 9;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile";
         fhir:index 10;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height";
         fhir:index 11;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry";
         fhir:index 12;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate";
         fhir:index 13;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus";
         fhir:index 14;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent laboratory tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).\n* An Observation without a value, **SHALL** include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it." ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       fhir:index 14;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.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.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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 "SHOULD" ]         ];
         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 "SHOULD" ]       ], [
         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 "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 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 "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 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 "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: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 "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: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.documentation [ fhir:value "* For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.\n\n1. contact detail (e.g. a telephone number or an email address)\n1. a communication language\n1. a race\n1. an ethnicity\n1. a birth sex*\n1. previous name\n   - Previous name is represented by providing an end date in the `Patient.name.period` element for a previous name.\n1. suffix\n   - Suffix is represented using the `Patient.name.suffix` element.\n\n" ];
       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.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 "SHOULD" ]         ];
         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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The *day*." ]       ], [
         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 "family" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The *day*." ]       ], [
         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 "gender" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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 "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-patient-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "SHOULD" ]         ];
         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 "SHOULD" ]       ];
       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.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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 "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-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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       fhir:index 17;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.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.documentation [ fhir:value "* The US Core Location  and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile." ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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 "SHOULD" ]       ], [
         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 "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 "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 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 "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.documentation [ fhir:value "*  A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the [US Core Implantable Device Profile]." ];
       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.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 "SHOULD" ]         ];
         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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheThe *second + time offset*." ]       ], [
         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 "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:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "TheTheThe server **SHALL** support both." ]       ]     ], [
       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 "SHOULD" ]       ];
       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.\n* Systems that need to know the activity has occurred **SHOULD** populate the activity." ];
       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: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.