機器手訓練實作指引 (RoboHand Training Implementation Guide)
0.1.0 - ci-build

機器手訓練實作指引 (RoboHand Training Implementation Guide), published by Kimsber. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Kimsber/Rehab-IG/ and changes regularly. See the Directory of published versions

## : My FHIR Server Capability Statement - XML Representation

Active as of 2025-10-24

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="MyFHIRServerCapabilityStatement"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement MyFHIRServerCapabilityStatement</b></p><a name="MyFHIRServerCapabilityStatement"> </a><a name="hcMyFHIRServerCapabilityStatement"> </a><h2 id="title">My FHIR Server Capability Statement</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>xml</code>, <code>json</code></li><li>Supported Patch Formats: <code>application/json-patch+json</code></li><li>Published on: 2025-10-24 </li><li>Published by: Kimsber </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><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="#Patient1-1">Patient</a></td><td><a href="http://hl7.org/fhir/R4/patient.html">http://hl7.org/fhir/StructureDefinition/Patient</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, birthdate, gender, identifier, name</td><td/><td/><td><code>$everything</code></td></tr><tr><td><a href="#Bundle1-2">Bundle</a></td><td><a href="http://hl7.org/fhir/R4/bundle.html">http://hl7.org/fhir/StructureDefinition/Bundle</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier</td><td/><td/><td/></tr><tr><td><a href="#CarePlan1-3">CarePlan</a></td><td><a href="http://hl7.org/fhir/R4/careplan.html">http://hl7.org/fhir/StructureDefinition/CarePlan</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>patient, category, date, status</td><td/><td/><td/></tr><tr><td><a href="#Condition1-4">Condition</a></td><td><a href="http://hl7.org/fhir/R4/condition.html">http://hl7.org/fhir/StructureDefinition/Condition</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, clinical-status, code, subject, onset-date, abatement-date, severity</td><td/><td/><td/></tr><tr><td><a href="#Encounter1-5">Encounter</a></td><td><a href="http://hl7.org/fhir/R4/encounter.html">http://hl7.org/fhir/StructureDefinition/Encounter</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, class, date, identifier, location, subject, status</td><td/><td/><td/></tr><tr><td><a href="#Goal1-6">Goal</a></td><td><a href="http://hl7.org/fhir/R4/goal.html">http://hl7.org/fhir/StructureDefinition/Goal</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>patient, lifecycle-status, target-date, description</td><td/><td/><td/></tr><tr><td><a href="#MedicationAdministration1-7">MedicationAdministration</a></td><td><a href="http://hl7.org/fhir/R4/medicationadministration.html">http://hl7.org/fhir/StructureDefinition/MedicationAdministration</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>code, identifier, medication, patient, status, context, device, effective-time, performer, reason-given, reason-not-given, request, subject</td><td/><td/><td/></tr><tr><td><a href="#Observation1-8">Observation</a></td><td><a href="http://hl7.org/fhir/R4/observation.html">http://hl7.org/fhir/StructureDefinition/Observation</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, category, code, date, performer, status, subject, patient, _lastUpdated</td><td/><td/><td/></tr><tr><td><a href="#Organization1-9">Organization</a></td><td><a href="http://hl7.org/fhir/R4/organization.html">http://hl7.org/fhir/StructureDefinition/Organization</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier, name, type</td><td/><td/><td/></tr><tr><td><a href="#Practitioner1-10">Practitioner</a></td><td><a href="http://hl7.org/fhir/R4/practitioner.html">http://hl7.org/fhir/StructureDefinition/Practitioner</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier, name</td><td/><td/><td/></tr><tr><td><a href="#PractitionerRole1-11">PractitionerRole</a></td><td><a href="http://hl7.org/fhir/R4/practitionerrole.html">http://hl7.org/fhir/StructureDefinition/PractitionerRole</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier, specialty</td><td/><td/><td/></tr><tr><td><a href="#Procedure1-12">Procedure</a></td><td><a href="http://hl7.org/fhir/R4/procedure.html">http://hl7.org/fhir/StructureDefinition/Procedure</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, code, status, subject, date</td><td/><td/><td/></tr><tr><td><a href="#QuestionnaireResponse1-13">QuestionnaireResponse</a></td><td><a href="http://hl7.org/fhir/R4/questionnaireresponse.html">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td>_id, patient, status, authored, questionnaire, subject</td><td/><td/><td><code>$extract</code></td></tr><tr><td><a href="#Questionnaire1-14">Questionnaire</a></td><td><a href="http://hl7.org/fhir/R4/questionnaire.html">http://hl7.org/fhir/StructureDefinition/Questionnaire</a></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td>identifier, title</td><td/><td/><td><code>$populate</code>, <code>$render</code></td></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Patient1-1" 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="http://hl7.org/fhir/R4/patient.html">Patient</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>birthdate</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>gender</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>name</td><td><code>string</code></td><td><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>SHOULD</b></td><td>$everything</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Bundle1-2" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </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">Bundle</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><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-3" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>CarePlan</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/careplan.html">CarePlan</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>patient</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>category</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><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: SHALL </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="http://hl7.org/fhir/R4/condition.html">Condition</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>clinical-status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>code</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>onset-date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>abatement-date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>severity</td><td><code>token</code></td><td><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-5" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Encounter</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/encounter.html">Encounter</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>class</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>location</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><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="Goal1-6" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Goal</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/goal.html">Goal</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>patient</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>lifecycle-status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>target-date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>description</td><td><code>token</code></td><td><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="MedicationAdministration1-7" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>MedicationAdministration</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/medicationadministration.html">MedicationAdministration</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>code</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>medication</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>patient</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>context</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>device</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>effective-time</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>performer</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>reason-given</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>reason-not-given</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>request</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><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-8" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </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">Observation</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>category</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>code</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>date</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>performer</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>patient</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>_lastUpdated</td><td><code>date</code></td><td><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="Organization1-9" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Organization</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/organization.html">Organization</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>name</td><td><code>string</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>type</td><td><code>token</code></td><td><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="Practitioner1-10" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </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="http://hl7.org/fhir/R4/practitioner.html">Practitioner</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>name</td><td><code>string</code></td><td><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="PractitionerRole1-11" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </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="http://hl7.org/fhir/R4/practitionerrole.html">PractitionerRole</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>specialty</td><td><code>token</code></td><td><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="Procedure1-12" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Procedure</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/procedure.html">Procedure</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>code</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>date</td><td><code>date</code></td><td><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: SHALL </span>QuestionnaireResponse</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/questionnaireresponse.html">QuestionnaireResponse</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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>, <code>create</code>.</li><li><strong>SHOULD</strong> support <code>update</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>SHOULD</b></td><td>_id</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>patient</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>status</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>authored</td><td><code>date</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>questionnaire</td><td><code>reference</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>subject</td><td><code>reference</code></td><td><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><a href="http://hl7.org/fhir/uv/sdc/STU3/OperationDefinition-QuestionnaireResponse-extract.html">$extract</a></td><td><div><p>伺服器必須實現 $extract 操作以：</p>
    <ol>
    <li>接收已填寫的 QuestionnaireResponse</li>
    <li>解析 Questionnaire 中的 extraction extension</li>
    <li>根據提取定義轉換為結構化 FHIR 資源</li>
    <li>返回 Bundle 或單一資源</li>
    </ol>
    <p>技術要求：
    • 支援 ObservationExtract（最常見）
    • 支援 DefinitionExtract（複雜資源）
    • 支援 TemplateExtract（預設樣板）
    • StructureMapExtract（高級轉換）</p>
    <p>提取優先級：</p>
    <ol>
    <li>簡單 Observation 提取（計分、測量）</li>
    <li>複雜資源提取（診斷/藥物）</li>
    <li>自動計算欄位（如 BMI）</li>
    <li>交易 Bundle 生成</li>
    </ol>
    <p>回傳格式：
    {
    &quot;resourceType&quot;: &quot;Bundle&quot;,
    &quot;type&quot;: &quot;transaction&quot;,
    &quot;entry&quot;: [
    {
    &quot;resource&quot;: {
    &quot;resourceType&quot;: &quot;Observation&quot;,
    &quot;code&quot;: { &quot;coding&quot;: [{ &quot;code&quot;: &quot;PHQ9&quot;, &quot;system&quot;: &quot;http://loinc.org&quot; }] },
    &quot;value&quot;: { &quot;integer&quot;: 12 },
    &quot;derivedFrom&quot;: [{ &quot;reference&quot;: &quot;QuestionnaireResponse/qr123&quot; }]
    }
    }
    ]
    }</p>
    <p>這是 SDC 工作流的最終步驟，用於自動導入結構化資料</p>
    </div></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Questionnaire1-14" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Questionnaire</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/questionnaire.html">Questionnaire</a></div><div class="col-lg-3"><span class="lead">Profile Conformance</span><br/><b>SHOULD</b></div><div class="col-lg-3"><span class="lead">Reference Policy</span><br/></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><li><strong>SHOULD</strong> support <code>create</code>, <code>update</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>SHOULD</b></td><td>identifier</td><td><code>token</code></td><td><div/></td></tr><tr><td><b>SHOULD</b></td><td>title</td><td><code>string</code></td><td><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><a href="http://hl7.org/fhir/uv/sdc/STU3/OperationDefinition-Questionnaire-populate.html">$populate</a></td><td><div><p>伺服器必須實現 $populate 操作以：</p>
    <ol>
    <li>接收 Client 的預填請求</li>
    <li>根據 questionnaire.item.definition 查詢患者資料</li>
    <li>根據 FHIRPath expression 預填答案</li>
    <li>返回已預填的 QuestionnaireResponse</li>
    </ol>
    <p>技術要求：
    • FHIRPath 引擎支援
    • 資料查詢引擎（能查詢 Patient/Observation 等資源）
    • Extension 解析（processingPriority/itemWeight/calculatedExpression）</p>
    <p>實現優先級：</p>
    <ol>
    <li>基本預填（根據 definition 字段）</li>
    <li>FHIRPath 評估</li>
    <li>answerExpression 支援</li>
    <li>複雜表達式與條件</li>
    </ol>
    <p>回傳格式：
    {
    &quot;resourceType&quot;: &quot;QuestionnaireResponse&quot;,
    &quot;questionnaire&quot;: &quot;Questionnaire/q1&quot;,
    &quot;status&quot;: &quot;in-progress&quot;,
    &quot;item&quot;: [
    {
    &quot;linkId&quot;: &quot;patient-name&quot;,
    &quot;answer&quot;: [{ &quot;valueString&quot;: &quot;[自動填入的病人名稱]&quot; }]
    }
    ]
    }</p>
    </div></td></tr><tr><td><b>MAY</b></td><td>$render</td><td><div><p>伺服器可選支援 $render 操作以：
    • 將 Questionnaire 轉換為可用格式（HTML/PDF/JSON）
    • 應用主題樣式和客製化呈現
    • 支援多語言</p>
    <p>大多數 Client 會自行實現渲染，此操作非必要</p>
    </div></td></tr></tbody></table></div></div></div></div></div></div>
      </text>
      <url
           value="https://build.fhir.org/ig/Kimsber/Rehab-IG/CapabilityStatement/MyFHIRServerCapabilityStatement"/>
      <version value="0.1.0"/>
      <name value="MyFHIRServerCapabilityStatement"/>
      <title value="My FHIR Server Capability Statement"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2025-10-24"/>
      <publisher value="Kimsber"/>
      <contact>
        <name value="Kimsber"/>
        <telecom>
          <system value="url"/>
          <value value="https://github.com/Kimsber"/>
        </telecom>
      </contact>
      <description value="此 CapabilityStatement 定義了伺服端必須支援的 FHIR RESTful API 功能"/>
      <kind value="instance"/>
      <software>
        <name value="RehabIG Server"/>
        <version value="1.0.0"/>
      </software>
      <implementation>
        <description value="Rehab FHIR Server"/>
        <url value="https://build.fhir.org/ig/Kimsber/Rehab-IG"/>
      </implementation>
      <fhirVersion value="4.0.1"/>
      <format value="xml"/>
      <format value="json"/>
      <patchFormat value="application/json-patch+json"/>
      <rest>
        <mode value="server"/>
        <resource>
          <type value="Patient"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Patient">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Patient-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="birthdate"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Patient-birthdate"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="gender"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Patient-gender"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Patient-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="name"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Patient-name"/>
            <type value="string"/>
          </searchParam>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="everything"/>
            <definition
                        value="http://hl7.org/fhir/OperationDefinition/Patient-everything"/>
          </operation>
        </resource>
        <resource>
          <type value="Bundle"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Bundle">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Bundle-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Bundle-identifier"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="CarePlan"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/CarePlan">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/CarePlan-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/CarePlan-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/CarePlan-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/CarePlan-status"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Condition"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Condition">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="clinical-status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-clinical-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-code"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-subject"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="onset-date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-onset-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="abatement-date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-abatement-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="severity"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Condition-severity"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Encounter"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Encounter">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="class"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-class"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="location"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-location"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-subject"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Encounter-status"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Goal"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Goal">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Goal-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="lifecycle-status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Goal-lifecycle-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="target-date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Goal-target-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="description"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Goal-description"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="MedicationAdministration"/>
          <profile
                   value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-code"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="medication"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-medication"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="context"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-context"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="device"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-device"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="effective-time"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-effective-time"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="performer"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-performer"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="reason-given"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-reason-given"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="reason-not-given"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-reason-not-given"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="request"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-request"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/MedicationAdministration-subject"/>
            <type value="reference"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Observation"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Observation">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-code"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="performer"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-performer"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-subject"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_lastUpdated"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Observation-_lastUpdated"/>
            <type value="date"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Organization"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Organization">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Organization-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Organization-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="name"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Organization-name"/>
            <type value="string"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="type"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Organization-type"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Practitioner"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Practitioner-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Practitioner-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="name"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Practitioner-name"/>
            <type value="string"/>
          </searchParam>
        </resource>
        <resource>
          <type value="PractitionerRole"/>
          <profile
                   value="http://hl7.org/fhir/StructureDefinition/PractitionerRole">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/PractitionerRole-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/PractitionerRole-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="specialty"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/PractitionerRole-specialty"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Procedure"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Procedure">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Procedure-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Procedure-code"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Procedure-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Procedure-subject"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Procedure-date"/>
            <type value="date"/>
          </searchParam>
        </resource>
        <resource>
          <type value="QuestionnaireResponse"/>
          <profile
                   value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="update"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-_id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="authored"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-authored"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="questionnaire"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="subject"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/QuestionnaireResponse-subject"/>
            <type value="reference"/>
          </searchParam>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="extract"/>
            <definition
                        value="http://hl7.org/fhir/uv/sdc/OperationDefinition/QuestionnaireResponse-extract"/>
            <documentation
                           value="伺服器必須實現 $extract 操作以：

    1. 接收已填寫的 QuestionnaireResponse
    2. 解析 Questionnaire 中的 extraction extension
    3. 根據提取定義轉換為結構化 FHIR 資源
    4. 返回 Bundle 或單一資源

    技術要求：
    • 支援 ObservationExtract（最常見）
    • 支援 DefinitionExtract（複雜資源）
    • 支援 TemplateExtract（預設樣板）
    • StructureMapExtract（高級轉換）

    提取優先級：
    1. 簡單 Observation 提取（計分、測量）
    2. 複雜資源提取（診斷/藥物）
    3. 自動計算欄位（如 BMI）
    4. 交易 Bundle 生成

    回傳格式：
    {
      &quot;resourceType&quot;: &quot;Bundle&quot;,
      &quot;type&quot;: &quot;transaction&quot;,
      &quot;entry&quot;: [
        {
          &quot;resource&quot;: {
            &quot;resourceType&quot;: &quot;Observation&quot;,
            &quot;code&quot;: { &quot;coding&quot;: [{ &quot;code&quot;: &quot;PHQ9&quot;, &quot;system&quot;: &quot;http://loinc.org&quot; }] },
            &quot;value&quot;: { &quot;integer&quot;: 12 },
            &quot;derivedFrom&quot;: [{ &quot;reference&quot;: &quot;QuestionnaireResponse/qr123&quot; }]
          }
        }
      ]
    }

    這是 SDC 工作流的最終步驟，用於自動導入結構化資料"/>
          </operation>
        </resource>
        <resource>
          <type value="Questionnaire"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Questionnaire">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
          </profile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="update"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="identifier"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Questionnaire-identifier"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="title"/>
            <definition
                        value="http://example.org/fhir/SearchParameter/Questionnaire-title"/>
            <type value="string"/>
          </searchParam>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="populate"/>
            <definition
                        value="http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate"/>
            <documentation
                           value="伺服器必須實現 $populate 操作以：

    1. 接收 Client 的預填請求
    2. 根據 questionnaire.item.definition 查詢患者資料
    3. 根據 FHIRPath expression 預填答案
    4. 返回已預填的 QuestionnaireResponse

    技術要求：
    • FHIRPath 引擎支援
    • 資料查詢引擎（能查詢 Patient/Observation 等資源）
    • Extension 解析（processingPriority/itemWeight/calculatedExpression）

    實現優先級：
    1. 基本預填（根據 definition 字段）
    2. FHIRPath 評估
    3. answerExpression 支援
    4. 複雜表達式與條件

    回傳格式：
    {
      &quot;resourceType&quot;: &quot;QuestionnaireResponse&quot;,
      &quot;questionnaire&quot;: &quot;Questionnaire/q1&quot;,
      &quot;status&quot;: &quot;in-progress&quot;,
      &quot;item&quot;: [
        {
          &quot;linkId&quot;: &quot;patient-name&quot;,
          &quot;answer&quot;: [{ &quot;valueString&quot;: &quot;[自動填入的病人名稱]&quot; }]
        }
      ]
    }"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="MAY"/>
            </extension>
            <name value="render"/>
            <definition
                        value="http://hl7.org/fhir/OperationDefinition/StructureDefinition-questionnaire"/>
            <documentation
                           value="伺服器可選支援 $render 操作以：
    • 將 Questionnaire 轉換為可用格式（HTML/PDF/JSON）
    • 應用主題樣式和客製化呈現
    • 支援多語言

    大多數 Client 會自行實現渲染，此操作非必要"/>
          </operation>
        </resource>
      </rest>
    </CapabilityStatement>