MedicationStatement

Represents a record of medication that the patient is currently taking or has taken in the past. 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 MedicationStatement record by creating records in certain other objects, and referencing your MedicationStatement record as the parent record. Here’s the list of objects you can associate to MedicationStatement in this way, the type of information they add, and the field they use to reference MedicationStatement.

ObjectType of InformationReference Field
IdentifierAssociates an identifier value to the medication statement.ParentRecordId
PatientMedicationDosageAssociates dosage related information for the medication in the medication statement record.ParentRecordId
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time the medication statement was made.
  • Type: reference

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

  • Description: The observation that warranted this medication.

  • Referenced Objects:

    • CareObservation
  • Type: reference

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

  • Description: The case associated with the patient’s medication statement.

    This field is a relationship field.

  • Relationship Name: Case

  • Refers To: Case

  • Type: reference

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

  • Description: The encounter related to the medication statement.

  • Referenced Objects:

    • ClinicalEncounter
  • Type: picklist

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

  • Description: Specifies the setting in which the medication was administered.

  • Possible values:

    • Community
    • Inpatient
    • Outpatient
    • PatientSpecified
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The stated end date and time for 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 system-defined code that identifies a medication. A record can select either a MedicationId or a MedicationCodeId, but not both.

  • Referenced Objects:

    • CodeSetBundle
  • Type: reference

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

  • Description: The medication associated with this medication statement. A record can select either a MedicationId or a MedicationCodeId, but not both.

  • Referenced Objects:

    • Medication
  • Type: reference

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

  • Description: The system-defined code that specifies the reason this medication was taken.

  • Referenced Objects:

    • CodeSetBundle
  • Type: Polymorphic reference

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

  • Description: The observation, condition, or diagnostic report that warranted the medication.

  • Referenced Objects:

    • HealthCondition
    • CareObservation
  • Type: reference

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

  • Description: A medication request associated with the medication statement.

  • Referenced Objects:

    • MedicationRequest
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The system-generated name of the medication statement record.
  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: The owner of the medication statement record. Available in API version 56.0 and later. This is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To:

    • Group
    • User
  • Type: reference

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

  • Description: The parent medication statement associated with the medication statement.

  • Referenced Objects:

    • MedicationStatement
  • Type: Master-detail reference

  • Properties: Create, Filter, Group, Sort

  • Description: A patient that the medication statement refers to.

  • Referenced Objects:

    • Account
  • Type: reference

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

  • Description: The procedure associated with this medication statement.

  • Referenced Objects:

    • PatientMedicalProcedure
  • 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 in its source system.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date on which this item was last changed in the source system.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The stated start date and time for the medication.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The person who made the medication statement.
  • Type: picklist

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

  • Description: Specifies the status of the medication in this statement.

  • Possible values:

    • Active
    • Completed
    • Entered-in-error
    • Intended
    • Not-taken
    • On-hold
    • Review Pending - This picklist value is available for the Home Health feature in API version 59.0 and later.
    • Stopped
    • Unknown
  • Type: reference

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

  • Description: The system-defined code that specifies the reason for the status.

  • Referenced Objects:

    • CodeSetBundle

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

MedicationStatementChangeEvent (API version 58.0)

Change events are available for the object.

MedicationStatementFeed

Feed tracking is available for the object.

MedicationStatementHistory

History is available for tracked fields of the object.

MedicationStatementOwnerSharingRule (API version 56.0)

Sharing rules are available for the object.

MedicationStatementShare (API version 56.0)

Sharing is available for the object.

See Also