FHIR Chat · Use of the focus element on the MessageHeader. · implementers

Stream: implementers

Topic: Use of the focus element on the MessageHeader.


view this post on Zulip Brian Rickabaugh (Nov 06 2020 at 18:07):

MUST a bundle include the object referenced in the MessageHeader.focus.reference element?

The documentation says:

The resources it references should be contained in the bundle but are not also listed here.

SHOULD typically doesn't mean MUST or SHALL.

Thanks in advance, Brian

view this post on Zulip Eric Haas (Nov 06 2020 at 18:12):

see http://hl7.org/fhir/messageheader.html#notes

The actual content of the focus resource is specified for each message event (see the list on the messaging page). Any resources referenced in the focus element are always included in the bundle

view this post on Zulip Vassil Peytchev (Nov 06 2020 at 18:14):

Yes. The quote in the original question is about the resources referenced by the resource referenced by MessageHeader.focus
Example:
MessageHeader.focus points to Task
Task.basedOn point to ServiceRequest
It is ServiceRequest that should be in the Bundle.

view this post on Zulip Brian Rickabaugh (Nov 06 2020 at 18:19):

The word should is more of a strong suggestion but not a requirement.

If the spec. means to say that it is a requirement, it should use the words SHALL or MUST.

view this post on Zulip Vassil Peytchev (Nov 06 2020 at 18:20):

The word should does not refer to the resource referenced from MessageHeader.focus. Please see my example. The full quote is

Only the root resource is specified [in the focus reference]. The resources it [the root resource specified in the focus reference] references should be contained in the bundle but are not also listed here [in the focus reference].

view this post on Zulip Kevin Mayfield (Nov 07 2020 at 08:11):

Is this for profiled MessageHeader or Messageheader used with MessageDefinition?

For the later, the MessageDefinition.focus sets the cardinality of the MessageHeader.focus

view this post on Zulip Lloyd McKenzie (Nov 07 2020 at 20:24):

It would be the same for both. The focus SHALL be in the Bundle.

view this post on Zulip Lloyd McKenzie (Nov 07 2020 at 20:24):

What related resoures also need to be in the Bundle are driven by the MessageDefinition and/or the aggregation flag on the profiles, starting with the profile on the focus.

view this post on Zulip Eric Haas (Nov 09 2020 at 15:43):

To illustrate what Lloyd is talking about see this earlier ballot version of Alerts here: http://hl7.org/fhir/us/davinci-alerts/2020Feb/guidance.html#formally-defining-the-da-vinci-notification-message


Last updated: Apr 12 2022 at 19:14 UTC