復健訓練評估量表實作指引(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 Server Capability Statement - JSON Representation

Active as of 2025-10-24

Raw json | Download

    {
      "resourceType" : "CapabilityStatement",
      "id" : "MyFHIRServerCapabilityStatement",
      "text" : {
        "status" : "extensions",
        "div" : "<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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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: 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/><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\">\u00a0</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/><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\">\u00a0</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/><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\">\u00a0</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/><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\">\u00a0</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: 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/><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\">\u00a0</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>\n<ol>\n<li>接收已填寫的 QuestionnaireResponse</li>\n<li>解析 Questionnaire 中的 extraction extension</li>\n<li>根據提取定義轉換為結構化 FHIR 資源</li>\n<li>返回 Bundle 或單一資源</li>\n</ol>\n<p>技術要求：\n• 支援 ObservationExtract（最常見）\n• 支援 DefinitionExtract（複雜資源）\n• 支援 TemplateExtract（預設樣板）\n• StructureMapExtract（高級轉換）</p>\n<p>提取優先級：</p>\n<ol>\n<li>簡單 Observation 提取（計分、測量）</li>\n<li>複雜資源提取（診斷/藥物）</li>\n<li>自動計算欄位（如 BMI）</li>\n<li>交易 Bundle 生成</li>\n</ol>\n<p>回傳格式：\n{\n&quot;resourceType&quot;: &quot;Bundle&quot;,\n&quot;type&quot;: &quot;transaction&quot;,\n&quot;entry&quot;: [\n{\n&quot;resource&quot;: {\n&quot;resourceType&quot;: &quot;Observation&quot;,\n&quot;code&quot;: { &quot;coding&quot;: [{ &quot;code&quot;: &quot;PHQ9&quot;, &quot;system&quot;: &quot;http://loinc.org&quot; }] },\n&quot;value&quot;: { &quot;integer&quot;: 12 },\n&quot;derivedFrom&quot;: [{ &quot;reference&quot;: &quot;QuestionnaireResponse/qr123&quot; }]\n}\n}\n]\n}</p>\n<p>這是 SDC 工作流的最終步驟，用於自動導入結構化資料</p>\n</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: 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/><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\">\u00a0</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>\n<ol>\n<li>接收 Client 的預填請求</li>\n<li>根據 questionnaire.item.definition 查詢患者資料</li>\n<li>根據 FHIRPath expression 預填答案</li>\n<li>返回已預填的 QuestionnaireResponse</li>\n</ol>\n<p>技術要求：\n• FHIRPath 引擎支援\n• 資料查詢引擎（能查詢 Patient/Observation 等資源）\n• Extension 解析（processingPriority/itemWeight/calculatedExpression）</p>\n<p>實現優先級：</p>\n<ol>\n<li>基本預填（根據 definition 字段）</li>\n<li>FHIRPath 評估</li>\n<li>answerExpression 支援</li>\n<li>複雜表達式與條件</li>\n</ol>\n<p>回傳格式：\n{\n&quot;resourceType&quot;: &quot;QuestionnaireResponse&quot;,\n&quot;questionnaire&quot;: &quot;Questionnaire/q1&quot;,\n&quot;status&quot;: &quot;in-progress&quot;,\n&quot;item&quot;: [\n{\n&quot;linkId&quot;: &quot;patient-name&quot;,\n&quot;answer&quot;: [{ &quot;valueString&quot;: &quot;[自動填入的病人名稱]&quot; }]\n}\n]\n}</p>\n</div></td></tr><tr><td><b>MAY</b></td><td>$render</td><td><div><p>伺服器可選支援 $render 操作以：\n• 將 Questionnaire 轉換為可用格式（HTML/PDF/JSON）\n• 應用主題樣式和客製化呈現\n• 支援多語言</p>\n<p>大多數 Client 會自行實現渲染，此操作非必要</p>\n</div></td></tr></tbody></table></div></div></div></div></div></div>"
      },
      "url" : "https://build.fhir.org/ig/Kimsber/Rehab-IG/CapabilityStatement/MyFHIRServerCapabilityStatement",
      "version" : "0.1.0",
      "name" : "MyFHIRServerCapabilityStatement",
      "title" : "My FHIR Server Capability Statement",
      "status" : "active",
      "experimental" : false,
      "date" : "2025-10-24",
      "publisher" : "Kimsber",
      "contact" : [
        {
          "name" : "Kimsber",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://github.com/Kimsber"
            }
          ]
        }
      ],
      "description" : "此 CapabilityStatement 定義了伺服端必須支援的 FHIR RESTful API 功能",
      "kind" : "instance",
      "software" : {
        "name" : "RehabIG Server",
        "version" : "1.0.0"
      },
      "implementation" : {
        "description" : "Rehab FHIR Server",
        "url" : "https://build.fhir.org/ig/Kimsber/Rehab-IG"
      },
      "fhirVersion" : "4.0.1",
      "format" : [
        "xml",
        "json"
      ],
      "patchFormat" : [
        "application/json-patch+json"
      ],
      "rest" : [
        {
          "mode" : "server",
          "resource" : [
            {
              "type" : "Patient",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Patient",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Patient-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "birthdate",
                  "definition" : "http://example.org/fhir/SearchParameter/Patient-birthdate",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "gender",
                  "definition" : "http://example.org/fhir/SearchParameter/Patient-gender",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Patient-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "name",
                  "definition" : "http://example.org/fhir/SearchParameter/Patient-name",
                  "type" : "string"
                }
              ],
              "operation" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "everything",
                  "definition" : "http://hl7.org/fhir/OperationDefinition/Patient-everything"
                }
              ]
            },
            {
              "type" : "Bundle",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Bundle",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Bundle-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Bundle-identifier",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "CarePlan",
              "profile" : "http://hl7.org/fhir/StructureDefinition/CarePlan",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://example.org/fhir/SearchParameter/CarePlan-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "category",
                  "definition" : "http://example.org/fhir/SearchParameter/CarePlan-category",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://example.org/fhir/SearchParameter/CarePlan-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/CarePlan-status",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Condition",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Condition",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "clinical-status",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-clinical-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-code",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-subject",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "onset-date",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-onset-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "abatement-date",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-abatement-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "severity",
                  "definition" : "http://example.org/fhir/SearchParameter/Condition-severity",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Encounter",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Encounter",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "class",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-class",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "location",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-location",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-subject",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/Encounter-status",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Goal",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Goal",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://example.org/fhir/SearchParameter/Goal-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "lifecycle-status",
                  "definition" : "http://example.org/fhir/SearchParameter/Goal-lifecycle-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "target-date",
                  "definition" : "http://example.org/fhir/SearchParameter/Goal-target-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "description",
                  "definition" : "http://example.org/fhir/SearchParameter/Goal-description",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "MedicationAdministration",
              "profile" : "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-code",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "medication",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-medication",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "context",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-context",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "device",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-device",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "effective-time",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-effective-time",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "performer",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-performer",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "reason-given",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-reason-given",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "reason-not-given",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-reason-not-given",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "request",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-request",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/MedicationAdministration-subject",
                  "type" : "reference"
                }
              ]
            },
            {
              "type" : "Observation",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Observation",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "category",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-category",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-code",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "performer",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-performer",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-subject",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_lastUpdated",
                  "definition" : "http://example.org/fhir/SearchParameter/Observation-_lastUpdated",
                  "type" : "date"
                }
              ]
            },
            {
              "type" : "Organization",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Organization",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Organization-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Organization-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "name",
                  "definition" : "http://example.org/fhir/SearchParameter/Organization-name",
                  "type" : "string"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "type",
                  "definition" : "http://example.org/fhir/SearchParameter/Organization-type",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Practitioner",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Practitioner-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Practitioner-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "name",
                  "definition" : "http://example.org/fhir/SearchParameter/Practitioner-name",
                  "type" : "string"
                }
              ]
            },
            {
              "type" : "PractitionerRole",
              "profile" : "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/PractitionerRole-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/PractitionerRole-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "specialty",
                  "definition" : "http://example.org/fhir/SearchParameter/PractitionerRole-specialty",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Procedure",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Procedure",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/Procedure-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://example.org/fhir/SearchParameter/Procedure-code",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/Procedure-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/Procedure-subject",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://example.org/fhir/SearchParameter/Procedure-date",
                  "type" : "date"
                }
              ]
            },
            {
              "type" : "QuestionnaireResponse",
              "profile" : "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "create"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "update"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-_id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "authored",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-authored",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "questionnaire",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "subject",
                  "definition" : "http://example.org/fhir/SearchParameter/QuestionnaireResponse-subject",
                  "type" : "reference"
                }
              ],
              "operation" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "name" : "extract",
                  "definition" : "http://hl7.org/fhir/uv/sdc/OperationDefinition/QuestionnaireResponse-extract",
                  "documentation" : "伺服器必須實現 $extract 操作以：\n\n1. 接收已填寫的 QuestionnaireResponse\n2. 解析 Questionnaire 中的 extraction extension\n3. 根據提取定義轉換為結構化 FHIR 資源\n4. 返回 Bundle 或單一資源\n\n技術要求：\n• 支援 ObservationExtract（最常見）\n• 支援 DefinitionExtract（複雜資源）\n• 支援 TemplateExtract（預設樣板）\n• StructureMapExtract（高級轉換）\n\n提取優先級：\n1. 簡單 Observation 提取（計分、測量）\n2. 複雜資源提取（診斷/藥物）\n3. 自動計算欄位（如 BMI）\n4. 交易 Bundle 生成\n\n回傳格式：\n{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"transaction\",\n  \"entry\": [\n    {\n      \"resource\": {\n        \"resourceType\": \"Observation\",\n        \"code\": { \"coding\": [{ \"code\": \"PHQ9\", \"system\": \"http://loinc.org\" }] },\n        \"value\": { \"integer\": 12 },\n        \"derivedFrom\": [{ \"reference\": \"QuestionnaireResponse/qr123\" }]\n      }\n    }\n  ]\n}\n\n這是 SDC 工作流的最終步驟，用於自動導入結構化資料"
                }
              ]
            },
            {
              "type" : "Questionnaire",
              "profile" : "http://hl7.org/fhir/StructureDefinition/Questionnaire",
              "_profile" : {
                🔗 "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                    "valueCode" : "SHOULD"
                  }
                ]
              },
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "create"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "update"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "identifier",
                  "definition" : "http://example.org/fhir/SearchParameter/Questionnaire-identifier",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "title",
                  "definition" : "http://example.org/fhir/SearchParameter/Questionnaire-title",
                  "type" : "string"
                }
              ],
              "operation" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "name" : "populate",
                  "definition" : "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate",
                  "documentation" : "伺服器必須實現 $populate 操作以：\n\n1. 接收 Client 的預填請求\n2. 根據 questionnaire.item.definition 查詢患者資料\n3. 根據 FHIRPath expression 預填答案\n4. 返回已預填的 QuestionnaireResponse\n\n技術要求：\n• FHIRPath 引擎支援\n• 資料查詢引擎（能查詢 Patient/Observation 等資源）\n• Extension 解析（processingPriority/itemWeight/calculatedExpression）\n\n實現優先級：\n1. 基本預填（根據 definition 字段）\n2. FHIRPath 評估\n3. answerExpression 支援\n4. 複雜表達式與條件\n\n回傳格式：\n{\n  \"resourceType\": \"QuestionnaireResponse\",\n  \"questionnaire\": \"Questionnaire/q1\",\n  \"status\": \"in-progress\",\n  \"item\": [\n    {\n      \"linkId\": \"patient-name\",\n      \"answer\": [{ \"valueString\": \"[自動填入的病人名稱]\" }]\n    }\n  ]\n}"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "name" : "render",
                  "definition" : "http://hl7.org/fhir/OperationDefinition/StructureDefinition-questionnaire",
                  "documentation" : "伺服器可選支援 $render 操作以：\n• 將 Questionnaire 轉換為可用格式（HTML/PDF/JSON）\n• 應用主題樣式和客製化呈現\n• 支援多語言\n\n大多數 Client 會自行實現渲染，此操作非必要"
                }
              ]
            }
          ]
        }
      ]
    }