View a markdown version of this page

查詢連結的資料 - AWS HealthLake

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

查詢連結的資料

相符的實體會儲存為由 連線的多個資源Linkage。使用標準 FHIR R4 搜尋互動來擷取連結的資料 (請參閱 搜尋 FHIR 資源)。

取得連結至病患的所有資源

使用item搜尋參數來尋找病患的 Linkage,並_include=Linkage:item傳回相同套件中連結的資源:

GET /Linkage?item=Patient/patient-A&_include=Linkage:item
取得資料存放區中的所有連結

傳回每個 Linkage及其連結的資源:

GET /Linkage?_include=Linkage:item&_count=100
計算資料存放區中的連結
GET /Linkage?_summary=count
跨連結患者取得臨床資料

若要擷取另一個資源類型 (例如 Observation) 給患者和與其連結的每個人,請先閱讀 Linkage 以取得連結的患者 IDs:

GET /Linkage?item=Patient/patient-A&_include=Linkage:item

然後跨這些 IDs搜尋目標資源類型:

GET /Observation?patient=Patient/patient-A,Patient/patient-B,Patient/patient-C