Te Whatu Ora Shared Care FHIR API
0.3.9 - release New Zealand flag

Te Whatu Ora Shared Care FHIR API - Local Development build (v0.3.9) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Care In The Community FHIR Server Capability Statement - XML Representation

Active as of 2023-10-19

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="CareInTheCommunityCapabilityStatement"/>
  <meta>
    <profile
             value="https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/hnz-capability-statement"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2 id="title">Care In The Community FHIR Server Capability Statement</h2><ul><li>Implementation Guide Version: 0.3.9 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/json</code></li><li>Supported Patch Formats: </li><li>Published on: 2023-10-19 </li><li>Published by: Te Whatu Ora </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><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 class="lead"><em>Security</em></div><div class="row"><div class="col-lg-6">Enable CORS: yes</div><div class="col-lg-6">Security services supported: <code>SMART-on-FHIR</code></div></div><div class="lead"><em>Summary of System-wide Interactions</em></div><ul><li>Supports the <code>transaction</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 past versions of resources (vread interaction)">V-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 class="text-center"><b title="DELETE a resource (delete interaction)">D</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="#Bundle1-1">Bundle</a></td><td><a href="http://hl7.org/fhir/R4/bundle.html">http://hl7.org/fhir/StructureDefinition/Bundle</a><br/><em>Additional supported profiles:</em><br/>  <a href="StructureDefinition-ManaakiNgaTahiAllergyIntolerance.html">ManaakiNgaTahiAllergyIntolerance</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, actor, status, date, clinical-status, _id, _lastUpdated</td><td><code>*</code></td><td/><td/></tr><tr><td><a href="#CarePlan1-2">CarePlan</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-ManaakiNgaTahiCarePlan.html">ManaakiNgaTahiCarePlan</a><br/>  <a href="StructureDefinition-nz-sharedcare-rheumaticfever-careplan.html">Rheumatic Fever CarePlan</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, status, subject, _profile, _id, category</td><td><code>*</code>, <code>CarePlan:encounter</code></td><td/><td/></tr><tr><td><a href="#CareTeam1-3">CareTeam</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-nz-sharedcare-rheumaticfever-careteam.html">Rheumatic Fever Care Team</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>identifier, category, _profile, _id</td><td/><td/><td/></tr><tr><td><a href="#Condition1-4">Condition</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-ManaakiNgaTahiCondition.html">ManaakiNgaTahiCondition</a><br/>  <a href="StructureDefinition-nz-sharedcare-rheumaticfever-condition.html">Rheumatic Fever Condition</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, subject, _profile, _id</td><td/><td/><td/></tr><tr><td><a href="#Consent1-5">Consent</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-nz-sharedcare-consent.html">ManaakiNgaTahiConsent</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, data, source-reference, status, _id</td><td><code>*</code>, <code>Consent:source-reference</code></td><td/><td/></tr><tr><td><a href="#Encounter1-6">Encounter</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-ManaakiNgaTahiEncounter.html">ManaakiNgaTahiEncounter</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, status, subject, _id</td><td><code>*</code>, <code>Encounter:diagnosis</code></td><td/><td/></tr><tr><td><a href="#MedicationRequest1-7">MedicationRequest</a></td><td>Supported Profiles<br/>  <a href="https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/NzMedicationRequest">MedicationRequest resource for use in NZ</a><br/>  <a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a><br/>  <a href="StructureDefinition-nz-sharedcare-rheumaticfever-medicationrequest.html">Rheumatic Fever Medication Request</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, status, medication</td><td><code>*</code></td><td/><td/></tr><tr><td><a href="#MedicationStatement1-8">MedicationStatement</a></td><td>Supported Profiles<br/>  <a href="https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/NzMedicationStatement">MedicationStatement resource for use in NZ</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, status, medication</td><td><code>*</code></td><td/><td/></tr><tr><td><a href="#Observation1-9">Observation</a></td><td><a href="http://hl7.org/fhir/R4/observation.html">http://hl7.org/fhir/StructureDefinition/Observation</a><br/><em>Additional supported profiles:</em><br/>  <a href="StructureDefinition-ManaakiNgaTahiObservation.html">ManaakiNgaTahiObservation</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>code, date, identifier, patient, based-on, encounter, category, derived-from, performer, status, subject, value-concept, value-date, value-quantity, value-string, _id, _lastUpdated</td><td><code>*</code>, <code>Observation:patient</code>, <code>Observation:encounter</code>, <code>Observation:based-on</code>, <code>Observation:derived-from</code>, <code>Observation:device</code>, <code>Observation:focus</code>, <code>Observation:has-member</code>, <code>Observation:part-of</code>, <code>Observation:performer</code>, <code>Observation:specimen</code>, <code>Observation:subject</code></td><td/><td/></tr><tr><td><a href="#Patient1-10">Patient</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-nz-sharedcare-rheumaticfever-patient.html">Rheumatic Fever Patient</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>identifier, _profile, _id</td><td/><td/><td/></tr><tr><td><a href="#PlanDefinition1-11">PlanDefinition</a></td><td>Supported Profiles<br/>  <a href="StructureDefinition-ManaakiNgaTahiPlanDefinition.html">ManaakiNgaTahiPlanDefinition</a></td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>identifier, name, status, title, url, _id</td><td/><td/><td/></tr><tr><td><a href="#Questionnaire1-12">Questionnaire</a></td><td> </td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>identifier, name, status, title, url, _id</td><td/><td/><td/></tr><tr><td><a href="#QuestionnaireResponse1-13">QuestionnaireResponse</a></td><td> </td><td>y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td class="text-center">y</td><td>patient, questionnaire, status, subject, _id</td><td><code>*</code>, <code>QuestionnaireResponse:based-on</code>, <code>QuestionnaireResponse:encounter</code></td><td/><td/></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Bundle1-1" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Bundle</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="http://hl7.org/fhir/R4/bundle.html">http://hl7.org/fhir/StructureDefinition/Bundle</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/></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiAllergyIntolerance.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiAllergyIntolerance</a></p></div><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</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/bundle.html#search">patient</a></td><td><code>reference</code></td><td><div><p>Who the sensitivity is for
<a href="http://hl7.org/fhir/R4/patient.html">Patient</a></p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/bundle.html#search">actor</a></td><td><code>reference</code></td><td><div><p>Any one of the individuals participating in the appointment (Practitioner, Device, Patient, HealthcareService, PractitionerRole, RelatedPerson, Location)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/bundle.html#search">status</a></td><td><code>token</code></td><td><div><p>proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/bundle.html#search">date</a></td><td><code>date</code></td><td><div><p>Appointment date/time</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/bundle.html#search">clinical-status</a></td><td><code>token</code></td><td><div><p>Must be one of</p>
<ul>
<li>active</li>
<li>inactive</li>
<li>resolved
<a href="http://hl7.org/fhir/R4/valueset-allergyintolerance-clinical.html">AllergyIntolerance Clinical Status ValueSet</a></li>
</ul>
</div></td></tr><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>Logical id of this artifact</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/resource.html#search">_lastUpdated</a></td><td><code>date</code></td><td><div><p>When the resource version last changed</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="CarePlan1-2" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>CarePlan</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/careplan.html">CarePlan</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiCarePlan.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiCarePlan</a><br/><a href="StructureDefinition-nz-sharedcare-rheumaticfever-careplan.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-careplan</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports two subtypes of FHIR CarePlan - refer to Profiles</p>
<ol>
<li>ManaakiNgaTahiCarePlan - for care in the community health applications</li>
<li>RheumaticFeverCarePlan - for rheumatic fever health applications</li>
</ol>
</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/careplan.html#search">patient</a></td><td><code>reference</code></td><td><div><p>Who the care plan is for</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/careplan.html#search">status</a></td><td><code>token</code></td><td><div><p>draft | active | on-hold | revoked | completed | entered-in-error | unknown</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/careplan.html#search">subject</a></td><td><code>reference</code></td><td><div><p>Who the care plan is for</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>reference</code></td><td><div><p>Filter <strong>RheumaticFeverCarePlan instances</strong> using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-careplan</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>Care plan search by category (SNOMED) code.  Rheumatic fever secondary prevention care plans have category=http://snomed.sct/info|320721000210102</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="CareTeam1-3" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>CareTeam</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/careteam.html">CareTeam</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-nz-sharedcare-rheumaticfever-careteam.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-careteam</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports one subtype of FHIR CareTeam - refer to Profiles</p>
<ol>
<li>RheumaticFeverCareTeam - simply requires use of particular Condition.category codes in rheumatic fever health applications</li>
</ol>
</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>identifier</td><td><code>token</code></td><td><div><p>The patient's official NHI identifier</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>Rheumatic fever care teams will be found by the category code (NZ SNOMED Edition) category=http://snomed.sct/info|320741000210108</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>reference</code></td><td><div><p>Filter <strong>RheumaticFeverCareTeam instances</strong> using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-careteam</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Condition1-4" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Condition</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/condition.html">Condition</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiCondition.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiCondition</a><br/><a href="StructureDefinition-nz-sharedcare-rheumaticfever-condition.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-condition</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports two subtypes of FHIR Condition - refer to Profiles</p>
<ol>
<li>ManaakiNgaTahiCondition - for care in the community health applications</li>
<li>RheumaticFeverCondition - for rheumatic fever health applications</li>
</ol>
</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>Who has the condition?</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/condition.html#search">subject</a></td><td><code>reference</code></td><td><div><p>Who has the condition?</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>reference</code></td><td><div><p>Filter <strong>RheumaticFeverCondition instances</strong> using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-condition</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Consent1-5" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Consent</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/consent.html">Consent</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-nz-sharedcare-consent.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-consent</a></p></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/consent.html#search">patient</a></td><td><code>reference</code></td><td><div><p>Who the consent applies to</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/consent.html#search">data</a></td><td><code>reference</code></td><td><div><p>The actual data reference</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/consent.html#search">source-reference</a></td><td><code>reference</code></td><td><div><p>Search by reference to a Consent, DocumentReference, Contract  or QuestionnaireResponse</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/consent.html#search">status</a></td><td><code>token</code></td><td><div><p>draft | proposed | active | rejected | inactive | entered-in-error</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Encounter1-6" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Encounter</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiEncounter.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiEncounter</a></p></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/encounter.html#search">patient</a></td><td><code>reference</code></td><td><div><p>The patient or group present at the encounter</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/encounter.html#search">status</a></td><td><code>token</code></td><td><div><p>planned | arrived | triaged | in-progress | onleave | finished | cancelled +</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/encounter.html#search">subject</a></td><td><code>reference</code></td><td><div><p>The patient or group present at the encounter</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="MedicationRequest1-7" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>MedicationRequest</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/NzMedicationRequest">http://hl7.org.nz/fhir/StructureDefinition/NzMedicationRequest</a><br/><a href="http://hl7.org/fhir/R4/medicationrequest.html">http://hl7.org/fhir/StructureDefinition/MedicationRequest</a><br/><a href="StructureDefinition-nz-sharedcare-rheumaticfever-medicationrequest.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-medicationrequest</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports two profiles in addition to the base FHIR MedicationRequest resource.</p>
<ol>
<li>NzMedicationRequest - from the NZ Base Implementation Guide 2.0</li>
<li>RheumaticFeverMedicationRequest - for rheumatic fever, captures the medication frequency which is the interval between appointments for benzathine injection.</li>
</ol>
</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 rheumatic fever patient for whom this medication is prescribed</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/medicationrequest.html#search">status</a></td><td><code>token</code></td><td><div><p>active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown +</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/medicationrequest.html#search">medication</a></td><td><code>reference</code></td><td><div><p>Return all MedicationRequests that relate to this type of medication</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="MedicationStatement1-8" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>MedicationStatement</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/medicationstatement.html">MedicationStatement</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/NzMedicationStatement">http://hl7.org.nz/fhir/StructureDefinition/NzMedicationStatement</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports the NZ Base IG profiles NzMedicationStatement in addition to the base MedicationStatement FHIR resource.</p>
</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 rheumatic fever patient to whom medication was administered</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/medicationstatement.html#search">status</a></td><td><code>token</code></td><td><div><p>active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken +</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/medicationstatement.html#search">medication</a></td><td><code>reference</code></td><td><div><p>Return all instances of administration of this medication</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Observation1-9" class="panel-title"><span style="float: right;">Resource Conformance: supported </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="http://hl7.org/fhir/R4/observation.html">http://hl7.org/fhir/StructureDefinition/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/></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiObservation.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiObservation</a></p></div><div class="col-lg-6"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</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/observation.html#search">code</a></td><td><code>token</code></td><td><div><p>Describes what was observed. Sometimes this is called the observation 'name'</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">date</a></td><td><code>date</code></td><td><div><p>Observation.effective
Obtained date/time. If the obtained element is a period, a date that falls in the period</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">identifier</a></td><td><code>token</code></td><td><div><p>A unique identifier assigned to this observation.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">patient</a></td><td><code>reference</code></td><td><div><p>Who the observation is for
<a href="http://hl7.org/fhir/R4/patient.html">Patient</a></p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">based-on</a></td><td><code>reference</code></td><td><div><p>Reference to the service request.</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">encounter</a></td><td><code>reference</code></td><td><div><p>The Encounter resource associated with the Observation.</p>
</div></td></tr><tr><td><b>SHALL</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>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">derived-from</a></td><td><code>reference</code></td><td><div><p>Related measurements the observation is made from</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">performer</a></td><td><code>reference</code></td><td><div><p>Who performed the observation</p>
</div></td></tr><tr><td><b>SHALL</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>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">subject</a></td><td><code>reference</code></td><td><div><p>The subject that the observation is about</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">value-concept</a></td><td><code>token</code></td><td><div><p>The value of the observation, if the value is a CodeableConcept</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">value-date</a></td><td><code>date</code></td><td><div><p>The value of the observation, if the value is a date or period of time</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">value-quantity</a></td><td><code>quantity</code></td><td><div><p>The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/observation.html#search">value-string</a></td><td><code>string</code></td><td><div><p>The value of the observation, if the value is a string, and also searches in CodeableConcept.text</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/resource.html#search">_lastUpdated</a></td><td><code>date</code></td><td><div><p>When the resource version last changed</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Patient1-10" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Patient</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/patient.html">Patient</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-nz-sharedcare-rheumaticfever-patient.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-patient</a></p></div></div><p/><div class="row"><div class="col-12"><span class="lead">Documentation</span><blockquote><div><p>This server supports one subsubtype of FHIR Patient (subtype of NzPatient) - refer to Profiles</p>
<ol>
<li>RheumaticFeverPatient - for rheumatic fever health applications</li>
</ol>
</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>identifier</td><td><code>token</code></td><td><div><p>The patient's official NHI identifier</p>
</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>reference</code></td><td><div><p>Filter <strong>RheumaticFeverPatient instances</strong> using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-patient</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="PlanDefinition1-11" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>PlanDefinition</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/plandefinition.html">PlanDefinition</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><a href="StructureDefinition-ManaakiNgaTahiPlanDefinition.html">https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiPlanDefinition</a></p></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/plandefinition.html#search">identifier</a></td><td><code>token</code></td><td><div><p>External identifier for the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/plandefinition.html#search">name</a></td><td><code>string</code></td><td><div><p>Computationally friendly name of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/plandefinition.html#search">status</a></td><td><code>token</code></td><td><div><p>The current status of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/plandefinition.html#search">title</a></td><td><code>string</code></td><td><div><p>The human-friendly name of the plan definition</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/plandefinition.html#search">url</a></td><td><code>uri</code></td><td><div><p>The uri that identifies the plan definition</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </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>$apply</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Questionnaire1-12" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>Questionnaire</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/questionnaire.html">Questionnaire</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><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/questionnaire.html#search">identifier</a></td><td><code>token</code></td><td><div><p>External identifier for the questionnaire</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaire.html#search">name</a></td><td><code>string</code></td><td><div><p>Computationally friendly name of the questionnaire</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaire.html#search">status</a></td><td><code>token</code></td><td><div><p>The current status of the questionnaire</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaire.html#search">title</a></td><td><code>string</code></td><td><div><p>The human-friendly name of the questionnaire</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaire.html#search">url</a></td><td><code>uri</code></td><td><div><p>The uri that identifies the questionnaire</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="QuestionnaireResponse1-13" class="panel-title"><span style="float: right;">Resource Conformance: supported </span>QuestionnaireResponse</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/questionnaireresponse.html">QuestionnaireResponse</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li>Supports <code>create</code>, <code>read</code>, <code>update</code>, <code>delete</code>, <code>vread</code>, <code>search-type</code>.</li></ul></div></div><p/><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/questionnaireresponse.html#search">patient</a></td><td><code>reference</code></td><td><div><p>The patient that is the subject of the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaireresponse.html#search">questionnaire</a></td><td><code>reference</code></td><td><div><p>The questionnaire the answers are provided for</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaireresponse.html#search">status</a></td><td><code>token</code></td><td><div><p>The status of the questionnaire response</p>
</div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/questionnaireresponse.html#search">subject</a></td><td><code>reference</code></td><td><div><p>The subject of the questionnaire response</p>
</div></td></tr><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><p>Logical id of this artifact</p>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div></div>
  </text>
  <extension
             url="https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/resource-metadata-extension">
    <extension url="licenseURL">
      <valueUri value="https://example.license.org"/>
    </extension>
    <extension url="externalDocs">
      <valueUri value="https://fhir-ig.digital.health.nz/shared-care"/>
    </extension>
    <extension url="licenseName">
      <valueString value="GPLv3"/>
    </extension>
    <extension url="globalHeaders">
      <extension
                 url="https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/custom-headers-extension">
        <extension url="key">
          <valueString value="Correlation-Id"/>
        </extension>
        <extension url="value">
          <valueUri
                    value="https://raw.githubusercontent.com/tewhatuora/schemas/main/fhir-definitions-oas/uuid-definition.json"/>
        </extension>
        <extension url="required">
          <valueBoolean value="false"/>
        </extension>
      </extension>
    </extension>
  </extension>
  <url
       value="https://fhir-ig-uat.digital.health.nz/shared-care/CapabilityStatement/CareInTheCommunityCapabilityStatement"/>
  <version value="0.3.9"/>
  <name value="CareInTheCommunityCapabilityStatement"/>
  <title value="Care In The Community FHIR Server Capability Statement"/>
  <status value="active"/>
  <date value="2023-10-19"/>
  <publisher value="Te Whatu Ora"/>
  <contact>
    <name value="Te Whatu Ora"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.tewhatuora.govt.nz/"/>
    </telecom>
  </contact>
  <contact>
    <name value="David Grainger"/>
    <telecom>
      <system value="email"/>
      <value value="david.grainger@middleware.co.nz"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="The Manaaki Nga Tahi - Care In The Community FHIR API"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NZ"/>
      <display value="New Zealand"/>
    </coding>
  </jurisdiction>
  <kind value="instance"/>
  <implementation>
    <description value="The Care In The Community Manaaki Nga Tahi FHIR API"/>
    <url value="https://fhir.ap1.digital.health.nz/R4"/>
  </implementation>
  <fhirVersion value="4.0.1"/>
  <format value="application/json"/>
  <rest>
    <mode value="server"/>
    <security>
      <extension
                 url="http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris">
        <extension url="token">
          <valueUri
                    value="https://ppd.auth.services.health.nz/realms/hnz-integration/protocol/openid-connect/token"/>
        </extension>
      </extension>
      <extension
                 url="http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities">
        <valueCode value="client-confidential-symmetric"/>
      </extension>
      <cors value="true"/>
      <service>
        <coding>
          <code value="SMART-on-FHIR"/>
        </coding>
      </service>
    </security>
    <resource>
      <type value="Bundle"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiAllergyIntolerance"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="Who the sensitivity is for 
 [Patient](http://hl7.org/fhir/R4/patient.html)"/>
      </searchParam>
      <searchParam>
        <name value="actor"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Appointment-actor"/>
        <type value="reference"/>
        <documentation
                       value="Any one of the individuals participating in the appointment (Practitioner, Device, Patient, HealthcareService, PractitionerRole, RelatedPerson, Location)"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Appointment-status"/>
        <type value="token"/>
        <documentation
                       value="proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation value="Appointment date/time"/>
      </searchParam>
      <searchParam>
        <name value="clinical-status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status"/>
        <type value="token"/>
        <documentation
                       value="Must be one of 
* active
 * inactive
 * resolved
[AllergyIntolerance Clinical Status ValueSet](http://hl7.org/fhir/R4/valueset-allergyintolerance-clinical.html)"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition-ManaakiNgaTahiAllergyIntolerance-definitions.html#AllergyIntolerance.id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
      <searchParam>
        <name value="_lastUpdated"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"/>
        <type value="date"/>
        <documentation value="When the resource version last changed"/>
      </searchParam>
    </resource>
    <resource>
      <type value="CarePlan"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiCarePlan"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-careplan"/>
      <documentation
                     value="
This server supports two subtypes of FHIR CarePlan - refer to Profiles
1. ManaakiNgaTahiCarePlan - for care in the community health applications
1. RheumaticFeverCarePlan - for rheumatic fever health applications
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchInclude value="CarePlan:encounter"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation value="Who the care plan is for"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/CarePlan-status"/>
        <type value="token"/>
        <documentation
                       value="draft | active | on-hold | revoked | completed | entered-in-error | unknown"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/CarePlan-subject"/>
        <type value="reference"/>
        <documentation value="Who the care plan is for"/>
      </searchParam>
      <searchParam>
        <name value="_profile"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Resource-profile"/>
        <type value="reference"/>
        <documentation
                       value="Filter **RheumaticFeverCarePlan instances** using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-careplan"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#CarePlan-category"/>
        <type value="token"/>
        <documentation
                       value="Care plan search by category (SNOMED) code.  Rheumatic fever secondary prevention care plans have category=http://snomed.sct/info|320721000210102"/>
      </searchParam>
    </resource>
    <resource>
      <type value="CareTeam"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-careteam"/>
      <documentation
                     value="
This server supports one subtype of FHIR CareTeam - refer to Profiles
1. RheumaticFeverCareTeam - simply requires use of particular Condition.category codes in rheumatic fever health applications
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Patient-identifier"/>
        <type value="token"/>
        <documentation value="The patient's official NHI identifier"/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#CareTeam-category"/>
        <type value="token"/>
        <documentation
                       value="Rheumatic fever care teams will be found by the category code (NZ SNOMED Edition) category=http://snomed.sct/info|320741000210108"/>
      </searchParam>
      <searchParam>
        <name value="_profile"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Resource-profile"/>
        <type value="reference"/>
        <documentation
                       value="Filter **RheumaticFeverCareTeam instances** using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-careteam"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Condition"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiCondition"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-condition"/>
      <documentation
                     value="
This server supports two subtypes of FHIR Condition - refer to Profiles
1. ManaakiNgaTahiCondition - for care in the community health applications
1. RheumaticFeverCondition - for rheumatic fever health applications
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation value="Who has the condition?"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Condition-subject"/>
        <type value="reference"/>
        <documentation value="Who has the condition?"/>
      </searchParam>
      <searchParam>
        <name value="_profile"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Resource-profile"/>
        <type value="reference"/>
        <documentation
                       value="Filter **RheumaticFeverCondition instances** using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-condition"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Consent"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-consent"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchInclude value="Consent:source-reference"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation value="Who the consent applies to"/>
      </searchParam>
      <searchParam>
        <name value="data"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Consent-data"/>
        <type value="reference"/>
        <documentation value="The actual data reference"/>
      </searchParam>
      <searchParam>
        <name value="source-reference"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Consent-source-reference"/>
        <type value="reference"/>
        <documentation
                       value="Search by reference to a Consent, DocumentReference, Contract  or QuestionnaireResponse"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Consent-status"/>
        <type value="token"/>
        <documentation
                       value="draft | proposed | active | rejected | inactive | entered-in-error"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Encounter"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiEncounter"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchInclude value="Encounter:diagnosis"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation value="The patient or group present at the encounter"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Encounter-status"/>
        <type value="token"/>
        <documentation
                       value="planned | arrived | triaged | in-progress | onleave | finished | cancelled +"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Encounter-subject"/>
        <type value="reference"/>
        <documentation value="The patient or group present at the encounter"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="MedicationRequest"/>
      <supportedProfile
                        value="http://hl7.org.nz/fhir/StructureDefinition/NzMedicationRequest"/>
      <supportedProfile
                        value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-medicationrequest"/>
      <documentation
                     value="
This server supports two profiles in addition to the base FHIR MedicationRequest resource.
1. NzMedicationRequest - from the NZ Base Implementation Guide 2.0
1. RheumaticFeverMedicationRequest - for rheumatic fever, captures the medication frequency which is the interval between appointments for benzathine injection.
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The rheumatic fever patient for whom this medication is prescribed"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Medication-status"/>
        <type value="token"/>
        <documentation
                       value="active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown +"/>
      </searchParam>
      <searchParam>
        <name value="medication"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/medications-medication"/>
        <type value="reference"/>
        <documentation
                       value="Return all MedicationRequests that relate to this type of medication"/>
      </searchParam>
    </resource>
    <resource>
      <type value="MedicationStatement"/>
      <supportedProfile
                        value="http://hl7.org.nz/fhir/StructureDefinition/NzMedicationStatement"/>
      <documentation
                     value="
This server supports the NZ Base IG profiles NzMedicationStatement in addition to the base MedicationStatement FHIR resource.
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="The rheumatic fever patient to whom medication was administered"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Medication-status"/>
        <type value="token"/>
        <documentation
                       value="active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken +"/>
      </searchParam>
      <searchParam>
        <name value="medication"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/medications-medication"/>
        <type value="reference"/>
        <documentation
                       value="Return all instances of administration of this medication"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Observation"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiObservation"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchInclude value="Observation:patient"/>
      <searchInclude value="Observation:encounter"/>
      <searchInclude value="Observation:based-on"/>
      <searchInclude value="Observation:derived-from"/>
      <searchInclude value="Observation:device"/>
      <searchInclude value="Observation:focus"/>
      <searchInclude value="Observation:has-member"/>
      <searchInclude value="Observation:part-of"/>
      <searchInclude value="Observation:performer"/>
      <searchInclude value="Observation:specimen"/>
      <searchInclude value="Observation:subject"/>
      <searchParam>
        <name value="code"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-code"/>
        <type value="token"/>
        <documentation
                       value="Describes what was observed. Sometimes this is called the observation 'name'"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation
                       value="Observation.effective 
 Obtained date/time. If the obtained element is a period, a date that falls in the period"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-identifier"/>
        <type value="token"/>
        <documentation
                       value="A unique identifier assigned to this observation."/>
      </searchParam>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation
                       value="Who the observation is for 
 [Patient](http://hl7.org/fhir/R4/patient.html)"/>
      </searchParam>
      <searchParam>
        <name value="based-on"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-based-on"/>
        <type value="reference"/>
        <documentation value="Reference to the service request."/>
      </searchParam>
      <searchParam>
        <name value="encounter"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-encounter"/>
        <type value="reference"/>
        <documentation
                       value="The Encounter resource associated with the Observation."/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-category"/>
        <type value="token"/>
        <documentation value="The classification of the type of observation"/>
      </searchParam>
      <searchParam>
        <name value="derived-from"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-derived-from"/>
        <type value="reference"/>
        <documentation
                       value="Related measurements the observation is made from"/>
      </searchParam>
      <searchParam>
        <name value="performer"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-performer"/>
        <type value="reference"/>
        <documentation value="Who performed the observation"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-status"/>
        <type value="token"/>
        <documentation value="The status of the observation"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-subject"/>
        <type value="reference"/>
        <documentation value="The subject that the observation is about"/>
      </searchParam>
      <searchParam>
        <name value="value-concept"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-value-concept"/>
        <type value="token"/>
        <documentation
                       value="The value of the observation, if the value is a CodeableConcept"/>
      </searchParam>
      <searchParam>
        <name value="value-date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-value-date"/>
        <type value="date"/>
        <documentation
                       value="The value of the observation, if the value is a date or period of time"/>
      </searchParam>
      <searchParam>
        <name value="value-quantity"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-value-quantity"/>
        <type value="quantity"/>
        <documentation
                       value="The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)"/>
      </searchParam>
      <searchParam>
        <name value="value-string"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Observation-value-string"/>
        <type value="string"/>
        <documentation
                       value="The value of the observation, if the value is a string, and also searches in CodeableConcept.text"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
      <searchParam>
        <name value="_lastUpdated"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"/>
        <type value="date"/>
        <documentation value="When the resource version last changed"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Patient"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-rheumaticfever-patient"/>
      <documentation
                     value="
This server supports one subsubtype of FHIR Patient (subtype of NzPatient) - refer to Profiles
1. RheumaticFeverPatient - for rheumatic fever health applications
"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Patient-identifier"/>
        <type value="token"/>
        <documentation value="The patient's official NHI identifier"/>
      </searchParam>
      <searchParam>
        <name value="_profile"/>
        <definition
                    value="https://hl7.org/fhir/searchparameter-registry.html#Resource-profile"/>
        <type value="reference"/>
        <documentation
                       value="Filter **RheumaticFeverPatient instances** using ?Resource-profile=https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/StructureDefinition/cinc-rheumaticfever-patient"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="PlanDefinition"/>
      <supportedProfile
                        value="https://fhir-ig-uat.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiPlanDefinition"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/PlanDefinition-identifier"/>
        <type value="token"/>
        <documentation value="External identifier for the plan definition"/>
      </searchParam>
      <searchParam>
        <name value="name"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/PlanDefinition-name"/>
        <type value="string"/>
        <documentation
                       value="Computationally friendly name of the plan definition"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/PlanDefinition-status"/>
        <type value="token"/>
        <documentation value="The current status of the plan definition"/>
      </searchParam>
      <searchParam>
        <name value="title"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/PlanDefinition-title"/>
        <type value="string"/>
        <documentation
                       value="The human-friendly name of the plan definition"/>
      </searchParam>
      <searchParam>
        <name value="url"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/PlanDefinition-url"/>
        <type value="uri"/>
        <documentation value="The uri that identifies the plan definition"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
      <operation>
        <name value="apply"/>
        <definition
                    value="https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/OperationDefinition/PlanDefinition-apply"/>
      </operation>
    </resource>
    <resource>
      <type value="Questionnaire"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-identifier"/>
        <type value="token"/>
        <documentation value="External identifier for the questionnaire"/>
      </searchParam>
      <searchParam>
        <name value="name"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-name"/>
        <type value="string"/>
        <documentation
                       value="Computationally friendly name of the questionnaire"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-status"/>
        <type value="token"/>
        <documentation value="The current status of the questionnaire"/>
      </searchParam>
      <searchParam>
        <name value="title"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-title"/>
        <type value="string"/>
        <documentation value="The human-friendly name of the questionnaire"/>
      </searchParam>
      <searchParam>
        <name value="url"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-url"/>
        <type value="uri"/>
        <documentation value="The uri that identifies the questionnaire"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <resource>
      <type value="QuestionnaireResponse"/>
      <interaction>
        <code value="create"/>
      </interaction>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="update"/>
      </interaction>
      <interaction>
        <code value="delete"/>
      </interaction>
      <interaction>
        <code value="vread"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <versioning value="versioned"/>
      <readHistory value="false"/>
      <updateCreate value="false"/>
      <conditionalCreate value="false"/>
      <conditionalRead value="not-supported"/>
      <conditionalUpdate value="false"/>
      <conditionalDelete value="not-supported"/>
      <searchInclude value="*"/>
      <searchInclude value="QuestionnaireResponse:based-on"/>
      <searchInclude value="QuestionnaireResponse:encounter"/>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient"/>
        <type value="reference"/>
        <documentation
                       value="The patient that is the subject of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="questionnaire"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire"/>
        <type value="reference"/>
        <documentation
                       value="The questionnaire the answers are provided for"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status"/>
        <type value="token"/>
        <documentation value="The status of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-subject"/>
        <type value="reference"/>
        <documentation value="The subject of the questionnaire response"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
        <documentation value="Logical id of this artifact"/>
      </searchParam>
    </resource>
    <interaction>
      <code value="transaction"/>
    </interaction>
  </rest>
</CapabilityStatement>