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

Invalid FHIRPath constraint in US Core Condition profile

    XMLWordPrintableJSON

    Details

    • Type: Change Request
    • Status: Applied (View Workflow)
    • Priority: Medium
    • Resolution: Persuasive
    • Specification:
      US Core (FHIR)
    • Raised in Version:
      3.1.0
    • Work Group:
      Cross-Group Projects
    • Related Page(s):
      Profiles and Extensions
    • Grouping:
    • Resolution Description:
      Hide

      Check with FHIR-I to have the proper operator for the FHIRPath expression in the constraint.

      Show
      Check with FHIR-I to have the proper operator for the FHIRPath expression in the constraint.
    • Resolution Vote:
      Eric Haas / Ioana Singureanu: 9-0-0
    • Change Category:
      Correction
    • Change Impact:
      Non-substantive

      Description

      The following constraint is present in the US Core Condition profile:

      where(category in 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category').exists()
      

      Nowhere in the current FHIRPath specification does it state that the behavior of the "in" operator can be overloaded to function like the "memberOf" function and if such was the case, then it would need to be documented here:

      http://hl7.org/fhir/fhirpath.html#changes

      and/or here:

      http://hl7.org/fhirpath/N1/#in-membership

      I believe that this is an error in the current version of the US Core Implementation Guide STU3 (v3.1.0).

      Per this Zulip discussion:
      https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Invalid.20FHIRPath.20constraint.20in.20the.20US.20Core.20Condition.20profile

      It was noted that the behavior was present in earlier versions of the FHIRPath spec but was removed in favor of `memberOf`.

      The US Core Condition profile should be updated to reflect this change.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Vote Date: