Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-30008

Clarify evaluation of root of expression

    XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIRPath (FHIR)
    • 1.0
    • Implementable Technology Specifications
    • documentation
    • 3, 8.6, 10.1
    • Hide

      Agreed, apply clarification as suggested

      Show
      Agreed, apply clarification as suggested
    • Correction
    • Non-substantive

    Description

      When resolving an identifier that is also the root of a FHIRPath expression, it is resolved as a type name first, and if it resolves to a type, it must resolve to the type of the context (or a supertype). Otherwise, it is resolved as a path on the context. If the identifier cannot be resolved, the evaluation will end and signal an error to the calling environment.

      "Otherwise, it is resolved as a path on the context" refers to "it must resolve to the type of the context", not "if it resolves to a type" - but the text could be read either way.

      Changing the text to "... and if it resolves to a type and that type is the type of the context (or a supertype). Otherwise, ..." clears up the ambiguity.

      chat.fhir conversation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aelred Felix Chapman (Inactive)
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: