dom-3 invariant doesn't handle contained pointing to container

XMLWordPrintableJSON

    • Type: Technical Correction
    • Resolution: Persuasive
    • Priority: Highest
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • DomainResource
    • Correction

      The invariant should be:

      (reference = '#' and %rootResource!=%resource) or reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

            Assignee:
            Lloyd McKenzie
            Reporter:
            Lloyd McKenzie
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: