Stream: questionnaire
Topic: enableWhen scope
Patrick Werner (May 02 2020 at 15:27):
I was wondering about the scope of enableWhen if i use enableWhen inside of a repeating group to add an item if one of the answers has a certain value.
Patrick Werner (May 02 2020 at 15:29):
I couldn't find guidance in the spec. So i am assuming this wouldn't work as i intend it to work.
Intended behavior: The item is only enabled inside of groups where the enableWhen condition is met.
Patrick Werner (May 02 2020 at 15:29):
Is there any idea on the scope where enableWhen looks up for matching ids?
Patrick Werner (May 02 2020 at 15:31):
Related question: enableWhen with an answerCoding: is this matching a pattern matching? Or do i have to fill out code, display, system ?
Lloyd McKenzie (May 02 2020 at 23:54):
If the referenced item is inside the repeating group with the conditional item, the reference will be group-specific.
Matching on codings is just code + system. Feel free to submit a change request for us to clarify that though.
Last updated: Apr 12 2022 at 19:14 UTC