description: Provenance information about the current and preceeding message. package_name: rs/medcom.fhir.dk.carecommunication derivation: constraint name: MedComCareCommunicationProvenance type: Provenance elements: target: type: Reference refers: ['http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-messageHeader'] index: 0 activity: binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities'} index: 1 entity: index: 2 slicing: rules: closed ordered: false discriminator: - {path: role, type: value} min: 1 slices: preceedingMessage: match: {role: revision} schema: short: Shall be included when the current message is a response to a previous FHIR message. mustSupport: true index: 3 elements: role: short: When a message is a response or a forwarding message the role shall be 'revision'. pattern: {type: code, value: revision} type: code index: 4 what: short: A reference to the previous message. If the previous message is a FHIR message , the reference element must be used and if the previous message is an EDIFACT or OIOXML, the identifier element must be used. index: 5 elements: reference: {short: 'If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message.', index: 6} identifier: {short: 'If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message.', index: 7} payload: match: {role: source} schema: short: An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. mustSupport: true array: true min: 1 _required: true index: 8 elements: role: short: The role shall be 'source' or 'revision'. pattern: {type: code, value: source} type: code index: 9 what: short: A reference to the payload included in this message. index: 10 elements: identifier: {short: The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here., index: 11} required: [identifier] package_version: 4.0.2 class: profile kind: resource url: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance base: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance version: 4.0.2 required: [entity]