This page is part of the 旅遊醫學疫苗接種或開立藥品紀錄上傳實作指引 (v1.0.0: Releases Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: https://vacc.cdc.gov.tw/vacc/CapabilityStatement/CapabilityStatementVACCServer | Version: 1.0.0 | |||
Active as of 2024-05-03 | Computable Name: CapabilityStatementVACCServer |
臺灣接種疫苗或開立藥品紀錄上傳實作指引(VACC IG)伺服端(Server)之能力聲明
Raw OpenAPI-Swagger Definition file | Download
json
server
臺灣接種疫苗或開立藥品紀錄上傳-伺服端(VACC 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是否為臺灣接種疫苗或開立藥品紀錄上傳Profiles Defining URL,並確認實例是否依循Profile製作。
臺灣接種疫苗或開立藥品紀錄上傳-伺服端建議應該(SHOULD):
(1)支援XML格式。
共有十類Resources支援查詢,查詢參數如表列:
resolves
create
, update
, read
, delete
.接種疫苗/開立藥品紀錄API-新增多筆紀錄(Bundle Upload POST VACC1-1)
接種疫苗/開立藥品紀錄API-修改多筆/單筆紀錄(Bundle Upload PUT VACC1-1)
CDC回覆院所上傳/修改(Bundle Response VACC1-1)
院所查詢接種疫苗/開立藥品紀錄上傳狀態CDC完整回覆(Bundle Upload Stuts Check Response VACC1-2)
疫苗/藥品紀錄、證書歷程刪除(Bundle Batch Delete VACC1-3/VACC5-2)
CDC回覆院所刪除(Bundle Delete Response VACC1-3/5-2)
接種/開立藥品及其證書歷程查詢應用程式介面-個案記錄查詢(Bundle Batch Query VACC2)
CDC回覆院所查詢接種疫苗/開立藥品紀錄(Bundle Batch Query Response VACC2)
CDC回覆院所查詢庫存(Bundle Search SupplyDelivery VACC3)
CDC回覆院所查詢個案接種疫苗紀錄(Bundle Search Vaccine VACC4)
開立證書應用程式介面-新增多筆紀錄(Bundle Upload Composition VACC5-1)
CDC回覆院所上傳疫苗證書資料完整回覆(Bundle Upload Composition Response VACC5-1)
遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
必須(SHALL) | _id | token | GET [base]/Bundle?_id=[id] GET [base]/Bundle/[id] DELETE [base]/Bundle/[id] |
必須(SHALL) | identifier | token | GET [base]/Bundle?identifier={system|}[code] |
遵從度 | 操作定義 | 範例 |
---|---|---|
必須(SHALL) | $confirm | [base]/Bundle/[id](即為QueryCode)/$confirm |
resolves
create
, update
, read
, delete
.resolves
create
, update
, read
, delete
.resolves
create
, update
, read
.遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
必須(SHALL) | _id | token | GET [base]/Medication?_id=[id] GET [base]/Medication/[id] DELETE [base]/Medication/[id] |
resolves
create
, update
, read
, delete
.resolves
create
, update
, read
.遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
必須(SHALL) | _id | token | GET [base]/Observation?_id=[id] GET [base]/Observation/[id] |
resolves
create
, update
, read
.resolves
create
, update
, read
.遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
必須(SHALL) | _id | token | GET [base]/Organization?_id=[id] GET [base]/Organization/[id] |
resolves
create
, update
, read
.遵從度 | 參數 | 類型 | 範例 |
---|---|---|---|
必須(SHALL) | _id | token | GET [base]/Patient?_id=[id] GET [base]/Patient/[id] |
必須(SHALL) | identifier | token | GET [base]/Patient?identifier={system|}[code] |
必須(SHALL) | birthdate | token | GET [base]/Patient?birthdate={gt|lt|ge|le}[date] |
resolves
create
, update
, read
.