Stream: IG creation
Topic: Rendering slices
Josh Mandel (Jan 06 2022 at 20:18):
... I'm not sure if these are already being tracked elsewhere, but the way the valueString
slicing is rendered is confusing for me. I think the meaning is "there will always be a string here, and only a string". If that's the case, why isn't valueString
nested under the slicing group, the way that other constrained slices are nested?
Grahame Grieve (Jan 06 2022 at 20:43):
because the slicing definition may have children of it's own, which are separate from the slices themselves
Grahame Grieve (Jan 06 2022 at 20:43):
so the slices are not shown as children of the slicing, but as siblings following it
Josh Mandel (Jan 06 2022 at 20:48):
Hmm, do you mean if a profile is re-slicing this one? Trying to follow this comment (right now I understand as much as: the example I showed is a special simple case of a more general pattern, and the tree rendering opts for consistency at the general level).
Grahame Grieve (Jan 06 2022 at 20:49):
the example I showed is a special simple case of a more general pattern, and the tree rendering opts for consistency at the general level
yes
Grahame Grieve (Jan 06 2022 at 20:49):
not so much re-slicing.
Grahame Grieve (Jan 06 2022 at 20:49):
a sliced element has
- the definition of the slicing
- one or more slice definitions
Grahame Grieve (Jan 06 2022 at 20:50):
the definition of the slicing is not just "this is how slices are differentiated" but also "and this is rules that apply to every slice"
Josh Mandel (Jan 06 2022 at 20:51):
You mean the content of ElementDefinition.slicing.rules?
Josh Mandel (Jan 06 2022 at 20:52):
Uh, I see this changes between Differential and Snapshot.
Differential:
Snapshot:
Grahame Grieve (Jan 06 2022 at 20:52):
the content of ElementDefinition.slicing.rules is "the definition of the slicing". The rest of the ElementDefinition - and any children element that follow the ElementDefinition that sets up the slicing- that's also going to be rendered
Grahame Grieve (Jan 06 2022 at 20:52):
hmm. that shouldn't be.
John Moehrke (Jan 07 2022 at 13:05):
.
Last updated: Apr 12 2022 at 19:14 UTC