EhrMedicationPrescription__c to Medication​​Request

Fields in EhrMedicationPrescription__c map to MedicationRequest in the Clinical data model.

Mapping 

FieldDetailsClinical Data Model FieldNotes
Account​__cThe person account that represents the patient in Lightning Platform.​Medication​​Request​.​Patient​IdN/A
Date​Written​__cThe date (and optionally time) when the prescription was written.​Medication​​Request​.​Prescribed​DateN/A
Dispense​Expected​Supply​Duration​__cThe period of time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.Not SupportedN/A
Dispense​Medication​Label​__cThe human-readable label that identifies and defines a medication.Not supportedN/A
Dispense​Medication​Code​__cThe system-defined code that identifies the medication being administered.Not supportedN/A
Dispense​Medication​Code​System​__cThe system that defines the code that identifies this medication.Not supportedN/A
Dispense​Medication​Expiration​__cThe date when a specific batch of product expires.Not SupportedN/A
Dispense​Medication​IsBrand​__cWhether the item is attributable to a specific manufacturer (true) or not (false). The default checkbox value is deselected.
The manufacture doesn’t have to be known.
Not SupportedN/A
Dispense​Medication​KindCode​__cThe system-defined code that represents the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Dispense​Medication​KindLabel​__cThe human-readable label that represents the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Dispense​Medication​KindSystem​__cThe system that defines the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Dispense​Medication​LotNumber​__cThe assigned lot number of a batch of the specified product.Not SupportedN/A
Dispense​Medication​Name​__cA common commercial name for the medication.Not supportedN/A
Dispense​Medication​Product​Form​Code​__cThe system-defined code that represents the form of the product: powder, tablet, or carton + code.Not SupportedMedication form is specified in the linked Medication record.
Dispense​Medication​Product​Form​Label​__cThe human-readable label that represents the form of the product: powder, tablet, or carton + human-readable label.Not SupportedMedication form is specified in the linked Medication record.
Dispense​Medication​Product​Form​System​__cThe system that defines the form of the product: powder, tablet, or carton + system.Not SupportedMedication form is specified in the linked Medication record.
Dispense​Number​OfRepeated​Allowed​__cThe number of allowed repeats of the medication dispense. For example, the number of times the prescribed quantity is to be supplied, including the initial standard fill.Not SupportedN/A
Dispense​Quantity​Unit​__cA unit of measurement in the amount to be dispensed for one fill.Not SupportedN/A
Dispense​Quantity​Value​__cThe amount of medication to supply per dispense.Not SupportedN/A
Dispense​Validity​Period​End​__cThe last date when the prescription is considered valid (not stale) by the prescriber. Dispenses must not be made against the prescription after this date.Not SupportedN/A
Dispense​Validity​Period​Start​__cThe earliest date when the prescription can be filled for the first time. If not specified, the prescription is open-ended or defaults to a stale date based on regulations.Not SupportedN/A
Encounter​__cAn interaction between a patient and one or more healthcare providers for the purpose of providing the patient with healthcare services or assessing a patient’s health status. Lookup to EhrEncounter​__c.​Medication​​Request​.Clinical​Encounter​IdN/A
Is​Restricted​__cIndicates whether or not this field has restricted visibility based on sharing rules.Not supportedN/A
IsVisible​OnPatient​Card​__cIndicates whether or not this field appears on the patient card.Not supportedN/A
Medication​Code​__cThe system-defined code that identifies a medication.Medication​​Request​.​Medication​Code​IdThis code value is specified as a reference to a code set bundle record.
Medication​Code​Label​__cThe human-readable label that identifies a medication.Medication​​Request​.​Medication​Code​IdThis code value is specified as a reference to a code set bundle record.
Medication​Code​System​__cThe system that defines a medication.Medication​​Request​.​Medication​Code​IdThis code value is specified as a reference to a code set bundle record.
Medication​Expiration​__cThe date when a specific batch of product expires.​Medication​.Expiration​Date​TimeThis information is specified in the Medication record.
Medication​IsBrand​__cWhether the item is attributable to a specific manufacturer (true) or not (false). The default checkbox value is deselected.
The manufacturer doesn’t have to be known.
​Medication​.Manufacturer​IdIf the medication is a brand name medication, then the manufacturer is specified in this field on the linked medication record.
Medication​Kind​Code​__cThe system-defined code that represents the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Medication​Kind​Label​__cThe human-readable label that represents the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Medication​Kind​System​__cThe system that defines the kind of medication. Medications are either a single administrable product or a package that contains one or more products.Not supportedN/A
Medication​Lot​Number​__cThe assigned lot number of a batch of the specified product.Medication​.Batch​NumberThis information is specified in the Medication record.
Medication​Name​__cA common commercial name for the medication.Medication​.NameThis information is specified in the Medication record.
Medication​Product​Form​Code​__cThe system-defined code that represents the form of the medication: powder, tablet, or carton + code.Medication​.Medication​FormIdMedication form is specified in the linked Medication record.
Medication​Product​Form​Label​__cThe human-readable label that represents the form of the medication: powder, tablet, or carton + human-readable label.Medication​.Medication​FormIdMedication form is specified in the linked Medication record.
Medication​Product​Form​System​__cThe system that defines the form of the medication: powder, tablet, or carton + system.Medication​.Medication​FormIdMedication form is specified in the linked Medication record.
NameThe EHR medication prescription ID. Limit: 255 characters.IdentifierThe identifier information for a medication request is represented as Identifier records that reference the medication request record using their Identifier​.Parent​RecordId field​.
Patient​__cThe person to whom a medication will be given. Lookup to EhrPatient​__c.​Medication​​Request​.​Patient​IdN/A
Prescriber​__cThe healthcare professional who’s responsible for authorizing the prescription. Lookup to EhrPractitioner​__c.​Medication​​Request​.​​Requester​IdN/A
Prescriber​Name​__cThe long text description of the name of the healthcare professional who’s responsible for authorizing the prescription.Not supportedN/A
Reason​Code​__cThe system-defined code that represents the reason or indication for writing the prescription.​Medication​​Request​.​Reason​Code​IdN/A
Reason​Label​__cThe human-readable label that represents the reason or indication for writing the prescription.​Medication​​Request​.​Reason​Code​IdN/A
Reason​System​__cThe system that defines the reason or indication for writing the prescription.​Medication​​Request​.​Reason​Code​IdN/A
Reason​Condition​__cLookup to EhrCondition​__c.​Medication​​Request​.​Reason​Reference​IdN/A
Source​System​__cThe external system of record.​Medication​​Request​.​Source​SystemN/A
Source​SystemId​__cThe ID of the record in the source system.​Medication​​Request​.​Source​System​IdentifierN/A
Source​System​Modified​__cThe date and time when the record was last modified in the source system.​Medication​​Request​.​Source​System​ModifiedN/A
Status​Code​__cThe code that specifies the state of the order, typically active or completed.Medication​​Request​.​StatusThe clinical data model implementation is a picklist.
Status​Label​__cThe human-readable label that specifies the state of the order, typically active or completed.Medication​​Request​.​StatusThe clinical data model implementation is a picklist.
Status​System​__cThe system that defines the state of the order, typically active or completed.Medication​​Request​.​StatusThe clinical data model implementation is a picklist.
Substitute​Restrict​Reason​Code​__cThe system-defined code that indicates the reason why a substitution can’t be performed.Medication​​Request​.​Substitution​Reason​Code​IdWhile the Substitute​Restrict​Reason​Code​__c field records why a substitution is restricted, the ​Medication​​Request​.​Substitution​Reason​Code​Id field records why a substitution is allowed.
Substitute​Restrict​Reason​Label​__cThe human-readable label that indicates the reason why a substitution can’t be performed.Medication​​Request​.​Substitution​Reason​Code​IdWhile the Substitute​Restrict​Reason​Code​__c field records why a substitution is restricted, the ​Medication​​Request​.​Substitution​Reason​Code​Id field records why a substitution is allowed.
Substitute​Restrict​Reason​System​__cThe system that defines the reason why a substitution can’t be performed.Medication​​Request​.​Substitution​Reason​Code​IdWhile the Substitute​Restrict​Reason​Code​__c field records why a substitution is restricted, the ​Medication​​Request​.​Substitution​Reason​Code​Id field records why a substitution is allowed.
Substitute​Restrict​Type​Code​__cThe system-defined code that indicates whether a different drug can be dispensed from what was prescribed.Medication​​Request​.​Allowed​Substitution​Type​Code​IdWhile the Medication​​Request​.​Substitution​Reason​Code​Id field records what type of substitution is restricted, the Medication​​Request​.​Allowed​Substitution​Type​Code​Id field records what type of substitution is allowed.
Substitute​Restrict​Type​Label​__cThe human-readable label that indicates whether a different drug can be dispensed from what was prescribed.Medication​​Request​.​Allowed​Substitution​Type​Code​IdWhile the Medication​​Request​.​Substitution​Reason​Code​Id field records what type of substitution is restricted, the Medication​​Request​.​Allowed​Substitution​Type​Code​Id field records what type of substitution is allowed.
Substitute​Restrict​Type​System​__cThe system that defines whether a different drug can be dispensed from what was prescribed.Medication​​Request​.​Allowed​Substitution​Type​Code​IdWhile the Medication​​Request​.​Substitution​Reason​Code​Id field records what type of substitution is restricted, the Medication​​Request​.​Allowed​Substitution​Type​Code​Id field records what type of substitution is allowed.