首页 > 解决方案 > Google Cloud Healthcare API 不支持 PlanDefintion/$apply 和 Activity Definition/$apply

问题描述

我正在尝试通过对 PlanDefinition 和 ActivityDefintion 执行 $apply 操作来创建一个 carePlan 作为输出。

例如:

https://healthcare.googleapis.com/v1beta1/projects/<project_id>/locations/<location_name>/datasets/<dataset_name>/fhirStores/<fhirstore_name>/fhir/PlanDefinition/<plandefintion_id>/$apply?subject=Patient _ /

此端点抛出错误 404(未找到)!!1。

根据 FHIR R4 文档,尝试了多种方法使该端点工作。但似乎 GCP 尚不支持 v1 和 v1beta1 版本的医疗保健 API 中的 PlanDefintion 和 ActivityDefinition 中的 $apply 操作。

在这方面需要帮助。

标签: google-cloud-platformhl7-fhirhapi-fhirgoogle-healthcare-api

解决方案


在他们的文档页面上,他们指出您可以通过检索 CapabilityStatement 来查看服务器的功能。如果这没有列出 $apply 操作,则不支持。

实际上,在页面的下方,文档提到:“大多数扩展操作都没有实现”。如果您需要该功能,也许您可​​以联系他们以查看是否可以集成它,或者考虑使用不同的 FHIR 服务器实现。


推荐阅读