EhrMedicationPrescription__c to Medication​​Request

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

Mapping

Field Details Clinical Data Model Field Notes
Account​__c
Description
The person account that represents the patient in Lightning Platform.
Medication​​Request​.​Patient​Id N/A
Date​Written​__c
Description
The date (and optionally time) when the prescription was written.
Medication​​Request​.​Prescribed​Date N/A
Dispense​Expected​Supply​Duration​__c
Description
The 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 Supported N/A
Dispense​Medication​Label​__c
Description
The human-readable label that identifies and defines a medication.
Not supported N/A
Dispense​Medication​Code​__c
Description
The system-defined code that identifies the medication being administered.
Dispense​Medication​Code​System​__c
Description
The system that defines the code that identifies this medication.
Dispense​Medication​Expiration​__c
Description
The date when a specific batch of product expires.
Not Supported N/A
Dispense​Medication​IsBrand​__c
Description
Whether 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.

Note

Not Supported N/A
Dispense​Medication​KindCode​__c
Description
The 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 supported N/A
Dispense​Medication​KindLabel​__c
Description
The 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.
Dispense​Medication​KindSystem​__c
Description
The system that defines the kind of medication. Medications are either a single administrable product or a package that contains one or more products.
Dispense​Medication​LotNumber​__c
Description
The assigned lot number of a batch of the specified product.
Not Supported N/A
Dispense​Medication​Name​__c
Description
A common commercial name for the medication.
Not supported N/A
Dispense​Medication​Product​Form​Code​__c
Description
The system-defined code that represents the form of the product: powder, tablet, or carton + code.
Not Supported Medication form is specified in the linked Medication record.
Dispense​Medication​Product​Form​Label​__c
Description
The human-readable label that represents the form of the product: powder, tablet, or carton + human-readable label.
Dispense​Medication​Product​Form​System​__c
Description
The system that defines the form of the product: powder, tablet, or carton + system.
Dispense​Number​OfRepeated​Allowed​__c
Description
The 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 Supported N/A
Dispense​Quantity​Unit​__c
Description
A unit of measurement in the amount to be dispensed for one fill.
Not Supported N/A
Dispense​Quantity​Value​__c
Description
The amount of medication to supply per dispense.
Not Supported N/A
Dispense​Validity​Period​End​__c
Description
The 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 Supported N/A
Dispense​Validity​Period​Start​__c
Description
The 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 Supported N/A
Encounter​__c
Description
An 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​Id N/A
Is​Restricted​__c
Description
Indicates whether or not this field has restricted visibility based on sharing rules.
Not supported N/A
IsVisible​OnPatient​Card​__c
Description
Indicates whether or not this field appears on the patient card.
Not supported N/A
Medication​Code​__c
Description
The system-defined code that identifies a medication.
Medication​​Request​.​Medication​Code​Id This code value is specified as a reference to a code set bundle record.
Medication​Code​Label​__c
Description
The human-readable label that identifies a medication.
Medication​Code​System​__c
Description
The system that defines a medication.
Medication​Expiration​__c
Description
The date when a specific batch of product expires.
​Medication​.Expiration​Date​Time This information is specified in the Medication record.
Medication​IsBrand​__c
Description
Whether 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.

Note

​Medication​.Manufacturer​Id If the medication is a brand name medication, then the manufacturer is specified in this field on the linked medication record.
Medication​Kind​Code​__c
Description
The 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 supported N/A
Medication​Kind​Label​__c
Description
The 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.
Medication​Kind​System​__c
Description
The system that defines the kind of medication. Medications are either a single administrable product or a package that contains one or more products.
Medication​Lot​Number​__c
Description
The assigned lot number of a batch of the specified product.
Medication​.Batch​Number This information is specified in the Medication record.
Medication​Name​__c
Description
A common commercial name for the medication.
Medication​.Name This information is specified in the Medication record.
Medication​Product​Form​Code​__c
Description
The system-defined code that represents the form of the medication: powder, tablet, or carton + code.
Medication​.Medication​FormId Medication form is specified in the linked Medication record.
Medication​Product​Form​Label​__c
Description
The human-readable label that represents the form of the medication: powder, tablet, or carton + human-readable label.
Medication​Product​Form​System​__c
Description
The system that defines the form of the medication: powder, tablet, or carton + system.
Name
Description
The EHR medication prescription ID. Limit: 255 characters.
Identifier The identifier information for a medication request is represented as Identifier records that reference the medication request record using their Identifier​.Parent​RecordId field​.
Patient​__c
Description
The person to whom a medication will be given. Lookup to EhrPatient​__c.
Medication​​Request​.​Patient​Id N/A
Prescriber​__c
Description
The healthcare professional who’s responsible for authorizing the prescription. Lookup to EhrPractitioner​__c.
​Medication​​Request​.​​Requester​Id N/A
Prescriber​Name​__c
Description
The long text description of the name of the healthcare professional who’s responsible for authorizing the prescription.
Not supported N/A
Reason​Code​__c
Description
The system-defined code that represents the reason or indication for writing the prescription.
​Medication​​Request​.​Reason​Code​Id N/A
Reason​Label​__c
Description
The human-readable label that represents the reason or indication for writing the prescription.
Reason​System​__c
Description
The system that defines the reason or indication for writing the prescription.
Reason​Condition​__c
Description
Lookup to EhrCondition​__c.
​Medication​​Request​.​Reason​Reference​Id N/A
Source​System​__c
The external system of record.
​Medication​​Request​.​Source​System N/A
Source​SystemId​__c
The ID of the record in the source system.
​Medication​​Request​.​Source​System​Identifier N/A
Source​System​Modified​__c
The date and time when the record was last modified in the source system.
​Medication​​Request​.​Source​System​Modified N/A
Status​Code​__c
Description
The code that specifies the state of the order, typically active or completed.
Medication​​Request​.​Status The clinical data model implementation is a picklist.
Status​Label​__c
Description
The human-readable label that specifies the state of the order, typically active or completed.
Status​System​__c
Description
The system that defines the state of the order, typically active or completed.
Substitute​Restrict​Reason​Code​__c
Description
The system-defined code that indicates the reason why a substitution can’t be performed.
Medication​​Request​.​Substitution​Reason​Code​Id While 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​__c
Description
The human-readable label that indicates the reason why a substitution can’t be performed.
Substitute​Restrict​Reason​System​__c
Description
The system that defines the reason why a substitution can’t be performed.
Substitute​Restrict​Type​Code​__c
Description
The system-defined code that indicates whether a different drug can be dispensed from what was prescribed.
Medication​​Request​.​Allowed​Substitution​Type​Code​Id While 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​__c
Description
The human-readable label that indicates whether a different drug can be dispensed from what was prescribed.
Substitute​Restrict​Type​System​__c
Description
The system that defines whether a different drug can be dispensed from what was prescribed.