EhrMedicationStatement__c

Represents a record of the medication that the patient takes or that was given to the patient,where the record is the result of a report from the patient or another clinician.

Supported Calls 

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

This packaged object has a standard object counterpart in the Clinical Data Model. We recommend using the standard object because it’s more closely aligned with FHIR v4.0.

Fields 

Account__c 

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The person account that represents the patient in Lightning Platform

Device__c 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: A manufactured item that’s used in the providing of healthcare without being substantially changed through that activity. Lookup to EhrDevice__c.

IsRestricted__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether or not this field has restricted visibility based on sharing rules.

IsVisibleOnPatientCard__c 

  • Type: boolean
  • Properties: Defaulted on create, Filter, Group
  • Description: Indicates whether or not this field appears on the patient card.

LastActivityDate 

  • Type: date

  • Properties: Filter, Group, Nillable, Sort

  • Description: Whichever of the following is the most recent:

    • Due date of the most recent event logged against the record.
    • Due date of the most recently closed task associated with the record.

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The time stamp that indicates when the current user last viewed a related 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.

MedicationCode__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system-defined code that identifies a medication.

MedicationCodeLabel__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The human-readable label that identifies a medication.

MedicationCodeSystem__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system that defines a medication.

MedicationExpiration__c 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date when a specific batch of product expires.

MedicationIsBrand__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Whether the item is attributable to a specific manufacturer (true) or not (false). The default checkbox value is deselected. Note: The manufacturer doesn’t have to be known.

MedicationKindCode__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • 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.

MedicationKindLabel__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • 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.

MedicationKindSystem__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • 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.

MedicationLotNumber__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The assigned lot number of a batch of the specified product.

MedicationName__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: A common commercial name for the medication.

MedicationProductFormCode__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system-defined code that represents the form of the medication: powder, tablet, or carton + code.

MedicationProductFormLabel__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The human-readable label that represents the form of the medication: powder, tablet, or carton + human-readable label.

MedicationProductFormSystem__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system that defines the form of the medication: powder, tablet, or carton + system.

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The EHR medication statement ID. Limit: 255 characters.

Patient__c 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The person who’s taking the medication. Lookup to EhrPatient__c.

ReasonNotGivenCode__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system-defined code that indicates why the medication wasn’t taken.

ReasonNotGivenLabel__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The human-readable label that indicates why the medication wasn’t taken.

ReasonNotGivenSystem__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The system that indicates why the medication wasn’t taken.

SourceSystem__c 

  • Type: string
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
  • Description: A name that identifies the system that created the record and owns update rights to it.

SourceSystemId__c 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: The ID of an external record. This field can’t be encrypted.

SourceSystemModified__c 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The most recent date when the integration system wrote the record from the source record.

WasNotGiven__c 

  • Type: boolean
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Whether the medication wasn’t taken (true) or was taken (false). The default checkbox value is deselected.

WhenGiven__c 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date when the medication was taken.