PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/EMS-MessageHeader-1
description: This MessageHeader has been constrained to represent a message header for an event message, to support the Events Management Service project.
package_name: NHSD.Assets.STU3
derivation: constraint
name: EMS-MessageHeader-1
type: MessageHeader
elements:
  response: {index: 17}
  enterer:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 12
  author:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 13
  reason: {index: 16}
  responsible:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 14
    elements:
      reference: {index: 15}
    required: [reference]
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        eventMessageType:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          min: 1
          max: 1
  event:
    index: 3
    elements:
      system:
        pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/EMS-EventType-1'}
        index: 4
      code: {index: 5}
      display: {index: 6}
    required: [display, system, code]
  id: {index: 0}
  sender:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 10
  focus:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/EMS-Communication-1']
    index: 18
    elements:
      reference: {index: 19}
    required: [reference]
  timestamp: {index: 11}
  receiver:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/EMS-HealthcareService-1']
    index: 8
    elements:
      reference: {index: 9}
    required: [reference]
  destination: {index: 7}
package_version: 1.0.0
extensions:
  eventMessageType: {url: h, min: 1, max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/EMS-MessageHeader-1
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 1.2.0
required: [focus, id, responsible]