DK MedCom Carecommunication
5.0.0-trial-use - trial-use
DK MedCom Carecommunication, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 5.0.0-trial-use built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-medcom-carecommunication/ and changes regularly. See the Directory of published versions
Official URL: http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance | Version: 5.0.0-trial-use | |||
Draft as of 2025-09-29 | Computable Name: MedComCareCommunicationProvenance |
Provenance information about the current and preceeding message.
This profile is used as the Provenance in a CareCommunication message. This profile inherits from MedComMessagingProvenance and must be used as Provenance instance in the CareCommuncation message. The Provenance resource tracks information about the activity what was created, while referencing the current message and previous messages if such exist. Further, does the profile include the identifier of the message segment (also referred to as payload).
The element Provenance.entity is sliced. One slice is called payload, and contains the identifier for the payloads added in the current CareCommunication. The second slice is called previousMessage is used when the message is a reply or forwarding. In these cases, the Provenance.entity must refer to the previous message.
Please refer to the tab "Snapshot Table" below for the definition of the required content of a MedComCareCommunicationMessageHeader.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. |
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SOΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. |
![]() ![]() ![]() |
S | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | A human readable date and time for when the message is sent. Shall include a date, a time and timezone. |
![]() ![]() ![]() |
SΣ | 1..1 | instant | A system readable date and time for when the message is sent. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
S | 1..* | BackboneElement | The actors involved in the activity taking place |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SOΣ | 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..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. |
![]() ![]() ![]() ![]() ![]() |
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. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 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 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: revision |
![]() ![]() ![]() ![]() ![]() |
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. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | The role shall be 'source' or 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: source |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | A reference to the payload included in this message. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. |
![]() |
Path | Conformance | ValueSet / Code | URI |
Provenance.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | |
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 | |
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | |
Provenance.entity:preceedingMessage.role | required | Pattern Value: revisionhttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | |
Provenance.entity:payload.role | required | Pattern Value: sourcehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Provenance | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
txt-1 | error | Provenance.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Provenance.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from MedComMessagingProvenance
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |
![]() ![]() ![]() |
1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | |
![]() ![]() ![]() |
1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) | |
![]() ![]() ![]() |
1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | |
![]() ![]() ![]() ![]() |
S | 0..1 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Required Pattern: revision | |
![]() ![]() ![]() ![]() ![]() |
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. | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | The role shall be 'source' or 'revision'. Required Pattern: source | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Resource) | A reference to the payload included in this message. | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. | |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |||||
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SOΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | ||||
![]() ![]() ![]() |
S | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | A human readable date and time for when the message is sent. Shall include a date, a time and timezone. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | instant | A system readable date and time for when the message is sent. | ||||
![]() ![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reason the activity is occurring Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place. | |||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | The actors involved in the activity taking place | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
SOΣ | 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. | ||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | ||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: revision | ||||
![]() ![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | The role shall be 'source' or 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: source | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | A reference to the payload included in this message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() |
0..* | Signature | Signature on target | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
Provenance.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
| ||||
Provenance.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | ||||
Provenance.reason | extensible | PurposeOfUsehttp://terminology.hl7.org/ValueSet/v3-PurposeOfUse|3.1.0 | ||||
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 | ||||
Provenance.agent.type | extensible | ProvenanceParticipantTypehttp://hl7.org/fhir/ValueSet/provenance-agent-type|4.0.1 From the FHIR Standard | ||||
Provenance.agent.role | example | SecurityRoleTypehttp://hl7.org/fhir/ValueSet/security-role-type|4.0.1 From the FHIR Standard | ||||
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard | ||||
Provenance.entity:preceedingMessage.role | required | Pattern Value: revisionhttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity:preceedingMessage.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard | ||||
Provenance.entity:payload.role | required | Pattern Value: sourcehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity:payload.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Provenance | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
txt-1 | error | Provenance.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Provenance.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from MedComMessagingProvenance
Summary
Mandatory: 3 elements
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. |
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SOΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. |
![]() ![]() ![]() |
S | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | A human readable date and time for when the message is sent. Shall include a date, a time and timezone. |
![]() ![]() ![]() |
SΣ | 1..1 | instant | A system readable date and time for when the message is sent. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
S | 1..* | BackboneElement | The actors involved in the activity taking place |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SOΣ | 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..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. |
![]() ![]() ![]() ![]() ![]() |
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. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 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 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: revision |
![]() ![]() ![]() ![]() ![]() |
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. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | The role shall be 'source' or 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: source |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | A reference to the payload included in this message. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. |
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. |
![]() |
Path | Conformance | ValueSet / Code | URI |
Provenance.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | |
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 | |
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | |
Provenance.entity:preceedingMessage.role | required | Pattern Value: revisionhttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | |
Provenance.entity:payload.role | required | Pattern Value: sourcehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Provenance | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
txt-1 | error | Provenance.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Provenance.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
Differential View
This structure is derived from MedComMessagingProvenance
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |
![]() ![]() ![]() |
1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | |
![]() ![]() ![]() |
1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) | |
![]() ![]() ![]() |
1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | |
![]() ![]() ![]() ![]() |
S | 0..1 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Required Pattern: revision | |
![]() ![]() ![]() ![]() ![]() |
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. | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | The role shall be 'source' or 'revision'. Required Pattern: source | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Resource) | A reference to the payload included in this message. | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. | |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedComMessagingProvenance | Who, What, When for a set of resources | |||||
![]() ![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SOΣ | 1..1 | Reference(MedComCareCommunicationMessageHeader) | Targets the MedComMessagingMessageHeader from the current message. | ||||
![]() ![]() ![]() |
S | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() |
SO | 1..1 | dateTime | A human readable date and time for when the message is sent. Shall include a date, a time and timezone. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | instant | A system readable date and time for when the message is sent. | ||||
![]() ![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reason the activity is occurring Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place. | |||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | If the previous message is an EDIFACT or OIOXML message, the activity code must be reply-message Binding: MedComCareCommunicationMessageActivities (1.8.1) (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | The actors involved in the activity taking place | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
SOΣ | 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. | ||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | An entity used in this activity Slice: Unordered, Closed by value:role | ||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | BackboneElement | Shall be included when the current message is a response to a previous FHIR message. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | When a message is a response or a forwarding message the role shall be 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: revision | ||||
![]() ![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must contain the MessageHeader.id from previous message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 0..1 | Identifier | If the previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | An identifier for the payload included during this revision. If more payloads are added, each payload must be represented with an individual entity. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | code | The role shall be 'source' or 'revision'. Binding: ProvenanceEntityRole (required): How an entity was used in an activity. Required Pattern: source | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | A reference to the payload included in this message. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣC | 0..1 | string | If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id]. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SOΣ | 1..1 | Identifier | The identifier of the newly included Communication.payload.extension.valueIdentifier must be included here. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() |
0..* | Signature | Signature on target | |||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
Provenance.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages|4.0.1 From the FHIR Standard
| ||||
Provenance.text.status | required | NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1 From the FHIR Standard | ||||
Provenance.reason | extensible | PurposeOfUsehttp://terminology.hl7.org/ValueSet/v3-PurposeOfUse|3.1.0 | ||||
Provenance.activity | required | MedComCareCommunicationMessageActivitieshttp://medcomfhir.dk/ig/terminology/ValueSet/medcom-careCommunication-messagingActivities|1.8.1 | ||||
Provenance.agent.type | extensible | ProvenanceParticipantTypehttp://hl7.org/fhir/ValueSet/provenance-agent-type|4.0.1 From the FHIR Standard | ||||
Provenance.agent.role | example | SecurityRoleTypehttp://hl7.org/fhir/ValueSet/security-role-type|4.0.1 From the FHIR Standard | ||||
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard | ||||
Provenance.entity:preceedingMessage.role | required | Pattern Value: revisionhttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity:preceedingMessage.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard | ||||
Provenance.entity:payload.role | required | Pattern Value: sourcehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard | ||||
Provenance.entity:payload.what.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Provenance | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
txt-1 | error | Provenance.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks() | |
txt-2 | error | Provenance.text.div | The narrative SHALL have some non-whitespace content : htmlChecks() |
This structure is derived from MedComMessagingProvenance
Summary
Mandatory: 3 elements
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron