MedicationRequest

Represents a request or order for the supply of medication, along with information about how it should be administered. This object is available in API version 51.0 and later.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
AllowedSubstitutionTypeCodeIdCode Set Bundle IDreference 18  
CanSubstituteCan be Substituteboolean    
CarePlanIdCare Plan IDreference 18  
CaseIdCase IDreference 18  
ClinicalEncounterIdClinical Encounter IDreference 18  
ClinicalServiceRequestIdClinical Service Request IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DispenseIntervalDispense Intervaldouble  62
DispenseIntervalUnitIdUnit of Measure IDreference 18  
DispenserIdAccount IDreference 18  
FillDurationUnitIdUnit of Measure IDreference 18  
FillQuantityUnitIdUnit of Measure IDreference 18  
IdMedication Request IDid 18  
InitialFillDurationInitial Fill Durationdouble  62
InitialFillQuantityInitial Fill Quantitydouble  62
IsDeletedDeletedboolean    
IsIgnoredIgnore requestboolean    
IsSecondaryInformationSecondary Information Sourceboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
MedicationAdministrationContextIdCode Set Bundle IDreference 18  
MedicationCodeIdCode Set Bundle IDreference 18  
MedicationIdMedication IDreference 18  
MedicationRequestGroupIdIdentifier IDreference 18  
NameNamestring 255  
OwnerIdOwner IDreference 18  
PatientIdAccount IDreference 18  
PerformerIdPerformer IDreference 18  
PerformerTypeIdCode Set Bundle IDreference 18  
PrescribedDatePrescribed Datedatetime    
PrescriptionPeriodEndPrescription Period Enddatetime    
PrescriptionPeriodStartPrescription Period Startdatetime    
PreviousPrescriptionIdMedication Request IDreference 18  
PriorityPrioritypicklist 40  
ReasonCodeIdCode Set Bundle IDreference 18  
ReasonReferenceIdReason Reference IDreference 18  
RefillDurationRefill Durationdouble  62
RefillQuantityRefill Quantitydouble  62
RefillsAllowedRefills Allowedint9   
RelatedRequestIdMedication Request IDreference 18  
RequesterIdRequester IDreference 18  
SecondarySourceIdSecondary Source IDreference 18  
SourceSystemSource Systemstring 64  
SourceSystemIdentifierSource System IDstring 255  
SourceSystemModifiedSource System Modifieddatetime    
StatusStatuspicklist 40  
StatusReasonCodeIdCode Set Bundle IDreference 18  
SubstitutionReasonCodeIdCode Set Bundle IDreference 18  
SystemModstampSystem Modstampdatetime    
TherapyDurationTherapy Durationpicklist 40  
TypeTypepicklist 40  

Feed tracking for MedicationRequest.

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 MedicationRequest.

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 Request History IDid 18  
IsDeletedDeletedboolean    
MedicationRequestIdMedication Request IDreference 18  
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  

Sharing for MedicationRequest.

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