FHIR Chat · MessageHeader.timestamp · v2 to FHIR

Stream: v2 to FHIR

Topic: MessageHeader.timestamp


view this post on Zulip Craig Newman (Mar 04 2019 at 14:38):

It looks like MessageHeader.timestamp was removed in the transition from STU3 to R4. I can't find a gForge ticket related to this change. Is anyone aware of the reason why this was removed? In R4, should we be using meta.lastUpdated or a Provenance resource rather than MessageHeader.timestamp? We're trying figure out where MSH-11 of a v2 message would go in MessageHeader. Or is MSH-11 more akin to Bundle.timestamp?

view this post on Zulip Grahame Grieve (Mar 04 2019 at 19:55):

Bundle.timestamp was added in R4, and so MessageHeader.timestamp was removed

view this post on Zulip Grahame Grieve (Mar 04 2019 at 19:56):

I can't find a task either. Odd

view this post on Zulip Grahame Grieve (Mar 04 2019 at 19:58):

GF#13840

view this post on Zulip Craig Newman (Mar 05 2019 at 14:24):

In the context of converting a v2 message to a FHIR bundle (in either a messaging for a RESTful paradigm) in an application other than the one that created the v2 message and given the explanation for how to populate Bundle.timestamp for a message at http://hl7.org/implement/standards/fhir/bundle-definitions.html#Bundle.timestamp:

message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message

Can we assume that the "content of the message" was determined by the original application when it created the v2 message (and populated MSH-11) and that should go in Bundle.timestamp. Further, the time of "conversion" to FHIR should go in Bundle.meta.lastUpdated (which hopefully will be pretty close to the time in MSH-11 but could be delayed for any number of reasons in the real world).

view this post on Zulip Craig Newman (Mar 05 2019 at 14:34):

All references to MSH-11 should read MSH-7. Sorry about that.

view this post on Zulip René Spronk (Mar 05 2019 at 14:43):

It all depends what you're trying to do. From a messaging standpoint it isn't really the date/time of the assembling of the bundle content that are of importance, but the timing of the trigger event, which may lie at some distance in the past.
Example: nurse takes someone temperature at 09:00, and only gets to enter it into the system at 11:00. trigger event is 09:00 (this is the time of the latest state transition on the focal resource in the message), bundle/message was created at 11:00.

If one asks (as you seem to be doing) "how old is the data in this bundle": messaging (v2 and FHIR) is 'snapshot' in nature, it's always about the "here and now". So MSH-7 contains the time at which the snapshot was generated.


Last updated: Apr 12 2022 at 19:14 UTC