Profile Comparison between http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard vs http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard

Left:CH EMED Medication Card Composition (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard)
Right:CH EMED Medication Card Composition (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard)

Messages

ErrorStructureDefinition.versionValues for version differ: '5.0.0-ballot' vs '5.0.0-ci-build'
InformationStructureDefinition.dateValues for date differ: '2024-05-16T19:02:33+00:00' vs '2024-11-15T14:00:01+00:00'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
      .copyrightCC0-1.0
        .date2024-05-16T19:02:33+00:002024-11-15T14:00:01+00:00
        • Values Differ
        .descriptionDefinition of the composition for the medication card document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDCompositionMedicationCard
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED Medication Card Composition
                              .typeComposition
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard
                                  .version5.0.0-ballot5.0.0-ci-build
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. Composition 0..*CHCoreCompositionEPRCH EMED Medication Card Composition
                                  0..*CHCoreCompositionEPRCH EMED Medication Card Composition
                                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical id of this artifact
                                      ... 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 0..1NarrativeText summary of the resource, for human interpretation0..1NarrativeText summary of the resource, for human interpretation
                                            ... contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              ... Slices for extension 0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                              0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                ?!0..*ExtensionExtensions that cannot be ignored
                                                  ... identifier Σ1..1IdentifierVersion-independent identifier for the CompositionΣ1..1IdentifierVersion-independent identifier for the Composition
                                                    .... 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
                                                        .... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                        Binding: ?? (required): Identifies the purpose for this identifier, if known .

                                                        ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                        Binding: ?? (required): Identifies the purpose for this identifier, if known .

                                                          .... type Σ0..1CodeableConceptDescription of identifier
                                                          Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                          Σ0..1CodeableConceptDescription of identifier
                                                          Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                            .... system Σ1..1uriThe namespace for the identifier value
                                                            Fixed Value: urn:ietf:rfc:3986
                                                            Σ1..1uriThe namespace for the identifier value
                                                            Fixed Value: urn:ietf:rfc:3986
                                                              .... value Σ1..1stringThe value that is unique
                                                              Example General: 123456
                                                              Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
                                                              Σ1..1stringThe value that is unique
                                                              Example General: 123456
                                                              Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
                                                                .... period Σ0..1PeriodTime period when id is/was valid for useΣ0..1PeriodTime period when id is/was valid for use
                                                                  .... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)Σ0..1Reference(Organization)Organization that issued id (may be just text)
                                                                    ... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
                                                                    Binding: ?? (required): The workflow/clinical status of the composition.


                                                                    Fixed Value: final
                                                                    ?!Σ1..1codepreliminary | final | amended | entered-in-error
                                                                    Binding: ?? (required): The workflow/clinical status of the composition.


                                                                    Fixed Value: final
                                                                      ... type ΣC1..1CodeableConceptMedication management plan (record artifact)
                                                                      Binding: ?? (extensible)
                                                                      ch-emed-comp-card: If a LOINC code is additionally provided, '56445-0' shall be used for this document type.
                                                                      Required Pattern: {"coding":[{"system":"http://snomed.info/sct","code":"736378000"}]}
                                                                      ΣC1..1CodeableConceptMedication management plan (record artifact)
                                                                      Binding: ?? (extensible)
                                                                      ch-emed-comp-card: If a LOINC code is additionally provided, '56445-0' shall be used for this document type.
                                                                      Required Pattern: {"coding":[{"system":"http://snomed.info/sct","code":"736378000"}]}
                                                                        ... category Σ0..*CodeableConceptCategorization of Composition
                                                                        Binding: ?? (example): High-level kind of a clinical document at a macro level.


                                                                        Σ0..*CodeableConceptCategorization of Composition
                                                                        Binding: ?? (example): High-level kind of a clinical document at a macro level.


                                                                          ... subject SΣ1..1Reference(CH Core Patient EPR)A patient for whom this document instance was createdSΣ1..1Reference(CH Core Patient EPR)A patient for whom this document instance was created
                                                                            .... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                  .... 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 Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                      .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                        ... encounter Σ0..1Reference(CH Core Encounter)Context of the CompositionΣ0..1Reference(CH Core Encounter)Context of the Composition
                                                                                          ... date SΣ1..1dateTimeThe document's creation date and timeSΣ1..1dateTimeThe document's creation date and time
                                                                                            ... author SΣ1..*Reference(CH EMED PractitionerRole | Device | CH Core Patient EPR | RelatedPerson)The author of the document (person or device)
                                                                                            SΣ1..*Reference(CH EMED PractitionerRole | Device | CH Core Patient EPR | RelatedPerson)The author of the document (person or device)
                                                                                              .... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                    .... 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 Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                        .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                          ... title Σ1..1string'Medikationsplan' in german or 'Plan de médication' in french or 'Piano farmacologico' in italian or 'Medication Card' in english or titles in other languages are also allowedΣ1..1string'Medikationsplan' in german or 'Plan de médication' in french or 'Piano farmacologico' in italian or 'Medication Card' in english or titles in other languages are also allowed
                                                                                                            ... confidentiality Σ1..1codeAs defined by affinity domain
                                                                                                            Binding: ?? (required): Codes specifying the level of confidentiality of the composition.

                                                                                                            Σ1..1codeAs defined by affinity domain
                                                                                                            Binding: ?? (required): Codes specifying the level of confidentiality of the composition.

                                                                                                              .... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                                                                                .... Slices for extension 1..*ExtensionExtension
                                                                                                                Slice: Unordered, Open by value:url
                                                                                                                1..*ExtensionExtension
                                                                                                                Slice: Unordered, Open by value:url
                                                                                                                  .... value 0..1stringPrimitive value for code0..1stringPrimitive value for code
                                                                                                                    ... Slices for attester 0..*BackboneElementThe authenticator of the document (person)
                                                                                                                    Slice: Unordered, Open by value:mode
                                                                                                                    0..*BackboneElementThe authenticator of the document (person)
                                                                                                                    Slice: Unordered, Open by value:mode
                                                                                                                      .... 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
                                                                                                                            .... mode 1..1codepersonal | professional | legal | official
                                                                                                                            Binding: ?? (required): The way in which a person authenticated a composition.

                                                                                                                            1..1codepersonal | professional | legal | official
                                                                                                                            Binding: ?? (required): The way in which a person authenticated a composition.

                                                                                                                              .... time 0..1dateTimeWhen the composition was attested0..1dateTimeWhen the composition was attested
                                                                                                                                .... party 0..1Reference(CH Core Patient | RelatedPerson | CH Core Practitioner | CH Core PractitionerRole | CH Core Organization)Who attested the composition0..1Reference(CH Core Patient | RelatedPerson | CH Core Practitioner | CH Core PractitionerRole | CH Core Organization)Who attested the composition
                                                                                                                                  ..... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                                                        ..... 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 Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                                            ..... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                                                              ... custodian Σ0..1Reference(CH Core Organization EPR)Organization which maintains the compositionΣ0..1Reference(CH Core Organization EPR)Organization which maintains the composition
                                                                                                                                                .... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                                                                      .... 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 Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                                                          .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                                                                            ... relatesTo 0..*BackboneElementRelationships to other compositions/documents
                                                                                                                                                            0..*BackboneElementRelationships to other compositions/documents
                                                                                                                                                              .... 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
                                                                                                                                                                    .... code 1..1codereplaces | transforms | signs | appends
                                                                                                                                                                    Binding: ?? (required): The type of relationship between documents.

                                                                                                                                                                    1..1codereplaces | transforms | signs | appends
                                                                                                                                                                    Binding: ?? (required): The type of relationship between documents.

                                                                                                                                                                      .... target[x] 1..1Identifier, Reference(CH Core Composition EPR)Target of the relationship1..1Identifier, Reference(CH Core Composition EPR)Target of the relationship
                                                                                                                                                                        ... event Σ0..*BackboneElementThe clinical service(s) being documented
                                                                                                                                                                        Σ0..*BackboneElementThe clinical service(s) being documented
                                                                                                                                                                          .... 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
                                                                                                                                                                                .... code Σ0..*CodeableConceptCode(s) that apply to the event being documented
                                                                                                                                                                                Binding: ?? (example): This list of codes represents the main clinical acts being documented.


                                                                                                                                                                                Σ0..*CodeableConceptCode(s) that apply to the event being documented
                                                                                                                                                                                Binding: ?? (example): This list of codes represents the main clinical acts being documented.


                                                                                                                                                                                  .... period Σ0..1PeriodThe period covered by the documentationΣ0..1PeriodThe period covered by the documentation
                                                                                                                                                                                    .... detail Σ0..*Reference(Resource)The event(s) being documented
                                                                                                                                                                                    Σ0..*Reference(Resource)The event(s) being documented
                                                                                                                                                                                      ... Slices for section C2..*BackboneElementComposition is broken into sections
                                                                                                                                                                                      Slice: Unordered, Open by pattern:code
                                                                                                                                                                                      cmp-1: A section must contain at least one of text, entries, or sub-sections
                                                                                                                                                                                      cmp-2: A section can only have an emptyReason if it is empty
                                                                                                                                                                                      C2..*BackboneElementComposition is broken into sections
                                                                                                                                                                                      Slice: Unordered, Open by pattern:code
                                                                                                                                                                                      cmp-1: A section must contain at least one of text, entries, or sub-sections
                                                                                                                                                                                      cmp-2: A section can only have an emptyReason if it is empty
                                                                                                                                                                                        .... 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
                                                                                                                                                                                              .... title 0..1stringLabel for section (e.g. for ToC)0..1stringLabel for section (e.g. for ToC)
                                                                                                                                                                                                .... code 0..1CodeableConceptClassification of section (recommended)
                                                                                                                                                                                                Binding: ?? (example): Classification of a section of a composition/document.

                                                                                                                                                                                                0..1CodeableConceptClassification of section (recommended)
                                                                                                                                                                                                Binding: ?? (example): Classification of a section of a composition/document.

                                                                                                                                                                                                  .... author 0..*Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | RelatedPerson | CH Core Organization EPR)Who and/or what authored the section
                                                                                                                                                                                                  0..*Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | RelatedPerson | CH Core Organization EPR)Who and/or what authored the section
                                                                                                                                                                                                    .... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
                                                                                                                                                                                                      .... text C0..1NarrativeText summary of the section, for human interpretationC0..1NarrativeText summary of the section, for human interpretation
                                                                                                                                                                                                        .... mode 0..1codeworking | snapshot | changes
                                                                                                                                                                                                        Binding: ?? (required): The processing mode that applies to this section.

                                                                                                                                                                                                        0..1codeworking | snapshot | changes
                                                                                                                                                                                                        Binding: ?? (required): The processing mode that applies to this section.

                                                                                                                                                                                                          .... orderedBy 0..1CodeableConceptOrder of section entries
                                                                                                                                                                                                          Binding: ?? (preferred): What order applies to the items in the entry.

                                                                                                                                                                                                          0..1CodeableConceptOrder of section entries
                                                                                                                                                                                                          Binding: ?? (preferred): What order applies to the items in the entry.

                                                                                                                                                                                                            .... entry C0..*Reference(Resource)A reference to data that supports this section
                                                                                                                                                                                                            C0..*Reference(Resource)A reference to data that supports this section
                                                                                                                                                                                                              .... emptyReason C0..1CodeableConceptWhy the section is empty
                                                                                                                                                                                                              Binding: ?? (preferred): If a section is empty, why it is empty.

                                                                                                                                                                                                              C0..1CodeableConceptWhy the section is empty
                                                                                                                                                                                                              Binding: ?? (preferred): If a section is empty, why it is empty.

                                                                                                                                                                                                                .... section C0..*See section (Composition)Nested Section
                                                                                                                                                                                                                C0..*See section (Composition)Nested Section

                                                                                                                                                                                                                  doco Documentation for this format