臺灣核心實作指引(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 Server) - JSON Representation

Active as of 2022-08-31

Raw json | Download


{
  "resourceType" : "CapabilityStatement",
  "id" : "CapabilityStatementTWCoreServer",
  "text" : {
    "status" : "extensions",
    "div" : "<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\">Server的FHIR RESTful功能要求</h3><ul><li>臺灣核心-伺服端(TW Core Server) 必須 <strong>(SHALL)</strong></li><ol><li>可透過FHIR RESTful API查詢的Resources</li><li>根據FHIR規範實作RESTful</li><li>HTTP回傳狀態碼<ul><li>(Status 400):無效參數(invalid parameter)</li><li>(Status 401/4xx):未經授權的請求(unauthorized request)</li><li>(Status 403):未充分授權的資料存取範圍(insufficient premission scope)</li><li>(Status 404):未知的resource(unknown resource)</li></ul></li><li>Server提供的API操作皆支援JSON格式</li><li>可識別每個新增到Server的實例(instance)之 <code>meta.profile</code>是否為TW Core Profiles Defining URL,並確認實例是否依循profile製作。【註:實例是指依據profile實作,將真實資料以JSON、XML或Turtle格式存放的檔案】</li><li>支援每個profile的查詢參數</li></ol><li>臺灣核心-伺服端(TW Core Server) <strong>建議應該(SHOULD)</strong></li><ol><li>Server提供的API操作皆支援XML格式</li></ol><li><strong>安全性</strong></li><ol><li>Server必須(SHALL)透過回傳 <code>HTTP 401</code>「未授權」, <code>HTTP 403</code>「禁止」,或 <code>HTTP 404</code> 「未找到」,來拒絕任何未經授權的請求</li></ol><li><strong>系統廣泛的相互作用</strong></li><ul><li><strong>可能可以(MAY)</strong>支援交易( <code>transaction</code>)</li><li><strong>可能可以(MAY)</strong>支援批次( <code>batch</code>)</li><li><strong>可能可以(MAY)</strong>支援查詢系統( <code>search-system</code>)</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>必須(SHALL)</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>、 <code>create</code>、 <code>update</code>、 <code>delete</code></li><li><strong>建議應該(SHOULD)</strong>支援 <code>vread</code></li><li><strong>可能可以(MAY)</strong>支援 <code>patch</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>"
  },
  "url" : "https://twcore.mohw.gov.tw/ig/twcore/CapabilityStatement/CapabilityStatementTWCoreServer",
  "version" : "0.1.0",
  "name" : "CapabilityStatementTWCoreServer",
  "title" : "臺灣核心-伺服端(TW Core Server)",
  "status" : "active",
  "experimental" : false,
  "date" : "2022-08-31",
  "publisher" : "衛生福利部",
  "contact" : [
    {
      "name" : "衛生福利部",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.mohw.gov.tw/"
        },
        {
          "system" : "email",
          "value" : "CCYU@mohw.gov.tw"
        }
      ]
    }
  ],
  "description" : "臺灣核心實作指引(TW Core IG)伺服端(Server)之能力聲明",
  "kind" : "requirements",
  "fhirVersion" : "4.0.1",
  "format" : [
    "xml",
    "json"
  ],
  "patchFormat" : [
    "application/json-patch+json"
  ],
  "implementationGuide" : [
    "https://twcore.mohw.gov.tw/ig/twcore/ImplementationGuide/tw.gov.mohw.twcore"
  ],
  "rest" : [
    {
      "mode" : "server",
      "documentation" : "The TW Core Server **SHALL**:\n\n1. Support all profiles defined in this Implementation Guide..\n1.  Implement the RESTful behavior according to the FHIR specification.\n1. Return the following response classes:\n   - (Status 400): invalid parameter\n   - (Status 401/4xx): unauthorized request\n   - (Status 403): insufficient scope\n   - (Status 404): unknown resource\n   - (Status 410): deleted resource.\n1. Support json source formats for all TW Core Server interactions.\n1. Identify the TW Core Server profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n1. Support the searchParameters on each profile  individually and in combination.\n1.Support forward and reverse chaining on all search parameters that specify the 'chain' property\n\n TW Core Server **SHOULD**:\n\n1. Support xml source formats for all TW Core Server interactions.\n",
      "resource" : [
        {
          "type" : "Observation",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore",
          "supportedProfile" : [
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-vitalSigns-twcore",
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bloodPressure-twcore",
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bmi-twcore"
          ],
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-status",
              "type" : "token"
            },
            {
              "name" : "category",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-category",
              "type" : "token"
            },
            {
              "name" : "code",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-code",
              "type" : "token"
            },
            {
              "name" : "performer",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-performer",
              "type" : "reference"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-subject",
              "type" : "reference"
            },
            {
              "name" : "date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-date",
              "type" : "date"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Observation-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Patient",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "birthdate",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-birthdate",
              "type" : "date"
            },
            {
              "name" : "gender",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-gender",
              "type" : "token"
            },
            {
              "name" : "identifier",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-identifier",
              "type" : "token"
            },
            {
              "name" : "name",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-name",
              "type" : "string"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Patient-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Organization",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore",
          "supportedProfile" : [
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-govt-twcore",
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-hosp-twcore",
            "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-co-twcore"
          ],
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "identifier",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-identifier",
              "type" : "token"
            },
            {
              "name" : "name",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-name",
              "type" : "string"
            },
            {
              "name" : "type",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-type",
              "type" : "token"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Organization-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Practitioner",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-id",
              "type" : "token"
            },
            {
              "name" : "identifier",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-identifier",
              "type" : "token"
            },
            {
              "name" : "name",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Practitioner-name",
              "type" : "string"
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "clinical-status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-clinical-status",
              "type" : "token"
            },
            {
              "name" : "code",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-code",
              "type" : "token"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-subject",
              "type" : "reference"
            },
            {
              "name" : "onset-date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-onset-date",
              "type" : "date"
            },
            {
              "name" : "abatement-date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-abatement-date",
              "type" : "date"
            },
            {
              "name" : "severity",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-severity",
              "type" : "token"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Condition-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Encounter",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "class",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-class",
              "type" : "token"
            },
            {
              "name" : "date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-date",
              "type" : "date"
            },
            {
              "name" : "identifier",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-identifier",
              "type" : "token"
            },
            {
              "name" : "location",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-location",
              "type" : "reference"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-subject",
              "type" : "reference"
            },
            {
              "name" : "status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-status",
              "type" : "token"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Encounter-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "code",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-code",
              "type" : "token"
            },
            {
              "name" : "status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-status",
              "type" : "token"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-subject",
              "type" : "reference"
            },
            {
              "name" : "date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-date",
              "type" : "date"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Procedure-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "DiagnosticReport",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DiagnosticReport-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-status",
              "type" : "token"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-subject",
              "type" : "reference"
            },
            {
              "name" : "category",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-category",
              "type" : "token"
            },
            {
              "name" : "code",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-code",
              "type" : "token"
            },
            {
              "name" : "date",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-date",
              "type" : "date"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/DiagnosticReport-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "status",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-status",
              "type" : "token"
            },
            {
              "name" : "intent",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-intent",
              "type" : "token"
            },
            {
              "name" : "subject",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-subject",
              "type" : "reference"
            },
            {
              "name" : "encounter",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-encounter",
              "type" : "reference"
            },
            {
              "name" : "authoredon",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-authoredon",
              "type" : "date"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/MedicationRequest-id",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "Medication",
          "profile" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "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" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "patch"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "delete"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "code",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Medication-code",
              "type" : "token"
            },
            {
              "name" : "_id",
              "definition" : "https://twcore.mohw.gov.tw/ig/twcore/SearchParameter/Medication-id",
              "type" : "token"
            }
          ]
        }
      ]
    }
  ]
}