PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-alerts@1.1.0-preview
    http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/discharge-notification-messageheader
description: The Da Vinci Discharge Notification MessageHeader Profile  builds on  the [Da Vinci Notifications MessageHeader Profile](StructureDefinition-notifications-messageheader.html) and sets  minimum expectations for the FHIR [MessageHeader](http://hl7.org/fhir/R4/messageheader.html) resource to record the necessary context for Da Vinci discharge notification messaging scenario.  The event code is \"notification-discharge\" and the focus of the event is the Encounter.
package_name: hl7.fhir.us.davinci-alerts
derivation: constraint
name: DischargeNotificationMessageHeader
type: MessageHeader
elements:
  eventCoding:
    type: Coding
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-alerts/ValueSet/notification-discharge-event'}
    mustSupport: true
    index: 0
  focus:
    mustSupport: true
    array: true
    min: 1
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this.resolve(), type: profile}
      min: 1
      slices:
        discharge-notification:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/adt-notification-encounter']
            array: true
            min: 1
            _required: true
            index: 2
          min: 1
package_version: 1.1.0-preview
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/discharge-notification-messageheader
base: http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/notifications-messageheader
version: 1.1.0-preview
required: [eventCoding, focus]