Stream: implementers
Topic: Questionnaire.item.type cardinality
Elliot Silver (Aug 18 2020 at 20:17):
Questionnaire.item.type has a cardinality of 1..1, but the definition of Questionnaire.item.definition says
If [definition] is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:
... * type (ElementDefinition.type)
Since type is required, how can we derive it from ElementDefinition?
Elliot Silver (Aug 20 2020 at 05:10):
bump
Gino Canessa (Aug 20 2020 at 15:42):
Looks like a documentation issue. type
will always have a value, so the documentation should either state that the values are equivalent (so you could use either) or remove type
from the list.
Someone with a little more Questionnaire experience would need to chime in as to which is the correct way.
I'd suggest opening a Jira issue for it.
Grahame Grieve (Aug 20 2020 at 21:13):
I think that the text you quote (which I wrote) needed to updated when other changes were made, but it was missed. a task would be good
Elliot Silver (Aug 21 2020 at 05:23):
GF#28305 created.
Lloyd McKenzie (Aug 23 2020 at 21:51):
Yeah. The type has to be present - but would be expected to align with the type of the definition element if specified
Last updated: Apr 12 2022 at 19:14 UTC