Bundle invariant bdl-7 should not apply to history type

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • Normative
    • Bundle
    • Hide

      According to "https://www.hl7.org/fhir/bundle.html#bundle-unique" duplicates are allowed for "history" .

      Correct the FHIRPath to reflect the existing text.

      Show
      According to " https://www.hl7.org/fhir/bundle.html#bundle-unique " duplicates are allowed for "history" . Correct the FHIRPath to reflect the existing text.
    • Ewout Kramer/Rick Geimer: 22-0-1
    • Non-substantive
    • STU3

      The Bundle invariant bdl-7 will fail against a history Bundle that contains multiple deleted entries.

      The problem is that the expression requires an entry.resource with meta.versionId. Deleted entries do not contain a resource.

      Proposed updated bdl-7 invariant expression:

      "(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()"

            Assignee:
            Unassigned
            Reporter:
            Richard Ettema
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: