Profile Comparison between http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance vs http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance

Left:MedComMessagingProvenance (http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance)
Right:MedComMessagingProvenance (http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.2.2' vs '4.0.0-trial-use'
InformationStructureDefinition.statusValues for status differ: 'active' vs 'draft'
InformationStructureDefinition.dateValues for date differ: '2025-05-23T07:16:51+00:00' vs '2025-09-25T13:00:16+00:00'
WarningProvenance.idElements differ in definition for mustSupport: 'false' vs 'true'
InformationProvenance.languageExample/preferred bindings differ at Provenance.language using binding from MedComMessagingProvenance
InformationStructureDefinition.shortValues for short differ: 'Text summary of the resource, for human interpretation' vs 'The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle.'
WarningProvenance.occurred[x]Elements differ in definition for mustSupport: 'false' vs 'true'
InformationProvenance.activity.codingElement maximum cardinalities differ: '2147483647' vs '1'
WarningProvenance.activity.coding.systemElements differ in definition for mustSupport: 'false' vs 'true'
InformationProvenance.activity.coding.systemElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: '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'.' vs 'derivation | revision | quotation | source | removal'
InformationStructureDefinition.shortValues for short differ: 'If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message.' vs 'If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id].'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Provenance
      .copyright
        .date2025-05-23T07:16:51+00:002025-09-25T13:00:16+00:00
        • Values Differ
        .descriptionProvenance information about the messages preceeding the current message
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#DK
                  .kindresource
                    .nameMedComMessagingProvenance
                      .publisherMedCom
                        .purpose
                          .statusactivedraft
                          • Values Differ
                          .title
                            .typeProvenance
                              .urlhttp://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance
                                .version2.2.24.0.0-trial-use
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Provenance 0..*ProvenanceWho, What, When for a set of resources
                                0..*ProvenanceWho, What, When for a set of resources
                                  ... id Σ0..1idLogical id of this artifactSOΣ0..1idLogical id of this artifact
                                  ObligationsActor
                                  SHALL:in-narrativeProducer of FHIR resources
                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                  ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                    ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                                      ... text S0..1NarrativeText summary of the resource, for human interpretation
                                      This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                      S0..1NarrativeThe 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
                                        .... id 0..1stringUnique id for inter-element referencing
                                        • Added this element
                                        .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                        Slice: Unordered, Open by value:url
                                        • Added this element
                                        .... status S1..1codegenerated | extensions | additional | empty
                                        Binding: ?? (required): The status of a resource narrative.
                                        • Added this element
                                        .... div SC1..1xhtmlLimited xhtml content
                                        • Added this element
                                        ... contained 0..*ResourceContained, inline Resources
                                        0..*ResourceContained, inline Resources
                                          ... extension 0..*ExtensionAdditional content defined by implementations
                                          0..*ExtensionAdditional content defined by implementations
                                            ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                            ?!0..*ExtensionExtensions that cannot be ignored
                                              ... target SΣ1..1Reference(MedComMessagingMessageHeader)Targets the MedComMessagingMessageHeader from the current message.
                                              SOΣ1..1Reference(MedComMessagingMessageHeader)Targets the MedComMessagingMessageHeader from the current message.
                                              ObligationsActor
                                              SHALL:in-narrativeProducer of FHIR resources
                                                ... Slices for occurred[x] 1..1dateTimeWhen the activity occurred
                                                Slice: Unordered, Closed by type:$this
                                                S1..1dateTimeWhen the activity occurred
                                                Slice: Unordered, Closed by type:$this
                                                • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                ... recorded SΣ1..1instantA system readable date and time for when the message is sent.SΣ1..1instantA system readable date and time for when the message is sent.
                                                  ... policy 0..*uriPolicy or plan the activity was defined by
                                                  0..*uriPolicy or plan the activity was defined by
                                                    ... location 0..1Reference(Location)Where the activity occurred, if relevant0..1Reference(Location)Where the activity occurred, if relevant
                                                      ... reason 0..*CodeableConceptReason the activity is occurring
                                                      Binding: ?? (extensible): The reason the activity took place.
                                                      0..*CodeableConceptReason the activity is occurring
                                                      Binding: ?? (extensible): The reason the activity took place.
                                                        ... activity S1..1CodeableConceptActivity that occurred
                                                        Binding: ?? (required)
                                                        S1..1CodeableConceptActivity that occurred
                                                        Binding: ?? (required)
                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                            .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                            Slice: Unordered, Open by value:url
                                                            0..*ExtensionAdditional content defined by implementations
                                                            Slice: Unordered, Open by value:url
                                                              .... coding SΣ1..*CodingCode defined by a terminology system
                                                              SΣ1..1CodingCode defined by a terminology system
                                                              • Element maximum cardinalities differ: '2147483647' vs '1'
                                                              ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                ..... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                Slice: Unordered, Open by value:url
                                                                0..*ExtensionAdditional content defined by implementations
                                                                Slice: Unordered, Open by value:url
                                                                  ..... system Σ0..1uriIdentity of the terminology systemSΣ1..1uriIdentity of the terminology system
                                                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                                  ..... version Σ0..1stringVersion of the system - if relevantΣ0..1stringVersion of the system - if relevant
                                                                    ..... code SΣ1..1codeSymbol in syntax defined by the systemSOΣ1..1codeSymbol in syntax defined by the system
                                                                    ObligationsActor
                                                                    SHALL:in-narrativeProducer of FHIR resources
                                                                      ..... display Σ0..1stringRepresentation defined by the systemΣ0..1stringRepresentation defined by the system
                                                                        ..... userSelected Σ0..1booleanIf this coding was chosen directly by the userΣ0..1booleanIf this coding was chosen directly by the user
                                                                          .... text Σ0..1stringPlain text representation of the conceptΣ0..1stringPlain text representation of the concept
                                                                            ... agent S1..*BackboneElementThe actors involved in the activity taking place
                                                                            S1..*BackboneElementThe actors involved in the activity taking place
                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                  .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                  ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                    .... type Σ0..1CodeableConceptHow the agent participated
                                                                                    Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity.
                                                                                    Σ0..1CodeableConceptHow the agent participated
                                                                                    Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity.
                                                                                      .... role 0..*CodeableConceptWhat the agents role was
                                                                                      Binding: ?? (example): The role that a provenance agent played with respect to the activity.
                                                                                      0..*CodeableConceptWhat the agents role was
                                                                                      Binding: ?? (example): The role that a provenance agent played with respect to the activity.
                                                                                        .... who SΣ1..1Reference(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.SOΣ1..1Reference(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.
                                                                                        ObligationsActor
                                                                                        SHALL:in-narrativeProducer of FHIR resources
                                                                                          .... onBehalfOf 0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who the agent is representing0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who the agent is representing
                                                                                            ... entity S0..*BackboneElementAn entity used in this activity
                                                                                            S0..*BackboneElementAn entity used in this activity
                                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                                  .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                  ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                    .... 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.
                                                                                                    SOΣ1..1codederivation | revision | quotation | source | removal
                                                                                                    Binding: ?? (required): How an entity was used in an activity.
                                                                                                    ObligationsActor
                                                                                                    SHALL:in-narrativeProducer of FHIR resources
                                                                                                      .... 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.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.
                                                                                                        ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                          ..... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                          Slice: Unordered, Open by value:url
                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                          Slice: Unordered, Open by value:url
                                                                                                            ..... reference SΣC0..1stringIf the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message.SOΣC0..1stringIf the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id].
                                                                                                            ObligationsActor
                                                                                                            SHALL:in-narrativeProducer of FHIR resources
                                                                                                              ..... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                              Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                                              Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                              Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                                                ..... identifier SΣ0..1IdentifierIf previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message.SOΣ0..1IdentifierIf previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message.
                                                                                                                ObligationsActor
                                                                                                                SHALL:in-narrativeProducer of FHIR resources
                                                                                                                  ..... display Σ0..1stringText alternative for the resourceΣ0..1stringText 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
                                                                                                                      ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                        ..... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                                          ..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                          ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                            ..... type Σ0..1CodeableConceptHow the agent participated
                                                                                                                            Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity.
                                                                                                                            Σ0..1CodeableConceptHow the agent participated
                                                                                                                            Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity.
                                                                                                                              ..... role 0..*CodeableConceptWhat the agents role was
                                                                                                                              Binding: ?? (example): The role that a provenance agent played with respect to the activity.
                                                                                                                              0..*CodeableConceptWhat the agents role was
                                                                                                                              Binding: ?? (example): The role that a provenance agent played with respect to the activity.
                                                                                                                                ..... who SΣ1..1Reference(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.SOΣ1..1Reference(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.
                                                                                                                                ObligationsActor
                                                                                                                                SHALL:in-narrativeProducer of FHIR resources
                                                                                                                                  ..... onBehalfOf 0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who the agent is representing0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who the agent is representing
                                                                                                                                    ... signature 0..*SignatureSignature on target
                                                                                                                                    0..*SignatureSignature on target

                                                                                                                                      doco Documentation for this format