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

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

Messages

ErrorStructureDefinition.versionValues for version differ: '4.0.0-ballot' vs '4.0.0'
InformationStructureDefinition.dateValues for date differ: '2023-06-29T14:57:50+02:00' vs '2023-12-19T15:44:04+01:00'
InformationMedicationStatement.dateAssertedElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Person or organization that provided the information about the taking of this medication' vs 'The author of the medical decision, see also 'Guidance - Authorship''
InformationMedicationStatement.informationSourceElement minimum cardinalities differ: '0' vs '1'
ErrorMedicationStatement.informationSourceType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationStatement
      .copyrightCC0-1.0
        .date2023-06-29T14:57:50+02:002023-12-19T15:44:04+01:00
        • Values Differ
        .descriptionDefinition of the medication statement for the medication treatment plan document (and as basis medication statement)
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDMedicationStatement
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED MedicationStatement
                              .typeMedicationStatement
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement
                                  .version4.0.0-ballot4.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                  .. MedicationStatement 0..*MedicationStatementCH EMED MedicationStatement (MTP and basis)
                                  0..*MedicationStatementCH EMED MedicationStatement (MTP and basis)
                                    ... 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(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 Σ0..1dateTimeWhen the statement was asserted?Σ1..1dateTimeWhen the statement was asserted?
                                                                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                                                                  ... informationSource 0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Person or organization that provided the information about the taking of this medication1..1Reference(CH EMED PractitionerRole | CH Core Patient EPR | RelatedPerson)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                                                                  • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
                                                                                                  .... id 0..1stringUnique id for inter-element referencing
                                                                                                  • Added this element
                                                                                                  .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                  Slice: Unordered, Open by value:url
                                                                                                  • Added this element
                                                                                                  .... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                  • Added this element
                                                                                                  .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                  Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                  • Added this element
                                                                                                  .... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                  • Added this element
                                                                                                  .... display Σ0..1stringText alternative for the resource
                                                                                                  • Added this element
                                                                                                  ... 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.


                                                                                                      ... 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..*DosageHow the medication should be taken
                                                                                                          Slice: Unordered, Closed by profile:$this

                                                                                                            doco Documentation for this format