Healthcare FHIR R4 資料結構定義參考資料

Vertex AI Search 支援部分 FHIR R4 資源。本頁面列出支援的 FHIR 資源和元素。這個頁面會針對每項資源,顯示 Google 定義的結構定義設定表格,其中包含下列詳細資料:

  • 勾號:表示元素是否可索引、可搜尋及可擷取。如要瞭解這些欄位設定,請參閱「設定欄位設定」。
  • 勾號,用於指出系統在產生 LLM 答案時,是否將元素視為輸入欄位。也就是說,為了為 LLM 答案產生輸入提示,系統會從文件中擷取這些欄位。這個欄位無法納入結構定義設定。

編輯結構定義設定

如要編輯架構設定,請在建立資料儲存庫時選取「自訂架構」選項。您可以在建立資料儲存庫時或之後編輯結構定義。

資源層級規格

Vertex AI Search 支援下列資源和資源參照:

資料儲存庫層級規格

系統支援資料儲存庫中的下列屬性。

屬性 可建立索引 可供搜尋 可擷取
id
resource_type
resource_datetime
patient_id

欄位層級規格

Vertex AI Search 支援每個支援的 FHIR 資源中 FHIR 資料元素的子集。下列各節會列出所有支援的 FHIR 資源支援的元素,並說明元素是否可在下列情況下建立索引、搜尋及擷取:

  • 如果重複的元素有空白索引或 [],系統會支援此元素的所有例項。舉例來說,在 AllergyIntolerance 資源中,系統支援所有 clinicalStatus.coding[].code 例項。
  • 如果重複元素具有特定索引或 [0],系統只會支援第一個例項。舉例來說,在組合資源中,系統只支援 author[0].display 的第一個例項。
  • 系統支援相對資源參照,格式為 Resource/resourceId。例如,subject.reference 的值必須為 Patient/034AB16
  • 絕對參照僅支援二進位資源,且資料類型設為 attachment。絕對參照僅適用於符合下列模式的 Cloud Storage 位置:gs://BUCKET_NAME/FILE_PATH
  • 系統不支援內部或邏輯參照,也不會解析這類參照。

AllergyIntolerance

系統支援 AllergyIntolerance 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
asserter.display
asserter.reference 僅限醫事人員。
clinicalStatus.coding[].code
clinicalStatus.coding[].display
clinicalStatus.coding[].system
code.coding[].code
code.coding[].display
code.coding[].system
code.text
encounter.reference
id
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
patient.reference 僅限病患。
reaction[].description
reaction[].manifestation[].text
reaction[].severity
recordedDate
recorder.display
recorder.reference 僅限醫事人員。
verificationStatus.coding[].code
verificationStatus.coding[].display
verificationStatus.coding[].system

預約

系統支援 Appointment 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
appointmentType.coding[].code
appointmentType.coding[].display
appointmentType.coding[].system
comment
created
description
id
participant[].actor.reference
participant[].type[].coding[].code
participant[].type[].coding[].display
participant[].type[].coding[].system
participant[].type[].text
reasonCode[].coding[].code
reasonCode[].coding[].display
reasonCode[].coding[].system
reasonCode[].text
serviceCategory[].coding[].code
serviceCategory[].coding[].display
serviceCategory[].coding[].system
serviceCategory[].text
start
status

基本

系統支援 Basic 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
author.display
author.reference 僅限醫事人員。
code.coding[].code
code.coding[].display
code.coding[].system
code.text
created
id
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
subject.reference 僅限病患。
text.div

CarePlan

系統支援 CarePlan 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
activity[].detail.description
activity[].progress[].text
addresses[].display
addresses[].reference
author.display
author.reference
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
created
description
encounter.reference
goal[].display
goal[].reference
id
note[].text
period.end
period.start
status
subject.reference
text.div
title

作曲

系統支援組合資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
author[0].display
author[0].reference 僅限醫事人員。
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
date
encounter.reference
id
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
section[].text.div 資源必須包含此欄位,才能進行索引。
status
subject.reference 僅限病患。
title
type.coding[].code
type.coding[].display
type.coding[].system
type.text

條件

系統支援 Condition 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
asserter.display
asserter.reference 僅限醫事人員。
bodySite[].coding[].code
bodySite[].coding[].display
bodySite[].coding[].system
bodySite[].text
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
clinicalStatus.coding[].code
clinicalStatus.coding[].display
clinicalStatus.coding[].system
code.coding[].code
code.coding[].display
code.coding[].system
code.text
encounter.reference
id
identifier[].system
identifier[].value
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
onsetDateTime
onsetPeriod.end
onsetPeriod.start
recordedDate
recorder.display
recorder.reference 僅限醫事人員。
subject.reference 僅限病患。
verificationStatus.coding[].code
verificationStatus.coding[].display
verificationStatus.coding[].system

DiagnosticReport

系統支援 DiagnosticReport 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
conclusion 這項設定僅適用於 presentedForm[0].data 無法使用的情況。
effectiveDateTime
id
imagingStudy[].imagingStudyId
issued
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
performer[0].display
performer[0].reference 僅限醫事人員。
presentedForm[0].data 必須採用 Base64 編碼。可包含 路徑。
subject.reference 僅限病患。

