Profile Comparison between http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list vs http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list

Left:CH EMED MedicationStatement (LIST) (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list)
Right:CH EMED MedicationStatement (LIST) (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list)

Messages

ErrorStructureDefinition.versionValues for version differ: '4.0.1' vs '5.0.0-ci-build'
InformationStructureDefinition.dateValues for date differ: '2023-12-28T10:01:16+01:00' vs '2024-05-06T14:22:02+00:00'
InformationMedicationStatement.reasonCodeElement maximum cardinalities differ: '1' vs '2147483647'
InformationStructureDefinition.definitionValues for definition differ: 'Indicates how the medication is/was or should be taken by the patient.' vs 'Indicates how the medication is/was taken or should be taken by the patient.'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
      .copyrightCC0-1.0
        .date2023-12-28T10:01:16+01:002024-05-06T14:22:02+00:00
        • Values Differ
        .descriptionDefinition of the medication statement for the medication list document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDMedicationStatementList
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED MedicationStatement (LIST)
                              .typeMedicationStatement
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-list
                                  .version4.0.15.0.0-ci-build
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. MedicationStatement 0..*CHEMEDMedicationStatementCH EMED MedicationStatement (LIST)
                                  C0..*CHEMEDMedicationStatementCH EMED MedicationStatement (LIST)
                                  ch-dosage-medstat: If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1.
                                    ... 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 1..*ResourceContained, inline Resources
                                            1..*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..1IdentifierMedicationStatement Identifier
                                                  Σ1..1IdentifierMedicationStatement Identifier
                                                    .... 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..1stringIdentifier value as UUID
                                                              Example General: 123456
                                                              Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
                                                              Σ1..1stringIdentifier value as UUID
                                                              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)
                                                                    ... basedOn Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
                                                                    Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
                                                                      ... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
                                                                      Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
                                                                        ... status ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
                                                                        Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement.

                                                                        ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
                                                                        Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement.

                                                                          ... statusReason 0..*CodeableConceptReason for current status
                                                                          Binding: ?? (example): A coded concept indicating the reason for the status of the statement.


                                                                          0..*CodeableConceptReason for current status
                                                                          Binding: ?? (example): A coded concept indicating the reason for the status of the statement.


                                                                            ... category Σ0..1CodeableConceptType of medication usage
                                                                            Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.

                                                                            Σ0..1CodeableConceptType of medication usage
                                                                            Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.

                                                                              ... Slices for medication[x] Σ1..1CodeableConcept, Reference(Medication)What medication was taken
                                                                              Slice: Unordered, Open by type:$this
                                                                              Binding: ?? (example): A coded concept identifying the substance or product being taken.

                                                                              Σ1..1CodeableConcept, Reference(CH Core Medication)What medication was taken
                                                                              Slice: Unordered, Open by type:$this
                                                                              Binding: ?? (example): A coded concept identifying the substance or product being taken.

                                                                                ... subject Σ1..1Reference(CH Core Patient)PatientΣ1..1Reference(CH Core Patient)Patient
                                                                                  .... 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
                                                                                              ... context Σ0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with MedicationStatementΣ0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with MedicationStatement
                                                                                                ... effective[x] Σ0..1dateTime, PeriodThe date/time or interval when the medication is/was/will be takenΣ0..1dateTime, PeriodThe date/time or interval when the medication is/was/will be taken
                                                                                                  ... dateAsserted Σ1..1dateTimeWhen the statement was asserted?Σ1..1dateTimeWhen the statement was asserted?
                                                                                                    ... informationSource 1..1Reference(CH EMED PractitionerRole | CH Core Patient EPR | RelatedPerson)The author of the medical decision, see also 'Guidance - Authorship'1..1Reference(CH EMED PractitionerRole | CH Core Patient EPR | RelatedPerson)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                      .... 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
                                                                                                                  ... derivedFrom 0..*Reference(Resource)Additional supporting information
                                                                                                                  0..*Reference(Resource)Additional supporting information
                                                                                                                    ... reasonCode 0..1CodeableConceptTreatment reason
                                                                                                                    Binding: ?? (example): A coded concept identifying why the medication is being taken.


                                                                                                                    0..*CodeableConceptTreatment reason
                                                                                                                    Binding: ?? (example): A coded concept identifying why the medication is being taken.


                                                                                                                    • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                                    ... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
                                                                                                                    0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
                                                                                                                      ... note 0..*AnnotationFurther information about the statement
                                                                                                                      0..*AnnotationFurther information about the statement
                                                                                                                        ... Slices for dosage 1..*DosageHow the medication should be taken
                                                                                                                        Slice: Unordered, Closed by profile:$this
                                                                                                                        1..*??How the medication should be taken
                                                                                                                        Slice: Unordered, Closed by profile:$this

                                                                                                                          doco Documentation for this format