醫查實作指引 - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: https://hitstdio.ntunhs.edu.tw/imri/CapabilityStatement/CapabilityStatementIMRIServer | Version: 0.1.0 | |||
Active as of 2024-07-19 | Computable Name: CapabilityStatementIMRIServer |
醫查實作指引(IMRI IG)伺服端(Server)之能力聲明
Raw OpenAPI-Swagger Definition file | Download
json
、xml
server
醫查-伺服端(IMRI Server)必須(SHALL):
(1)支援本實作指引中所有profiles
(2)根據FHIR規範實作RESTful
(3)回傳狀態碼
①(Status 400):無效參數(invalid parameter)
②(Status 401/4xx):未經授權的請求(unauthorized request)
③(Status 403):未充分授權的資料存取範圍(insufficient premission scope)
④(Status 404):未知的resource(unknown resource)
(4)支援JSON格式
(5)可識別每個新增到Server的實例(instance)之meta.profile是否為IMRI Profiles Defining URL,並確認實例是否依循Profile製作。
醫查-伺服端(IMRI Server)建議應該(SHOULD):
(1)支援XML格式。
共有十五類Resources支援查詢,查詢參數如表列:
resolves
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
建議應該(SHOULD) | _id | token | GET [base]/Bundle?_id=[id] GET [base]/Bundle/[id] |
建議應該(SHOULD) | identifier | token | GET [base]/Bundle?identifier={system|}[code] |
建議應該(SHOULD) | composition | reference | GET [base]/Bundle?composition={Type/}[id] |
resolves
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
建議應該(SHOULD) | type | token | GET [base]/Composition?type={system|}[code] |
建議應該(SHOULD) | patient | reference | GET [base]/Composition?patient.identifier={system|}[code] |
建議應該(SHOULD) | organization | reference | GET [base]/Composition?author.identifier={system|}[code] |
建議應該(SHOULD) | organization | reference | GET [base]/Composition?author.name=[name] |
建議應該(SHOULD) | encounter | reference | GET [base]/Composition?encounter.date={gt|lt|ge|le}[date] |
resolves
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
建議應該(SHOULD) | date | date | GET [base]/Encounter?date={gt|lt|ge|le}[date] |
resolves
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
建議應該(SHOULD) | identifier | token | GET [base]/Organization?identifier={system|}[code] |
建議應該(SHOULD) | name | string | GET [base]/Organization?name=[name] |
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
建議應該(SHOULD) | identifier | token | GET [base]/Patient?identifier={system|}[code] |
resolves
resolves