MedicationDispense

Represents the dispense of a medication to a patient in response to a medication request or order. This object also includes the instructions for how the medication is to be administered This object is available in API version 54.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see MedicationDispense in the Agentforce Health Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
CollectedByIdCollected By IDreference 18  
ContextIdClinical Encounter IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DeliveryLocationIdDelivery Location IDreference 18  
DispenseTypeCodeIdDispense Type Code IDreference 18  
DispensedDateTimeDispensed Datedatetime    
HealthcareFacilityIdHealthcare Facility IDreference 18  
IdMedication Dispense IDid 18  
IsDeletedDeletedboolean    
IsSubstitutedIs Substitutedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
MedAdministrationSettingCategoryMedication Administration Setting Categorypicklist 40  
MedicationCodeIdMedication Code IDreference 18  
MedicationIdMedication IDreference 18  
NameNamestring 255  
OwnerIdOwner IDreference 18  
PatientIdAccount IDreference 18  
PreparedDateTimePrepared Datedatetime    
PrimaryDetectedIssueIdClinical Detected Issue IDreference 18  
PrimaryMedicationRequestIdMedication Request IDreference 18  
PrimaryProcedureIdPatient Medical Procedure IDreference 18  
QuantityQuantitydouble  62
QuantityUnitIdUnit of Measure IDreference 18  
SourceSystemSource Systemstring 64  
SourceSystemIdentifierSource System Idstring 255  
SourceSystemModifiedDateTimeSource System Modified Datedatetime    
StatusStatuspicklist 40  
StatusReasonCodeIdStatus Reason Code IDreference 18  
StatusReasonRelatedIssueIdClinical Detected Issue IDreference 18  
SubstitutedByIdSubstituted By IDreference 18  
SubstitutionReasonSubstitution Reasonmultipicklist 40990 
SubstitutionTypeSubstitution Typepicklist 40  
SupplyDaysCountSupply Days Countdouble  62
SystemModstampSystem Modstampdatetime    

Feed tracking for MedicationDispense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 40  

History for tracked fields of MedicationDispense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdMedication Dispense History IDid 18  
IsDeletedDeletedboolean    
MedicationDispenseIdMedication Dispense IDreference 18  
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  

Sharing for MedicationDispense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18