臺灣核心實作指引(TW Core IG)
0.1.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.1.0: Releases) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: 臺灣核心-用戶端(TW Core Client) - XML Representation

Active as of 2022-08-31

Raw xml | Download



<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="CapabilityStatementTWCoreClient"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><ul><li>實作指引版本:0.1.0</li><li>FHIR版本:4.0.1</li><li>發佈日:2022-08-31</li><li>發佈者:衛生福利部</li></ul><h3 id="behavior">Client的FHIR RESTful功能要求</h3><ul><li>臺灣核心-用戶端(TW Core Client)必須 <strong>(SHALL)</strong></li><ol><li>使用臺灣核心-伺服端(TW Core Server)能力聲明中的查詢參數,支援讀取和查詢一個或多個臺灣核心Profile(s)。</li></ol><li><strong>安全性</strong></li><ol><li>有關要求和建議,請參閱一般安全注意事項部分。</li></ol><li><strong>系統廣泛的互動:</strong></li><ul><li><strong>可能可以(MAY)</strong>支援交易互動( <code>transaction</code> interaction)。</li><li><strong>可能可以(MAY)</strong>支援批次互動( <code>batch</code> interaction)。</li><li><strong>可能可以(MAY)</strong>支援查詢系統互動( <code>search-system</code> interaction)。</li></ul></ul><h3 id="resource-details" class="no_toc">Resources或Profiles的RESTful功能</h3><ul><li><strong>共有十類Resources支援查詢,查詢參數如表列:</strong></li><table class="grid"><thead><tr><th>Resources型別</th><th>Profile</th><th>支援的Profiles</th><th>支援的查詢參數</th><th>支援 <code>_includes</code>(未來視情況新增)</th><th>支援 <code>_revincludes</code>(未來視情況新增)</th><th>支援Operations(未來視情況新增)</th></tr></thead><tbody><tr><td><a href="#condition">Condition</a></td><td><a href="StructureDefinition-Condition-twcore.html">臺灣核心-病情、問題或診斷(TW Core Condition)</a></td><td>-</td><td>_id, clinical-status, code, subject, onset-date, abatement-date, severity</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#diagnosticReport">DiagnosticReport</a></td><td><a href="StructureDefinition-DiagnosticReport-twcore.html">臺灣核心-診斷報告(TW Core DiagnosticReport)</a></td><td>-</td><td>_id, status, subject, category, code, date</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#encounter">Encounter</a></td><td><a href="StructureDefinition-Encounter-twcore.html">臺灣核心-就醫事件(TW Core Encounter)</a></td><td>-</td><td>_id, class, date, identifier, location, subject, status</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#medication">Medication</a></td><td><a href="StructureDefinition-Medication-twcore.html">臺灣核心-藥品(TW Core Medication)</a></td><td>-</td><td>_id, code</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#medicationRequest">MedicationRequest</a></td><td><a href="StructureDefinition-MedicationRequest-twcore.html">臺灣核心-藥品處方(TW Core MedicationRequest)</a></td><td>-</td><td>_id, status, intent, subject, medication, encounter, authoredon</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#observation">Observation</a></td><td><a href="StructureDefinition-Observation-laboratoryResult-twcore.html">臺灣核心-檢驗檢查(TW Core Observation Laboratory Result</a></td><td><a href="StructureDefinition-Observation-vitalSigns-twcore.html">臺灣核心-生命體徵(TW Core Observation Vital Signs)</a>,<br/><a href="StructureDefinition-Observation-bloodPressure-twcore.html">臺灣核心-血壓(TW Core Observation Blood Pressure)</a>,<br/><a href="StructureDefinition-Observation-bmi-twcore.html">臺灣核心-身體質量指數(TW Core Observation BMI)</a></td><td>_id, category, code, date, performer, status, subject</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#organization">Organization</a></td><td><a href="StructureDefinition-Organization-twcore.html">臺灣核心-機構(TW Core Organization)</a></td><td><a href="StructureDefinition-Organization-govt-twcore.html">臺灣核心-政府機構(TW Core Organization Government)</a>,<br/><a href="StructureDefinition-Organization-hosp-twcore.html">臺灣核心-醫事機構(TW Core Organization Hospital Department)</a>,<br/><a href="StructureDefinition-Organization-co-twcore.html">臺灣核心-公司行號(TW Core Organization Company)</a></td><td>_id, identifier, name, type</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#patient">Patient</a></td><td><a href="StructureDefinition-Patient-twcore.html">臺灣核心-病人(TW Core Patient)</a></td><td>-</td><td>_id, birthdate, gender, identifier, name</td><td>-</td><td>-</td><td>$everything</td></tr><tr><td><a href="#practitioner">Practitioner</a></td><td><a href="StructureDefinition-Practitioner-twcore.html">臺灣核心-健康照護服務提供人員(TW Core Practitioner)</a></td><td>-</td><td>_id, identifier, name</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href="#procedure">Procedure</a></td><td><a href="StructureDefinition-Procedure-twcore.html">臺灣核心-處置(TW Core Procedure)</a></td><td>-</td><td>_id, code, status, subject, date</td><td>-</td><td>-</td><td>-</td></tr></tbody></table></ul><h4 id="condition" class="no_toc">Condition</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Condition-twcore.html">臺灣核心-病情、問題或診斷(TW Core Condition)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Condition?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Condition/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-clinical-status.html">clinical-status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Condition?clinical-status=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-code.html">code</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Condition?code={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Condition?subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-onset-date.html">onset-date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Condition?onset-date={gt|lt|ge|le}[date]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-abatement-date.html">abatement-date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Condition?abatement-date={gt|lt|ge|le}[date]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Condition-severity.html">severity</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Condition?severity={system|}[code]</code></td></tr></tbody></table></ul><h4 id="diagnosticReport" class="no_toc">DiagnosticReport</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-DiagnosticReport-twcore.html">臺灣核心-診斷報告(TW Core DiagnosticReport)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/DiagnosticReport/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-status.html">status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?status=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-category.html">category</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?category={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-code.html">code</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?code={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-DiagnosticReport-date.html">date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/DiagnosticReport?date={gt|lt|ge|le}[date]</code></td></tr></tbody></table></ul><h4 id="encounter" class="no_toc">Encounter</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Encounter-twcore.html">臺灣核心-就醫事件(TW Core Encounter)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Encounter?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Encounter/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-class.html">class</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Encounter?class=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-date.html">date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Encounter?date={gt|lt|ge|le}[date]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-identifier.html">identifier</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Encounter?identifier={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-location.html">location</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Encounter?location={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Encounter?subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Encounter-status.html">status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Encounter?status=[code]</code></td></tr></tbody></table></ul><h4 id="medication" class="no_toc">Medication</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Medication-twcore.html">臺灣核心-藥品(TW Core Medication)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Medication-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Medication?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Medication/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Medication-code.html">code</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Medication?code={system|}[code]</code></td></tr></tbody></table></ul><h4 id="medicationRequest" class="no_toc">MedicationRequest</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-MedicationRequest-twcore.html">臺灣核心-藥品處方(TW Core MedicationRequest)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/MedicationRequest/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-status.html">status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?status=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-intent.html">intent</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?intent={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-medication.html">medication</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?medication={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-encounter.html">encounter</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?encounter={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-MedicationRequest-authoredon.html">authoredon</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/MedicationRequest?authoredon={gt|lt|ge|le}[date]</code></td></tr></tbody></table></ul><h4 id="observation" class="no_toc">Observation</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Observation-laboratoryResult-twcore.html">臺灣核心-檢驗檢查(TW Core Observation Laboratory Result)</a></li><li>支援的Profiles: <a href="StructureDefinition-Observation-vitalSigns-twcore.html">臺灣核心-生命體徵(TW Core Observation Vital Signs)</a>, <a href="StructureDefinition-Observation-bloodPressure-twcore.html">臺灣核心-血壓(TW Core Observation Blood Pressure)</a>, <a href="StructureDefinition-Observation-bmi-twcore.html">臺灣核心-身體質量指數(TW Core Observation BMI)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Observation?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Observation/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-category.html">category</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Observation?category={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-clinical-code.html">code</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Observation?code={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-date.html">date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Observation?date={gt|lt|ge|le}[date]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-performer.html">performer</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Observation?performer={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-status.html">status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Observation?status=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Observation-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Observation?subject={Type/}[id]</code></td></tr></tbody></table></ul><h4 id="organization" class="no_toc">Organization</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Organization-twcore.html">臺灣核心-機構(TW Core Organization)</a></li><li>支援的Profiles: <a href="StructureDefinition-Organization-govt-twcore.html">臺灣核心-政府機構(TW Core Organization Government)</a>, <a href="StructureDefinition-Organization-hosp-twcore.html">臺灣核心-醫事機構(TW Core Organization Hospital Department)</a>, <a href="StructureDefinition-Organization-co-twcore.html">臺灣核心-公司行號(TW Core Organization Company)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Organization-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Organization?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Organization/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Organization-identifier.html">identifier</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Organization?identifier={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Organization-name.html">name</a></td><td>string</td><td><code class="highlighter-rouge">GET [base]/Organization?name=[name]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Organization-type.html">type</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Organization?type={system|}[code]</code></td></tr></tbody></table></ul><h4 id="patient" class="no_toc">Patient</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Patient-twcore.html">臺灣核心-病人(TW Core Patient)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>操作定義摘要</li><ul><li><strong>建議應該(SHOULD)</strong>支援 <code>$everything</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Patient-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Patient?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Patient/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Patient-birthdate.html">birthdate</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Patient?birthdate=[birthdate]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Patient-gender.html">gender</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Patient?gender=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Patient-identifier.html">identifier</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Patient?identifier={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Patient-name.html">name</a></td><td>string</td><td><code class="highlighter-rouge">GET [base]/Patient?name=[name]</code></td></tr></tbody></table></ul><h4 id="practitioner" class="no_toc">Practitioner</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Practitioner-twcore.html">臺灣核心-健康照護服務提供人員(TW Core Practitioner)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Practitioner-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Practitioner?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Practitioner/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Practitioner-identifier.html">identifier</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Practitioner?identifier={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Practitioner-name.html">name</a></td><td>string</td><td><code class="highlighter-rouge">GET [base]/Practitioner?name=[name]</code></td></tr></tbody></table></ul><h4 id="procedure" class="no_toc">Procedure</h4><ul><li>預期的符合性(Conformance Expectation): <strong>建議應該(SHOULD)</strong></li><li>Profile: <a href="StructureDefinition-Procedure-twcore.html">臺灣核心-處置(TW Core Procedure)</a></li><li><a href="https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>search-type</code>, <code>read</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>create</code>, <code>update</code>, <code>patch</code>, <code>delete</code></li></ul><li>查詢參數摘要</li><table class="grid"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Procedure-id.html">_id</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Procedure?_id=[id]</code>,<br/><code class="highlighter-rouge">GET [base]/Procedure/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Procedure-code.html">code</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Procedure?code={system|}[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Procedure-status.html">status</a></td><td>token</td><td><code class="highlighter-rouge">GET [base]/Procedure?status=[code]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Procedure-subject.html">subject</a></td><td>reference</td><td><code class="highlighter-rouge">GET [base]/Procedure?subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href="SearchParameter-Procedure-date.html">date</a></td><td>date</td><td><code class="highlighter-rouge">GET [base]/Procedure?date={gt|lt|ge|le}[date]</code></td></tr></tbody></table></ul></div>
  </text>
  <url
       value="https://twcore.mohw.gov.tw/ig/twcore/CapabilityStatement/CapabilityStatementTWCoreClient"/>
  <version value="0.1.0"/>
  <name value="CapabilityStatementTWCoreClient"/>
  <title value="臺灣核心-用戶端(TW Core Client)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2022-08-31"/>
  <publisher value="衛生福利部"/>
  <contact>
    <name value="衛生福利部"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.mohw.gov.tw/"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="CCYU@mohw.gov.tw"/>
    </telecom>
  </contact>
  <description value="臺灣核心實作指引(TW Core IG)用戶端(Client)之能力聲明"/>
  <kind value="requirements"/>
  <fhirVersion value="4.0.1"/>
  <format value="xml"/>
  <format value="json"/>
  <patchFormat value="application/json-patch+json"/>
  <implementationGuide
                       value="https://twcore.mohw.gov.tw/ig/twcore/ImplementationGuide/tw.gov.mohw.twcore"/>
  <rest>
    <mode value="client"/>
    <documentation
                   value="The TW Core Client **SHALL**:

