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

Syntax error in FHIRPath constraint

    XMLWordPrintableJSON

    Details

    • Type: Technical Correction
    • Status: Applied (View Workflow)
    • Priority: Medium
    • Resolution: Persuasive

      Description

      This profile contains the following constraint:

      provenance-1

      ($this.agent.who.resolve().is Practitioner or Device) implies exists()
      This is not syntactically correct according to the FHIRPath grammar:

      http://hl7.org/fhirpath/N1/grammar.html

      The constraint could be changed to:

      ($this.agent.who.resolve().is(Practitioner) or $this.agent.who.resolve().is(Device)) implies exists()
      to eliminate this issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            johntimm John Timm
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: