FHIR Chat · Profiling use of StructureDefinition.isSummary · IG creation

Stream: IG creation

Topic: Profiling use of StructureDefinition.isSummary


view this post on Zulip Elliot Silver (Jan 19 2022 at 17:26):

Can I create a profile that sets an element as isSummary?

(As I understand it there are a number of elements in StructureDefinition that only apply to resource definition, profiling, logical models, etc. Is there any indication that which elements apply to which use?)

view this post on Zulip Josh Mandel (Jan 19 2022 at 17:33):

In theory profiles can do this, but they won't necessarily impact server behavior for things like GET /Observation?_summary=true. From https://build.fhir.org/elementdefinition-definitions.html#ElementDefinition.isSummary:

servers might not support per-profile use of the isSummary flag

view this post on Zulip Elliot Silver (Jan 19 2022 at 18:09):

Argh, I need to learn to RTFM. Thanks.

view this post on Zulip Josh Mandel (Jan 19 2022 at 18:58):

I never would have had this reference handy for you if it wasn't something that had just come up in our discussion at the working creating:-) the manual is pretty gosh darn large

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 02:31):

The specification says this about isSummary in profiles: "The element's presence, and value, must match the definition in the base definition". I.e. you can declare isSummary in a differential if you want, but it can't differ from the value declared in the base. (Which means there's not much point.) Phrased differently - isSummary is fixed in the resource definition and can't be changed by profiles.

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 02:31):

(https://build.fhir.org/elementdefinition.html#interpretation)

view this post on Zulip Elliot Silver (Jan 20 2022 at 04:32):

That sounds like @Josh Mandel's quote should read "no server should support per-profile use."

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 14:26):

I've added FHIR#35855

view this post on Zulip Josh Mandel (Jan 20 2022 at 14:40):

We also identified an issue where modifierExtension isn't isSummary but ought to be.

view this post on Zulip Josh Mandel (Jan 20 2022 at 14:40):

@Alexander Zautke did you file this issue? I can't find it searching Jira but don't want to duplicate

view this post on Zulip Alexander Zautke (Jan 20 2022 at 14:44):

@Josh Mandel Sorry, not yet. I‘ll create one and link it here.

view this post on Zulip John Moehrke (Jan 20 2022 at 14:46):

gets me thinking that .meta.security should also be marked with isSummary in the core DomainResource

view this post on Zulip John Moehrke (Jan 20 2022 at 14:48):

oh, it does look like all of .meta is marked is Summary... carry on.

view this post on Zulip Alexander Zautke (Jan 24 2022 at 09:29):

Added FHIR#35865 for the clarification about modifierExtensions in summaries


Last updated: Apr 12 2022 at 19:14 UTC