PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader
description: This is the MessageHeader Resource profile for the IG.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthMessageHeader
type: MessageHeader
elements:
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension
    index: 0
    slicing:
      slices:
        dataEncrypted:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension', index: 0}
          min: 0
          max: 1
        messageProcessingCategory:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension', index: 1}
          min: 1
          max: 1
  event:
    short: Types of messages being sent between systems
    mustSupport: true
    choices: [eventCoding]
    index: 3
  eventCoding: {type: Coding, short: Types of messages being sent between systems, mustSupport: true, choiceOf: event, index: 4}
  destination:
    mustSupport: true
    array: true
    min: 1
    index: 5
    elements:
      endpoint: {mustSupport: true, index: 6}
    required: [endpoint]
  sender:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-organization']
    index: 7
  source:
    mustSupport: true
    index: 8
    elements:
      endpoint: {mustSupport: true, index: 9}
    required: [endpoint]
  reason:
    type: CodeableConcept
    short: The named event that gave rise to the message
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-triggerdefinition-namedevent'}
    mustSupport: true
    index: 10
  response:
    mustSupport: true
    index: 11
    elements:
      identifier: {mustSupport: true, index: 12}
      code: {mustSupport: true, index: 13}
      details: {mustSupport: true, index: 14}
    required: [code, identifier]
package_version: library-1.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: 0}
  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: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 1.0.0-ballot
required: [destination, event, eventCoding, reason, sender, source]