Google Cloud Healthcare API FHIR 搜索包括患者但不是所有预约资源

Google Cloud Healthcare APIs FHIR Search Include Patient but not all resources with Appointment

我正在尝试 运行 搜索约会并包括一些资源但不包括其他资源。特别是要避免包含一些链接为“supportingInfo”的二进制资源,这些资源非常大。

但我仍然希望包括患者、位置等

使用 * 有效并包括所有相关资源:患者、位置、从业者,不幸的是二进制:

GET /Appointment?_include=*

但是,none 其中包括约会以外的任何内容:

GET /Appointment?_include=Patient:patient

GET /Appointment?_include=Location:location

GET /Appointment?_include=Patient:actor

GET /Appointment?_include=Practitioner:practitioner

我是不是做错了什么?或者这只是 Google 的 FHIR API 实施的限制?我已经成功地使用了其他看似更高级的搜索功能,例如 _revinclude_include:iterate,但也许是全有还是全无?我不确定如何确认这一点?

_include 需要指定要包含的资源和搜索参数。所以对于约会,它将是:

GET [base]/Appointment?_include=Appointment:patient,Appointment:location,Appointment:practitioner

如果您还想包含所包含资源指向的某些资源,则需要执行以下操作: _include:iterate=Location:organization return 您的 priro 包含的 Locations 指向的组织会包括