Newer Version Available

This content describes an older version of this product. View Latest

Medication

Represents detailed information about different medications. This object is available in API version 51.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
BatchNumber
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the batch number of the medication.
ExpirationDateTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Specifies the expiration date of the medication.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user referenced this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user viewed this record.
ManufacturerId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The company that makes the medicine.
Referenced Objects
  • Account
MedicationCodeId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The system-defined code that identifies a medication.
Referenced Objects
  • CodeSetBundle
MedicationFormId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The system-defined code for the dosage form this medication is manufactured in.
Referenced Objects
  • CodeSetBundle
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the medication.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The user who owns the medication record.
QuantityDenominator
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The total volume of the medication contained in the packaged product.
QuantityNumerator
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The total amount of the medication contained in the packaged product.
QuantityUnitId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The measurement unit for the quantity.
Referenced Objects
  • UnitOfMeasure
SourceSystem
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The name of the system this record came from.
SourceSystemIdentifier
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of this record on its source system.
SourceSystemModified
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date on which this item was last changed on the source system.
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the status of the medication.
Possible values are:
  • Active
  • Entered in error
  • Inactive

Additional Information for Medication in Other Objects

In addition to creating a record using these fields, you can add more details to your Medication record by creating records in certain other objects, and referencing your Medication record as the parent record. Here’s the list of objects you can associate to Medication in this way, the type of information they add, and the field they use to reference Medication.

Object Type of Information Reference Field
Identifier Associates an identifier value to the medication record. ParentRecordId
MedicinalIngredient Adds information about the different ingredients used in the medication. ParentRecordId