Stream: implementers
Topic: Clarification on Backbone summary elements
Lee Surprenant (Aug 18 2021 at 14:13):
I recently stumbled onto https://chat.fhir.org/#narrow/stream/179190-united-states/topic/Provenance.20-.20what.20is.20expectation.20for.20_summary.3Dtrue.3F/near/249115504
and it got me thinking.
https://build.fhir.org/elementdefinition-definitions.html#ElementDefinition.isSummary says:
Other than Attachment.data, all data type properties are included in the summary form.
Based on that, shouldn't all the children of summary BackboneElements be included in summaries?
Ewout Kramer (Aug 18 2021 at 14:25):
I was wondering about the same thing recently & found out that Attachment.data isn't the only exception either: see https://jira.hl7.org/browse/FHIR-33148
Lee Surprenant (Aug 18 2021 at 14:37):
I agree with you that, based on usage in the spec, its likely the phrase I quoted was intended for non-Backbone data type.
But I was sort of hoping it could just apply to top-level elements because then our implementation can sit right on top of the _elements
filter (which only applies at top level).
Josh Mandel (Aug 18 2021 at 16:37):
I agree @Lee Surprenant that it'd be good if we can fully describe _summary
semantics in terms of _elements
semantics.
Josh Mandel (Aug 18 2021 at 16:38):
(Like, _summary
behavior for a resource an be obtained with the right set of inputs to _elements
.)
Last updated: Apr 12 2022 at 19:14 UTC