## Profile Comparison between http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest vs http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest

Left: | RTPBC Medication Request (http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest)
Right: | RTPBC Medication Request (http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0' vs '2.0.0-ballot'
Information | StructureDefinition.date | Values for date differ: '2020-05-23T00:00:00-05:00' vs '2020-12-02T00:00:00-05:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Pharmacy' vs 'HL7 International / Pharmacy'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/StructureDefinition/MedicationRequest' vs 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest'
Information | MedicationRequest.language | Example/preferred bindings differ at MedicationRequest.language using binding from RtpbcMedicationRequest
Information | StructureDefinition.short | Values for short differ: 'Additional content defined by implementations' vs 'Extension'
Information | StructureDefinition.definition | Values 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'
Warning | MedicationRequest.category | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | StructureDefinition.definition | Values for definition differ: 'Indicates whether the prescription information has been reported by the patient or other party (.reported = true) or is the original prescription record (.reported = false).' vs 'Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.'
Information | MedicationRequest.reported[x] | Element minimum cardinalities differ: '1' vs '0'
Warning | MedicationRequest.encounter | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | MedicationRequest.authoredOn | Element minimum cardinalities differ: '1' vs '0'
Information | StructureDefinition.short | Values for short differ: 'Reason or indication for ordering or not ordering the medication' vs '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Reason or indication for ordering or not ordering the medication'
Information | StructureDefinition.short | Values for short differ: 'Condition or observation that supports why the prescription is being written' vs '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: US Core Condition or Observation that supports the prescription'
Warning | MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | Elements differ in definition for mustSupport: 'false' vs 'true'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationRequest | http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest | Values Differ
copyright |  |
date | 2020-05-23T00:00:00-05:00 | 2020-12-02T00:00:00-05:00 | Values Differ
description | This profile constrains the MedicationRequest resource to convey a subset of prescription information required in the consumer real-time pharmacy benefit check (RTPBC) process. The content specifies the prescribed product and quantity, and references the prescribing practitioner and the patient's preferred pharmacy. This profile differs from the US Core MedicationRequest in that it doesn't set the encounter or dosageInstruction elements as Must Support, because clients in the exchange will typically be mobile consumer applications that do not posess this information, and because that information is not pertinent to this use case. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | RtpbcMedicationRequest |
publisher | HL7 International - Pharmacy | HL7 International / Pharmacy | Values Differ
purpose |  |
status | active |
title | RTPBC Medication Request |
type | MedicationRequest |
url | http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest |
version | 1.0.0 | 2.0.0-ballot | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationRequest |  | 0..* | MedicationRequest | Ordering of medication for patient or group | C | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at MedicationRequest.language using binding from RtpbcMedicationRequest
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier |  | 0..* | Identifier | External ids for this request |  | 0..* | Identifier | External ids for this request |
status | ?!S Σ | 1..1 | code | Request Status Binding: ?? (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: draft | ?!S Σ | 1..1 | code | Request Status Binding: ?? (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. Fixed Value: draft |
statusReason |  | 0..1 | CodeableConcept | Reason for current status Binding: ?? (example): Identifies the reasons for a given status. |  | 0..1 | CodeableConcept | Reason for current status Binding: ?? (example): Identifies the reasons for a given status. |
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): The kind of medication order. Fixed Value: proposal | ?!S Σ C | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): The kind of medication order. Fixed Value: proposal |
category |  | 0..* | CodeableConcept | Type of medication usage Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment. | S | 0..* | CodeableConcept | Type of medication usage Slice: Unordered, Open by value:$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. | Elements differ in definition for mustSupport: 'false' vs 'true'
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action | ?!Σ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | S Σ | 1..1 | boolean | Reported rather than primary record | S Σ | 0..1 | boolean 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 | Element minimum cardinalities differ: '1' vs '0'
medication[x] | S Σ | 1..1 | CodeableConcept | Prescribed Product Binding: ?? (extensible): RTPBC prescribable product codes (NDC11 and RxNorm) | S Σ | 1..1 | CodeableConcept | Prescribed Product Binding: ?? (extensible): RTPBC prescribable product codes (NDC11 and RxNorm) |
subject | S Σ | 1..1 | Reference(RTPBC Patient) | Patient | S Σ | 1..1 | Reference(RTPBC Patient) | Patient |
encounter |  | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay | S | 0..1 | Reference(US Core Encounter Profile) | Encounter created as part of encounter/admission/stay | Elements differ in definition for mustSupport: 'false' vs 'true'
supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication |  | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | S Σ | 1..1 | dateTime | When request was initially authored | S Σ | 0..1 | dateTime | When request was initially authored | Element minimum cardinalities differ: '1' vs '0'
requester | S Σ | 1..1 | Reference(US Core Practitioner Profile) | Prescriber | S Σ C | 1..1 | Reference(US Core Practitioner Profile S) | Prescriber |
performer |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ?? (example): Identifies the type of individual that is desired to administer the medication. | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ?? (example): Identifies the type of individual that is desired to administer the medication. |
recorder |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |
reasonCode |  | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: ?? (example): A coded concept indicating why the medication was ordered. |  | 0..* | CodeableConcept | 𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Reason or indication for ordering or not ordering the medication Binding: ?? (extensible) |
reasonReference |  | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |  | 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..* | uri | Instantiates external protocol or definition | Σ | 0..* | uri | Instantiates 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..1 | Identifier | Composite request this is part of | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType |  | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: ?? (example): Identifies the overall pattern of medication administratio. |  | 0..1 | CodeableConcept | Overall 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..* | Annotation | Information about the prescription |  | 0..* | Annotation | Information about the prescription |
dosageInstruction | S | 0..* | Dosage | How the medication should be taken | S | 0..* | Dosage | How the medication should be taken |
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
modifierExtension |  |  |  |  | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | Added this element
sequence |  |  |  |  | Σ | 0..1 | integer | The order of the dosage instructions | Added this element
text |  |  |  |  | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG | Added this element
additionalInstruction |  |  |  |  | Σ | 0..* | CodeableConcept | Supplemental 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". | Added this element
patientInstruction |  |  |  |  | Σ | 0..1 | string | Patient or consumer oriented instructions | Added this element
timing |  |  |  |  | S Σ | 0..1 | Timing | When medication should be administered | Added this element
asNeeded[x] |  |  |  |  | Σ | 0..1 | boolean, CodeableConcept | Take "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. | Added this element
site |  |  |  |  | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. | Added this element
route |  |  |  |  | S Σ | 0..1 | CodeableConcept | How drug should enter body Binding: ?? (extensible): SNOMED CT and NCI Thesaurus SPL route of administration codes | Added this element
method |  |  |  |  | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. | Added this element
doseAndRate |  |  |  |  | S Σ | 0..* | Element | Amount of medication administered | Added this element
maxDosePerPeriod |  |  |  |  | Σ | 0..1 | Ratio | Upper limit on medication per unit of time | Added this element
maxDosePerAdministration |  |  |  |  | Σ | 0..1 | ?? | Upper limit on medication per administration | Added this element
maxDosePerLifetime |  |  |  |  | Σ | 0..1 | ?? | Upper limit on medication per lifetime of the patient | Added this element
dispenseRequest | S | 1..1 | BackboneElement | Medication supply authorization | S | 1..1 | BackboneElement | Medication supply authorization |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill |  | 0..1 | BackboneElement | First fill details |  | 0..1 | BackboneElement | First fill details |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity |  | 0..1 | ?? | First fill quantity |  | 0..1 | ?? | First fill quantity |
duration |  | 0..1 | Duration | First fill duration |  | 0..1 | Duration | First fill duration |
dispenseInterval |  | 0..1 | Duration | Minimum period of time between dispenses |  | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod |  | 0..1 | Period | Time period supply is authorized for |  | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed |  | 0..1 | unsignedInt | Number of refills authorized | S | 0..1 | unsignedInt | Number of refills authorized | Elements differ in definition for mustSupport: 'false' vs 'true'
quantity | S | 1..1 | ?? | Prescribed Quantity | S | 1..1 | ?? | Prescribed Quantity |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
value | S Σ | 1..1 | decimal | Quantity in Billing Units | S Σ | 1..1 | decimal | Quantity in Billing Units |
comparator | ?!Σ | 0..0 |  | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | ?!Σ | 0..0 |  | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. |
unit | S Σ | 1..1 | string | Billing unit of measure Binding: ?? (extensible): Billing quantity unity of measure | S Σ | 1..1 | string | Billing unit of measure Binding: ?? (extensible): Billing quantity unity of measure |
system | Σ C | 0..1 | uri | System that defines coded unit form | Σ C | 0..1 | uri | System that defines coded unit form |
code | Σ | 0..1 | code | Coded form of the unit | Σ | 0..1 | code | Coded form of the unit |
expectedSupplyDuration | S | 0..1 | Duration | Days Supply | S | 0..1 | Duration | Days Supply |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
value | S Σ | 0..1 | decimal | Days Supply Value | S Σ | 0..1 | decimal | Days Supply Value |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: ?? (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation | Σ | 0..1 | string | Unit representation |
system | Σ C | 0..1 | uri | System that defines coded unit form | Σ C | 0..1 | uri | System that defines coded unit form |
code | Σ | 0..1 | code | Coded form of the unit | Σ | 0..1 | code | Coded form of the unit |
performer | S | 1..1 | Reference(RTPBC Pharmacy Organization) | Pharmacy | S | 1..1 | Reference(Organization) | Pharmacy |
substitution | S | 1..1 | BackboneElement | Substitution | S | 1..1 | BackboneElement | Substitution |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | S | 1..1 | boolean | Substitution Allowed | S | 1..1 | boolean | Substitution Allowed |
reason |  | 0..1 | CodeableConcept | Why 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..1 | CodeableConcept | Why 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..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |  | 0..1 | Reference(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 |
Documentation for this format