MedicationStatementDetail

Represents additional information associated with MedicationStatement records. This object is available in API version 54.0 and later.

Supported Calls

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

Fields

Field Details
DetailCodeId
Type
Polymorphic Master-Detail reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References a code set or code set bundle that adds information to a MedicationStatement record.
Referenced Objects
  • CodeSet
  • CodeSetBundle
DetailRecordId
Type
Polymorphic reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References a record that adds information to a MedicationStatement record
Refers To
  • CareObservation
  • ClinicalServiceRequest
  • DiagnosticSummary
  • HealthCondition
  • MedicationDispense
  • MedicationRequest
  • MedicationStatement
  • PatientMedicalProcedure
DetailType
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the type of information added to the MedicationStatement record.
Possible values are:
  • Based On
  • Part Of
  • Status Reason
  • Reason Code
  • Reason Reference
  • Derived From
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time when the record was last referenced.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time when the record was last viewed.
MedicationStatementId
Type
Master-detail reference
Properties
Create, Filter, Group, Sort
Description
The parent MedicationStatement record to which additional information is being added.
This is a relationship field.
Refers To
  • MedicationStatement
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the record.

Usage

  • Use the MedicationStatementId field to reference the parent MedicationStatement record that the additional information is being associated to.
  • Use the DetailType picklist to specify the type of detail that’s being associated to the MedicationStatement record. Here's how the associated record types are mapped to values in the DetailType field.
    • Based On - MedicationRequest, ServiceRequest
    • Part Of - MedicationDispense, MedicationStatement, PatientMedicalProcedure, CareObservation
    • Status Reason - CodeSet, CodeSetBundle
    • Reason Code - CodeSet, CodeSetBundle
    • Reason Reference - HealthCondition, CareObservation, DiagnosticSummary
    • Derived From - CareObservation, ClinicalServiceRequest, DiagnosticSummary, HealthCondition, MedicationDispense, MedicationRequest, MedicationStatement, PatientMedicalProcedure
  • Use the DetailCodeId and DetailRecordId fields to reference the records with the associated information.

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.

MedicationStatementDetailChangeEvent (API Version 62.0)
Change events are available for the object.