1. Support all profiles defined in this Implementation Guide..
1.  Implement the RESTful behavior according to the FHIR specification.
1. Return the following response classes:
   - (Status 400): invalid parameter
   - (Status 401/4xx): unauthorized request
   - (Status 403): insufficient scope
   - (Status 404): unknown resource
   - (Status 410): deleted resource.
1. Support json source formats for all TW Core Server interactions.
1. Identify the TW Core Server profiles supported as part of the FHIR `meta.profile` attribute for each instance.
1. Support the searchParameters on each profile  individually and in combination.
1.Support forward and reverse chaining on all search parameters that specify the 'chain' property

 TW Core Client **SHOULD**:

1. Support xml source formats for all TW Core Client interactions.
"/>
    <resource>
      <type value="Observation"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-vitalSigns-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bloodPressure-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bmi-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-category"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="code"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="performer"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-performer"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Patient"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="birthdate"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-birthdate"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="gender"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-gender"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="name"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Organization"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-govt-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-hosp-twcore"/>
      <supportedProfile
                        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-co-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="name"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <name value="type"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-type"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Practitioner"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-id"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="name"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-name"/>
        <type value="string"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Condition"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="clinical-status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-clinical-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="code"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="onset-date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-onset-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="abatement-date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-abatement-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="severity"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-severity"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Encounter"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="class"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-class"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="identifier"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="location"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-location"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Procedure"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="code"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="DiagnosticReport"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DiagnosticReport-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-category"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="code"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="MedicationRequest"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="status"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="intent"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-intent"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="subject"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-subject"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="encounter"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-encounter"/>
        <type value="reference"/>
      </searchParam>
      <searchParam>
        <name value="authoredon"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-authoredon"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Medication"/>
      <profile
               value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore"/>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="patch"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="delete"/>
      </interaction>
      <referencePolicy value="resolves"/>
      <searchParam>
        <name value="code"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Medication-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <name value="_id"/>
        <definition
                    value="https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Medication-id"/>
        <type value="token"/>
      </searchParam>
    </resource>
  </rest>
</CapabilityStatement>