International Patient Access
0.1.0 - STU 1 ballot

This page is part of the International Patient Access (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: International Patient Access Server CapabilityStatement - XML Representation

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="ipa-server"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2 id="title">International Patient Access Server CapabilityStatement</h2><ul><li>Official URL: <code>http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa-server</code></li><li>Official name: <code>InternationalPatientAccessAPI</code></li><li>Implementation Guide Version: 0.8.0</li><li>FHIR Version: 4.0.1</li><li>Supported Formats: <strong>SHALL</strong> support <code>json</code>, <strong>SHOULD</strong> support <code>xml</code></li><li>Supported Patch Formats: <strong>SHOULD</strong> support <code>application/json-patch+json</code></li><li>Published on: Tue Nov 23 00:00:00 CST 2021</li><li>Published by: HL7 International - Patient Care Workgroup</li></ul><div><p>This section describes the basic rules for the International Patient Access server actor that is responsible for providing responses to queries submitted by International Patient Access requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by International Patient Access servers are defined in this CapabilityStatement. International Patient Access clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.</p>
</div><h3 id="shouldIGs">SHOULD Support the Following Implementation Guides</h3><ul><li><a href="http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch">http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch</a></li></ul><h2 id="rest">FHIR RESTful Capabilities</h2><div class="panel panel-default"><div class="panel-heading"><h3 id="mode1" class="panel-title">Mode: <code>server</code></h3></div><div class="panel-body"><div><p>The IPA Server <strong>SHALL</strong>:</p>
<ol>
<li>Support the IPA Patient resource profile.</li>
<li>Support at least one additional resource profile from the list of IPA Profiles.</li>
<li>Implement the RESTful behavior according to the FHIR specification.</li>
<li>Return the following response classes:
<ul>
<li>(Status 400): invalid parameter</li>
<li>(Status 401/4xx): unauthorized request</li>
<li>(Status 403): insufficient scope</li>
<li>(Status 404): unknown resource</li>
<li>(Status 410): deleted resource.</li>
</ul>
</li>
<li>Support JSON source formats for all IPA interactions.</li>
<li>Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.</li>
</ol>
<p>The IPA Server <strong>SHOULD</strong>:</p>
<ol>
<li>Support XML source formats for all IPA interactions.</li>
<li>Identify the IPA profiles supported as part of the FHIR <code>meta.profile</code> attribute for each instance.</li>
</ol>
</div><div class="lead"><em>Security</em></div><blockquote><div><ol>
<li>See the <a href="security.html">General Security Considerations</a> section for requirements and recommendations.</li>
<li>A server <strong>SHALL</strong> reject any unauthorized requests by returning an <code>HTTP 401</code> unauthorized response code.</li>
</ol>
</div></blockquote><div class="lead"><em>Summary of System-wide Interactions</em></div><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></div></div><h3 id="resourcesCap1">Capabilities by Resource/Profile</h3><h4 id="resourcesSummary1">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class="bg-info">R</span></b>ead, <b><span class="bg-info">S</span></b>earch, <b><span class="bg-info">U</span></b>pdate, and <b><span class="bg-info">C</span></b>reate, are always shown, while <b><span class="bg-info">VR</span></b>ead, <b><span class="bg-info">P</span></b>atch, <b><span class="bg-info">D</span></b>elete, <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">I</span></b>nstance, or <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required or recommended search parameters (if any)</span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class="table-responsive"><table class="table table-condensed table-hover"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class="text-center"><b title="GET a resource (read interaction)">R</b></th><th class="text-center"><b title="GET all set of resources of the type (search interaction)">S</b></th><th class="text-center"><b title="PUT a new resource version (update interaction)">U</b></th><th class="text-center"><b title="POST a new resource (create interaction)">C</b></th><th><b title="Required and recommended search parameters">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href="#AllergyIntolerance1">AllergyIntolerance</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>patient, patient+clinical-status</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#Condition1">Condition</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>patient, patient+clinical-status, patient+category, patient+category+clinical-status, patient+code, patient+onset-date</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#DocumentReference1">DocumentReference</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>_id, patient, patient+category, patient+category+date, patient+type, patient+contenttype, patient+status, patient+type+date, patient+type+period</td><td/><td><code>Provenance:target</code></td><td><code>$docref</code></td></tr><tr><td><a href="#Immunization1">Immunization</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>patient, patient+date, patient+status</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#Medication1">Medication</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication</a></td><td>y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td/><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#MedicationRequest1">MedicationRequest</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>category, code, patient, patient+intent, patient+intent+authoredon, patient+intent+status</td><td><code>MedicationRequest:medication</code></td><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#MedicationStatement1">MedicationStatement</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>subject, subject+status</td><td><code>MedicationRequest:medication</code></td><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#Observation1">Observation</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation</a><br/><em>Additional supported profiles:</em><br/>  <a href="http://hl7.org/fhir/StructureDefinition/vitalsigns">http://hl7.org/fhir/StructureDefinition/vitalsigns</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>patient, patient+category, patient+code, patient+category+date, patient+category+status, patient+code+date</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#Patient1">Patient</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient</a></td><td>y</td><td class="text-center">y</td><td class="text-center"/><td class="text-center"/><td>_id, birthdate, family, gender, given, identifier, name, family+gender, birthdate+family, birthdate+name, gender+name</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#Practitioner1">Practitioner</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner</a></td><td>y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td/><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href="#PractitionerRole1">PractitionerRole</a></td><td><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole</a></td><td>y</td><td class="text-center"/><td class="text-center"/><td class="text-center"/><td/><td><code>PractitionerRole:endpoint</code>, <code>PractitionerRole:practitioner</code></td><td><code>Provenance:target</code></td><td/></tr></tbody></table></div><hr/><div class="panel panel-primary"><div class="panel-heading"><h4 id="AllergyIntolerance1" class="panel-title">AllergyIntolerance</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status">clinical-status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least a id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>clinical-status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>active | inactive | resolved</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Condition1" class="panel-title">Condition</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Condition-clinical-status">clinical-status</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Condition-category">category</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Condition-category">category</a>+<a href="http://hl7.org/fhir/SearchParameter/Condition-clinical-status">clinical-status</a></td><td><code>reference</code>+<code>token</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-code">code</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Condition-onset-date">onset-date</a></td><td><code>reference</code>+<code>date</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>code</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Code for the condition</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least a id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>clinical-status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The clinical status of the condition</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>category</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The category of the condition</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>onset-date</b> of type <code>date</code></div><div class="col-lg-9"><div><p>Date of onset for the condition</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="DocumentReference1" class="panel-title">DocumentReference</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/Resource-id">_id</a></td><td><code>token</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/DocumentReference-category">category</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/DocumentReference-category">category</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-date">date</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-type">type</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/DocumentReference-category">contenttype</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/DocumentReference-status">status</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-type">type</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-date">date</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-type">type</a>+<a href="http://hl7.org/fhir/SearchParameter/DocumentReference-period">period</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>date</b> of type <code>date</code></div><div class="col-lg-9"><div><p>When this document reference was created</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>period</b> of type <code>date</code></div><div class="col-lg-9"><div><p>Time of service that is being documented</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least an id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>category</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Categorization of document</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>type</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Kind of document (LOINC if possible)</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>contenttype</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Mime type of the content, may include charset</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>current | superseded | entered-in-error</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Immunization1" class="panel-title">Immunization</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-date">date</a></td><td><code>reference</code>+<code>date</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Immunization-status">status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>date</b> of type <code>date</code></div><div class="col-lg-9"><div><p>Vaccination  (non)-Administration Date</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least an id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Immunization event status</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Medication1" class="panel-title">Medication</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>The MedicationStatement and MedicationRequest resources can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria  <strong>SHALL</strong>  be supported.</p>
</div></blockquote></div></div><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="MedicationRequest1" class="panel-title">MedicationRequest</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/MedicationRequest-category">category</a></td><td><code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-code">code</a></td><td><code>token</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/MedicationRequest-intent">intent</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/MedicationRequest-intent">intent</a>+<a href="http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon">authoredon</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/MedicationRequest-intent">intent</a>+<a href="http://hl7.org/fhir/SearchParameter/medications-status">status</a></td><td><code>reference</code>+<code>token</code>+<code>token</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>code</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Return prescriptions of this medication code</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>authoredon</b> of type <code>date</code></div><div class="col-lg-9"><div><p>Returns prescriptions written on this date</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least an id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>category</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Returns prescriptions with different categories</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>intent</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Return prescriptions with this encounter identifier</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Status of the prescription</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="MedicationStatement1" class="panel-title">MedicationStatement</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>The MedicationStatement resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be <a href="http://hl7.org/fhir/R4/references.html#contained">contained</a> or an external resource. The server application <strong>MAY</strong> choose any one way or more than one method, but if an external reference to Medication is used, the server <strong>SHALL</strong> support the _include` parameter for searching this element. The client application must support all methods.</p>
<p>For example, A server <strong>SHALL</strong> be capable of returning all medications for a patient using one of or both:</p>
<p><code>GET /MedicationRequest?patient=[id]</code></p>
<p><code>GET /MedicationRequest?patient=[id]&amp;amp;_include=MedicationRequest:medication</code></p>
</div></blockquote></div></div><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/MedicationStatement-subject">subject</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/MedicationStatement-subject">subject</a>+<a href="http://hl7.org/fhir/SearchParameter/medications-status">status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>subject</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>Return statements that match the given status</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>Return statements that match the given status</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Observation1" class="panel-title">Observation</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Supported Profiles</span><p><a href="http://hl7.org/fhir/StructureDefinition/vitalsigns">http://hl7.org/fhir/StructureDefinition/vitalsigns</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a></td><td><code>reference</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Observation-category">category</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-code">code</a></td><td><code>reference</code>+<code>token</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Observation-category">category</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-date">date</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/Observation-category">category</a>+<a href="http://hl7.org/fhir/SearchParameter/Observation-status">status</a></td><td><code>reference</code>+<code>token</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/clinical-patient">patient</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-code">code</a>+<a href="http://hl7.org/fhir/SearchParameter/clinical-date">date</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>date</b> of type <code>date</code></div><div class="col-lg-9"><div><p>Obtained date/time. If the obtained element is a period, a date that falls in the period</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>code</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The code of the observation type</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>patient</b> of type <code>reference</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least an id value and <strong>MAY</strong> provide both the Type and id values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>category</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The classification of the type of observation</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>status</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The status of the observation</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Patient1" class="panel-title">Patient</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHALL</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><div class="row"><div class="col-lg-6"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/Resource-id">_id</a></td><td><code>token</code></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/SearchParameter/Patient-identifier">identifier</a></td><td><code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-birthdate">birthdate</a></td><td><code>date</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-family">family</a></td><td><code>string</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-gender">gender</a></td><td><code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-given">given</a></td><td><code>string</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/Patient-name">name</a></td><td><code>string</code></td></tr></tbody></table></div><div class="col-lg-6"><span class="lead">Combined Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameters</th><th>Types</th></tr></thead><tbody><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-family">family</a>+<a href="http://hl7.org/fhir/SearchParameter/individual-gender">gender</a></td><td><code>string</code>+<code>token</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-birthdate">birthdate</a>+<a href="http://hl7.org/fhir/SearchParameter/individual-family">family</a></td><td><code>date</code>+<code>string</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-birthdate">birthdate</a>+<a href="http://hl7.org/fhir/SearchParameter/Patient-name">name</a></td><td><code>date</code>+<code>string</code></td></tr><tr><td><b>SHOULD</b></td><td><a href="http://hl7.org/fhir/SearchParameter/individual-gender">gender</a>+<a href="http://hl7.org/fhir/SearchParameter/Patient-name">name</a></td><td><code>token</code>+<code>string</code></td></tr></tbody></table></div></div><div class="row"><div class="col-12"><span class="lead">Search Parameter Documentation</span></div></div><div class="row"><div class="col-lg-3"><b>identifier</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide both the system and code values.</p>
<p>The server <strong>SHALL NOT</strong> support only code values.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>birthdate</b> of type <code>date</code></div><div class="col-lg-9"><div><p>A client <strong>SHALL</strong> provide a value precise to the <em>day</em>.</p>
<p>A server <strong>SHALL</strong> support a value a value precise to the <em>day</em>.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>gender</b> of type <code>token</code></div><div class="col-lg-9"><div><p>The client <strong>SHALL</strong> provide at least a code value and <strong>MAY</strong> provide both the system and code values.</p>
<p>The server <strong>SHALL</strong> support both.</p>
</div></div></div><div class="row"><div class="col-lg-3"><b>family</b> of type <code>string</code></div><div class="col-lg-9"><div><p>A server <strong>SHALL</strong> support a value precise to the <em>day</em>.</p>
</div></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="Practitioner1" class="panel-title">Practitioner</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></div></div></div></div></div><div class="panel panel-primary"><div class="panel-heading"><h4 id="PractitionerRole1" class="panel-title">PractitionerRole</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-6">Conformance expectation: <b>SHOULD</b></div><div class="col-lg-6">Reference policy: <code>resolves</code></div></div><p/><div class="row"><div class="col-12"><span class="lead">Base System Profile</span><p><a href="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole</a></p></div></div><div class="row"><div class="col-12"><span class="lead">Interaction summary</span></div></div><div class="row"><div class="col-12"><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></div></div></div></div></div></div>
  </text>
  <url value="http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa-server"/>
  <version value="0.1.0"/>
  <name value="InternationalPatientAccessAPI"/>
  <title value="International Patient Access Server CapabilityStatement"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2021-11-23T00:00:00.000-06:00"/>
  <publisher value="HL7 International - Patient Care Workgroup"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="https://www.hl7.org/Special/committees/patientcare"/>
    </telecom>
  </contact>
  <description
               value="This section describes the basic rules for the International Patient Access server actor that is responsible for providing responses to queries submitted by International Patient Access requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by International Patient Access servers are defined in this CapabilityStatement. International Patient Access clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <copyright
             value="Used by permission of HL7 International, all rights reserved Creative Commons License"/>
  <kind value="requirements"/>
  <fhirVersion value="4.0.1"/>
  <format value="json">
    <extension
               url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
      <valueCode value="SHALL"/>
    </extension>
  </format>
  <format value="xml">
    <extension
               url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
      <valueCode value="SHOULD"/>
    </extension>
  </format>
  <patchFormat value="application/json-patch+json">
    <extension
               url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
      <valueCode value="SHOULD"/>
    </extension>
  </patchFormat>
  <implementationGuide
                       value="http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch">
    <extension
               url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
      <valueCode value="SHOULD"/>
    </extension>
  </implementationGuide>
  <rest>
    <mode value="server"/>
    <documentation
                   value="The IPA Server **SHALL**:

1. Support the IPA Patient resource profile.
1. Support at least one additional resource profile from the list of IPA Profiles.
1. Implement the RESTful behavior according to the FHIR specification.
1. Return the following response classes:
   - (Status 400): invalid parameter
   - (Status 401/4xx): unauthorized request
   - (Status 403): insufficient scope
   - (Status 404): unknown resource
   - (Status 410): deleted resource.
1. Support JSON source formats for all IPA interactions.
1. Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.

The IPA Server **SHOULD**:

1. Support XML source formats for all IPA interactions.
1. Identify the IPA profiles supported as part of the FHIR `meta.profile` attribute for each instance."/>
    <security>
      <description
                   value="1. See the [General Security Considerations](security.html) section for requirements and recommendations.
1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code."/>
    </security>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="clinical-status"/>
        </extension>
      </extension>
      <type value="AllergyIntolerance"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="clinical-status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status"/>
        <type value="token"/>
        <documentation value="active | inactive | resolved"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="clinical-status"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
        <extension url="required">
          <valueString value="clinical-status"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="code"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="onset-date"/>
        </extension>
      </extension>
      <type value="Condition"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Condition-category"/>
        <type value="token"/>
        <documentation value="The category of the condition"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="clinical-status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Condition-clinical-status"/>
        <type value="token"/>
        <documentation value="The clinical status of the condition"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-code"/>
        <type value="token"/>
        <documentation value="Code for the condition"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="onset-date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Condition-onset-date"/>
        <type value="date"/>
        <documentation value="Date of onset for the condition"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
        <extension url="required">
          <valueString value="date"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="type"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="contenttype"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="status"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="type"/>
        </extension>
        <extension url="required">
          <valueString value="date"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="type"/>
        </extension>
        <extension url="required">
          <valueString value="period"/>
        </extension>
      </extension>
      <type value="DocumentReference"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/DocumentReference-category"/>
        <type value="token"/>
        <documentation value="Categorization of document"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="contenttype"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/DocumentReference-category"/>
        <type value="token"/>
        <documentation value="Mime type of the content, may include charset"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation value="When this document reference was created"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="period"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/DocumentReference-period"/>
        <type value="date"/>
        <documentation value="Time of service that is being documented"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/DocumentReference-status"/>
        <type value="token"/>
        <documentation value="current | superseded | entered-in-error"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="type"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-type"/>
        <type value="token"/>
        <documentation value="Kind of document (LOINC if possible)"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
      <operation>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="docref"/>
        <definition
                    value="http://hl7.org/fhir/uv/ipa/OperationDefinition/docref"/>
        <documentation
                       value="A server **SHOULD** be capable of responding to a $docref operation and capable of returning at least a reference to a CDA document, if available. **MAY** provide references to other &#39;on-demand&#39; and &#39;stable&#39; documents (or &#39;delayed/deferred assembly&#39;) that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter.  **SHOULD** document what resources, if any, are returned as included resources

`GET [base]/DocumentReference/$docref?patient=[id]`"/>
      </operation>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="date"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="status"/>
        </extension>
      </extension>
      <type value="Immunization"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation value="Vaccination  (non)-Administration Date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Immunization-status"/>
        <type value="token"/>
        <documentation value="Immunization event status"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <type value="Medication"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication"/>
      <documentation
                     value="The MedicationStatement and MedicationRequest resources can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria  **SHALL**  be supported."/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="intent"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="intent"/>
        </extension>
        <extension url="required">
          <valueString value="authoredon"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="intent"/>
        </extension>
        <extension url="required">
          <valueString value="status"/>
        </extension>
      </extension>
      <type value="MedicationRequest"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchInclude value="MedicationRequest:medication"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/MedicationRequest-category"/>
        <type value="token"/>
        <documentation value="Returns prescriptions with different categories"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-code"/>
        <type value="token"/>
        <documentation value="Return prescriptions of this medication code"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="authoredon"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon"/>
        <type value="date"/>
        <documentation value="Returns prescriptions written on this date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="intent"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/MedicationRequest-intent"/>
        <type value="token"/>
        <documentation
                       value="Return prescriptions with this encounter identifier"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/medications-status"/>
        <type value="token"/>
        <documentation value="Status of the prescription"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="subject"/>
        </extension>
        <extension url="required">
          <valueString value="status"/>
        </extension>
      </extension>
      <type value="MedicationStatement"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement"/>
      <documentation
                     value="The MedicationStatement 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.

 For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:

 `GET /MedicationRequest?patient=[id]`

 `GET /MedicationRequest?patient=[id]&amp;_include=MedicationRequest:medication`"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchInclude value="MedicationRequest:medication"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/medications-status"/>
        <type value="token"/>
        <documentation value="Return statements that match the given status"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/MedicationStatement-subject"/>
        <type value="reference"/>
        <documentation value="Return statements that match the given status"/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="code"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
        <extension url="required">
          <valueString value="date"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="category"/>
        </extension>
        <extension url="required">
          <valueString value="status"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="patient"/>
        </extension>
        <extension url="required">
          <valueString value="code"/>
        </extension>
        <extension url="required">
          <valueString value="date"/>
        </extension>
      </extension>
      <type value="Observation"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation"/>
      <supportedProfile
                        value="http://hl7.org/fhir/StructureDefinition/vitalsigns">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </supportedProfile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-category"/>
        <type value="token"/>
        <documentation value="The classification of the type of observation"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-code"/>
        <type value="token"/>
        <documentation value="The code of the observation type"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation
                       value="Obtained date/time. If the obtained element is a period, a date that falls in the period"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-status"/>
        <type value="token"/>
        <documentation value="The status of the observation"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.

The server **SHALL** support both."/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="family"/>
        </extension>
        <extension url="required">
          <valueString value="gender"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="birthdate"/>
        </extension>
        <extension url="required">
          <valueString value="family"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="birthdate"/>
        </extension>
        <extension url="required">
          <valueString value="name"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <extension url="required">
          <valueString value="gender"/>
        </extension>
        <extension url="required">
          <valueString value="name"/>
        </extension>
      </extension>
      <type value="Patient"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="birthdate"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/individual-birthdate"/>
        <type value="date"/>
        <documentation
                       value="A client **SHALL** provide a value precise to the *day*.

A server **SHALL** support a value a value precise to the *day*."/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="family"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/individual-family"/>
        <type value="string"/>
        <documentation
                       value="A server **SHALL** support a value precise to the *day*."/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="gender"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/individual-gender"/>
        <type value="token"/>
        <documentation
                       value="The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.

The server **SHALL** support both."/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="given"/>
        <definition value="http://hl7.org/fhir/SearchParameter/individual-given"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="identifier"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Patient-identifier"/>
        <type value="token"/>
        <documentation
                       value="The client **SHALL** provide both the system and code values.

The server **SHALL NOT** support only code values."/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="name"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-name"/>
        <type value="string"/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <type value="Practitioner"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchRevInclude value="Provenance:target"/>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <type value="PractitionerRole"/>
      <profile
               value="http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <referencePolicy value="resolves"/>
      <searchInclude value="PractitionerRole:endpoint"/>
      <searchInclude value="PractitionerRole:practitioner"/>
      <searchRevInclude value="Provenance:target"/>
    </resource>
    <interaction>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <code value="transaction"/>
    </interaction>
    <interaction>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <code value="batch"/>
    </interaction>
    <interaction>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <code value="search-system"/>
    </interaction>
    <interaction>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <code value="history-system"/>
    </interaction>
  </rest>
</CapabilityStatement>