PackagesCanonicalsLogsProblems
    Packages
    ehealthplatform.be.r4.federalprofiles@1.1.24-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:
              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]
        claim:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 14
            elements:
              fullUrl: {index: 15}
              resource:
                type: Claim
                index: 16
                elements:
                  insurance: {index: 23}
                  diagnosis: {index: 21}
                  supportingInfo: {index: 20}
                  item:
                    index: 25
                    elements:
                      detail:
                        index: 26
                        elements:
                          subDetail: {index: 27}
                  procedure: {index: 22}
                  related: {index: 17}
                  accident: {index: 24}
                  payee: {index: 18}
                  careTeam: {index: 19}
            required: [resource, fullUrl]
        practitionerRole:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 28
            elements:
              fullUrl: {index: 29}
              resource: {type: PractitionerRole, index: 30}
            required: [resource, fullUrl]
        organization:
          match: {}
          schema:
            mustSupport: true
            index: 31
            elements:
              fullUrl: {index: 32}
              resource: {type: Organization, index: 33}
            required: [resource, fullUrl]
        patient:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 34
            elements:
              fullUrl: {index: 35}
              resource:
                type: Patient
                index: 36
                elements:
                  contact: {index: 37}
            required: [resource, fullUrl]
        serviceRequest:
          match: {}
          schema:
            mustSupport: true
            index: 38
            elements:
              fullUrl: {index: 39}
              resource: {type: ServiceRequest, index: 40}
            required: [resource, fullUrl]
package_version: 1.1.24-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]