如何在AWS FHIR商店中获取特定FHIR资源的所有版本?

发布于 2025-02-03 05:32:21 字数 352 浏览 4 评论 0原文

是否有一种方法可以获取FHIR商店中创建的特定资源的所有版本的列表。我已经使用了以下呼叫,

   <FHIR_URL>/<resource-type>/<resource-id>/_history

则不会返回响应

但是如果我将版本添加到此URL中,

   <FHIR_URL>/<resource-type>/<resource-id>/_history/<version>

:然后它仅显示资源的特定版本,但是需要特定资源的所有版本,是否有一种方法可以获取此功能?

Is there a way to get the list of all the versions of a specific resource created in FHIR store. I have used the following call,

   <FHIR_URL>/<resource-type>/<resource-id>/_history

but its not returning response

If I add version to this url:

   <FHIR_URL>/<resource-type>/<resource-id>/_history/<version>

then it only shows that particular version of the resource, but all the versions of a specific resource are required, is there a way to get this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七秒鱼° 2025-02-10 05:32:21

如有疑问,我总是尝试参考实施。

(下面收到所有请求)

http://wildfhir4.aegis.net/fhir4-0-1/Patient/example/_history

https://vonk.fire.ly/R4/Patient/pat1/_history

http://hapi.fhir.org/baseR4/Patient/616330/_history?_count=50

我使用搜索功能并选择一个随机的患者。搜索功能与 /患者 /一样简单?并且没有查询字符串值。

虽然始终受到更改和“重新处理种子数据”的影响,但上面的宙斯盾示例(今天)正在为一个患者返回多行历史记录。

如果AWS与3个参考实现“主要相同”,我将提交一个错误报告。

但是根据您的示例,它似乎与上面的参考实现示例和下面的HL7文档相符。

https://build.fhir.org/http.html.html.html#history

When in doubt, I always try the reference-implementations.

(all GET requests below)

http://wildfhir4.aegis.net/fhir4-0-1/Patient/example/_history

https://vonk.fire.ly/R4/Patient/pat1/_history

http://hapi.fhir.org/baseR4/Patient/616330/_history?_count=50

I got each systems Patient-Fhir-Logical-Id ("example", "pat1", "616330") by using the search function, and picking a random Patient. The Search function is as simple as /Patient/? and no query string values.

While always subject to change and "re doing the seed data", the aegis example above (today) is returning multiple rows of history for a single patient.

If AWS does not work "mostly the same" as the 3 reference implementations, I would submit a bug report.

But based on your examples, it seems to fall in line with the reference implementation examples above and the HL7 documentation below.

https://build.fhir.org/http.html#history

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文