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

Left:CH EMED MedicationRequest Changed (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-changed)
Right:CH EMED MedicationRequest Changed (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-changed)

Messages

ErrorStructureDefinition.versionValues for version differ: '4.0.1' vs '5.0.0-ci-build'
InformationStructureDefinition.dateValues for date differ: '2023-12-28T10:01:16+01:00' vs '2024-05-06T14:22:02+00:00'
InformationMedicationRequest.reasonCodeElement maximum cardinalities differ: '1' vs '2147483647'
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.'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest
      .copyrightCC0-1.0
        .date2023-12-28T10:01:16+01:002024-05-06T14:22:02+00:00
        • Values Differ
        .descriptionDefinition of the changed medication request for the pharmaceutical advice document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDMedicationRequestChanged
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED MedicationRequest Changed
                              .typeMedicationRequest
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest-changed
                                  .version4.0.15.0.0-ci-build
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. MedicationRequest 0..*CHEMEDMedicationRequestCH EMED MedicationRequest Changed (PADV)
                                  C0..*CHEMEDMedicationRequestCH EMED MedicationRequest Changed (PADV)
                                  ch-dosage-medreq: 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.
                                    ... 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..1IdentifierMedicationRequest Identifier
                                                    1..1IdentifierMedicationRequest 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)
                                                                      ... status ?!Σ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
                                                                      Binding: ?? (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

                                                                      ?!Σ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
                                                                      Binding: ?? (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

                                                                        ... statusReason 0..1CodeableConceptReason for current status
                                                                        Binding: ?? (example): Identifies the reasons for a given status.

                                                                        0..1CodeableConceptReason for current status
                                                                        Binding: ?? (example): Identifies the reasons for a given status.

                                                                          ... intent ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
                                                                          Binding: ?? (required): The kind of medication order.

                                                                          ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
                                                                          Binding: ?? (required): The kind of medication order.

                                                                            ... category 0..*CodeableConceptType of medication usage
                                                                            Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


                                                                            0..*CodeableConceptType of medication usage
                                                                            Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


                                                                              ... priority Σ0..1coderoutine | urgent | asap | stat
                                                                              Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request.

                                                                              Σ0..1coderoutine | urgent | asap | stat
                                                                              Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request.

                                                                                ... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action?!Σ0..1booleanTrue if request is prohibiting action
                                                                                  ... reported[x] Σ0..1boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Reported rather than primary recordΣ0..1boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Reported rather than primary record
                                                                                    ... Slices for medication[x] Σ1..1CodeableConcept, Reference(Medication)Medication to be taken
                                                                                    Slice: Unordered, Open by type:$this
                                                                                    Binding: ?? (example): A coded concept identifying substance or product that can be ordered.

                                                                                    Σ1..1CodeableConcept, Reference(CH Core Medication)Medication to be taken
                                                                                    Slice: Unordered, Open by type:$this
                                                                                    Binding: ?? (example): A coded concept identifying substance or product that can be ordered.

                                                                                      ... subject Σ1..1Reference(CH Core Patient)PatientΣ1..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
                                                                                                    ... encounter 0..1Reference(Encounter)Encounter created as part of encounter/admission/stay0..1Reference(Encounter)Encounter created as part of encounter/admission/stay
                                                                                                      ... Slices for supportingInformation 1..*Reference(Resource)Information to support ordering of the medication
                                                                                                      Slice: Unordered, Open by profile:resolve()
                                                                                                      1..*Reference(Resource)Information to support ordering of the medication
                                                                                                      Slice: Unordered, Open by profile:resolve()
                                                                                                        ... authoredOn Σ1..1dateTimeWhen request was initially authoredΣ1..1dateTimeWhen request was initially authored
                                                                                                          ... requester Σ1..1Reference(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'
                                                                                                            .... 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
                                                                                                                        ... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
                                                                                                                          ... performerType Σ0..1CodeableConceptDesired kind of performer of the medication administration
                                                                                                                          Binding: ?? (example): Identifies the type of individual that is desired to administer the medication.

                                                                                                                          Σ0..1CodeableConceptDesired kind of performer of the medication administration
                                                                                                                          Binding: ?? (example): Identifies the type of individual that is desired to administer the medication.

                                                                                                                            ... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request0..1Reference(Practitioner | PractitionerRole)Person who entered the request
                                                                                                                              ... reasonCode 0..1CodeableConceptTreatment reason
                                                                                                                              Binding: ?? (example): A coded concept indicating why the medication was ordered.


                                                                                                                              0..*CodeableConceptTreatment reason
                                                                                                                              Binding: ?? (example): A coded concept indicating why the medication was ordered.


                                                                                                                              • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                                              ... reasonReference 0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
                                                                                                                              0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
                                                                                                                                ... instantiatesCanonical Σ0..*canonical()Instantiates FHIR protocol or definition
                                                                                                                                Σ0..*canonical()Instantiates FHIR protocol or definition
                                                                                                                                  ... instantiatesUri Σ0..*uriInstantiates external protocol or definition
                                                                                                                                  Σ0..*uriInstantiates external protocol or definition
                                                                                                                                    ... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
                                                                                                                                    Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
                                                                                                                                      ... groupIdentifier Σ0..1IdentifierComposite request this is part ofΣ0..1IdentifierComposite request this is part of
                                                                                                                                        ... courseOfTherapyType 0..1CodeableConceptOverall pattern of medication administration
                                                                                                                                        Binding: ?? (example): Identifies the overall pattern of medication administratio.

                                                                                                                                        0..1CodeableConceptOverall pattern of medication administration
                                                                                                                                        Binding: ?? (example): Identifies the overall pattern of medication administratio.

                                                                                                                                          ... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
                                                                                                                                          0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
                                                                                                                                            ... note 0..*AnnotationInformation about the prescription
                                                                                                                                            0..*AnnotationInformation about the prescription
                                                                                                                                              ... 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
                                                                                                                                                ... dispenseRequest 0..1BackboneElementMedication supply authorization0..1BackboneElementMedication supply authorization
                                                                                                                                                  .... 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
                                                                                                                                                        .... initialFill 0..1BackboneElementFirst fill details0..1BackboneElementFirst fill details
                                                                                                                                                          ..... 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
                                                                                                                                                                ..... quantity 0..1??First fill quantity0..1??First fill quantity
                                                                                                                                                                  ..... duration 0..1DurationFirst fill duration0..1DurationFirst fill duration
                                                                                                                                                                    .... dispenseInterval 0..1DurationMinimum period of time between dispenses0..1DurationMinimum period of time between dispenses
                                                                                                                                                                      .... validityPeriod 0..1PeriodPeriod of validity of the prescription0..1PeriodPeriod of validity of the prescription
                                                                                                                                                                        .... numberOfRepeatsAllowed 0..1unsignedIntRepeated supply per medication (without initial dispense)0..1unsignedIntRepeated supply per medication (without initial dispense)
                                                                                                                                                                          .... quantity 0..1??Number of packages0..1??Number of packages
                                                                                                                                                                            .... expectedSupplyDuration 0..1DurationNumber of days supply per dispense0..1DurationNumber of days supply per dispense
                                                                                                                                                                              .... performer 0..1Reference(Organization)Intended dispenser0..1Reference(Organization)Intended dispenser
                                                                                                                                                                                ... substitution 0..1BackboneElementAny restrictions on medication substitution0..1BackboneElementAny restrictions on medication substitution
                                                                                                                                                                                  .... 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
                                                                                                                                                                                        .... Slices for allowed[x] 1..1boolean, CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                        Slice: Unordered, Open by type:$this
                                                                                                                                                                                        Binding: ?? (example): Identifies the type of substitution allowed.

                                                                                                                                                                                        1..1CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                        Slice: Unordered, Closed by type:$this
                                                                                                                                                                                        Binding: ?? (example): Identifies the type of substitution allowed.

                                                                                                                                                                                          .... reason 0..1CodeableConceptWhy should (not) substitution be made
                                                                                                                                                                                          Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

                                                                                                                                                                                          0..1CodeableConceptWhy should (not) substitution be made
                                                                                                                                                                                          Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

                                                                                                                                                                                            ... priorPrescription 0..1Reference(MedicationRequest)An order/prescription that is being replaced0..1Reference(MedicationRequest)An order/prescription that is being replaced
                                                                                                                                                                                              ... detectedIssue 0..*Reference(DetectedIssue)Clinical Issue with action
                                                                                                                                                                                              0..*Reference(DetectedIssue)Clinical Issue with action
                                                                                                                                                                                                ... eventHistory 0..*Reference(Provenance)A list of events of interest in the lifecycle
                                                                                                                                                                                                0..*Reference(Provenance)A list of events of interest in the lifecycle

                                                                                                                                                                                                  doco Documentation for this format