International Patient Access
1.1.0 - STU1

International Patient Access, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-ipa/ and changes regularly. See the Directory of published versions

## : International Patient Access Server CapabilityStatement - TTL Representation

Page standards status: Trial-use

Raw ttl | Download

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

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

     a fhir:CapabilityStatement ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ipa-server"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement ipa-server</b></p><a name=\"ipa-server\"> </a><a name=\"hcipa-server\"> </a><a name=\"ipa-server-en-US\"> </a><h2 id=\"title\">International Patient Access Server CapabilityStatement</h2><ul><li>Implementation Guide Version: 1.1.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: 2023-11-14 </li><li>Published by: HL7 International / Patient Care </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h3 id=\"shallIGs\">SHALL Support the Following Implementation Guides</h3><ul><li><a href=\"http://hl7.org/fhir/smart-app-launch/STU2/ImplementationGuide-hl7.fhir.uv.smart-app-launch.html\">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>\n<ol>\n<li>\n<p>Support the IPA Patient resource profile.</p>\n</li>\n<li>\n<p>Support at least one additional resource profile from the list of IPA Profiles.</p>\n</li>\n<li>\n<p>Implement the RESTful behavior according to the FHIR specification.</p>\n</li>\n<li>\n<p>Return the following response classes:</p>\n<ul>\n<li>\n<p>(Status 400): invalid parameter</p>\n</li>\n<li>\n<p>(Status 401/4xx): unauthorized request</p>\n</li>\n<li>\n<p>(Status 403): insufficient scope</p>\n</li>\n<li>\n<p>(Status 404): unknown resource</p>\n</li>\n</ul>\n</li>\n<li>\n<p>Support JSON source formats for all IPA interactions.</p>\n</li>\n<li>\n<p>Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.</p>\n</li>\n</ol>\n<p>The IPA Server <strong>SHOULD</strong>:</p>\n<ol>\n<li>Support XML source formats for all IPA interactions.</li>\n</ol>\n</div><div class=\"lead\"><em>Security</em></div><blockquote><div><ol>\n<li>See the <a href=\"security.html\">General Security Considerations</a> section for requirements and recommendations.</li>\n<li>A server <strong>SHALL</strong> reject any unauthorized requests by returning an HTTP <code>401 Unauthorized</code>, <code>403 Forbidden</code>, or <code>404 Not Found</code> response code.</li>\n</ol>\n</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, recommended, and some optional 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-1\">AllergyIntolerance</a></td><td><a href=\"StructureDefinition-ipa-allergyintolerance.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>clinical-status, patient, patient+clinical-status</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#Condition1-2\">Condition</a></td><td><a href=\"StructureDefinition-ipa-condition.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition</a><br/><em>Additional supported profiles:</em><br/>  <a href=\"StructureDefinition-ipa-problem-list-item.html\">IPA-problem-list-item</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>category, clinical-status, verification-status, code, onset-date, 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-3\">DocumentReference</a></td><td><a href=\"StructureDefinition-ipa-documentreference.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_id, category, contenttype, date, period, status, type, 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-4\">Immunization</a></td><td><a href=\"StructureDefinition-ipa-immunization.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>date, status, patient, patient+date, patient+status</td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#Medication1-5\">Medication</a></td><td><a href=\"StructureDefinition-ipa-medication.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#MedicationRequest1-6\">MedicationRequest</a></td><td><a href=\"StructureDefinition-ipa-medicationrequest.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>category, code, authoredon, intent, status, 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-7\">MedicationStatement</a></td><td><a href=\"StructureDefinition-ipa-medicationstatement.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>status, patient, patient+status</td><td><code>MedicationStatement:medication</code></td><td><code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#Observation1-8\">Observation</a></td><td><a href=\"StructureDefinition-ipa-observation.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation</a><br/><em>Additional supported profiles:</em><br/>  <a href=\"http://hl7.org/fhir/R4/vitalsigns.html\">Vital Signs Profile</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>category, code, date, status, 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-9\">Patient</a></td><td><a href=\"StructureDefinition-ipa-patient.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><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-10\">Practitioner</a></td><td><a href=\"StructureDefinition-ipa-practitioner.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td><code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#PractitionerRole1-11\">PractitionerRole</a></td><td><a href=\"StructureDefinition-ipa-practitionerrole.html\">http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></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-default\"><div class=\"panel-heading\"><h4 id=\"AllergyIntolerance1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>AllergyIntolerance</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-allergyintolerance.html\">IPA-AllergyIntolerance</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/allergyintolerance.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/allergyintolerance.html#search\">clinical-status</a></td><td><code>token</code></td><td><div><p>active | inactive | resolved</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/allergyintolerance.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/allergyintolerance.html#search\">clinical-status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Condition1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Condition</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-condition.html\">IPA-Condition</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-ipa-problem-list-item.html\">IPA-problem-list-item</a></p></div><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>Client applications should be prepared to encounter codes they do not recognize and handle the records\naccordingly. Servers SHOULD populate Condition.code.coding.display and/or Condition.code.text so that\nclients can always at least display the condition even if they do not know the codes that are used. Clients should be careful making use of the <code>code</code> search parameter given that the codes used\nvary so much.</p>\n<p>Safety Issues:</p>\n<ul>\n<li>Clients SHALL not treat all conditions as if they are part of the patient's current problem list\n<ul>\n<li>Note that some Condition resources may not have these status codes - this is usually due to poor record keeping reflected in legacy data</li>\n<li>Servers SHOULD avoid leaving these status codes missing</li>\n</ul>\n</li>\n<li>Clients SHALL pay attention to the <code>clinicalStatus</code> and <code>verificationStatus</code> and display and process them correctly</li>\n<li>Clients SHALL still work safely when the server does not support all the search parameters listed here.</li>\n</ul>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">category</a></td><td><code>token</code></td><td><div><p>The category of the condition</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">clinical-status</a></td><td><code>token</code></td><td><div><p>The clinical status of the condition</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">verification-status</a></td><td><code>token</code></td><td><div><p>The verification status of the condition</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">code</a></td><td><code>token</code></td><td><div><p>Code for the condition</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/condition.html#search\">onset-date</a></td><td><code>date</code></td><td><div><p>Date of onset for the condition</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/condition.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">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/R4/condition.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">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/R4/condition.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">category</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">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/R4/condition.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">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/R4/condition.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/condition.html#search\">onset-date</a></td><td><code>reference</code>+<code>date</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"DocumentReference1-3\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>DocumentReference</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-documentreference.html\">IPA-DocumentReference</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_id</a></td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">category</a></td><td><code>token</code></td><td><div><p>Categorization of document</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">contenttype</a></td><td><code>token</code></td><td><div><p>Mime type of the content, may include charset</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">date</a></td><td><code>date</code></td><td><div><p>When this document reference was created</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">period</a></td><td><code>date</code></td><td><div><p>Time of service that is being documented</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">status</a></td><td><code>token</code></td><td><div><p>current | superseded | entered-in-error</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">type</a></td><td><code>token</code></td><td><div><p>Kind of document (LOINC if possible)</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">category</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">type</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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/R4/documentreference.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">type</a>+<a href=\"http://hl7.org/fhir/R4/documentreference.html#search\">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\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-docref.html\">$docref</a></td><td><div><p>A server <strong>SHOULD</strong> be capable of responding to a $docref operation and capable of returning at least a reference to a CDA document, if available. <strong>MAY</strong> provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server <strong>SHALL</strong> provide references to last or current encounter.  <strong>SHOULD</strong> document what resources, if any, are returned as included resources</p>\n<p><code>GET [base]/DocumentReference/$docref?patient=[id]</code></p>\n</div></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Immunization1-4\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Immunization</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-immunization.html\">IPA-Immunization</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/immunization.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/immunization.html#search\">date</a></td><td><code>date</code></td><td><div><p>Vaccination  (non)-Administration Date</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/immunization.html#search\">status</a></td><td><code>token</code></td><td><div><p>Immunization event status</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/immunization.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/immunization.html#search\">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/R4/immunization.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/immunization.html#search\">status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Medication1-5\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Medication</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-medication.html\">IPA-Medication</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></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>\n</div></blockquote></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationRequest1-6\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>MedicationRequest</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-medicationrequest.html\">IPA-MedicationRequest</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>Clients SHALL query for both MedicationStatement and MedicationRequest when fetching patient Medication information.</p>\n<p>The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be <a href=\"http://hl7.org/fhir/R4/references.html#contained\">contained</a> or an external resource. The server application <strong>MAY</strong> choose any one way or more than one method, but if an external reference to Medication is used, the server <strong>SHALL</strong> support the <code>_include</code> parameter for searching this element. The client application <strong>SHALL</strong> support all methods. For example, A server <strong>SHALL</strong> be capable of returning all medications for a patient using one of or both:</p>\n<p><code>GET /MedicationStatement?patient=[id]</code></p>\n<p><code>GET /MedicationStatement?patient=[id]&amp;_include=MedicationStatement:medication</code></p>\n<p>When representing a prescribed medication, servers SHOULD use codings at the level of a clinical drug rather than ingredient or dose form (e.g. &quot;loratadine 10mg oral tablet&quot;, rather than a bare ingredient like &quot;loratadine&quot; or a dose form like &quot;loratadine oral tablet&quot;).</p>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">category</a></td><td><code>token</code></td><td><div><p>Returns prescriptions with different categories</p>\n</div></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">code</a></td><td><code>token</code></td><td><div><p>Return prescriptions of this medication code</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">authoredon</a></td><td><code>date</code></td><td><div><p>Returns prescriptions written on this date</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">intent</a></td><td><code>token</code></td><td><div><p>Return prescriptions with this encounter identifier</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">status</a></td><td><code>token</code></td><td><div><p>Status of the prescription</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/medicationrequest.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">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/R4/medicationrequest.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">intent</a>+<a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">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/R4/medicationrequest.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">intent</a>+<a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">status</a></td><td><code>reference</code>+<code>token</code>+<code>token</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationStatement1-7\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>MedicationStatement</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-medicationstatement.html\">IPA-MedicationStatement</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>Clients SHALL query for both MedicationStatement and MedicationRequest when fetching patient Medication information.</p>\n<p>The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be <a href=\"http://hl7.org/fhir/R4/references.html#contained\">contained</a> or an external resource. The server application <strong>MAY</strong> choose any one way or more than one method, but if an external reference to Medication is used, the server <strong>SHALL</strong> support the <code>_include</code> parameter for searching this element. The client application <strong>SHALL</strong> support all methods.</p>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationstatement.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationstatement.html#search\">status</a></td><td><code>token</code></td><td><div><p>Return statements that match the given status</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/medicationstatement.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/medicationstatement.html#search\">status</a></td><td><code>reference</code>+<code>token</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Observation1-8\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Observation</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-observation.html\">IPA-Observation</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"http://hl7.org/fhir/R4/vitalsigns.html\">Vital Signs Profile</a></p></div><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/observation.html#search\">category</a></td><td><code>token</code></td><td><div><p>The classification of the type of observation</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/observation.html#search\">code</a></td><td><code>token</code></td><td><div><p>The code of the observation type</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/observation.html#search\">date</a></td><td><code>date</code></td><td><div><p>Obtained date/time. If the obtained element is a period, a date that falls in the period</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/observation.html#search\">status</a></td><td><code>token</code></td><td><div><p>The status of the observation</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"http://hl7.org/fhir/R4/observation.html#search\">patient</a></td><td><code>reference</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/observation.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">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/R4/observation.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">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/R4/observation.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">category</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">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/R4/observation.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">category</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">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/R4/observation.html#search\">patient</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">code</a>+<a href=\"http://hl7.org/fhir/R4/observation.html#search\">date</a></td><td><code>reference</code>+<code>token</code>+<code>date</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Patient1-9\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHALL </span>Patient</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-patient.html\">IPA-Patient</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentation</span><blockquote><div><p>Servers SHALL support the capability for a client application to access the patient record using any of the following API calls:</p>\n<p><code>GET [url]/Patient/[id]</code></p>\n<p><code>GET [url]/Patient?_id=[id]</code></p>\n<p><code>GET [url]/Patient?identifier=[identifier]</code></p>\n<p>Servers are not required to support any additional search parameters, and clients SHOULD not expect servers to do so.</p>\n<p>Additional rules and guidance for supporting <code>Patient.link</code>:</p>\n<ul>\n<li>The server:\n<ul>\n<li>SHALL have no more than one Patient with a status of active = &quot;true&quot; <em>from the server being queried</em></li>\n<li>MAY include inactive patients on the <em>same server</em></li>\n<li>MAY include inactive or active patients from a <em>different server</em></li>\n<li>When returning a <a href=\"http://hl7.org/fhir/bundle.html\">search Bundle</a> that contains more than one Patient record for the same patient, the Patient record(s) SHALL use the <code>Patient.link</code> attribute to cross-link the Patient resources.</li>\n</ul>\n</li>\n<li>The client:\n<ul>\n<li>SHALL be able to follow the link(s) to the other Patient resource(s) and understand the direction of the link (in other words, which Patient is linked to which other Patient)</li>\n<li>SHALL understand the <code>Patient.link.type</code> code which defines the type of link between this Patient resource and another Patient resource</li>\n<li>SHALL be aware of the linked Patient <code>active</code> flag and that inactive patients may have relevant information</li>\n</ul>\n</li>\n</ul>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_id</a></td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">identifier</a></td><td><code>token</code></td><td><div><p>The client <strong>SHALL</strong> provide both the system and code values.</p>\n<p>The server <strong>SHALL NOT</strong> support only code values.</p>\n</div></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">birthdate</a></td><td><code>date</code></td><td><div><p>A client <strong>SHALL</strong> provide a value precise to the <em>day</em>.</p>\n<p>A server <strong>SHALL</strong> support a value a value precise to the <em>day</em>.</p>\n</div></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">family</a></td><td><code>string</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">gender</a></td><td><code>token</code></td><td><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>\n<p>The server <strong>SHALL</strong> support both.</p>\n</div></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">given</a></td><td><code>string</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td><a href=\"http://hl7.org/fhir/R4/patient.html#search\">name</a></td><td><code>string</code></td><td><div/></td></tr></tbody></table></div><div class=\"col-lg-5\"><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/R4/patient.html#search\">family</a>+<a href=\"http://hl7.org/fhir/R4/patient.html#search\">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/R4/patient.html#search\">birthdate</a>+<a href=\"http://hl7.org/fhir/R4/patient.html#search\">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/R4/patient.html#search\">birthdate</a>+<a href=\"http://hl7.org/fhir/R4/patient.html#search\">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/R4/patient.html#search\">gender</a>+<a href=\"http://hl7.org/fhir/R4/patient.html#search\">name</a></td><td><code>token</code>+<code>string</code></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Practitioner1-10\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Practitioner</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-practitioner.html\">IPA-Practitioner</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"PractitionerRole1-11\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>PractitionerRole</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ipa-practitionerrole.html\">IPA-PractitionerRole</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>resolves</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>read</code>.</li></ul></div></div><p/></div></div></div></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "pc"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "trial-use"     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa-server"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.1.0"] ; #
      fhir:name [ fhir:v "InternationalPatientAccessAPI"] ; #
      fhir:title [ fhir:v "International Patient Access Server CapabilityStatement"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:date [ fhir:v "2023-11-14"^^xsd:date] ; #
      fhir:publisher [ fhir:v "HL7 International / Patient Care"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 International / Patient Care" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "patientcare@lists.HL7.org" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This CapabilityStatement 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."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "001" ] ;
    fhir:display [ fhir:v "World" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Used by permission of HL7 International, all rights reserved Creative Commons License"] ; #
      fhir:kind [ fhir:v "requirements"] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:format ( [
    fhir:v "json" ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"       ]     ] )
      ] [
    fhir:v "xml" ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"       ]     ] )
      ] ) ; #
      fhir:patchFormat ( [
    fhir:v "application/json-patch+json" ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"       ]     ] )
      ] ) ; #
      fhir:implementationGuide ( [
    fhir:v "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch> ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"       ]     ] )
      ] ) ; #
      fhir:rest ( [
    fhir:mode [ fhir:v "server" ] ;
    fhir:documentation [ fhir:v "The IPA Server **SHALL**:\n1. Support the IPA Patient resource profile.\n1. Support at least one additional resource profile from the list of IPA Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. Return the following response classes:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n   - (Status 400): invalid parameter\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n   - (Status 401/4xx): unauthorized request\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n   - (Status 403): insufficient scope\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n   - (Status 404): unknown resource\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n1. Support JSON source formats for all IPA interactions.\n1. Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.\n\n\n\n\n\n\n\n\nThe IPA Server **SHOULD**:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n1. Support XML source formats for all IPA interactions." ] ;
    fhir:security [
    fhir:description [ fhir:v "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an HTTP `401 Unauthorized`, `403 Forbidden`, or `404 Not Found` response code." ]     ] ;
        ( fhir:resource [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "clinical-status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "AllergyIntolerance" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance>       ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "clinical-status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "active | inactive | resolved" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "clinical-status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "clinical-status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "code"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "onset-date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "Condition" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-condition>       ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-problem-list-item"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-problem-list-item> ;
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] )       ] ) ;
    fhir:documentation [ fhir:v "Client applications should be prepared to encounter codes they do not recognize and handle the records \naccordingly. Servers SHOULD populate Condition.code.coding.display and/or Condition.code.text so that \nclients can always at least display the condition even if they do not know the codes that are used. Clients should be careful making use of the ```code``` search parameter given that the codes used\nvary so much.\n\nSafety Issues:\n\n* Clients SHALL not treat all conditions as if they are part of the patient's current problem list\n    * Note that some Condition resources may not have these status codes - this is usually due to poor record keeping reflected in legacy data\n    * Servers SHOULD avoid leaving these status codes missing\n* Clients SHALL pay attention to the ```clinicalStatus``` and ```verificationStatus``` and display and process them correctly\n* Clients SHALL still work safely when the server does not support all the search parameters listed here." ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "category" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Condition-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Condition-category>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The category of the condition" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "clinical-status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Condition-clinical-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Condition-clinical-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The clinical status of the condition" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "verification-status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Condition-verification-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Condition-verification-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The verification status of the condition" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "code" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Code for the condition" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "onset-date" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Condition-onset-date"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Condition-onset-date>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "Date of onset for the condition" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "type"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "contenttype"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "type"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "type"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "period"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "DocumentReference" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-documentreference>       ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "_id" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
    fhir:type [ fhir:v "token" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "category" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-category>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Categorization of document" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "contenttype" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-category>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Mime type of the content, may include charset" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "date" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "When this document reference was created" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "period" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-period"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-period>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "Time of service that is being documented" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "current | superseded | entered-in-error" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "type" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-type"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-type>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Kind of document (LOINC if possible)" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] ) ;
          ( fhir:operation [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "docref" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/uv/ipa/OperationDefinition/docref"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/OperationDefinition/docref>         ] ;
    fhir:documentation [ fhir:v "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 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter.  **SHOULD** document what resources, if any, are returned as included resources\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "Immunization" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-immunization>       ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "date" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "Vaccination  (non)-Administration Date" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Immunization-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Immunization-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Immunization event status" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] ) ;
    fhir:type [ fhir:v "Medication" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication>       ] ;
    fhir:documentation [ fhir:v "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." ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "intent"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "intent"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "authoredon"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "intent"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "MedicationRequest" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest>       ] ;
    fhir:documentation [ fhir:v "Clients SHALL query for both MedicationStatement and MedicationRequest when fetching patient Medication information.\n\nThe MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the `_include` parameter for searching this element. The client application **SHALL** support all methods. For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationStatement?patient=[id]`\n\n `GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication`\n\nWhen representing a prescribed medication, servers SHOULD use codings at the level of a clinical drug rather than ingredient or dose form (e.g. \"loratadine 10mg oral tablet\", rather than a bare ingredient like \"loratadine\" or a dose form like \"loratadine oral tablet\")." ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchInclude [ fhir:v "MedicationRequest:medication" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "category" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/MedicationRequest-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-category>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Returns prescriptions with different categories" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "code" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Return prescriptions of this medication code" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "authoredon" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "Returns prescriptions written on this date" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "intent" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/MedicationRequest-intent"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-intent>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Return prescriptions with this encounter identifier" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/medications-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Status of the prescription" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "MedicationStatement" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement>       ] ;
    fhir:documentation [ fhir:v "Clients SHALL query for both MedicationStatement and MedicationRequest when fetching patient Medication information.\n\nThe MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the `_include` parameter for searching this element. The client application **SHALL** support all methods." ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchInclude [ fhir:v "MedicationStatement:medication" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/medications-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Return statements that match the given status" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "code"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "category"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "status"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "patient"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "code"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "date"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "Observation" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation>       ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/vitalsigns"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/vitalsigns> ;
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] )       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "category" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Observation-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Observation-category>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The classification of the type of observation" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "code" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The code of the observation type" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "date" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "Obtained date/time. If the obtained element is a period, a date that falls in the period" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "status" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Observation-status"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Observation-status>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The status of the observation" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least an id value and **MAY** provide both the Type and id values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "family"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "gender"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "birthdate"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "family"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "birthdate"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "name"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "gender"           ]         ] [
    fhir:url [ fhir:v "required"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "name"           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"^^xsd:anyURI ]       ] ) ;
    fhir:type [ fhir:v "Patient" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient>       ] ;
    fhir:documentation [ fhir:v "Servers SHALL support the capability for a client application to access the patient record using any of the following API calls:\n\n```GET [url]/Patient/[id]```\n\n```GET [url]/Patient?_id=[id]```\n\n```GET [url]/Patient?identifier=[identifier]```\n\nServers are not required to support any additional search parameters, and clients SHOULD not expect servers to do so.\n\nAdditional rules and guidance for supporting `Patient.link`: \n- The server:\n    - SHALL have no more than one Patient with a status of active = \"true\" *from the server being queried* \n    - MAY include inactive patients on the *same server*\n    - MAY include inactive or active patients from a *different server*\n    - When returning a [search Bundle](http://hl7.org/fhir/bundle.html) that contains more than one Patient record for the same patient, the Patient record(s) SHALL use the `Patient.link` attribute to cross-link the Patient resources.\n- The client:\n    - SHALL be able to follow the link(s) to the other Patient resource(s) and understand the direction of the link (in other words, which Patient is linked to which other Patient)\n    - SHALL understand the `Patient.link.type` code which defines the type of link between this Patient resource and another Patient resource\n    - SHALL be aware of the linked Patient `active` flag and that inactive patients may have relevant information" ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "search-type" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "_id" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
    fhir:type [ fhir:v "token" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "birthdate" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/individual-birthdate"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/individual-birthdate>         ] ;
    fhir:type [ fhir:v "date" ] ;
    fhir:documentation [ fhir:v "A client **SHALL** provide a value precise to the *day*.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nA server **SHALL** support a value a value precise to the *day*." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "family" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/individual-family"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/individual-family>         ] ;
    fhir:type [ fhir:v "string" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "gender" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/individual-gender"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/individual-gender>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL** support both." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "given" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/individual-given"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/individual-given>         ] ;
    fhir:type [ fhir:v "string" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "identifier" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Patient-identifier"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Patient-identifier>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "The client **SHALL** provide both the system and code values.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe server **SHALL NOT** support only code values." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:name [ fhir:v "name" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/Patient-name"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/Patient-name>         ] ;
    fhir:type [ fhir:v "string" ]       ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] ) ;
    fhir:type [ fhir:v "Practitioner" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner>       ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] )     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"         ]       ] ) ;
    fhir:type [ fhir:v "PractitionerRole" ] ;
    fhir:profile [
    fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole>       ] ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ]       ] ) ;
    fhir:updateCreate [ fhir:v false ] ;
    fhir:conditionalCreate [ fhir:v false ] ;
    fhir:conditionalUpdate [ fhir:v false ] ;
    fhir:conditionalDelete [ fhir:v "not-supported" ] ;
          ( fhir:referencePolicy [ fhir:v "resolves" ] ) ;
          ( fhir:searchInclude [ fhir:v "PractitionerRole:endpoint" ] [ fhir:v "PractitionerRole:practitioner" ] ) ;
          ( fhir:searchRevInclude [ fhir:v "Provenance:target" ] )     ] ) ;
        ( fhir:interaction [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"         ]       ] ) ;
    fhir:code [ fhir:v "transaction" ]     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"         ]       ] ) ;
    fhir:code [ fhir:v "batch" ]     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"         ]       ] ) ;
    fhir:code [ fhir:v "search-system" ]     ] [
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"         ]       ] ) ;
    fhir:code [ fhir:v "history-system" ]     ] )
      ] ) . #