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

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

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'
InformationMedicationRequest.authoredOnElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Who/What requested the Request' vs 'The author of the medical decision, see also 'Guidance - Authorship''
InformationMedicationRequest.requesterElement minimum cardinalities differ: '0' vs '1'
ErrorMedicationRequest.requesterType 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/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationRequest
      .copyrightCC0-1.0
        .date2023-06-29T14:57:50+02:002023-12-19T15:44:04+01:00
        • Values Differ
        .descriptionDefinition of the medication request for the medication prescription document
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDMedicationRequest
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EMED MedicationRequest (PRE)
                              .typeMedicationRequest
                                .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest
                                  .version4.0.0-ballot4.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                  .. MedicationRequest 0..*MedicationRequestCH EMED MedicationRequest (PRE)
                                  0..*MedicationRequestCH EMED MedicationRequest (PRE)
                                    ... 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(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
                                                                                                      ... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
                                                                                                      0..*Reference(Resource)Information to support ordering of the medication
                                                                                                        ... authoredOn Σ0..1dateTimeWhen request was initially authoredΣ1..1dateTimeWhen request was initially authored
                                                                                                        • Element minimum cardinalities differ: '0' vs '1'
                                                                                                        ... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/What requested the RequestΣ1..1Reference(CH EMED PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
                                                                                                        • Element minimum cardinalities differ: '0' vs '1'
                                                                                                        • 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/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) 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
                                                                                                        ... 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..1CodeableConceptTreatment reason
                                                                                                              Binding: ?? (example): A coded concept indicating why the medication was ordered.


                                                                                                                ... 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..*DosageHow 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..1boolean, CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                          Slice: Unordered, Open 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