Stream: implementers
Topic: resource timeline
Jose Costa Teixeira (Jan 12 2018 at 07:36):
how can we retrieve a bunch of resources
"As they were at t=2017-07-01T13:01:00"?
Lloyd McKenzie (Jan 12 2018 at 15:37):
That's not currently a defined feature (in part because it's rather tricky to implement)
Jose Costa Teixeira (Jan 15 2018 at 11:04):
could we store the "version's validity period" in the resource metadata?
Paul Knapp (Jan 15 2018 at 13:07):
The start is there, you would just need to add the end, then propose an operation to scan the resources.
Lloyd McKenzie (Jan 15 2018 at 15:53):
There is no "validity period". There is a date indicating when the version happened to change on a given server. We have the technical structures needed to do it (if a server chooses to support history), but it makes for an ugly and usually ill-performing query. In any case, you can certainly submit a change request.
Jose Costa Teixeira (Jan 15 2018 at 19:04):
by "validity period" for a version N I meant something that would allow us to know when that version was the latest.
Having the change dateTime, this would be [(time of update for version N) , (time of update for version N+1 )], which would be a challenge to query.
would it make sense to have a "deprecated dateTime" in the resource, thus saving (?) that query challenge?
Brian Postlethwaite (Jan 15 2018 at 22:00):
That could be a possible optimization in a servers storage layer, it doesn't need to be in the interface.
Lloyd McKenzie (Jan 15 2018 at 22:37):
Agree that we shouldn't add a deprecated dateTime to the interface.
Jose Costa Teixeira (Jan 16 2018 at 06:20):
so this would allow that i could query for "...?timeEffective=20170701T13:01:00" and get whatever-versions-of-the-resources-were-effective-then?
Jose Costa Teixeira (Jan 16 2018 at 06:21):
if it is on the server, but not in the interface, would I be able to query on that? Or I'd have to find other mechanisms?
Christiaan Knaap (Jan 17 2018 at 18:56):
The _at parameter on history does something like that.
Jose Costa Teixeira (Jan 17 2018 at 19:01):
where can i find info on that?
I can't see it in search
Christiaan Knaap (Jan 18 2018 at 05:45):
That's because it's on history :-)
http://www.hl7.org/implement/standards/fhir/http.html#history
Last updated: Apr 12 2022 at 19:14 UTC