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

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

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0' vs '4.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2022-12-21T12:57:16+01:00' vs '2023-06-29T14:57:50+02:00'
InformationStructureDefinition.copyrightValues for copyright differ: 'CC-BY-SA-4.0' vs 'CC0-1.0'
WarningMedicationDispense.containedElements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
InformationMedicationDispense.containedElement maximum cardinalities differ: '1' vs '2147483647'
WarningMedicationDispense.substitution.wasSubstitutedElements differ in short: 'Whether a substitution was or was not performed on the dispense' vs 'Whether a substitution was (true) or was not (false) performed on the dispense'
WarningMedicationDispense.substitution.typeElements differ in short: 'Code signifying whether a different drug was dispensed from what was prescribed' vs 'If 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.'
InformationMedicationDispense.substitution.typeElement minimum cardinalities differ: '1' vs '0'

Metadata

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

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                              .. MedicationDispense C0..*MedicationDispenseCH EMED MedicationDispense (DIS)
                              C0..*MedicationDispenseCH EMED MedicationDispense (DIS)
                                ... 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
                                      ... 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..1ResourceMedication inline resource
                                          1..*ResourceContained, inline Resources
                                          • Elements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
                                          • Element maximum cardinalities differ: '1' vs '2147483647'
                                          ... Slices for extension 0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                          0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                            ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                            ?!0..*ExtensionExtensions that cannot be ignored
                                              ... identifier 1..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)Event that dispense is part of
                                                                0..*Reference(Procedure)Event that dispense is part of
                                                                  ... 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)Why a dispense was not performed
                                                                    Binding: ?? (example): A code describing why a dispense was not performed.

                                                                    0..1CodeableConcept, Reference(DetectedIssue)Why a dispense was not performed
                                                                    Binding: ?? (example): A code describing why a dispense was not performed.

                                                                      ... category 0..1CodeableConceptType of medication dispense
                                                                      Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered.

                                                                      0..1CodeableConceptType of medication dispense
                                                                      Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered.

                                                                        ... Slices for medication[x] Σ1..1CodeableConcept, Reference(Medication)What medication was supplied
                                                                        Slice: Unordered, Open by type:$this
                                                                        Binding: ?? (example): A coded concept identifying which substance or product can be dispensed.

                                                                        Σ1..1CodeableConcept, Reference(Medication)What medication was supplied
                                                                        Slice: Unordered, Open by type:$this
                                                                        Binding: ?? (example): A coded concept identifying which substance or product can be dispensed.

                                                                          ... subject Σ0..1Reference(CH Core Patient)PatientΣ0..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 event0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with event
                                                                                          ... supportingInformation 0..*Reference(Resource)Information that supports the dispensing of the medication
                                                                                          0..*Reference(Resource)Information that supports the dispensing of the medication
                                                                                            ... performer 0..*BackboneElementWho performed event
                                                                                            0..*BackboneElementWho 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..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                  ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                    .... 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(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)Individual who was performing1..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)Individual who was performing
                                                                                                        ... location 0..1Reference(Location)Where the dispense occurred0..1Reference(Location)Where the dispense occurred
                                                                                                          ... authorizingPrescription 0..*Reference(MedicationRequest)Medication order that authorizes the dispense
                                                                                                          0..*Reference(MedicationRequest)Medication order that authorizes the dispense
                                                                                                            ... type 0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
                                                                                                            Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.

                                                                                                            0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
                                                                                                            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 1..1??Number of packages1..1??Number of packages
                                                                                                                ... daysSupply 0..1??Amount of medication expressed as a timing amount0..1??Amount of medication expressed as a timing amount
                                                                                                                  ... whenPrepared Σ0..1dateTimeWhen product was packaged and reviewedΣ0..1dateTimeWhen product was packaged and reviewed
                                                                                                                    ... whenHandedOver 0..1dateTimeWhen product was given out0..1dateTimeWhen product was given out
                                                                                                                      ... destination 0..1Reference(Location)Where the medication was sent0..1Reference(Location)Where the medication was sent
                                                                                                                        ... receiver 0..*Reference(Patient | Practitioner)Who collected the medication
                                                                                                                        0..*Reference(Patient | Practitioner)Who collected the medication
                                                                                                                          ... note 0..*AnnotationInformation about the dispense
                                                                                                                          0..*AnnotationInformation about the dispense
                                                                                                                            ... Slices for dosageInstruction 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
                                                                                                                              ... substitution 0..1BackboneElementWhether a substitution was performed on the dispenseC0..1BackboneElementWhether a substitution was performed on the dispense
                                                                                                                              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..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                    ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                      .... wasSubstituted 1..1booleanWhether a substitution was or was not performed on the dispense1..1booleanWhether a substitution was (true) or was not (false) performed on the dispense
                                                                                                                                      • Elements differ in short: 'Whether a substitution was or was not performed on the dispense' vs 'Whether a substitution was (true) or was not (false) performed on the dispense'
                                                                                                                                      .... type 1..1CodeableConceptCode signifying whether a different drug was dispensed from what was prescribed
                                                                                                                                      Binding: ?? (preferred)
                                                                                                                                      0..1CodeableConceptIf 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.
                                                                                                                                      Binding: ?? (required)
                                                                                                                                      • Elements differ in short: 'Code signifying whether a different drug was dispensed from what was prescribed' vs 'If 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.'
                                                                                                                                      • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                      .... reason 0..*CodeableConceptWhy was substitution made
                                                                                                                                      Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.


                                                                                                                                      0..*CodeableConceptWhy was substitution made
                                                                                                                                      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)Who is responsible for the substitution
                                                                                                                                        0..*Reference(Practitioner | PractitionerRole)Who is responsible for the substitution
                                                                                                                                          ... detectedIssue 0..*Reference(DetectedIssue)Clinical issue with action
                                                                                                                                          0..*Reference(DetectedIssue)Clinical issue with action
                                                                                                                                            ... eventHistory 0..*Reference(Provenance)A list of relevant lifecycle events
                                                                                                                                            0..*Reference(Provenance)A list of relevant lifecycle events

                                                                                                                                              doco Documentation for this format