PackagesCanonicalsLogsProblems
    Packages
    ehealthplatform.be.r4.federalprofiles@1.1.8-beta
    http://www.mycarenet.be/fhir/StructureDefinition/be-eagreementdemand
description: The profile for the demand for an agreement.
package_name: ehealthplatform.be.r4.federalprofiles
derivation: constraint
name: BeMyCareNetEAgreementDemand
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: 5
    index: 5
    slicing:
      rules: open
      description: Slice based on the entry.resource type
      discriminator:
      - {path: resource, type: type}
      min: 5
      slices:
        messageHeader:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              resource:
                type: MessageHeader
                index: 7
                elements:
                  destination: {index: 8}
                  source: {index: 9}
            required: [resource]
        practitioner:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 10
            elements:
              resource:
                type: Practitioner
                index: 11
                elements:
                  identifier: {index: 12}
            required: [resource]
        claim:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 13
            elements:
              resource:
                type: Claim
                index: 14
                elements:
                  insurance: {index: 21}
                  diagnosis: {index: 19}
                  supportingInfo: {index: 18}
                  item:
                    index: 23
                    elements:
                      detail:
                        index: 24
                        elements:
                          subDetail: {index: 25}
                  procedure: {index: 20}
                  related: {index: 15}
                  accident: {index: 22}
                  payee: {index: 16}
                  careTeam: {index: 17}
            required: [resource]
        practitionerRole:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 26
            elements:
              resource:
                type: PractitionerRole
                index: 27
                elements:
                  code: {index: 28}
                  specialty: {index: 29}
            required: [resource]
        organization:
          match: {}
          schema:
            mustSupport: true
            index: 30
            elements:
              resource:
                type: Organization
                index: 31
                elements:
                  identifier: {index: 32}
                  type: {index: 33}
            required: [resource]
        patient:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 34
            elements:
              resource:
                type: Patient
                index: 35
                elements:
                  identifier: {index: 36}
                  contact: {index: 37}
            required: [resource]
        serviceRequest:
          match: {}
          schema:
            mustSupport: true
            index: 38
            elements:
              resource: {type: ServiceRequest, index: 39}
            required: [resource]
package_version: 1.1.8-beta
class: profile
kind: resource
url: http://www.mycarenet.be/fhir/StructureDefinition/be-eagreementdemand
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [id, timestamp, meta]