Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

EhrMedicationStatement​__c to Medication​Statement

Fields in EhrMedicationStatement​__c map to Medication​Statement 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​Statement​.PatientId N/A
Device​__c
Description
A manufactured item that’s used in the providing of healthcare without being substantially changed through that activity. Lookup to EhrDevice​__c.
Not supported N/A
IsRestricted​__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​Statement​.Medication​CodeId N/A
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 The expiration date is recorded on the medication record linked to the medication statement.
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 The lot number is specified in the linked 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 This information is specified in the 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 statement ID. Limit: 255 characters.
Identifier The identifier information for an medication statement is represented as Identifier records that reference the medication statement record using their Identifier​.Parent​RecordId field​.
Patient​__c
Description
The person who’s taking the medication. Lookup to EhrPatient​__c.
Medication​Statement​.PatientId N/A
Reason​Not​Given​Code​__c
Description
The system-defined code that indicates why the medication wasn’t taken.
Medication​Statement​.​Status​Reason​CodeId This information can be specified using the Medication​Statement​.​Status​Reason​CodeId field because it’s a subset of status reason.
Reason​Not​Given​Label​__c
Description
The human-readable label that indicates why the medication wasn’t taken.
Reason​Not​Given​System​__c
Description
The system that indicates why the medication wasn’t taken.
Source​System​__c
The external system of record.
​Medication​Statement​.​Source​System N/A
Source​SystemId​__c
The ID of the record in the source system.
​Medication​Statement​.​Source​System​Identifier N/A
Source​System​Modified​__c
The date and time when the record was last modified in the source system.
​Medication​Statement​.​Source​System​Modified N/A
Was​Not​Given​__c
Description
Whether the medication wasn’t taken (true) or was taken (false). The default checkbox value is deselected.
Medication​Statement​.​Status This information can be specified using the Medication​Statement​.​Status field because it’s a subset of status.
When​Given​__c
Description
The date when the medication was taken.
Medication​Statement​.Start​Date​Time N/A