description: This MessageHeader profile represents metadata to support the eCR messaging paradigm. It requires data elements destination, sender, source, and focus. The focus of an eCR MessageHeader profile is the eCR Task profile. package_name: hl7.fhir.us.ecr derivation: constraint name: Ecr_MessageHeader type: MessageHeader elements: event: mustSupport: true choices: [eventCoding] index: 1 eventCoding: {type: Coding, mustSupport: true, choiceOf: event, index: 2} destination: {mustSupport: true, index: 3} sender: {mustSupport: true, index: 4} source: index: 5 elements: name: {mustSupport: true, index: 6} contact: {mustSupport: true, index: 7} focus: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-task'] index: 8 package_version: 1.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader base: http://hl7.org/fhir/StructureDefinition/MessageHeader version: 1.0.0 required: [destination, focus, sender]