description: MessageHeader for MedCom messages package_name: medcom.fhir.dk.messaging derivation: constraint name: MedComMessagingMessageHeader type: MessageHeader elements: definition: {mustSupport: true, index: 27} source: short: Contains the information about the target for the Acknowledgement message. mustSupport: true index: 25 elements: endpoint: {mustSupport: true, index: 26} event: short: The event element shall contain a value from MedComMessagingMessageTypes mustSupport: true choices: [eventCoding] index: 5 event[x]: elements: system: {mustSupport: true, index: 7} code: {mustSupport: true, index: 8} required: [system, code] id: {short: Each message shall include a globally unique id., mustSupport: true, index: 0} sender: type: Reference short: The actual sender of the message mustSupport: true refers: ['http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization'] index: 24 destination: mustSupport: true index: 9 slicing: rules: closed discriminator: - {path: 'extension(''http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension'').value.code', type: value} min: 1 slices: primary: match: extension('http://medcomfhir: dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension'): value: {code: null} schema: mustSupport: true _required: true index: 10 extensions: use: url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension type: Extension mustSupport: true index: 12 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse'} index: 13 code: pattern: {type: Code, value: primary} index: 14 elements: extension: index: 11 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: use: match: {url: null} schema: type: Extension mustSupport: true url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension index: 12 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse'} index: 13 code: pattern: {type: Code, value: primary} index: 14 endpoint: {mustSupport: true, index: 15} receiver: type: Reference short: The primary reciever of the message mustSupport: true refers: ['http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization'] index: 16 required: [extension, receiver] cc: match: extension('http://medcomfhir: dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension'): value: {code: null} schema: mustSupport: true array: true index: 17 extensions: use: url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension type: Extension mustSupport: true index: 19 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse'} index: 20 code: pattern: {type: Code, value: cc} index: 21 elements: extension: index: 18 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: use: match: {url: null} schema: type: Extension mustSupport: true url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-destinationUseExtension index: 19 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-destinationUse'} index: 20 code: pattern: {type: Code, value: cc} index: 21 endpoint: {mustSupport: true, index: 22} receiver: type: Reference short: The carbon copy reciever of the message. Is only used when a message has multiple recievers. mustSupport: true refers: ['http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization'] index: 23 required: [extension, receiver] eventCoding: {type: Coding, short: The event element shall contain a value from MedComMessagingMessageTypes, mustSupport: true, choiceOf: event, index: 6} text: short: The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. mustSupport: true index: 1 elements: status: {mustSupport: true, index: 2} div: {mustSupport: true, index: 3} package_version: 4.0.0 class: profile kind: resource url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messageHeader base: http://hl7.org/fhir/StructureDefinition/MessageHeader version: 4.0.0 required: [destination, id, sender]