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 Profile (Medication Card document) (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: '2.0.0' vs '3.0.0'
InformationStructureDefinition.titleValues for title differ: 'CH EMED MedicationStatement Profile (Medication Card document)' vs 'CH EMED MedicationStatement (CARD)'
InformationStructureDefinition.dateValues for date differ: '2022-02-11T09:56:31+01:00' vs '2022-12-21T12:57:16+01:00'
WarningMedicationStatementElements differ in short: 'CH EMED MedicationStatement (Medication Card document)' vs 'CH EMED MedicationStatement (CARD)'
WarningMedicationStatement.informationSourceElements differ in short: 'The author of the medical decision' vs 'The 'last' author and her/his organization of the medical decision, see also 'Guidance - Different Authors''
ErrorMedicationStatement.informationSourceType Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])
WarningMedicationStatement.informationSource.extensionElements differ in short: 'Extension' vs 'Additional content defined by implementations'
WarningMedicationStatement.informationSource.extensionElements differ in definition: 'An Extension' vs 'May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.'
WarningMedicationStatement.noteElements differ in short: 'Annotation' vs 'Annotation comment'
InformationMedicationStatement.noteElement maximum cardinalities differ: '1' vs '2147483647'
WarningMedicationStatement.note.textElements differ in definition for mustSupport: 'true' vs 'false'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
      .copyrightCC-BY-SA-4.0
        .date2022-02-11T09:56:31+01:002022-12-21T12:57:16+01:00
        • Values Differ
        .descriptionDefinition of the medication statement for the Medication Card documentDefinition of the medication statement for the medication card document
        • Values Differ
        .experimentalfalse
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#CH
                .kindresource
                  .nameCHEMEDMedicationStatementCard
                    .publisherHL7 Switzerland
                      .purpose
                        .statusactive
                          .titleCH EMED MedicationStatement Profile (Medication Card document)CH EMED MedicationStatement (CARD)
                          • Values Differ
                          .typeMedicationStatement
                            .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card
                              .version2.0.03.0.0
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                              .. MedicationStatement C0..*CHEMEDMedicationStatementCH EMED MedicationStatement (Medication Card document)
                              0..*CHEMEDMedicationStatementCH EMED MedicationStatement (CARD)
                              • Elements differ in short: 'CH EMED MedicationStatement (Medication Card document)' vs 'CH EMED MedicationStatement (CARD)'
                              ... id Σ0..1stringLogical 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..1ResourceMedication inline resource
                                        ... 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .

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

                                                    .... type Σ0..1CodeableConceptDescription of identifier
                                                    Binding: Identifier Type Codes (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: Identifier Type Codes (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
                                                        Σ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: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.


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

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


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


                                                                      ... category Σ0..1CodeableConceptType of medication usage
                                                                      Binding: Medication usage category codes (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: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.

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

                                                                          ... subject Σ1..1Reference(CH Core Patient Profile)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: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                  Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                  Binding: ResourceType (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 Core Practitioner Profile | CH Core Practitioner Role Profile | CH Core Patient Profile | RelatedPerson)The author of the medical decision0..1Reference(CH EMED PractitionerRole)The "last" author and her/his organization of the medical decision, see also 'Guidance - Different Authors'
                                                                                              • Elements differ in short: 'The author of the medical decision' vs 'The "last" author and her/his organization of the medical decision, see also 'Guidance - Different Authors''
                                                                                              • Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])
                                                                                              .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                .... Slices for extension 0..*ExtensionExtension
                                                                                                Slice: Unordered, Open by value:url
                                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                                Slice: Unordered, Open by value:url
                                                                                                • Elements differ in short: 'Extension' vs 'Additional content defined by implementations'
                                                                                                • Elements differ in definition: 'An Extension' vs 'May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.'
                                                                                                .... 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: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                  Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                  Binding: ResourceType (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: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.


                                                                                                          0..1CodeableConceptTreatment reason
                                                                                                          Binding: Condition/Problem/DiagnosisCodes (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..1AnnotationAnnotation
                                                                                                                      0..*AnnotationAnnotation comment
                                                                                                                      • Elements differ in short: 'Annotation' vs 'Annotation comment'
                                                                                                                      • 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
                                                                                                                          .... author[x] Σ0..1Reference(Practitioner | Patient | RelatedPerson | Organization), stringIndividual responsible for the annotationΣ0..1Reference(Practitioner | Patient | RelatedPerson | Organization), stringIndividual responsible for the annotation
                                                                                                                            .... time Σ0..1dateTimeWhen the annotation was madeΣ0..1dateTimeWhen the annotation was made
                                                                                                                              .... text SΣ1..1markdownThe annotation - text content (as markdown)Σ1..1markdownThe annotation - text content (as markdown)
                                                                                                                              • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                              ... 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