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: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] source: elements: name: {mustSupport: true, index: 32} software: {mustSupport: true, index: 33} version: {mustSupport: true, index: 34} contact: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} value: {mustSupport: true, index: 37} use: {mustSupport: true, index: 38} rank: {mustSupport: true, index: 39} author: type: Reference refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 31 reason: elements: coding: mustSupport: true index: 40 elements: system: {mustSupport: true, index: 41} code: {mustSupport: true, index: 42} display: {mustSupport: true, index: 43} text: {mustSupport: true, index: 44} extension: type: Extension mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options index: 2 slicing: slices: RoutingOptions: match: {} schema: type: Extension mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options index: 2 elements: value: mustSupport: true choices: [] index: 4 value[x]: elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 5 elements: system: pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'} mustSupport: true index: 6 code: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} ReferralIdentifier: match: {} schema: type: Extension mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier index: 9 elements: value: mustSupport: true choices: [] index: 11 value[x]: elements: type: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 12 elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 13 elements: system: {mustSupport: true, index: 14} code: {mustSupport: true, index: 15} display: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} value: {mustSupport: true, index: 18} required: [value, system] contentType: match: {} schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type', index: 19} event: choices: [] index: 21 slicing: rules: closed ordered: false discriminator: - {path: $this, type: type} min: null slices: eventCoding: match: {} schema: choices: [] index: 23 event[x]: elements: system: pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/CodeSystem/message-event-code'} mustSupport: true index: 24 code: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/message-event-code'} mustSupport: true index: 25 display: {mustSupport: true, index: 26} focus: type: Reference 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-Patient', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Task'] index: 45 destination: index: 27 elements: name: {mustSupport: true, index: 28} target: {mustSupport: true, index: 29} receiver: type: Reference mustSupport: true refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 30 package_version: 0.12.0-projectathon1.0.1 extensions: RoutingOptions: url: http://ehealthontario.ca/fhir/StructureDefinition/ext-routing-options type: Extension mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 value[x]: elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 5 elements: system: pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/ereferral-source-types'} mustSupport: true index: 6 code: {mustSupport: true, index: 7} display: {mustSupport: true, index: 8} ReferralIdentifier: url: http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier type: Extension mustSupport: true index: 9 elements: value: mustSupport: true choices: [] index: 11 value[x]: elements: type: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 12 elements: coding: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-source-types'} mustSupport: true index: 13 elements: system: {mustSupport: true, index: 14} code: {mustSupport: true, index: 15} display: {mustSupport: true, index: 16} system: {mustSupport: true, index: 17} value: {mustSupport: true, index: 18} required: [value, system] contentType: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type', type: Extension, isModifier: false, mustSupport: true, index: 19} class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader base: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-MessageHeader version: 1.0.1 required: [destination, meta]