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

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

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0' vs '4.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2022-12-21T12:57:16+01:00' vs '2023-06-29T14:57:50+02:00'
InformationStructureDefinition.copyrightValues for copyright differ: 'CC-BY-SA-4.0' vs 'CC0-1.0'
WarningMedicationStatement.containedElements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
InformationMedicationStatement.containedElement maximum cardinalities differ: '1' vs '2147483647'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
      .copyrightCC-BY-SA-4.0CC0-1.0
      • Values Differ
      .date2022-12-21T12:57:16+01:002023-06-29T14:57:50+02:00
      • Values Differ
      .descriptionDefinition of the medication statement for the medication card document
        .experimentalfalse
        • Removed the item 'false'
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#CH
              .kindresource
                .nameCHEMEDMedicationStatementCard
                  .publisherHL7 Switzerland
                    .purpose
                      .statusactive
                        .titleCH EMED MedicationStatement (CARD)
                          .typeMedicationStatement
                            .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card
                              .version3.0.04.0.0-ballot
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                              .. MedicationStatement 0..*CHEMEDMedicationStatementCH EMED MedicationStatement (CARD)
                              0..*CHEMEDMedicationStatementCH EMED MedicationStatement (CARD)
                                ... 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..1ResourceMedication inline resource
                                        1..*ResourceContained, inline Resources
                                        • Elements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
                                        • Element maximum cardinalities differ: '1' vs '2147483647'
                                        ... 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, Closed by type:$this
                                                                        Binding: ?? (example): A coded concept identifying the substance or product being taken.

                                                                        Σ1..1CodeableConcept, Reference(Medication)What medication was taken
                                                                        Slice: Unordered, Closed 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 Σ0..1dateTimeWhen the statement was asserted?Σ0..1dateTimeWhen the statement was asserted?
                                                                                              ... informationSource 0..1Reference(CH EMED PractitionerRole)The "last" author and her/his organization of the medical decision, see also 'Guidance - Different Authors'0..1Reference(CH EMED PractitionerRole | CH Core Patient EPR | RelatedPerson)The "last" author and her/his organization of the medical decision, see also 'Guidance - Different Authors'
                                                                                                .... 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..1CodeableConceptTreatment reason
                                                                                                              Binding: ?? (example): A coded concept identifying why the medication is being taken.


                                                                                                                .... 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 Σ0..*CodingCode defined by a terminology system
                                                                                                                    Σ0..*CodingCode defined by a terminology system
                                                                                                                      .... text SΣ0..1stringPlain text representation of the conceptSΣ0..1stringPlain text representation of the concept
                                                                                                                        ... 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..*AnnotationAnnotation comment
                                                                                                                          0..*AnnotationAnnotation comment
                                                                                                                            ... Slices for dosage S1..*DosageHow the medication should be taken
                                                                                                                            Slice: Unordered, Closed by profile:$this
                                                                                                                            S1..*DosageHow the medication should be taken
                                                                                                                            Slice: Unordered, Closed by profile:$this

                                                                                                                              doco Documentation for this format