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: '3.0.0' vs '4.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2022-12-21T12:57:16+01:00' vs '2023-06-29T14:57:50+02:00'
InformationStructureDefinition.copyrightValues for copyright differ: 'CC-BY-SA-4.0' vs 'CC0-1.0'
WarningMedicationRequest.containedElements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
InformationMedicationRequest.containedElement maximum cardinalities differ: '1' vs '2147483647'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationRequest
      .copyrightCC-BY-SA-4.0CC0-1.0
      • Values Differ
      .date2022-12-21T12:57:16+01:002023-06-29T14:57:50+02:00
      • Values Differ
      .descriptionDefinition of the medication request for the medication prescription document
        .experimentalfalse
        • Removed the item 'false'
        .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
                              .version3.0.04.0.0-ballot
                              • 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..1ResourceMedication inline resource
                                          1..*ResourceContained, inline Resources
                                          • Elements differ in short: 'Medication inline resource' vs 'Contained, inline Resources'
                                          • Element maximum cardinalities differ: '1' vs '2147483647'
                                          ... Slices for extension 0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                          0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                            ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                            ?!0..*ExtensionExtensions that cannot be ignored
                                              ... identifier 1..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Σ0..1dateTimeWhen request was initially authored
                                                                                                    ... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/What requested the RequestΣ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/What requested the Request
                                                                                                      ... 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.


                                                                                                              .... 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
                                                                                                                  .... coding Σ0..*CodingCode defined by a terminology system
                                                                                                                  Σ0..*CodingCode defined by a terminology system
                                                                                                                    .... text Σ0..1stringPlain text representation of the conceptΣ0..1stringPlain text representation of the concept
                                                                                                                      ... 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
                                                                                                                                                                ..... 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
                                                                                                                                                                    ..... start ΣC0..1dateTimeStarting time with inclusive boundaryΣC0..1dateTimeStarting time with inclusive boundary
                                                                                                                                                                      ..... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoingΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
                                                                                                                                                                        .... 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