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 Profile (http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.0' vs '2.0.0'
InformationStructureDefinition.dateValues for date differ: '2021-06-14T15:29:34+02:00' vs '2022-02-11T09:56:31+01:00'
InformationStructureDefinition.publisherValues for publisher differ: 'eHealth Suisse' vs 'HL7 Switzerland'
WarningMedicationRequest.identifierElements differ in short: 'Prescription item ID' vs 'MedicationRequest Identifier'
InformationMedicationRequest.dispenseRequestElement minimum cardinalities differ: '1' vs '0'
WarningMedicationRequest.dispenseRequest.validityPeriodElements differ in short: 'Time period supply is authorized for' vs 'Period of validity of the prescription'
WarningMedicationRequest.dispenseRequest.numberOfRepeatsAllowedElements differ in short: 'Repeated supply per medication' vs 'Repeated supply per medication (without initial dispense)'
InformationMedicationRequest.dispenseRequest.numberOfRepeatsAllowedElement minimum cardinalities differ: '1' vs '0'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationRequest
      .copyrightCC-BY-SA-4.0
        .date2021-06-14T15:29:34+02:002022-02-11T09:56:31+01:00
        • Values Differ
        .descriptionDefinition of the medication request
          .experimentalfalse
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CH
                  .kindresource
                    .nameCHEMEDMedicationRequest
                      .publishereHealth SuisseHL7 Switzerland
                      • Values Differ
                      .purpose
                        .statusactive
                          .titleCH EMED MedicationRequest Profile
                            .typeMedicationRequest
                              .urlhttp://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest
                                .version1.0.02.0.0
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                .. MedicationRequest I0..*MedicationRequestCH EMED MedicationRequest
                                ch-dosage-2: If dosing is structured it must be normal or split dosing
                                I0..*MedicationRequestCH EMED MedicationRequest
                                ch-dosage-2: If dosing is structured it must be normal or split dosing
                                  ... id Σ0..1stringLogical id of this artifactΣ0..1stringLogical 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)
                                        Max Binding: AllLanguages: A human language.

                                        0..1codeLanguage of the resource content
                                        Binding: CommonLanguages (preferred)
                                        Max Binding: AllLanguages: A human language.

                                          ... 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..1IdentifierPrescription item ID
                                                  1..1IdentifierMedicationRequest Identifier
                                                  • Elements differ in short: 'Prescription item ID' vs 'MedicationRequest 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
                                                              .... 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.


                                                                  Fixed Value: completed
                                                                    ... 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..1Reference()Medication to be taken
                                                                                Slice: Unordered, Closed by type:$this
                                                                                  ... subject Σ1..1Reference(CH Core Patient Profile)PatientΣ1..1Reference(CH Core Patient Profile)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 ΣI1..1stringLiteral reference, Relative, internal or absolute URLΣI1..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..1AnnotationAnnotation
                                                                                                                                        ... 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, Open by profile:$this
                                                                                                                                          ... dispenseRequest 1..1BackboneElementMedication supply authorization0..1BackboneElementMedication supply authorization
                                                                                                                                          • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                          .... 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..1PeriodTime period supply is authorized for0..1PeriodPeriod of validity of the prescription
                                                                                                                                                              • Elements differ in short: 'Time period supply is authorized for' vs 'Period 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 ΣI0..1dateTimeStarting time with inclusive boundaryΣI0..1dateTimeStarting time with inclusive boundary
                                                                                                                                                                    ..... end ΣI0..1dateTimeEnd time with inclusive boundary, if not ongoingΣI0..1dateTimeEnd time with inclusive boundary, if not ongoing
                                                                                                                                                                      .... numberOfRepeatsAllowed 1..1unsignedIntRepeated supply per medication0..1unsignedIntRepeated supply per medication (without initial dispense)
                                                                                                                                                                      • Elements differ in short: 'Repeated supply per medication' vs 'Repeated supply per medication (without initial dispense)'
                                                                                                                                                                      • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                                                      .... 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..1CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                    Slice: Unordered, Closed 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