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: '4.0.0-ballot' vs '4.0.0'
InformationStructureDefinition.dateValues for date differ: '2023-06-29T14:57:50+02:00' vs '2023-12-19T15:44:04+01:00'
InformationMedicationDispense.performerElement minimum cardinalities differ: '0' vs '1'
InformationMedicationDispense.performerElement maximum cardinalities differ: '2147483647' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Individual who was performing' vs 'The author of the medical decision, see also 'Guidance - Authorship''
ErrorMedicationDispense.performer.actorType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])
InformationMedicationDispense.whenHandedOverElement minimum cardinalities differ: '0' vs '1'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationDispense
      .copyrightCC0-1.0
        .date2023-06-29T14:57:50+02:002023-12-19T15:44:04+01: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
                    .nameCHEMEDMedicationDispense
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED MedicationDispense (DIS)
                              .typeMedicationDispense
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense
                                  .version4.0.0-ballot4.0.0
                                  • 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..*ResourceContained, inline Resources
                                              1..*ResourceContained, inline Resources
                                                ... Slices for extension 0..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                0..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                  ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                  ?!0..*ExtensionExtensions that cannot be ignored
                                                    ... identifier 1..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
                                                                                                  1..1BackboneElementWho performed event
                                                                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                                                                  • Element maximum cardinalities differ: '2147483647' vs '1'
                                                                                                  .... 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(CH EMED PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                          • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])
                                                                                                          ..... id 0..1stringUnique id for inter-element referencing
                                                                                                          • Added this element
                                                                                                          ..... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                          Slice: Unordered, Open by value:url
                                                                                                          • Added this element
                                                                                                          ..... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                          • Added this element
                                                                                                          ..... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                          Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                          • Added this element
                                                                                                          ..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                          • Added this element
                                                                                                          ..... display Σ0..1stringText alternative for the resource
                                                                                                          • Added this element
                                                                                                          ... 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 out1..1dateTimeWhen product was given out
                                                                                                                      • Element minimum cardinalities differ: '0' vs '1'
                                                                                                                      ... 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 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-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 (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)
                                                                                                                                          .... 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