PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-alerts@1.1.0-preview
    http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/notifications-messageheader
description: The Da Vinci Notifications MessageHeader Profile sets minimum expectations for the FHIR [MessageHeader](http://hl7.org/fhir/R4/messageheader.html) resource to record the necessary context for Da Vinci notification messaging using FHIR resources.  It references the focus of the use case event or request as well as other information related to the action typically transmitted in a [Bundle](http://hl7.org/fhir/R4/bundle.html) resource in which the MessageHeader resource instance is the first resource in the Bundle.
package_name: hl7.fhir.us.davinci-alerts
derivation: constraint
name: NotificationsMessageHeader
type: MessageHeader
elements:
  response: {mustSupport: false, index: 19}
  source: {mustSupport: true, index: 16}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole']
    index: 10
    extensions:
      Device:
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        type: Extension
        short: Device as a author
        mustSupport: true
        index: 11
        elements:
          value:
            mustSupport: true
            choices: [valueReference]
            index: 13
          valueReference:
            type: Reference
            mustSupport: true
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Device']
            index: 14
        required: [valueReference, value]
    elements:
      extension:
        type: Extension
        short: Device as a author
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        index: 11
        slicing:
          slices:
            Device:
              match: {}
              schema:
                type: Extension
                short: Device as a author
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/alternate-reference
                index: 11
                elements:
                  value:
                    mustSupport: true
                    choices: [valueReference]
                    index: 13
                  valueReference:
                    type: Reference
                    mustSupport: true
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Device']
                    index: 14
                required: [valueReference, value]
      reference: {mustSupport: true, index: 15}
  responsible:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole']
    index: 17
    elements:
      reference: {mustSupport: true, index: 18}
    required: [reference]
  id: {mustSupport: true, index: 0}
  sender:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole']
    index: 4
    extensions:
      Device:
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        type: Extension
        short: Device as a sender
        mustSupport: true
        index: 5
        elements:
          value:
            mustSupport: true
            choices: [valueReference]
            index: 7
          valueReference:
            type: Reference
            mustSupport: true
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Device']
            index: 8
        required: [valueReference, value]
    elements:
      extension:
        type: Extension
        short: Device as a sender
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        index: 5
        slicing:
          slices:
            Device:
              match: {}
              schema:
                type: Extension
                short: Device as a sender
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/alternate-reference
                index: 5
                elements:
                  value:
                    mustSupport: true
                    choices: [valueReference]
                    index: 7
                  valueReference:
                    type: Reference
                    mustSupport: true
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Device']
                    index: 8
                required: [valueReference, value]
      reference: {mustSupport: true, index: 9}
  focus:
    min: 1
    index: 20
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    mustSupport: true
    array: true
    elements:
      reference: {mustSupport: true, index: 21}
    required: [reference]
  destination:
    mustSupport: true
    index: 2
    elements:
      endpoint: {mustSupport: true, index: 3}
    required: [endpoint]
  eventCoding:
    type: Coding
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-alerts/ValueSet/notification-event'}
    mustSupport: true
    index: 1
package_version: 1.1.0-preview
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/notifications-messageheader
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 1.1.0-preview
required: [eventCoding, focus, id]