### eRef /MEssageHeader Resource Profile **Completeness: 60% - Pilot R** [view discussion space](https://3.basecamp.com/3573371/buckets/7959278/documents/1124502897) The /MessageHeader is used to communicate the purpose of the payload, as well as the destination endpoint (which is needed when the message travels via an intermediary, such as the Ontario HIAL) **Canonical URl for this profile:** http://fhir.infoway-inforoute.ca/StructureDefinition/ca-eReferral-MessageHeader ### LEGEND * ~~strikethrough~~ indicates the the element is not included in this profile * `red` indicates that the field is likely useful in a future iteration of the specification | Name | Card | Type | Comments |Terminology Binding| |---|---|---|---| | eventCoding | 1..1 | Coding | Code for the event this message represents | eventCoding.code | 0..1 | code | add-service-request / cds-service-request / acknowledge-service-request / update-service-request / update-status / add-appointment / update-appointment / communication-from-provider / communication-from-requester | destination | 0..* | BackboneElement | Message destination application(s) | destination.name | 0..1 | string | Name of System | ~~destination.target~~ | ~~0..1~~ | ~~Reference (device)~~ | Particular delivery destination within the destination | destination.endpoint | 1..1 | url | Actual destination address or id | ~~destination.receiver~~ | ~~0..1~~ | ~~Reference (Practitioner, Organization)~~ | Message destination application(s) | ~~sender~~ | ~~0..1~~ | ~~Reference (Practitioner / Organization)~~ | Real world sender of the message | ~~enterer~~ | ~~0..1~~ | ~~Reference (Practitioner)~~ | The source of the data entry | ~~author~~ | ~~0..1~~ | ~~Reference (Practitioner)~~ | The source of the decision | source | 1..1 | BackboneElement | Message source application | source.name | 0..1 | string | Name of system | source.software | 0..1 | string | Name of software running the system | source.version | 0..1 | string | Version of software running | source.contact | 0..1 | ContactPoint | Human contact for problems. | source.endpoint | 1..1 | url | Actual message source address or id | ~~responsible~~ | ~~0..1~~ | ~~Reference (Practitioner / Organization)~~ | Final responsibility for event | ~~reason~~ | ~~0..1~~ | ~~CodeableConcept~~ | Cause of the event | ~~response~~ | ~~0..1~~ | ~~BackboneElement~~ | If this is a reply to a prior message | focus | 0..* | Reference (Any) | The actual content of the message | ~~definition~~ | ~~0..1~~ | ~~canonical~~ | The source of the decision