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 Profile (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: '2.0.0' vs '3.0.0'
InformationStructureDefinition.titleValues for title differ: 'CH EMED MedicationDispense Profile' vs 'CH EMED MedicationDispense (DIS)'
InformationStructureDefinition.dateValues for date differ: '2022-02-11T09:56:31+01:00' vs '2022-12-21T12:57:16+01:00'
WarningMedicationDispenseElements differ in short: 'CH EMED MedicationDispense' vs 'CH EMED MedicationDispense (DIS)'
WarningMedicationDispense.noteElements differ in short: 'Annotation' vs 'Information about the dispense'
InformationMedicationDispense.noteElement maximum cardinalities differ: '1' vs '2147483647'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationDispense
      .copyrightCC-BY-SA-4.0
        .date2022-02-11T09:56:31+01:002022-12-21T12:57:16+01:00
        • Values Differ
        .descriptionDefinition of the medication dispenseDefinition of the medication dispense for the medication dispense document
        • Values Differ
        .experimentalfalse
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#CH
                .kindresource
                  .nameCHEMEDMedicationDispense
                    .publisherHL7 Switzerland
                      .purpose
                        .statusactive
                          .titleCH EMED MedicationDispense ProfileCH EMED MedicationDispense (DIS)
                          • Values Differ
                          .typeMedicationDispense
                            .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense
                              .version2.0.03.0.0
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                              .. MedicationDispense C0..*MedicationDispenseCH EMED MedicationDispense
                              ch-dosage-3: If dosing is structured it must be normal or split dosing
                              C0..*MedicationDispenseCH EMED MedicationDispense (DIS)
                              • Elements differ in short: 'CH EMED MedicationDispense' vs 'CH EMED MedicationDispense (DIS)'
                              ... id Σ0..1stringLogical 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: CommonLanguages (preferred): A human language.

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

                                    Additional BindingsPurpose
                                    AllLanguagesMax 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..1ResourceMedication inline resource
                                          ... 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .

                                                    ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                    Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

                                                      .... type Σ0..1CodeableConceptDescription of identifier
                                                      Binding: Identifier Type Codes (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: Identifier Type Codes (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
                                                          Σ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: MedicationDispense Status Codes (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: MedicationDispense Status Codes (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: MedicationDispense Status Reason Codes (example): A code describing why a dispense was not performed.

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

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

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

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

                                                                          ... subject Σ0..1Reference(CH Core Patient Profile)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: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                  Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                  Binding: ResourceType (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: MedicationDispense Performer Function Codes (example): A code describing the role an individual played in dispensing a medication.

                                                                                                    0..1CodeableConceptWho performed the dispense and what they did
                                                                                                    Binding: MedicationDispense Performer Function Codes (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: ActPharmacySupplyType (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: ActPharmacySupplyType (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..1SimpleQuantityNumber of packages1..1SimpleQuantityNumber of packages
                                                                                                                ... daysSupply 0..1SimpleQuantityAmount of medication expressed as a timing amount0..1SimpleQuantityAmount 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..1AnnotationAnnotation
                                                                                                                          0..*AnnotationInformation about the dispense
                                                                                                                          • Elements differ in short: 'Annotation' vs 'Information about the dispense'
                                                                                                                          • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                                          ... Slices for dosageInstruction 1..*DosageHow the medication should be taken
                                                                                                                          Slice: Unordered, Open 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 dispense0..1BackboneElementWhether a substitution was performed on the dispense
                                                                                                                              .... 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 or was not performed on the dispense
                                                                                                                                      .... type 1..1CodeableConceptCode signifying whether a different drug was dispensed from what was prescribed
                                                                                                                                      Binding: ActSubstanceAdminSubstitutionCode (preferred)
                                                                                                                                      1..1CodeableConceptCode signifying whether a different drug was dispensed from what was prescribed
                                                                                                                                      Binding: ActSubstanceAdminSubstitutionCode (preferred)
                                                                                                                                        .... reason 0..*CodeableConceptWhy was substitution made
                                                                                                                                        Binding: SubstanceAdminSubstitutionReason (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: SubstanceAdminSubstitutionReason (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