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: '4.0.1' vs '2.0.1'
InformationStructureDefinition.dateValues for date differ: '2025-10-29T08:30:14+00:00' vs '2025-11-24T13:37:00+00:00'
WarningProvenance.idElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle.' vs 'Text summary of the resource, for human interpretation'
WarningProvenance.occurred[x]Elements differ in definition for mustSupport: 'true' vs 'false'
ErrorProvenance.activityUnable to resolve right value set http://medcomfhir.dk/fhir/dk-medcom-terminology/ValueSet/medcom-messaging-activityCodes at Provenance.activity
InformationProvenance.activity.codingElement maximum cardinalities differ: '1' vs '2147483647'
WarningProvenance.activity.coding.systemElements differ in definition for mustSupport: 'true' vs 'false'
InformationProvenance.activity.coding.systemElement minimum cardinalities differ: '1' vs '0'
InformationStructureDefinition.shortValues for short differ: 'derivation | revision | quotation | source | removal' vs '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'.'
InformationStructureDefinition.shortValues for short differ: 'If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message, formatted as MessageHeader/[id].' vs 'If the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message.'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Provenance
      .copyright
        .date2025-10-29T08:30:14+00:002025-11-24T13:37:00+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
                          .statusactive
                            .title
                              .typeProvenance
                                .urlhttp://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance
                                  .version4.0.12.0.1
                                  • 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 SOΣ0..1idLogical id of this artifact
                                    ObligationsActor
                                    SHALL:in-narrativeProducer of FHIR resources
                                    Σ0..1idLogical id of this artifact
                                    • Elements differ in definition for mustSupport: 'true' vs 'false'
                                    ... 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..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
                                        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
                                          .... id 0..1stringUnique id for inter-element referencing
                                          • Removed this element
                                          .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                          Slice: Unordered, Open by value:url
                                          • Removed this element
                                          .... status S1..1codegenerated | extensions | additional | empty
                                          Binding: ?? (required): The status of a resource narrative.
                                          • Removed this element
                                          .... div SC1..1xhtmlLimited xhtml content
                                          • Removed 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 SOΣ1..1Reference(MedComMessagingMessageHeader)Targets the MedComMessagingMessageHeader from the current message.
                                                ObligationsActor
                                                SHALL:in-narrativeProducer of FHIR resources
                                                SΣ1..1Reference(MedComMessagingMessageHeader)Targets the MedComMessagingMessageHeader from the current message.
                                                  ... Slices for occurred[x] S1..1dateTimeWhen the activity occurred
                                                  Slice: Unordered, Closed by type:$this
                                                  1..1dateTimeWhen the activity occurred
                                                  Slice: Unordered, Closed by type:$this
                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                  ... 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)
                                                          • Unable to resolve right value set http://medcomfhir.dk/fhir/dk-medcom-terminology/ValueSet/medcom-messaging-activityCodes at Provenance.activity
                                                          .... 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..1CodingCode defined by a terminology system
                                                              SΣ1..*CodingCode defined by a terminology system
                                                              • Element maximum cardinalities differ: '1' vs '2147483647'
                                                              ..... 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 SΣ1..1uriIdentity of the terminology systemΣ0..1uriIdentity of the terminology system
                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                  • Element minimum cardinalities differ: '1' vs '0'
                                                                  ..... version Σ0..1stringVersion of the system - if relevantΣ0..1stringVersion of the system - if relevant
                                                                    ..... code SOΣ1..1codeSymbol in syntax defined by the system
                                                                    ObligationsActor
                                                                    SHALL:in-narrativeProducer of FHIR resources
                                                                    SΣ1..1codeSymbol in syntax defined by the system
                                                                      ..... 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 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
                                                                                        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.
                                                                                          .... 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 SOΣ1..1codederivation | revision | quotation | source | removal
                                                                                                    Binding: ?? (required): How an entity was used in an activity.
                                                                                                    ObligationsActor
                                                                                                    SHALL:in-narrativeProducer of FHIR resources
                                                                                                    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.
                                                                                                      .... 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 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
                                                                                                            SΣC0..1stringIf the previous message is a FHIR message, this element must hold the MessageHeader.id from previous message.
                                                                                                              ..... 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 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
                                                                                                                SΣ0..1IdentifierIf previous message is EDIFACT or OIOXML, this element must be expressed as [lokationsnummer]#[brevid] from the EDIFACT or OIOXML message.
                                                                                                                  ..... 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 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
                                                                                                                                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.
                                                                                                                                  ..... 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