Stream: implementers
Topic: Cardinalities differ between Simplifier and IG Publisher
Pieter Edelman (Jul 15 2020 at 12:20):
I have a profile called zib-BodyHeight.xml, which has three slices on Observation.code.coding: BodyHeightCode, bodyHeightCodeStanding and bodyHeightCodeLying. The first slice stems from the base profile vitalsigns-bodyheight.xml and is defined with a cardinality of 1..1. The latter two are defined in the derived profile itself and should be optional. As such, they contain only <max value="1"/>
in the differential, and no lower bound.
When generating the snapshot, Forge/Simplifier and the IG Publisher disagree on the cardinality of these two additional slices. Simplifier renders them as 0..1, while the IG Publisher interprets them as 1..1
Does anybody have an idea what's going on and more which of the two interpretations is correct?
I also attached two other profiles to complete the chain of inheritance. This profile can also be viewed on Simplifier: https://simplifier.net/packages/nictiz.fhir.nl.stu3.zib2017-prerelease/2.0.0-beta3/files/141216
Lloyd McKenzie (Jul 15 2020 at 16:05):
They should be 0..1. @Grahame Grieve ?
Grahame Grieve (Jul 16 2020 at 02:00):
added it to my list
Grahame Grieve (Jul 16 2020 at 05:19):
fixed next release
Pieter Edelman (Jul 16 2020 at 07:51):
Thanks, glad to hear that it's just a bug
Last updated: Apr 12 2022 at 19:14 UTC