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

Metadata

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

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                              .. MedicationRequest C0..*MedicationRequestCH EMED MedicationRequest
                              ch-dosage-2: If dosing is structured it must be normal or split dosing
                              0..*MedicationRequestCH EMED MedicationRequest (PRE)
                              • Elements differ in short: 'CH EMED MedicationRequest' vs 'CH EMED MedicationRequest (PRE)'
                              ... id Σ0..1stringLogical id of this artifactΣ0..1idLogical id of this artifact
                                ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                  ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                                    ... language 0..1codeLanguage of the resource content
                                    Binding: CommonLanguages (preferred): A human language.

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

                                    Additional BindingsPurpose
                                    AllLanguagesMax Binding
                                      ... text 0..1NarrativeText summary of the resource, for human interpretation0..1NarrativeText summary of the resource, for human interpretation
                                        ... contained 1..1ResourceMedication inline resource
                                        1..1ResourceMedication inline resource
                                          ... Slices for extension 0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                          0..*ExtensionExtension
                                          Slice: Unordered, Open by value:url
                                            ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                            ?!0..*ExtensionExtensions that cannot be ignored
                                              ... identifier 1..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: IdentifierUse (required): Identifies the purpose for this identifier, if known .

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

                                                      .... type Σ0..1CodeableConceptDescription of identifier
                                                      Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                      Σ0..1CodeableConceptDescription of identifier
                                                      Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                                        .... system Σ1..1uriThe namespace for the identifier value
                                                        Fixed Value: urn:ietf:rfc:3986
                                                        Σ1..1uriThe namespace for the identifier value
                                                        Fixed Value: urn:ietf:rfc:3986
                                                          .... value Σ1..1stringIdentifier value as UUID
                                                          Example General: 123456
                                                          Σ1..1stringIdentifier value as UUID
                                                          Example General: 123456
                                                          Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
                                                            .... period Σ0..1PeriodTime period when id is/was valid for useΣ0..1PeriodTime period when id is/was valid for use
                                                              .... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)Σ0..1Reference(Organization)Organization that issued id (may be just text)
                                                                ... status ?!Σ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
                                                                Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


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

                                                                  ... statusReason 0..1CodeableConceptReason for current status
                                                                  Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

                                                                  0..1CodeableConceptReason for current status
                                                                  Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

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

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

                                                                      ... category 0..*CodeableConceptType of medication usage
                                                                      Binding: medicationRequest Category Codes (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: medicationRequest Category Codes (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: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

                                                                        Σ0..1coderoutine | urgent | asap | stat
                                                                        Binding: RequestPriority (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..1Reference()Medication to be taken
                                                                              Slice: Unordered, Closed by type:$this
                                                                              Σ1..1CodeableConcept, Reference(Medication)Medication to be taken
                                                                              Slice: Unordered, Open by type:$this
                                                                              Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

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

                                                                                        Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                        Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                          .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                            .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                              ... 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: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

                                                                                                        Σ0..1CodeableConceptDesired kind of performer of the medication administration
                                                                                                        Binding: ProcedurePerformerRoleCodes (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: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


                                                                                                            0..1CodeableConceptTreatment reason
                                                                                                            Binding: Condition/Problem/DiagnosisCodes (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: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

                                                                                                                                0..1CodeableConceptOverall pattern of medication administration
                                                                                                                                Binding: medicationRequest Course of Therapy Codes (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..1AnnotationAnnotation
                                                                                                                                    0..*AnnotationInformation about the prescription
                                                                                                                                    • Elements differ in short: 'Annotation' vs 'Information about the prescription'
                                                                                                                                    • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                                                    ... Slices for dosageInstruction 1..*DosageHow the medication should be taken
                                                                                                                                    Slice: Unordered, Open by profile:$this
                                                                                                                                    1..*DosageHow the medication should be taken
                                                                                                                                    Slice: Unordered, Closed by profile:$this
                                                                                                                                      ... 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..1SimpleQuantityFirst fill quantity0..1SimpleQuantityFirst 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..1SimpleQuantityNumber of packages0..1SimpleQuantityNumber 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..1CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                      Slice: Unordered, Closed by type:$this
                                                                                                                                                                                      Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

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

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

                                                                                                                                                                                        0..1CodeableConceptWhy should (not) substitution be made
                                                                                                                                                                                        Binding: SubstanceAdminSubstitutionReason (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