| Left: | MedComCareCommunicationProvenance (http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance) | 
| Right: | MedComCareCommunicationProvenance (http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance) | 
| Error | StructureDefinition.version | Values for version differ: '4.0.2' vs '4.0.3' | 
| Information | StructureDefinition.date | Values for date differ: '2024-11-07T14:20:03+01:00' vs '2025-05-23T11:28:08+00:00' | 
| Name | Value | Comments | |
|---|---|---|---|
|  abstract | false | ||
|  baseDefinition | http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance | ||
|  copyright | |||
|  date | 2024-11-07T14:20:03+01:00 | 2025-05-23T11:28:08+00:00 | 
 | 
|  description | Provenance information about the current and preceeding message. | ||
|  experimental | |||
|  fhirVersion | 4.0.1 | ||
|  jurisdiction | |||
|   jurisdiction[0] | urn:iso:std:iso:3166#DK | ||
|  kind | resource | ||
|  name | MedComCareCommunicationProvenance | ||
|  publisher | MedCom | ||
|  purpose | |||
|  status | active | ||
|  title | |||
|  type | Provenance | ||
|  url | http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance | ||
|  version | 4.0.2 | 4.0.3 | 
 | 
| Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments  | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|   Provenance | 0..* | MedComMessagingProvenance | Who, What, When for a set of resources | 0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |||||||||||
|    id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
|    meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
|    language | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
 | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. 
 | |||||||||||
|    text | S | 0..1 | Narrative | Text summary of the resource, for human interpretation | S | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||||||
|    contained | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
|    extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
|    target | SΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | SΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | |||||||||
|    Slices for occurred[x] | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | |||||||||||
|    recorded | SΣ | 1..1 | instant | A system readable date and time for when the message is sent. | SΣ | 1..1 | instant | A system readable date and time for when the message is sent. | |||||||||
|    policy | 0..* | uri | Policy or plan the activity was defined by | 0..* | uri | Policy or plan the activity was defined by | |||||||||||
|    location | 0..1 | Reference(Location) | Where the activity occurred, if relevant | 0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||||||||
|    reason | 0..* | CodeableConcept | Reason the activity is occurring Binding: ?? (extensible): The reason the activity took place. | 0..* | CodeableConcept | Reason the activity is occurring Binding: ?? (extensible): The reason the activity took place. | |||||||||||
|    activity | S | 1..1 | CodeableConcept | Activity that occurred Binding: ?? (required) | S | 1..1 | CodeableConcept | Activity that occurred Binding: ?? (required) | |||||||||
|     id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
|     Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
|     coding | SΣ | 1..* | Coding | Code defined by a terminology system | SΣ | 1..* | Coding | Code defined by a terminology system | |||||||||
|      id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
|      Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
|      system | Σ | 0..1 | uri | Identity of the terminology system | Σ | 0..1 | uri | Identity of the terminology system | |||||||||
|      version | Σ | 0..1 | string | Version of the system - if relevant | Σ | 0..1 | string | Version of the system - if relevant | |||||||||
|      code | SΣ | 1..1 | code | Symbol in syntax defined by the system | SΣ | 1..1 | code | Symbol in syntax defined by the system | |||||||||
|      display | Σ | 0..1 | string | Representation defined by the system | Σ | 0..1 | string | Representation defined by the system | |||||||||
|      userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | Σ | 0..1 | boolean | If this coding was chosen directly by the user | |||||||||
|     text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept | |||||||||
|    agent | S | 1..* | BackboneElement | The actors involved in the activity taking place | S | 1..* | BackboneElement | The actors involved in the activity taking place | |||||||||
|     id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
|     extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
|     type | Σ | 0..1 | CodeableConcept | How the agent participated Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity. | Σ | 0..1 | CodeableConcept | How the agent participated Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity. | |||||||||
|     role | 0..* | CodeableConcept | What the agents role was Binding: ?? (example): The role that a provenance agent played with respect to the activity. | 0..* | CodeableConcept | What the agents role was Binding: ?? (example): The role that a provenance agent played with respect to the activity. | |||||||||||
|     who | SΣ | 1..1 | Reference(MedComMessagingOrganization) {b} | A reference to the actor of the activity, which shall be a MedComMessagingOrganization. If more actors has been involved, the element must be sliced. | SΣ | 1..1 | Reference(MedComMessagingOrganization) {b} | A reference to the actor of the activity, which shall be a MedComMessagingOrganization. If more actors has been involved, the element must be sliced. | |||||||||
|     onBehalfOf | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||||||||
|    Slices for entity | S | 1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | S | 1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | |||||||||
|     id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
|     extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
|     role | SΣ | 1..1 | code | When a message is a response, a correction or a forwarding message the role shall be 'revision' and when the message is a cancellation the role shall be 'removal'. Binding: ?? (required): How an entity was used in an activity. | SΣ | 1..1 | code | When a message is a response, a correction or a forwarding message the role shall be 'revision' and when the message is a cancellation the role shall be 'removal'. Binding: ?? (required): How an entity was used in an activity. | |||||||||
|     what | SΣ | 1..1 | Reference(Resource) | 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. | SΣ | 1..1 | Reference(Resource) | 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. | |||||||||
|      id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
|      Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
|      reference | SΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message. | SΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message. | |||||||||
|      type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||||||
|      identifier | SΣ | 0..1 | Identifier | If previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | SΣ | 0..1 | Identifier | If previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | |||||||||
|      display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource | |||||||||
|     agent | 0..* | See agent (Provenance) | Entity is attributed to this agent | 0..* | See agent (Provenance) | Entity is attributed to this agent | |||||||||||
|    signature | 0..* | Signature | Signature on target | 0..* | Signature | Signature on target | |||||||||||
|  Documentation for this format | |||||||||||||||||