DocumentReference

系統支援 DocumentReference 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
authenticator.display
authenticator.reference
author[0].display
author[0].reference
content[0].attachment.contentType

支援的 MIME 類型:

  • application/json
  • 應用程式/pdf
  • application/rtf
  • application/xhtml+xml
  • application/xml
  • 圖片/bmp
  • 圖片/gif
  • 圖片/jpeg
  • 圖片/png
  • 圖片/tiff
  • 文字/html
  • 文字/純文字
  • text/xml
content[0].attachment.creation
content[0].attachment.data 必須採用 Base64 編碼。
content[0].attachment.title
content[0].attachment.url
content[0].format.code
content[0].format.display
content[0].format.system
context.encounter[].reference
context.period.end
context.period.start
custodian.display
custodian.reference 僅限醫事人員。
date
description
docStatus
id
identifier[].system
identifier[].value
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
status
subject.reference 僅限病患。
type.coding[].code
type.coding[].display
type.coding[].system
type.text

Encounter

系統支援以下資源中的元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
class.code
class.display
class.system
id
identifier[].system
identifier[].value
location[].location.display
location[].location.reference
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
participant[0].individual.display
participant[0].individual.reference 僅限醫事人員。
participant[].type[].coding[].code
participant[].type[].coding[].display
participant[].type[].coding[].system
participant[].type[].text
period.end
period.start
reasonCode[].coding[].code
reasonCode[].coding[].display
reasonCode[].coding[].system
reasonCode[].text
serviceType.coding[].code
serviceType.coding[].display
serviceType.coding[].system
serviceType.text
status
subject.reference 僅限病患。
type[].coding[].code
type[].coding[].display
type[].coding[].system
type[].text

ImagingStudy

系統支援 ImagingStudy 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
description
encounter.reference
endpoint[0].reference
id
identifier[].system
identifier[].value
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
modality[].code
modality[].display
modality[].system
note[].text
procedureCode[].coding[].code
procedureCode[].coding[].display
procedureCode[].coding[].system
procedureCode[].text
referrer.display
referrer.reference 僅限醫事人員。
started
status
subject.reference 僅限病患。

免疫接種

系統支援免疫接種資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
encounter.reference
id
identifier[].system
identifier[].value
manufacturer.display
manufacturer.reference
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
occurrenceDateTime
occurrenceString
patient.reference 僅限病患。
primarySource
recorded
status
statusReason.coding[].code
statusReason.coding[].display
statusReason.coding[].system
statusReason.text
vaccineCode.coding[].code
vaccineCode.coding[].display
vaccineCode.coding[].system
vaccineCode.text

MedicationAdministration

系統支援 MedicationAdministration 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
category.coding[].code
category.coding[].display
category.coding[].system
category.text
context.reference
dosage.dose.unit
dosage.dose.value
dosage.method.coding[].code
dosage.method.coding[].display
dosage.method.coding[].system
dosage.method.text
dosage.rateQuantity.unit
dosage.rateQuantity.value
dosage.route.coding[].code
dosage.route.coding[].display
dosage.route.coding[].system
dosage.route.text
dosage.site.coding[].code
dosage.site.coding[].display
dosage.site.coding[].system
dosage.site.text
dosage.text
effectiveDateTime
effectivePeriod.end
effectivePeriod.start
id
identifier[].system
identifier[].value
medicationCodeableConcept.coding[].code
medicationCodeableConcept.coding[].display
medicationCodeableConcept.coding[].system
medicationCodeableConcept.text
medicationReference.display
medicationReference.reference 僅限藥物。
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
performer[0].actor.display
performer[0].actor.reference 僅限醫事人員。
request.reference
status
subject.reference 僅限病患。

MedicationDispense

系統支援 MedicationDispense 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
category.coding[].code
category.coding[].display
category.coding[].system
category.text
context.reference
daysSupply.code
daysSupply.system
daysSupply.unit
daysSupply.value
dosageInstruction[].doseAndRate[].doseQuantity.unit
dosageInstruction[].doseAndRate[].doseQuantity.value
dosageInstruction[].doseAndRate[].rateQuantity.unit
dosageInstruction[].doseAndRate[].rateQuantity.value
dosageInstruction[].method.coding[].code
dosageInstruction[].method.coding[].display
dosageInstruction[].method.coding[].system
dosageInstruction[].method.text
dosageInstruction[].route.coding[].code
dosageInstruction[].route.coding[].display
dosageInstruction[].route.coding[].system
dosageInstruction[].route.text
dosageInstruction[].site.coding[].code
dosageInstruction[].site.coding[].display
dosageInstruction[].site.coding[].system
dosageInstruction[].site.text
dosageInstruction[].text
id
identifier[].system
identifier[].value
medicationCodeableConcept.coding[].code
medicationCodeableConcept.coding[].display
medicationCodeableConcept.coding[].system
medicationCodeableConcept.text
medicationReference.display
medicationReference.reference 僅限藥物。
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
quantity.code
quantity.system
quantity.unit
quantity.value
status
statusReasonCodeableConcept.coding[].code
statusReasonCodeableConcept.coding[].display
statusReasonCodeableConcept.coding[].system
statusReasonCodeableConcept.text
subject.reference 僅限病患。
whenHandedOver

