Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest vs http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest

Left:US Core MedicationRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest)
Right:US Core MedicationRequest Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest)

Messages

ErrorStructureDefinition.versionValues for version differ: '6.1.0' vs '7.0.0'
InformationStructureDefinition.dateValues for date differ: '2020-06-26' vs '2023-10-17'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International / Cross-Group Projects'
InformationStructureDefinition.definitionValues for definition differ: '\-' vs 'An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called 'MedicationRequest' rather than 'MedicationPrescription' or 'MedicationOrder' to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.'
InformationStructureDefinition.shortValues for short differ: 'Additional content defined by implementations' vs 'Extension'
InformationStructureDefinition.definitionValues for definition differ: 'May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'An Extension'
InformationStructureDefinition.shortValues for short differ: '(USCDI) active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown' vs 'active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown'
InformationStructureDefinition.shortValues for short differ: '(USCDI) proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option' vs 'proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Type of medication usage' vs 'Type of medication usage'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Reported rather than primary record' vs 'Reported rather than primary record'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Medication to be taken' vs 'Medication to be taken'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Who or group medication request is for' vs 'Who or group medication request is for'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Encounter created as part of encounter/admission/stay' vs 'Encounter created as part of encounter/admission/stay'
InformationStructureDefinition.shortValues for short differ: '(USCDI) When request was initially authored' vs 'When request was initially authored'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Who/What requested the Request' vs 'Who/What requested the Request'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Reason or indication for ordering or not ordering the medication' vs '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Reason or indication for ordering or not ordering the medication'
InformationStructureDefinition.shortValues for short differ: '(USCDI) US Core Condition or Observation that supports the prescription' vs '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: US Core Condition or Observation that supports the prescription'
InformationStructureDefinition.shortValues for short differ: '(USCDI) How the medication should be taken' vs 'How the medication should be taken'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Free text dosage instructions e.g. SIG' vs 'Free text dosage instructions e.g. SIG'
InformationStructureDefinition.shortValues for short differ: '(USCDI) When medication should be administered' vs 'When medication should be administered'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Amount of medication administered' vs 'Amount of medication administered'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Amount of medication per dose' vs 'Amount of medication per dose'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Medication supply authorization' vs 'Medication supply authorization'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Number of refills authorized' vs 'Number of refills authorized'
InformationStructureDefinition.shortValues for short differ: '(USCDI) Amount of medication to supply per dispense' vs 'Amount of medication to supply per dispense'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationRequest
      .copyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
        .date2020-06-262023-10-17
        • Values Differ
        .descriptionThe US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 *Medications* requirements. The MedicationRequest resource can be used to record a patient's medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.The US Core MedicationRequest Profile inherits from the FHIR [MedicationRequest](https://hl7.org/fhir/R4/medicationrequest.html) resource; refer to it for scope and usage definitions. This profile meets the requirements of the U.S. Core Data for Interoperability (USCDI) *Medications* Data Class. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication prescriptions or orders. It specifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption.
        • Values Differ
        .experimentalfalse
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindresource
                  .nameUSCoreMedicationRequestProfile
                    .publisherHL7 International - Cross-Group ProjectsHL7 International / Cross-Group Projects
                    • Values Differ
                    .purpose
                      .statusactive
                        .titleUS Core MedicationRequest Profile
                          .typeMedicationRequest
                            .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
                              .version6.1.07.0.0
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                              .. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
                              us-core-21: requester SHALL be present if intent is "order"
                              C0..*MedicationRequestOrdering of medication for patient or group
                              us-core-21: requester SHALL be present if intent is "order"
                                ... 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 0..*ResourceContained, inline Resources
                                          0..*ResourceContained, inline Resources
                                            ... extension 0..*ExtensionAdditional content defined by implementations
                                            0..*ExtensionExtension
                                            Slice: Unordered, Open by value:url
                                              ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                              ?!0..*ExtensionExtensions that cannot be ignored
                                                ... identifier 0..*IdentifierExternal ids for this request
                                                0..*IdentifierExternal ids for this request
                                                  ... status ?!SΣ1..1code(USCDI) active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
                                                  Binding: ?? (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.

                                                  ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
                                                  Binding: ?? (required): A code 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 ?!SΣC1..1code(USCDI) proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
                                                      Binding: ?? (required): The kind of medication order.

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

                                                        ... Slices for category S0..*CodeableConcept(USCDI) Type of medication usage
                                                        Slice: Unordered, Open by pattern:$this
                                                        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.


                                                        S0..*CodeableConceptType of medication usage
                                                        Slice: Unordered, Open by pattern:$this
                                                        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] SΣ0..1boolean S, Reference S(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | US Core PractitionerRole Profile | US Core RelatedPerson Profile)(USCDI) Reported rather than primary recordSΣ0..1boolean S, Reference S(US Core Practitioner Profile S | US Core Organization Profile | US Core Patient Profile | US Core PractitionerRole Profile | US Core RelatedPerson Profile)Reported rather than primary record
                                                                ... medication[x] SΣ1..1CodeableConcept, Reference(US Core Medication Profile)(USCDI) Medication to be taken
                                                                Binding: ?? (extensible)
                                                                SΣ1..1CodeableConcept, Reference(US Core Medication Profile)Medication to be taken
                                                                Binding: ?? (extensible)
                                                                  ... subject SΣ1..1Reference(US Core Patient Profile)(USCDI) Who or group medication request is forSΣ1..1Reference(US Core Patient Profile S | Group)Who or group medication request is for
                                                                    ... encounter S0..1Reference(US Core Encounter Profile)(USCDI) Encounter created as part of encounter/admission/stayS0..1Reference(US Core Encounter Profile)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 SΣ0..1dateTime(USCDI) When request was initially authoredSΣ0..1dateTimeWhen request was initially authored
                                                                          ... requester SΣC0..1Reference(US Core Practitioner Profile S | US Core Patient Profile | US Core Organization Profile | US Core PractitionerRole Profile | US Core RelatedPerson Profile | Device)(USCDI) Who/What requested the RequestSΣC0..1Reference(US Core Practitioner Profile S | US Core Patient Profile | US Core Organization Profile | US Core PractitionerRole Profile | US Core RelatedPerson Profile | 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..*CodeableConcept(USCDI) Reason or indication for ordering or not ordering the medication
                                                                                  Binding: ?? (extensible)
                                                                                  0..*CodeableConcept𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Reason or indication for ordering or not ordering the medication
                                                                                  Binding: ?? (extensible)
                                                                                    ... reasonReference 0..*Reference(Condition | Observation)(USCDI) US Core Condition or Observation that supports the prescription
                                                                                    0..*Reference(Condition | Observation)𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: US Core Condition or Observation that supports the prescription
                                                                                      ... 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
                                                                                                    ... dosageInstruction S0..*Dosage(USCDI) How the medication should be taken
                                                                                                    S0..*DosageHow the medication should be taken
                                                                                                      .... 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
                                                                                                          .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                          ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                            .... sequence Σ0..1integerThe order of the dosage instructionsΣ0..1integerThe order of the dosage instructions
                                                                                                              .... text SΣ0..1string(USCDI) Free text dosage instructions e.g. SIGSΣ0..1stringFree text dosage instructions e.g. SIG
                                                                                                                .... additionalInstruction Σ0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
                                                                                                                Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".


                                                                                                                Σ0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
                                                                                                                Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".


                                                                                                                  .... patientInstruction Σ0..1stringPatient or consumer oriented instructionsΣ0..1stringPatient or consumer oriented instructions
                                                                                                                    .... timing SΣ0..1Timing(USCDI) When medication should be administeredSΣ0..1TimingWhen medication should be administered
                                                                                                                      .... asNeeded[x] Σ0..1boolean, CodeableConceptTake "as needed" (for x)
                                                                                                                      Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

                                                                                                                      Σ0..1boolean, CodeableConceptTake "as needed" (for x)
                                                                                                                      Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

                                                                                                                        .... site Σ0..1CodeableConceptBody site to administer to
                                                                                                                        Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body.

                                                                                                                        Σ0..1CodeableConceptBody site to administer to
                                                                                                                        Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body.

                                                                                                                          .... route Σ0..1CodeableConceptHow drug should enter body
                                                                                                                          Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

                                                                                                                          Σ0..1CodeableConceptHow drug should enter body
                                                                                                                          Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

                                                                                                                            .... method Σ0..1CodeableConceptTechnique for administering medication
                                                                                                                            Binding: ?? (example): A coded concept describing the technique by which the medicine is administered.

                                                                                                                            Σ0..1CodeableConceptTechnique for administering medication
                                                                                                                            Binding: ?? (example): A coded concept describing the technique by which the medicine is administered.

                                                                                                                              .... doseAndRate SΣ0..*Element(USCDI) Amount of medication administered
                                                                                                                              SΣ0..*ElementAmount of medication administered
                                                                                                                                ..... 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
                                                                                                                                    ..... type Σ0..1CodeableConceptThe kind of dose or rate specified
                                                                                                                                    Binding: ?? (example): The kind of dose or rate specified.

                                                                                                                                    Σ0..1CodeableConceptThe kind of dose or rate specified
                                                                                                                                    Binding: ?? (example): The kind of dose or rate specified.

                                                                                                                                      ..... dose[x] SΣ0..1Quantity S, Range(USCDI) Amount of medication per dose
                                                                                                                                      Binding: ?? (preferred)
                                                                                                                                      Additional BindingsPurpose
                                                                                                                                      ??Max Binding
                                                                                                                                      SΣ0..1??, RangeAmount of medication per dose
                                                                                                                                      Binding: ?? (preferred)
                                                                                                                                      Additional BindingsPurpose
                                                                                                                                      ??Max Binding
                                                                                                                                        ..... rate[x] Σ0..1Ratio, Range, ??Amount of medication per unit of timeΣ0..1Ratio, Range, ??Amount of medication per unit of time
                                                                                                                                          .... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of timeΣ0..1RatioUpper limit on medication per unit of time
                                                                                                                                            .... maxDosePerAdministration Σ0..1??Upper limit on medication per administrationΣ0..1??Upper limit on medication per administration
                                                                                                                                              .... maxDosePerLifetime Σ0..1??Upper limit on medication per lifetime of the patientΣ0..1??Upper limit on medication per lifetime of the patient
                                                                                                                                                ... dispenseRequest S0..1BackboneElement(USCDI) Medication supply authorizationS0..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..1PeriodTime period supply is authorized for0..1PeriodTime period supply is authorized for
                                                                                                                                                                        .... numberOfRepeatsAllowed S0..1unsignedInt(USCDI) Number of refills authorizedS0..1unsignedIntNumber of refills authorized
                                                                                                                                                                          .... quantity S0..1??(USCDI) Amount of medication to supply per dispenseS0..1??Amount of medication to supply per dispense
                                                                                                                                                                            .... 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
                                                                                                                                                                                        .... allowed[x] 1..1boolean, CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                        Binding: ?? (example): Identifies the type of substitution allowed.

                                                                                                                                                                                        1..1boolean, CodeableConceptWhether substitution is allowed or not
                                                                                                                                                                                        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