PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ph-library@2.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader
description: This MessageHeader profile represents the header for transmitting content using FHIR messaging.
package_name: hl7.fhir.us.ph-library
derivation: constraint
name: USPublicHealthMessageHeader
type: MessageHeader
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        dataEncrypted:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension', index: 1}
          min: 0
          max: 1
        messageProcessingCategory:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension', index: 2}
          min: 1
          max: 1
  event:
    short: Types of messages being sent between systems
    mustSupport: true
    choices: [eventCoding]
    index: 4
  eventCoding: {type: Coding, short: Types of messages being sent between systems, mustSupport: true, choiceOf: event, index: 5}
  destination:
    mustSupport: true
    index: 6
    elements:
      endpoint: {mustSupport: true, index: 7}
  sender:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-organization']
    index: 8
  source:
    mustSupport: true
    index: 9
    elements:
      endpoint: {mustSupport: true, index: 10}
  reason:
    short: The named event that gave rise to the message
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-valueset-triggerdefinition-namedevent'}
    mustSupport: true
    index: 11
  response:
    mustSupport: true
    index: 12
    elements:
      identifier: {mustSupport: true, index: 13}
      code: {mustSupport: true, index: 14}
      details: {mustSupport: true, index: 15}
package_version: 2.0.0-ballot
extensions:
  dataEncrypted: {url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
  messageProcessingCategory: {url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension', min: 1, max: 1, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 2.0.0-ballot
required: [destination, extension, reason, sender]