Medication

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

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

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.

ObjectType of InformationReference Field
IdentifierAssociates an identifier value to the medication record.ParentRecordId
MedicinalIngredientAdds information about the different ingredients used in the medication.ParentRecordId
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the batch number of the medication.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The branded alternative for a generic medication. This field is available in API version 56.0 and later.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Specifies the expiration date of the medication.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced this record.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user viewed this record.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The company that makes the medicine.

  • Referenced Objects:

    • Account
  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The category of the medication. This field is available in API version 56.0 and later.

  • Possible values:

    • Branded Product
    • Generic Product
    • Innovator Product
    • Therapeutic Moeity
  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • Description: The system-defined code that identifies a medication.

  • Referenced Objects:

    • CodeSetBundle
  • 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
  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the medication.
  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The user who owns the medication record.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The product that’s associated with the medication.

    This field is a relationship field.

    This field is available in API version 61.0 and later with the Manage Financial Assistance Program permission set.

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The total volume of the medication contained in the packaged product.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The total amount of the medication contained in the packaged product.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The measurement unit for the quantity.

  • Referenced Objects:

    • UnitOfMeasure
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the system this record came from.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of this record on its source system.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date on which this item was last changed on the source system.
  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: Specifies the status of the medication.

  • Possible values:

    • Active
    • Entered in error
    • Inactive

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

MedicationChangeEvent (API version 59.0)

Change events are available for the object.