復健訓練評估量表實作指引(Rehabilitation Training Scale Implementation Guide)
0.1.0 - ci-build

復健訓練評估量表實作指引(Rehabilitation Training Scale 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 Client Capability Statement - XML Representation

Active as of 2025-10-25

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="MyFHIRClientCapabilityStatement"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement MyFHIRClientCapabilityStatement</b></p><a name="MyFHIRClientCapabilityStatement"> </a><a name="hcMyFHIRClientCapabilityStatement"> </a><h2 id="title">My FHIR Client Capability Statement</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code>, <code>xml</code></li><li>Supported Patch Formats: <code>application/json-patch+json</code></li><li>Published on: 2025-10-25 </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>client</code></h3></div><div class="panel-body"><div><p>用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 Profile。系統互動能力：可能可以（MAY）支援交易（transaction）、批次（batch）與查詢系統（search-system）。</p>
    </div></div></div><h3 id="resourcesCap1">Capabilities by Resource/Profile</h3><h4 id="resourcesSummary1">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class="bg-info">R</span></b>ead, <b><span class="bg-info">S</span></b>earch, <b><span class="bg-info">U</span></b>pdate, and <b><span class="bg-info">C</span></b>reate, are always shown, while <b><span class="bg-info">VR</span></b>ead, <b><span class="bg-info">P</span></b>atch, <b><span class="bg-info">D</span></b>elete, <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">I</span></b>nstance, or <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class="table-responsive"><table class="table table-condensed table-hover"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class="text-center"><b title="GET a resource (read interaction)">R</b></th><th class="text-center"><b title="GET all set of resources of the type (search interaction)">S</b></th><th class="text-center"><b title="PUT a new resource version (update interaction)">U</b></th><th class="text-center"><b title="POST a new resource (create interaction)">C</b></th><th><b title="Required and recommended search parameters">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href="#Bundle1-1">Bundle</a></td><td>https://github.com/Kimsber/StructureDefinition/Bundle</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier</td><td/><td/><td/></tr><tr><td><a href="#CarePlan1-2">CarePlan</a></td><td>https://github.com/Kimsber/StructureDefinition/CarePlan</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-3">Condition</a></td><td>https://github.com/Kimsber/fhir/StructureDefinition/Condition</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-4">Encounter</a></td><td>https://github.com/Kimsber/StructureDefinition/Encounter</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-5">Goal</a></td><td>https://github.com/Kimsber/StructureDefinition/Goal</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-6">MedicationAdministration</a></td><td>https://github.com/Kimsber/StructureDefinition/MedicationAdministration</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-7">Observation</a></td><td>https://github.com/Kimsber/StructureDefinition/Observation</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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-8">Organization</a></td><td>https://github.com/Kimsber/StructureDefinition/Organization</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"/><td class="text-center"/><td>_id, identifier, name, type</td><td/><td/><td/></tr><tr><td><a href="#Patient1-9">Patient</a></td><td>https://github.com/Kimsber/StructureDefinition/Patient</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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="#Practitioner1-10">Practitioner</a></td><td>https://github.com/Kimsber/StructureDefinition/Practitioner</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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>https://github.com/Kimsber/StructureDefinition/PractitionerRole</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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>https://github.com/Kimsber/StructureDefinition/Procedure</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</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="#Questionnaire1-13">Questionnaire</a></td><td>https://github.com/Kimsber/StructureDefinition/Questionnaire</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"/><td class="text-center"/><td>identifier, title</td><td/><td/><td/></tr><tr><td><a href="#QuestionnaireResponse1-14">QuestionnaireResponse</a></td><td>https://build.fhir.org/ig/Kimsber/Rehab-IG/StructureDefinition/QuestionnaireResponse</td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td class="text-center"><span title="SHOULD">Y</span></td><td>_id, patient, status, authored, questionnaire, subject</td><td/><td/><td><code>$extract</code></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: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Bundle</code></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>SHOULD</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-2" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/CarePlan</code></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>SHOULD</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-3" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/fhir/StructureDefinition/Condition</code></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>SHOULD</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-4" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Encounter</code></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>SHOULD</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-5" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Goal</code></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>SHOULD</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-6" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/MedicationAdministration</code></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>SHOULD</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-7" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Observation</code></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>SHOULD</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-8" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Organization</code></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>SHOULD</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="Patient1-9" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Patient</code></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>SHOULD</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="Practitioner1-10" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Practitioner</code></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>SHOULD</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: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/PractitionerRole</code></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>SHOULD</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: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Procedure</code></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>SHOULD</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="Questionnaire1-13" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://github.com/Kimsber/StructureDefinition/Questionnaire</code></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>SHOULD</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>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></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="QuestionnaireResponse1-14" class="panel-title"><span style="float: right;">Resource Conformance: unspecified </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/><code>https://build.fhir.org/ig/Kimsber/Rehab-IG/StructureDefinition/QuestionnaireResponse</code></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>SHOULD</strong> support <code>read</code>, <code>search-type</code>, <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>_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>SHOULD</b></td><td><a href="http://hl7.org/fhir/uv/sdc/STU3/OperationDefinition-QuestionnaireResponse-extract.html">$extract</a></td><td><div><p>用戶端應支援 $extract 操作以：
    • 將已完成的問卷回應轉換為結構化 FHIR 資源
    • 支援 Observation 提取（計分、測量）
    • 支援資源 Bundle 提取（複雜資料模型）
    • 自動計算衍生欄位（如得分）</p>
    <p>調用例：
    POST /QuestionnaireResponse/qr123/$extract
    返回值：
    {
    &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;depression-score&quot; }] },
    &quot;value&quot;: { &quot;integer&quot;: 15 }
    }
    }
    ]
    }</p>
    <p>這是 SDC 工作流的關鍵步驟</p>
    </div></td></tr></tbody></table></div></div></div></div></div></div>
      </text>
      <url
           value="https://build.fhir.org/ig/Kimsber/Rehab-IG/CapabilityStatement/MyFHIRClientCapabilityStatement"/>
      <version value="0.1.0"/>
      <name value="MyFHIRClientCapabilityStatement"/>
      <title value="My FHIR Client Capability Statement"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2025-10-25"/>
      <publisher value="Kimsber"/>
      <contact>
        <name value="Kimsber"/>
        <telecom>
          <system value="url"/>
          <value value="https://github.com/Kimsber"/>
        </telecom>
      </contact>
      <description
                   value="此 CapabilityStatement 定義了用戶端（Client）應支援的 FHIR RESTful API 功能。用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 FHIR Profile。"/>
      <kind value="requirements"/>
      <fhirVersion value="4.0.1"/>
      <format value="json"/>
      <format value="xml"/>
      <patchFormat value="application/json-patch+json"/>
      <rest>
        <mode value="client"/>
        <documentation
                       value="用戶端建議應該（SHOULD）使用伺服端能力聲明中的查詢參數，支援讀取和查詢一個或多個 Profile。系統互動能力：可能可以（MAY）支援交易（transaction）、批次（batch）與查詢系統（search-system）。"/>
        <resource>
          <type value="Bundle"/>
          <profile value="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://build.fhir.org/ig/Kimsber/Rehab-IGSearchParameter/BundleId"/>
            <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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="Patient"/>
          <profile
                   value="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="Practitioner"/>
          <profile
                   value="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="Questionnaire"/>
          <profile
                   value="https://github.com/Kimsber/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="search-type"/>
          </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>
        </resource>
        <resource>
          <type value="QuestionnaireResponse"/>
          <profile
                   value="https://build.fhir.org/ig/Kimsber/Rehab-IG/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="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </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="_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="SHOULD"/>
            </extension>
            <name value="extract"/>
            <definition
                        value="http://hl7.org/fhir/uv/sdc/OperationDefinition/QuestionnaireResponse-extract"/>
            <documentation
                           value="用戶端應支援 $extract 操作以：
    • 將已完成的問卷回應轉換為結構化 FHIR 資源
    • 支援 Observation 提取（計分、測量）
    • 支援資源 Bundle 提取（複雜資料模型）
    • 自動計算衍生欄位（如得分）

    調用例：
    POST /QuestionnaireResponse/qr123/$extract
    返回值：
    {
      &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;depression-score&quot; }] },
            &quot;value&quot;: { &quot;integer&quot;: 15 }
          }
        }
      ]
    }

    這是 SDC 工作流的關鍵步驟"/>
          </operation>
        </resource>
      </rest>
    </CapabilityStatement>