PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.phr@1.0.0-ballot2
    http://hl7.org/fhir/uv/phr/StructureDefinition/PhrBundle
description: Standard PHR profile of the Bundle resource.
package_name: hl7.fhir.uv.phr
derivation: constraint
name: PhrBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: document}
    index: 0
  entry:
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      description: Slice based on the entry.resource pattern
      discriminator:
      - {path: $this.resource, type: type}
      min: 2
      slices:
        primaryPatientResource:
          match: {}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 2
            elements:
              resource: {type: Patient, index: 3}
        coverPage:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 4
            elements:
              resource: {type: Composition, index: 5}
        internationalPatientSummary:
          match: {}
          schema: {mustSupport: true, array: true, index: 6}
          min: 0
        documentReferences:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 7
            elements:
              resource: {type: DocumentReference, index: 8}
        mediaReferences:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 9
            elements:
              resource: {type: Media, index: 10}
        provenanceRecords:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 11
            elements:
              resource: {type: Provenance, index: 12}
package_version: 1.0.0-ballot2
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phr/StructureDefinition/PhrBundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0-ballot2