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

Left:DIS MedicationDispense (http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationdispense)
Right:DIS MedicationDispense (http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationdispense)

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).'
ErrorMedicationDispense.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]])
ErrorMedicationDispense.performer.actorType Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])
InformationStructureDefinition.shortValues for short differ: 'A fixed quantity (no comparator)' vs 'Number of packages'
InformationStructureDefinition.definitionValues for definition differ: 'The comparator is not used on a SimpleQuantity' vs 'The amount of medication that has been dispensed. Includes unit of measure.'
ErrorMedicationDispense.quantityType Mismatch: Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity]]) vs Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity]])
ErrorMedicationDispense.daysSupplyType Mismatch: Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-time-quantity]]) vs Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-time-quantity]])
InformationStructureDefinition.definitionValues for definition differ: 'Indicates how the medication is to be used by the patient.' vs 'Indicates how the medication is/was taken or should be taken by the patient.'
ErrorMedicationDispense.substitution.typeUnable to resolve left value set http://fhir.ch/ig/ch-emed/ValueSet/ActSubstanceAdminSubstitutionCode at MedicationDispense.substitution.type

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense
      .copyrightCC0-1.0
        .date2024-01-26T09:51:05+01:002025-01-21T10:58:28+00:00
        • Values Differ
        .descriptionDefinition of the medication dispense for the medication dispense document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDEPRMedicationDispense
                      .publisherCARA
                        .purpose
                          .statusdraft
                            .titleDIS MedicationDispense
                              .typeMedicationDispense
                                .urlhttp://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationdispense
                                  .version1.0.02.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. MedicationDispense C0..*CH EMED MedicationDispense (DIS)
                                  mdd-1: whenHandedOver cannot be before whenPrepared
                                  C0..*CHEMEDMedicationDispenseCH EMED MedicationDispense (DIS)
                                  mdd-1: whenHandedOver cannot be before whenPrepared
                                  ch-dosage-meddis: 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-instruction-unit-must-match-base-dosage-instruction: 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
                                                          ... language 0..1codeLanguage of the resource content
                                                          Binding: ?? (preferred): A human language.

                                                          Additional BindingsPurpose
                                                          ??Max Binding
                                                          0..1codeLanguage of the resource content
                                                          Binding: ?? (preferred): A human language.

                                                          Additional BindingsPurpose
                                                          ??Max Binding
                                                            ... 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 1..*ExtensionExtension
                                                                Slice: Unordered, Open by value:url
                                                                1..*ExtensionExtension
                                                                Slice: Unordered, Open by value:url
                                                                  ... modifierExtension ?!0..0?!0..0
                                                                    ... identifier 1..1IdentifierMedicationDispense Identifier
                                                                    1..1IdentifierMedicationDispense 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)
                                                                                      ... partOf 0..*Reference(Procedure)✕ This element is not supported
                                                                                      D0..*Reference(Procedure)✕ This element is not supported
                                                                                        ... status ?!Σ1..1codepreparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown
                                                                                        Binding: ?? (required): A coded concept specifying the state of the dispense event.


                                                                                        Fixed Value: completed
                                                                                        ?!Σ1..1codepreparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown
                                                                                        Binding: ?? (required): A coded concept specifying the state of the dispense event.


                                                                                        Fixed Value: completed
                                                                                          ... statusReason[x] 0..1CodeableConcept, Reference(DetectedIssue)✕ This is only meaningful when the dispense was not performed
                                                                                          Binding: ?? (example): A code describing why a dispense was not performed.

                                                                                          D0..1CodeableConcept, Reference(DetectedIssue)✕ This is only meaningful when the dispense was not performed
                                                                                          Binding: ?? (example): A code describing why a dispense was not performed.

                                                                                            ... category 0..1CodeableConcept✕ This element is not supported
                                                                                            Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered.

                                                                                            D0..1CodeableConcept✕ This element is not supported
                                                                                            Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered.

                                                                                              ... Slices for medication[x] Σ1..1Reference(Medication)What medication was supplied
                                                                                              Slice: Unordered, Closed by type:$this
                                                                                              Σ1..1Reference(CH Core Medication)What medication was supplied
                                                                                              Slice: Unordered, Closed by type:$this
                                                                                                ... subject Σ0..1Reference(http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-patient) {r, b}PatientΣ0..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..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)✕ This element is not supportedD0..1Reference(Encounter | EpisodeOfCare)✕ This element is not supported
                                                                                                              ... supportingInformation 0..*Reference(Resource)✕ This element is not supported
                                                                                                              D0..*Reference(Resource)✕ This element is not supported
                                                                                                                ... performer 1..1BackboneElementWho performed event
                                                                                                                1..1BackboneElementWho performed event
                                                                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                    .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                                      .... modifierExtension ?!Σ0..0?!Σ0..0
                                                                                                                        .... function 0..1CodeableConceptWho performed the dispense and what they did
                                                                                                                        Binding: ?? (example): A code describing the role an individual played in dispensing a medication.

                                                                                                                        0..1CodeableConceptWho performed the dispense and what they did
                                                                                                                        Binding: ?? (example): A code describing the role an individual played in dispensing a medication.

                                                                                                                          .... actor 1..1Reference(http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole)The author of the medical decision, see also 'Guidance - Authorship'1..1Reference(CH EMED PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                                          • Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]]) 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..*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
                                                                                                                                      ... location 0..1Reference(Location)✕ This element is not supportedD0..1Reference(Location)✕ This element is not supported
                                                                                                                                        ... authorizingPrescription 0..*Reference(MedicationRequest)✕ This element is not supported
                                                                                                                                        D0..*Reference(MedicationRequest)✕ This element is not supported
                                                                                                                                          ... type 0..1CodeableConcept✕ This element is not supported
                                                                                                                                          Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.

                                                                                                                                          D0..1CodeableConcept✕ This element is not supported
                                                                                                                                          Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.

                                                                                                                                            ... quantity C1..1??A fixed quantity (no comparator)
                                                                                                                                            qty-3: If a code for the unit is present, the system SHALL also be present
                                                                                                                                            sqty-1: The comparator is not used on a SimpleQuantity
                                                                                                                                            1..1??Number of packages
                                                                                                                                            • Type Mismatch: Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity]]) vs Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity]])
                                                                                                                                            ... daysSupply C0..1??✕ This element is not supported
                                                                                                                                            qty-3: If a code for the unit is present, the system SHALL also be present
                                                                                                                                            sqty-1: The comparator is not used on a SimpleQuantity
                                                                                                                                            D0..1??✕ This element is not supported
                                                                                                                                            • Type Mismatch: Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-time-quantity]]) vs Quantity([CanonicalType[http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-time-quantity]])
                                                                                                                                            ... whenPrepared Σ0..1dateTime✕ This element is not supportedΣD0..1dateTime✕ This element is not supported
                                                                                                                                              ... whenHandedOver 1..1dateTimeWhen product was given out1..1dateTimeWhen product was given out
                                                                                                                                                ... destination 0..1Reference(Location)✕ This element is not supportedD0..1Reference(Location)✕ This element is not supported
                                                                                                                                                  ... receiver 0..*Reference(Patient | Practitioner)✕ This element is not supported
                                                                                                                                                  D0..*Reference(Patient | Practitioner)✕ This element is not supported
                                                                                                                                                    ... note 0..*AnnotationInformation about the dispense
                                                                                                                                                    0..*AnnotationInformation about the dispense
                                                                                                                                                      .... 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 dosageInstruction 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
                                                                                                                                                                  ... substitution C0..1BackboneElementWhether a substitution was performed on the dispense
                                                                                                                                                                  ch-emed-dis-1: If no substitution was performed, no type is expected.
                                                                                                                                                                  C0..1BackboneElementWhether a substitution was performed on the dispense
                                                                                                                                                                  ch-meddis-1: If no substitution was performed, no type is expected.
                                                                                                                                                                  ch-emed-dis-1: If no substitution was performed, no type is expected.
                                                                                                                                                                    .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                      .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                      0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                        .... modifierExtension ?!Σ0..0?!Σ0..0
                                                                                                                                                                          .... wasSubstituted 1..1booleanWhether a substitution was (true) or was not (false) performed on the dispense1..1booleanWhether a substitution was (true) or was not (false) performed on the dispense
                                                                                                                                                                            .... type 0..1CodeableConceptIf 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.
                                                                                                                                                                            Binding: ?? (required)
                                                                                                                                                                            0..1CodeableConceptIf 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.
                                                                                                                                                                            Binding: ?? (required)
                                                                                                                                                                            • Unable to resolve left value set http://fhir.ch/ig/ch-emed/ValueSet/ActSubstanceAdminSubstitutionCode at MedicationDispense.substitution.type
                                                                                                                                                                            ..... 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
                                                                                                                                                                            ..... coding Σ0..*CodingCode defined by a terminology system

                                                                                                                                                                            Required Pattern: {"system":"http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution","code":"E","display":"equivalent"}
                                                                                                                                                                            • Added this element
                                                                                                                                                                            ..... text Σ0..1stringPlain text representation of the concept
                                                                                                                                                                            • Added this element
                                                                                                                                                                            .... reason 0..*CodeableConcept✕ This element is not supported
                                                                                                                                                                            Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.


                                                                                                                                                                            D0..*CodeableConcept✕ This element is not supported
                                                                                                                                                                            Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.


                                                                                                                                                                              .... responsibleParty 0..*Reference(Practitioner | PractitionerRole)✕ This element is not supported
                                                                                                                                                                              D0..*Reference(Practitioner | PractitionerRole)✕ This element is not supported
                                                                                                                                                                                ... detectedIssue 0..*Reference(DetectedIssue)✕ This element is not supported
                                                                                                                                                                                D0..*Reference(DetectedIssue)✕ This element is not supported
                                                                                                                                                                                  ... eventHistory 0..*Reference(Provenance)✕ This element is not supported
                                                                                                                                                                                  D0..*Reference(Provenance)✕ This element is not supported

                                                                                                                                                                                    doco Documentation for this format