Stream: implementers
Topic: cardinality of slices
Ben Spencer (Apr 25 2017 at 15:19):
Looking at https://www.hl7.org/fhir/bmi.profile.xml.html - shouldn't the BMICode slice set min to 1 if that particular code is compulsory?
Ben Spencer (Apr 25 2017 at 15:21):
also is it necessary to specify type on elements with fixed values?
Eric Haas (Apr 25 2017 at 17:59):
"also is it necessary to specify type on elements with fixed values?" Yes:
eld-6: Fixed value may only be specified if there is one type (expression : fixed.empty() or (type.count() <= 1), xpath: not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)<=1))
Eric Haas (Apr 25 2017 at 18:14):
RE "shouldn't the BMICode slice set min to 1 if that particular code is compulsory? "
Yes it should can you make a tracker to fix all the slices in the vitals?
Ben Spencer (Apr 26 2017 at 10:20):
that says <= 1, not =1 though
Eric Haas (Apr 26 2017 at 20:59):
so it does. changed in STU3. I have been conditioned since I always got a tooling error if type was missing for fixed values.
Lloyd McKenzie (Apr 26 2017 at 23:46):
And you still will - I don't think that's changed, though it's somewhat annoying
Last updated: Apr 12 2022 at 19:14 UTC