Clarify that variables are in scope on the node on which they are defined

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • Questionnaire
    • Paul Lynch/Joee Garcia: 5-0-0
    • Correction
    • Compatible, substantive

      Currently the variable extension page (http://hl7.org/fhir/R4/extension-variable.html) says, "Variable: Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension." I would like the variable to also be in scope on the node in which it is defined. This is kind of already hinted by the sentence "Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions" which only makes sense if the variables are in-scope for subsequent variables on the same node.

            Assignee:
            Lloyd McKenzie
            Reporter:
            Paul Lynch
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: