PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.kl.gateway.care@1.0.0
    http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-delivery-report
description: Deliver report to deliver for each citizen.
package_name: hl7.fhir.dk.kl.gateway.care
derivation: constraint
name: KLGatewayCareDeliveryReport
type: Bundle
elements:
  identifier: {index: 0}
  type:
    pattern: {type: code, value: collection}
    type: code
    index: 1
  timestamp: {index: 2}
  total: {index: 3}
  link: {index: 4}
  entry:
    index: 5
    slicing:
      rules: closed
      discriminator:
      - {path: resource, type: profile}
      min: 1
      slices:
        citizen:
          match: {}
          schema:
            _required: true
            index: 6
            elements:
              resource: {type: Patient, index: 7}
            required: [resource]
        matterOfInterestObservation:
          match: {}
          schema:
            array: true
            index: 18
            elements:
              resource: {type: Observation, index: 19}
            required: [resource]
        encounter:
          match: {}
          schema:
            array: true
            index: 20
            elements:
              resource: {type: Encounter, index: 21}
            required: [resource]
        plannedIntervention:
          match: {}
          schema:
            array: true
            index: 14
            elements:
              resource: {type: CarePlan, index: 15}
            required: [resource]
        goal:
          match: {}
          schema:
            array: true
            index: 10
            elements:
              resource: {type: Goal, index: 11}
            required: [resource]
        completedIntervention:
          match: {}
          schema:
            array: true
            index: 16
            elements:
              resource: {type: Procedure, index: 17}
            required: [resource]
        citizensOwnObservation:
          match: {}
          schema:
            array: true
            index: 12
            elements:
              resource: {type: Observation, index: 13}
            required: [resource]
        condition:
          match: {}
          schema:
            array: true
            index: 8
            elements:
              resource: {type: Condition, index: 9}
            required: [resource]
        followUpObservation:
          match: {}
          schema:
            array: true
            index: 22
            elements:
              resource: {type: Observation, index: 23}
            required: [resource]
  signature: {index: 24}
package_version: 1.0.0
class: profile
kind: resource
url: http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-delivery-report
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: '1.0'
required: [entry, timestamp]