MedicationAdministration

Represents an instance of medication administered to a patient. This object is available in API version 64.0 and later.

Supported Calls

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

Fields

ClinicalEncounterId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The clinical encounter associated with the medication administration. This field is a relationship field.
  • Relationship Name: ClinicalEncounter
  • Refers To: ClinicalEncounter

DeviceCodeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The device code set bundle associated with the medication administration, representing the device used during the administration. This field is a relationship field.
  • Relationship Name: DeviceCode
  • Refers To: CodeSetBundle

EndDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date and time when the administration occurred (or didn't occur).

IsSubPotent

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the full dose wasn’t administered (true) or not (false).
  • Default value: false

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed a record related to this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

MedicationId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The medication associated with the medication administration. This field is a relationship field.
  • Relationship Name: Medication
  • Refers To: Medication

MedicationRequestId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The medication request associated with the medication administration. This field is a relationship field.
  • Relationship Name: MedicationRequest
  • Refers To: MedicationRequest

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Name of the medication administration.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the user who owns this record. This field is a polymorphic relationship field.
  • Relationship Name: Owner
  • Refers To: Group, User

PatientId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The patient associated with the medication administration. This field is a relationship field.
  • Relationship Name: Patient
  • Relationship Type: Master-detail
  • Refers To: Account (the master object)

RecordedDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the occurrence of the medication administration was first captured.

StartDate

  • Type: dateTime
  • Properties: Create, Filter, Sort, Update
  • Description: The start date and time when the administration occurred (or didn't occur).

Status

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Specifies the status of the medication administration.
  • Default value: InProgress
  • Possible values:
    • Completed
    • EnteredInError
    • InProgress
    • NotAdministered
    • OnHold
    • Stopped
    • Unknown

StatusReasonCodeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The status reason code set bundle associated with the medication administration indicating why the administration wasn’t performed. This field is a relationship field.
  • Relationship Name: StatusReasonCode
  • Refers To: CodeSetBundle

SubPotentReasonId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The sub potent reason code set bundle associated with the medication administration, representing the reason why the full dose wasn’t administered. This field is a relationship field.
  • Relationship Name: SubPotentReason
  • Refers To: CodeSetBundle

TypeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The type code set bundle associated with the medication administration that indicates the type of medication administration. This field is a relationship field.
  • Relationship Name: Type
  • Refers To: CodeSetBundle

Associated Objects

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.

MedicationAdministrationChangeEvent
Change events are available for the object.
MedicationAdministrationHistory
History is available for tracked fields of the object.
MedicationAdministrationOwnerSharingRule
Sharing rules are available for the object.
MedicationAdministrationShare
Sharing is available for the object.