Closed FikriMilano closed 2 months ago
@jingtang10 @f-odhiambo this is a super small change
@ndegwamartin
@FikriMilano
You mean that, based on doc, qItem can still be used in expression defined at questionnaire root level, right ?
@MJ1998 I meant the opposite
qItem
is only valid when used in Questionnaire item
I mean the same. qItem should be a reserved item in Questionnaire items. But from definition, one should be able to use it as a variable name (not recognized as a reserved word) when declared in the questionnaire root extension(s), correct ?
But from code this will be considered as a reserved word for root level extensions as well.
@MJ1998 correct and correct. Let me know if you or anyone have objections to that.
Supporting this will also not be a big change but it's not needed currently. I am fine with it. @jingtang10
Describe the Issue Add
questionnaire
andqItem
as reserved variables.Note: Based on this doc, I would argue that
qItem
is not supposed to be accessed via root level of any expression based extension. BUT still, I don't see the downsides of addingqItem
as part of the reserved variables. It's simpler too.Would you like to work on the issue? Yes