Union of http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance and http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance

This is the set of resources that conform to either of the profiles MedComMessagingProvenance (http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance) and MedComMessagingProvenance (http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Provenance 0..*Who, What, When for a set of resources
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... target SΣ1..1Reference(MedComMessagingMessageHeader | #sd-medcom-messaging-messageHeader-medcom-messaging-messageHeader)Targets the MedComMessagingMessageHeader from the current message.
ele-1: All FHIR elements must have a @value or children
... occurred[x] 1..1dateTimeWhen the activity occurred
ele-1: All FHIR elements must have a @value or children
... recorded SΣ1..1instantA system readable date and time for when the message is sent.
ele-1: All FHIR elements must have a @value or children
... policy 0..*uriPolicy or plan the activity was defined by
ele-1: All FHIR elements must have a @value or children
... location 0..1Reference(Location)Where the activity occurred, if relevant
ele-1: All FHIR elements must have a @value or children
... reason 0..*CodeableConceptReason the activity is occurring
Binding: ?? (extensible): The reason the activity took place.


ele-1: All FHIR elements must have a @value or children
... activity S1..1CodeableConceptActivity that occurred
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding SΣ1..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... system Σ0..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
..... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
.... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... agent S1..*BackboneElementThe actors involved in the activity taking place
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type Σ0..1CodeableConceptHow the agent participated
Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity.


ele-1: All FHIR elements must have a @value or children
.... role 0..*CodeableConceptWhat the agents role was
Binding: ?? (example): The role that a provenance agent played with respect to the activity.


ele-1: All FHIR elements must have a @value or children
.... who SΣ1..1Reference(MedComMessagingOrganization | #sd-medcom-messaging-organization-medcom-messaging-organization) {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.
ele-1: All FHIR elements must have a @value or children
.... onBehalfOf 0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who the agent is representing
ele-1: All FHIR elements must have a @value or children
... entity S0..*BackboneElementAn entity used in this activity
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... role SΣ1..1codeWhen 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.


ele-1: All FHIR elements must have a @value or children
.... what SΣ1..1Reference(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.
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... reference SΣ0..1stringIf the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message.
ele-1: All FHIR elements must have a @value or children
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
..... identifier SΣ0..1IdentifierIf previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message.
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
.... agent 0..*Entity is attributed to this agent
ele-1: All FHIR elements must have a @value or children
... signature 0..*SignatureSignature on target
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format