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

Left:MTP MedicationStatement (http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationstatement-treatmentplan)
Right:MTP MedicationStatement (http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationstatement-treatmentplan)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.0' vs '2.0.0'
InformationStructureDefinition.dateValues for date differ: '2024-01-26T09:51:05+01:00' vs '2025-01-21T10:58:28+00:00'
InformationStructureDefinition.definitionValues for definition differ: 'A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).' vs 'A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.url).'
ErrorMedicationStatement.identifier.assignerType Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization]])
InformationMedicationStatement.partOfElement maximum cardinalities differ: '2147483647' vs '0'
ErrorMedicationStatement.subjectType Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient]])
ErrorMedicationStatement.informationSourceType Mismatch: 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]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient], CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person]])
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
        .date2024-01-26T09:51:05+01:002025-01-21T10:58:28+00:00
        • Values Differ
        .descriptionDefinition of the medication statement for the Medication Treatment Plan document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDEPRMedicationStatement
                      .publisherCARA
                        .purpose
                          .statusdraft
                            .titleMTP MedicationStatement
                              .typeMedicationStatement
                                .urlhttp://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationstatement-treatmentplan
                                  .version1.0.02.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. MedicationStatement 0..*CH EMED MedicationStatement (MTP and basis)
                                  C0..*CHEMEDMedicationStatementCH EMED MedicationStatement (MTP and basis)
                                  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.
                                  split-dosage-unit-must-match-base-dosage: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match.
                                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical id of this artifact
                                      ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                          .... Slices for extension 0..*Extension✕ This element is not supported
                                          Slice: Unordered, Open by value:url
                                          D0..*Extension✕ This element is not supported
                                          Slice: Unordered, Open by value:url
                                            .... versionId Σ0..1id✕ This element is not supportedΣD0..1id✕ This element is not supported
                                              .... lastUpdated Σ0..1instant✕ This element is not supportedΣD0..1instant✕ This element is not supported
                                                .... source Σ0..1uri✕ This element is not supportedΣD0..1uri✕ This element is not supported
                                                  .... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
                                                  Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
                                                    .... security Σ0..*Coding✕ This element is not supported
                                                    Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


                                                    ΣD0..*Coding✕ This element is not supported
                                                    Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


                                                      .... tag Σ0..*Coding✕ This element is not supported
                                                      Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


                                                      ΣD0..*Coding✕ This element is not supported
                                                      Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


                                                        ... implicitRules ?!Σ0..0?!Σ0..0
                                                          ... 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..0?!0..0
                                                                  ... 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..*Extension✕ This element is not supported
                                                                      Slice: Unordered, Open by value:url
                                                                      D0..*Extension✕ This element is not supported
                                                                      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..1CodeableConcept✕ This element is not supported
                                                                          Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                                          ΣD0..1CodeableConcept✕ This element is not supported
                                                                          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..1Period✕ This element is not supportedΣD0..1Period✕ This element is not supported
                                                                                  .... assigner Σ0..1Reference(http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization)✕ This element will be removed in PML(C) documentsΣD0..1Reference(CH EMED EPR Organization)✕ This element will be removed in PML(C) documents
                                                                                  • Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-organization]])
                                                                                  ... basedOn Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)✕ This element will be removed in PML(C) documents
                                                                                  ΣD0..*Reference(MedicationRequest | CarePlan | ServiceRequest)✕ This element will be removed in PML(C) documents
                                                                                    ... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)✕ This element is not supported
                                                                                    ΣD0..0
                                                                                    • Element maximum cardinalities differ: '2147483647' vs '0'
                                                                                    ... 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.


                                                                                    Required Pattern: active
                                                                                    ?!Σ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.


                                                                                    Required Pattern: active
                                                                                      ... statusReason 0..*CodeableConcept✕ This element is not supported
                                                                                      Binding: ?? (example): A coded concept indicating the reason for the status of the statement.


                                                                                      D0..*CodeableConcept✕ This element is not supported
                                                                                      Binding: ?? (example): A coded concept indicating the reason for the status of the statement.


                                                                                        ... category Σ0..1CodeableConcept✕ This element is not supported
                                                                                        Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.

                                                                                        ΣD0..1CodeableConcept✕ This element is not supported
                                                                                        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..1Reference(Medication)What medication was taken
                                                                                          Slice: Unordered, Closed by type:$this
                                                                                          Σ1..1Reference(CH Core Medication)What medication was taken
                                                                                          Slice: Unordered, Closed by type:$this
                                                                                            ... subject Σ1..1Reference(http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient) {r, b}PatientΣ1..1Reference(CH EMED EPR Patient) {r, b}Patient
                                                                                            • Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient]])
                                                                                            .... id 0..1string✕ This element is not supportedD0..1string✕ This element is not supported
                                                                                              .... Slices for extension 0..*Extension✕ This element is not supported
                                                                                              Slice: Unordered, Open by value:url
                                                                                              D0..*Extension✕ This element is not supported
                                                                                              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)✕ This element will be removed in PML(C) documentsΣD0..1Reference(Encounter | EpisodeOfCare)✕ This element will be removed in PML(C) documents
                                                                                                          ... effective[x] Σ0..1dateTime, Period✕ Do not use. The effective period is contained in the main dosageΣD0..1dateTime, Period✕ Do not use. The effective period is contained in the main dosage
                                                                                                            ... dateAsserted Σ1..1dateTimeWhen the statement was asserted?Σ1..1dateTimeWhen the statement was asserted?
                                                                                                              ... informationSource 1..1Reference(http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole | http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr | RelatedPerson)The author of the medical decision, see also 'Guidance - Authorship'1..1Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                              • Type Mismatch: 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]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-practitionerrole], CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient], CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-related-person]])
                                                                                                              .... 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)✕ This element will be removed in PML(C) documents
                                                                                                                          D0..*Reference(Resource)✕ This element will be removed in PML(C) documents
                                                                                                                            ... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
                                                                                                                            Binding: ?? (example): A coded concept identifying why the medication is being taken.


                                                                                                                            0..*CodeableConceptThe treatment reason(s) as text, and optionally coded
                                                                                                                            Binding: ?? (example): A coded concept identifying why the medication is being taken.


                                                                                                                            • 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..*Extension✕ This element is not supported
                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                              D0..*Extension✕ This element is not supported
                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                                .... coding Σ0..*CodingCode defined by a terminology system
                                                                                                                                Σ0..*CodingCode defined by a terminology system
                                                                                                                                  .... text Σ1..1stringPlain text representation of the treatment reason(s)Σ1..1stringPlain text representation of the treatment reason(s)
                                                                                                                                    ... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)✕ This element will be removed in PML(C) documents
                                                                                                                                    D0..*Reference(Condition | Observation | DiagnosticReport)✕ This element will be removed in PML(C) documents
                                                                                                                                      ... note 0..*AnnotationFurther information about the statement
                                                                                                                                      0..*AnnotationFurther information about the statement
                                                                                                                                        .... id 0..1string✕ This element is not supportedD0..1string✕ This element is not supported
                                                                                                                                          .... Slices for extension 0..*Extension✕ This element is not supported
                                                                                                                                          Slice: Unordered, Open by value:url
                                                                                                                                          D0..*Extension✕ This element is not supported
                                                                                                                                          Slice: Unordered, Open by value:url
                                                                                                                                            .... author[x] Σ0..1Reference(Practitioner | Patient | RelatedPerson | Organization), string✕ The note author is ignored, as it cannot be different than the document and/or entry's authorΣD0..1Reference(Practitioner | Patient | RelatedPerson | Organization), string✕ The note author is ignored, as it cannot be different than the document and/or entry's author
                                                                                                                                              .... time Σ0..1dateTime✕ This element is not supportedΣD0..1dateTime✕ This element is not supported
                                                                                                                                                .... text Σ1..1markdownThe annotation text content (as raw text, no markdown allowed).Σ1..1markdownThe annotation text content (as raw text, no markdown allowed).
                                                                                                                                                  ... 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