Add id constraint for contained resources

XMLWordPrintableJSON

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

      We should update "dom-3" to ensure that:

      • If there is a link pointing to the contained resource, then contained resource must have a non-empty "id"
      Show
      We should update "dom-3" to ensure that: If there is a link pointing to the contained resource, then contained resource must have a non-empty "id"
    • Correction

      Looking at dom-3 (https://www.hl7.org/fhir/domainresource.html#invs), it says that a contained resource shall either be referenced or should reference the containing resource. Should there also be a constraint saying that the contained resource has an id if it doesn't reference the containing resource? 

            Assignee:
            Lloyd McKenzie
            Reporter:
            prestontw
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: