XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Not Persuasive
    • Icon: Medium Medium
    • US Core (FHIR)
    • 4.0.0
    • Cross-Group Projects
    • US Core Condition Profile [deprecated]
    • Hide

      Constraint has been removed in this version, so nothing to do. Consider if this should be documented as a patch for prior versions.

      Show
      Constraint has been removed in this version, so nothing to do. Consider if this should be documented as a patch for prior versions.

    Description

      Originally raised by nickgeorge at https://chat.fhir.org/#narrow/stream/179175-argonaut/topic/Conditions.20warning.20constraint.20bug

      Currently, the us-core-1 constraint on Condition is like this:

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

      But category is a repeating field and memberOf isn't well-defined for input collections with multiple items.

      It would be better written as this:

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

       

      See FHIR-36334 for a related issue where I seek clarification on the memberOf() behavior for input collections with more than a single item.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lmsurprenant Lee Surprenant
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: