Stream: questionnaire
Topic: extension cardinalities
Brian Postlethwaite (Jan 28 2022 at 00:00):
I missed this one in this mornings batch
http://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-questionnaireAdaptive.html
(I don't think it makes sense to have a flag that can have multiple values...)
And yes it does support Uri too, though it's still worded as singular.
Lloyd McKenzie (Jan 28 2022 at 00:02):
It does make sense because it's a boolean or a URL. Repeating the URL is completely appropriate.
Brian Postlethwaite (Jan 28 2022 at 00:03):
Would you suggest that the boolean part wouldn't make sense to repeat, and just the URL side of things?
Brian Postlethwaite (Jan 28 2022 at 00:03):
(I'm trying to work out what makes sense for the code generator)
Lloyd McKenzie (Jan 28 2022 at 00:16):
Yes. Repeating the boolean doesn't make sense. Repeating it with distinct values would be a downright error. (In fact a boolean with any answer other than 'true' would be weird.)
Brian Postlethwaite (Jan 28 2022 at 01:44):
Cool, so no change for this one.
But I'll need to do some thinking on what to do for extensions with multiple types in my generator.
Last updated: Apr 12 2022 at 19:14 UTC