MedicationRequest

系統支援 MedicationRequest 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
authoredOn
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
dosageInstruction[].doseAndRate[].doseQuantity.unit
dosageInstruction[].doseAndRate[].doseQuantity.value
dosageInstruction[].patientInstruction
dosageInstruction[].route.text
dosageInstruction[].text
dosageInstruction[].timing.code.text
id
medicationCodeableConcept.coding[].code
medicationCodeableConcept.coding[].display
medicationCodeableConcept.coding[].system
medicationCodeableConcept.text
medicationReference.display
medicationReference.reference 僅限藥物。
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
reportedBoolean
reportedReference.display
reportedReference.reference
requester.display
requester.reference 僅限醫事人員。
status
subject.reference 僅限病患。

MedicationStatement

系統支援 MedicationStatement 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
category.coding[].code
category.coding[].display
category.coding[].system
category.text
context.reference
dateAsserted
dosage[].doseAndRate[].doseQuantity.unit
dosage[].doseAndRate[].doseQuantity.value
dosage[].patientInstruction
dosage[].route.coding[].code
dosage[].route.coding[].display
dosage[].route.coding[].system
dosage[].route.text
dosage[].text
dosage[].timing.code.text
effectiveDateTime
effectivePeriod.end
effectivePeriod.start
id
medicationCodeableConcept.coding[].code
medicationCodeableConcept.coding[].display
medicationCodeableConcept.coding[].system
medicationCodeableConcept.text
medicationReference.display
medicationReference.reference
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
status
subject.reference

觀察項目

系統支援 Observation 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
category[].coding[].code
category[].coding[].display
category[].coding[].system
code.coding[].code
code.coding[].display
code.coding[].system
code.text
component[].code.coding[].code
component[].code.coding[].display
component[].code.coding[].system
component[].code.text
component[].valueQuantity.unit
component[].valueQuantity.value
effectiveDateTime
encounter.reference
id
issued
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
performer[].display
performer[].reference 僅限醫事人員。
status
subject.reference 僅限病患。
valueQuantity.unit
valueQuantity.value
valueString

病患

系統支援 Patient 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
active
birthDate
gender
id
identifier[].system
identifier[].type.coding[].code
identifier[].type.coding[].display
identifier[].type.coding[].system
identifier[].type.text
identifier[].value
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
name[].family
name[].given[]
name[].text

程序

系統支援 Procedure 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
basedOn[].display
basedOn[].reference
bodySite[].coding[].code
bodySite[].coding[].display
bodySite[].coding[].system
bodySite[].text
category.coding[].code
category.coding[].display
category.coding[].system
category.text
code.coding[].code
code.coding[].display
code.coding[].system
code.text
encounter.reference
id
identifier[].system
identifier[].value
location.display
location.reference
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
performedDateTime
performer[0].actor.display
performer[0].actor.reference 僅限醫事人員。
recorder.display
recorder.reference
status
statusReason.coding[].code
statusReason.coding[].display
statusReason.coding[].system
statusReason.text
subject.reference 僅限病患。

ServiceRequest

系統支援 ServiceRequest 資源中的下列元素。

元素 可建立索引 可供搜尋 可擷取 大型語言模型輸入 參考支援 限制
authoredOn
category[].coding[].code
category[].coding[].display
category[].coding[].system
category[].text
code.coding[].code
code.coding[].display
code.coding[].system
code.text
id
intent
meta.source
meta.tag[].code
meta.tag[].display
meta.tag[].system
note[].text
priority
requester.display
requester.reference 僅限醫事人員。
status
subject.reference 僅限病患。

參考資料

Vertex AI Search 會解析特定參照,以便提供完整的搜尋結果。舉例來說,您可以搜尋一位醫師的姓名,然後找出與該醫師相關的資源。以下資源在參照內容中受支援。此外,搜尋含有參照的資源時,只會使用資源中指定的元素。

資源 元素 可擷取 可建立索引 可供搜尋 限制條件
二進位 id
二進位 contentType
  • application/json
  • 應用程式/pdf
  • application/rtf
  • application/xhtml+xml
  • application/xml
  • 圖片/bmp
  • 圖片/gif
  • 圖片/jpeg
  • 圖片/png
  • 圖片/tiff
  • 文字/html
  • 文字/純文字
  • text/xml
二進位 data
位置 id
位置 name
藥物 id
藥物 text
藥物 code.coding[].code
藥物 code.coding[].system
藥物 code.coding[].display
從業人員 id
從業人員 name[0].family 只會擷取名稱的第一個例項。
從業人員 name[0].given[] 只會擷取名稱的第一個例項。
從業人員 name[0].text 只會擷取名稱的第一個例項。