PackagesCanonicalsLogsProblems
    Packages
    ehealthplatform.be.r4.federalprofiles@1.1.42-beta
    http://www.mycarenet.be/fhir/StructureDefinition/be-eagreementconsultreply
description: Profile for the reply to consulting eAgreement request in the MyCareNet flows.
package_name: ehealthplatform.be.r4.federalprofiles
derivation: constraint
name: BeMyCareNetEagreementConsultReply
type: Bundle
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {index: 2}
    required: [profile]
  type: {mustSupport: true, index: 3}
  timestamp: {mustSupport: true, index: 4}
  entry:
    array: true
    min: 2
    index: 5
    slicing:
      rules: open
      description: Slice based on the entry.resource type
      discriminator:
      - {path: resource, type: type}
      min: 2
      slices:
        messageHeader:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              fullUrl: {index: 7}
              resource:
                type: MessageHeader
                index: 8
                elements:
                  destination: {index: 9}
                  source: {index: 10}
            required: [resource, fullUrl]
        practitioner:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 11
            elements:
              fullUrl: {index: 12}
              resource: {type: Practitioner, index: 13}
            required: [resource, fullUrl]
        practitionerRole:
          match: {}
          schema:
            mustSupport: true
            index: 14
            elements:
              fullUrl: {index: 15}
              resource: {type: PractitionerRole, index: 16}
            required: [resource, fullUrl]
        organization:
          match: {}
          schema:
            mustSupport: true
            index: 17
            elements:
              fullUrl: {index: 18}
              resource: {type: Organization, index: 19}
            required: [resource, fullUrl]
        patient:
          match: {}
          schema:
            mustSupport: true
            index: 20
            elements:
              fullUrl: {index: 21}
              resource:
                type: Patient
                index: 22
                elements:
                  contact: {index: 23}
            required: [resource, fullUrl]
        searchsetBundle:
          match: {}
          schema:
            mustSupport: true
            index: 24
            elements:
              fullUrl: {index: 25}
              resource: {type: Bundle, index: 26}
            required: [resource, fullUrl]
package_version: 1.1.42-beta
class: profile
kind: resource
url: http://www.mycarenet.be/fhir/StructureDefinition/be-eagreementconsultreply
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [id, timestamp, meta]