FHIR Chat · Call extended operation on previous version of resource? · implementers

Stream: implementers

Topic: Call extended operation on previous version of resource?


view this post on Zulip Preston TW (Dec 19 2019 at 21:15):

Hello! Is there any way to invoke extended operation for previous resource version? For example, should the following work:

api/v1/r4/Encounter/<Encounter instance ID>/_history/<Previous History version ID>/$<operation>

Thank you!

view this post on Zulip Grahame Grieve (Dec 19 2019 at 21:16):

we haven't documented that and don't expect it to work - historical versions are considered only accessible for audit purposes.

but we haven't said it can't work.

view this post on Zulip Elliot Silver (Dec 19 2019 at 22:20):

historical versions are considered only accessible for audit purposes.

Is that stated anywhere?

view this post on Zulip Grahame Grieve (Dec 19 2019 at 22:23):

not explicitly, And I can't even find where we say what I thought we said, which is that you can't search historical versions

view this post on Zulip Grahame Grieve (Dec 19 2019 at 22:24):

But we did specifically choose not to define a way to have an operation on a historical version of a resource, and removed the operations that were doing that

view this post on Zulip Elliot Silver (Dec 19 2019 at 22:27):

I realize I'm derailing Preston's thread, but is it valid to have a reference from one resource to a specific version of another resource? I want my Composition, DiagnosticReport, etc. to point to the observations as they existed when the document was authored, not as they may currently exist.

view this post on Zulip Grahame Grieve (Dec 19 2019 at 22:29):

yes. documented as valid. Does have a big sting in the tail though

view this post on Zulip Brian Postlethwaite (Jan 08 2020 at 20:33):

Doesn't $meta-add work on versions?

view this post on Zulip Lloyd McKenzie (Jan 08 2020 at 23:03):

We yanked that capability in R4 on the grounds that no-one had implemented it

view this post on Zulip Brian Postlethwaite (Jan 09 2020 at 20:37):

Must go back and review my server :rolling_eyes:


Last updated: Apr 12 2022 at 19:14 UTC