-
Type:
Change Request
-
Resolution: Persuasive
-
Priority:
Low
-
FHIR Core (FHIR)
-
R4
-
FHIR Infrastructure
-
QuestionnaireResponse
-
(profiles)
-
2.38.3.2
-
-
Ye Wang/Yunwei Wang: 6-0-0
-
Clarification
-
Non-substantive
Context
The textual description of the qrs-1 business invariant is confusing and implies something other than the intent and expression of the constraint.
qrs-1 Description: "Nested item can't be beneath both item and answer"
qrs-1 Expression: (answer.exists() and item.exists()).not()[
https://www.hl7.org/fhir/questionnaireresponse.html#invs
]
The constraint is intended to ensure that an item cannot have both another 'item' and an 'answer ' as child nodes. The current description doesn't convey that accurately.
Done When
The description of qrs-1 should convey a concept aligned with the expression and intent.
Proposed
'Item cannot contain both item and answer'