PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-ereferral-econsult@0.11.0-alpha1.0.6
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-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.\r\nTo enable sending system insert its own identifiers into API submitted eReferral, and have that returned with subsequent messages, an extension is created on the MessageHeader.identifier element for referral id.
package_name: ca.on.oh-ereferral-econsult
derivation: constraint
name: EReferralMessageHeader
type: MessageHeader
elements:
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  source:
    mustSupport: true
    index: 35
    elements:
      name: {mustSupport: true, index: 36}
      software: {mustSupport: true, index: 37}
      version: {mustSupport: true, index: 38}
      contact:
        mustSupport: true
        index: 39
        elements:
          system: {mustSupport: true, index: 40}
          value: {mustSupport: true, index: 41}
          use: {mustSupport: true, index: 42}
          rank: {mustSupport: true, index: 43}
      endpoint: {mustSupport: true, index: 44}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole']
    index: 34
  reason:
    mustSupport: true
    index: 45
    elements:
      coding:
        mustSupport: true
        index: 46
        elements:
          system: {mustSupport: true, index: 47}
          code: {mustSupport: true, index: 48}
          display: {mustSupport: true, index: 49}
      text: {mustSupport: true, index: 50}
  extension:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        RoutingOptions:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options
            index: 4
            elements:
              value:
                mustSupport: true
                choices: []
                index: 6
              value[x]:
                elements:
                  coding:
                    binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
                    mustSupport: true
                    index: 7
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'}
                        mustSupport: true
                        index: 8
                      code: {mustSupport: true, index: 9}
                      display: {mustSupport: true, index: 10}
        ReferralIdentifier:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier
            index: 11
            elements:
              value:
                mustSupport: true
                choices: []
                index: 13
              value[x]:
                elements:
                  type:
                    binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
                    mustSupport: true
                    index: 14
                    elements:
                      coding:
                        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
                        mustSupport: true
                        index: 15
                        elements:
                          system: {mustSupport: true, index: 16}
                          code: {mustSupport: true, index: 17}
                          display: {mustSupport: true, index: 18}
                  system: {mustSupport: true, index: 19}
                  value: {mustSupport: true, index: 20}
                required: [value, system]
  event:
    choices: []
    index: 22
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      max: 1
      slices:
        eventCoding:
          match: {}
          schema:
            mustSupport: true
            choices: [eventCoding]
            index: 24
  event[x]:
    elements:
      system:
        pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/CodeSystem/message-event-code'}
        mustSupport: true
        index: 26
      code:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/message-event-code'}
        mustSupport: true
        index: 27
      display: {mustSupport: true, index: 28}
  id: {index: 0}
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Appointment', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Task']
    index: 51
  destination:
    mustSupport: true
    index: 29
    elements:
      name: {mustSupport: true, index: 30}
      target: {mustSupport: true, index: 31}
      endpoint: {mustSupport: true, index: 32}
      receiver:
        type: Reference
        mustSupport: true
        refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole']
        index: 33
  eventCoding:
    type: Coding
    mustSupport: true
    choiceOf: event
    index: 25
    slicing:
      slices:
        eventCoding:
          match: {}
          schema: {type: Coding, mustSupport: true, choiceOf: event, index: 25}
package_version: 0.11.0-alpha1.0.6
extensions:
  RoutingOptions:
    url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options
    type: Extension
    mustSupport: true
    index: 4
    elements:
      value:
        mustSupport: true
        choices: []
        index: 6
      value[x]:
        elements:
          coding:
            binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
            mustSupport: true
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'}
                mustSupport: true
                index: 8
              code: {mustSupport: true, index: 9}
              display: {mustSupport: true, index: 10}
  ReferralIdentifier:
    url: http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier
    type: Extension
    mustSupport: true
    index: 11
    elements:
      value:
        mustSupport: true
        choices: []
        index: 13
      value[x]:
        elements:
          type:
            binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
            mustSupport: true
            index: 14
            elements:
              coding:
                binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'}
                mustSupport: true
                index: 15
                elements:
                  system: {mustSupport: true, index: 16}
                  code: {mustSupport: true, index: 17}
                  display: {mustSupport: true, index: 18}
          system: {mustSupport: true, index: 19}
          value: {mustSupport: true, index: 20}
        required: [value, system]
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 1.0.0
required: [destination, author, focus, id, event, meta]