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 derivation: constraint name: EReferralMessageHeader type: MessageHeader elements: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] source: elements: name: {mustSupport: false, index: 16} software: {mustSupport: false, index: 17} version: {mustSupport: false, index: 18} contact: mustSupport: false index: 19 elements: system: {mustSupport: false, index: 20} value: {mustSupport: false, index: 21} use: {mustSupport: false, index: 22} rank: {mustSupport: false, index: 23} author: type: Reference refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 15 reason: elements: coding: mustSupport: false index: 24 elements: system: {mustSupport: false, index: 25} code: {mustSupport: false, index: 26} display: {mustSupport: false, index: 27} required: [display, system, code] text: {mustSupport: true, index: 28} extension: type: Extension isModifier: false mustSupport: true url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT index: 2 slicing: slices: routingOptions: match: {} schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', index: 2} contentType: match: {} schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type', index: 3} event: choices: [] index: 5 slicing: rules: closed ordered: false discriminator: - {path: $this, type: type} min: null slices: eventCoding: match: {} schema: choices: [] index: 7 event[x]: elements: system: pattern: {type: Uri, value: 'https://ehealthontario.ca/fhir/CodeSystem/message-event-code'} mustSupport: true index: 8 code: binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/message-event-code'} mustSupport: true index: 9 display: {mustSupport: true, index: 10} 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-ServiceRequest', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Task'] index: 29 destination: index: 11 elements: name: {mustSupport: false, index: 12} target: {mustSupport: false, index: 13} receiver: type: Reference mustSupport: false refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 14 package_version: erec-0.12.1-alpha1.0.1 extensions: routingOptions: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT', type: Extension, isModifier: false, mustSupport: true, index: 2} contentType: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type', type: Extension, isModifier: false, mustSupport: true, index: 3} 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.1.0 required: [destination, meta]