PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.erec@1.0.0-dft-ballot
    https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-MessageHeader
description: The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.
package_name: ca.infoway.io.erec
derivation: constraint
name: MessageHeader
type: MessageHeader
elements:
  meta: {index: 0}
  enterer:
    type: Reference
    refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 12
  source:
    mustSupport: true
    index: 14
    elements:
      contact:
        mustSupport: true
        index: 15
        elements:
          system: {mustSupport: true, index: 16}
          value: {mustSupport: true, index: 17}
      endpoint: {mustSupport: true, index: 18}
  author:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 13
  reason: {mustSupport: true, index: 20}
  responsible:
    type: Reference
    refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 19
  extension:
    type: Extension
    binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/identifier-type'}
    isModifier: false
    url: https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Referral-Identifier-EXT
    index: 1
    slicing:
      slices:
        referralIdentifier:
          match: {}
          schema:
            type: Extension
            binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/identifier-type'}
            isModifier: false
            url: https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Referral-Identifier-EXT
            index: 1
        routingOptions:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', index: 2}
  event:
    choices: []
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        eventCoding:
          match: {}
          schema:
            mustSupport: true
            choices: [eventCoding]
            index: 6
  event[x]:
    elements:
      code:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/message-event-code'}
        mustSupport: true
        index: 8
  sender:
    type: Reference
    refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 11
  focus:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Appointment', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Communication', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Task']
    index: 21
  destination:
    mustSupport: true
    index: 9
    elements:
      receiver:
        type: Reference
        refers: ['https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
        index: 10
  eventCoding:
    type: Coding
    mustSupport: true
    choiceOf: event
    index: 7
    slicing:
      slices:
        eventCoding:
          match: {}
          schema: {type: Coding, mustSupport: true, choiceOf: event, index: 7}
package_version: 1.0.0-dft-ballot
extensions:
  referralIdentifier:
    url: https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Referral-Identifier-EXT
    type: Extension
    binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/identifier-type'}
    isModifier: false
    index: 1
  routingOptions: {url: 'https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', type: Extension, isModifier: false, index: 2}
class: profile
kind: resource
url: https://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-MessageHeader
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 0.1.0
required: [author]