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-erec-ig 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: 19} software: {mustSupport: false, index: 20} version: {mustSupport: false, index: 21} contact: mustSupport: false index: 22 elements: system: {mustSupport: false, index: 23} value: {mustSupport: false, index: 24} use: {mustSupport: false, index: 25} rank: {mustSupport: false, index: 26} endpoint: extensions: HTTPHeaderSource: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-source', type: Extension, isModifier: false, index: 27} elements: extension: type: Extension isModifier: false url: http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-source index: 27 slicing: slices: HTTPHeaderSource: match: {} schema: {type: Extension, isModifier: false, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-source', index: 27} author: type: Reference refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 18 reason: elements: coding: mustSupport: false index: 28 elements: system: {mustSupport: true, index: 29} code: {mustSupport: true, index: 30} display: {mustSupport: true, index: 31} required: [code, display, system] text: {mustSupport: true, index: 32} 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 elements: url: pattern: {type: uri, value: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT'} type: uri index: 3 contentType: match: {} schema: type: Extension isModifier: false mustSupport: true url: http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type index: 4 elements: url: pattern: {type: uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type'} type: uri index: 5 event: choices: [] index: 7 slicing: rules: closed ordered: false discriminator: - {path: $this, type: type} min: null slices: eventCoding: match: {} schema: choices: [] index: 9 event[x]: elements: system: {mustSupport: true, index: 10} code: {mustSupport: true, index: 11} display: {mustSupport: true, index: 12} 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: 33 destination: index: 13 elements: name: {mustSupport: false, index: 14} target: {mustSupport: false, index: 15} endpoint: extensions: HTTPHeaderDestination: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-destination', type: Extension, isModifier: false, index: 16} elements: extension: type: Extension isModifier: false url: http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-destination index: 16 slicing: slices: HTTPHeaderDestination: match: {} schema: {type: Extension, isModifier: false, url: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-http-header-destination', index: 16} receiver: type: Reference mustSupport: false refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole'] index: 17 package_version: 0.12.3-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 elements: url: pattern: {type: uri, value: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/Routing-Options-EXT'} type: uri index: 3 contentType: url: http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type type: Extension isModifier: false mustSupport: true index: 4 elements: url: pattern: {type: uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ext-content-type'} type: uri index: 5 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.2.0 required: [destination, meta]