---
schema_version: "1"
id: f004062867bf29f99c136ad1011e94ae01fd8b41888ef8844007724f5346396a
title: Patient Medication Dispense DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-patientmedicationdispensedmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-patientmedicationdispensedmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f09d80b2b81de6f3d7bf5f7f65a9e0982d67aa2af818083e6dfe636075e9eee1
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Patient Medication Dispense DMO

## Object Properties

**Object API Name:** `ssot__PatientMedicationDispense__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **AccountId** has a FOREIGNKEY relationship with the [Account DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-accountdmo-dmo.md) `Id` field.
- **MedicationId** has a FOREIGNKEY relationship with the [Medication DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-medicationdmo-dmo.md) `Id` field.
- **MedicationDispensedQuantityUOMId** has a FOREIGNKEY relationship with the [Unit of Measure DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-unitofmeasuredmo-dmo.md) `Id` field.
- **DispenseTypeCodeId** has a FOREIGNKEY relationship with the [Code Set DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetdmo-dmo.md) `Id` field.
- **DispenseTypeCodeId** has a FOREIGNKEY relationship with the [Code Set Bundle DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetbundledmo-dmo.md) `Id` field.
- **CollectedById** has a FOREIGNKEY relationship with the [Healthcare Provider DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-healthcareproviderdmo-dmo.md) `Id` field.
- **CollectedById** has a FOREIGNKEY relationship with the [Account DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-accountdmo-dmo.md) `Id` field.
- **CollectedById** has a FOREIGNKEY relationship with the [Account Contact DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-accountcontactdmo-dmo.md) `Id` field.
- **ClinicalEncounterContextId** has a FOREIGNKEY relationship with the [Clinical Encounter DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-clinicalencounterdmo-dmo.md) `Id` field.
- **StatusReasonCodeId** has a FOREIGNKEY relationship with the [Code Set DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetdmo-dmo.md) `Id` field.
- **StatusReasonCodeId** has a FOREIGNKEY relationship with the [Code Set Bundle DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetbundledmo-dmo.md) `Id` field.
- **PrimaryProcedureId** has a FOREIGNKEY relationship with the [Patient Medical Procedure DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-patientmedicalproceduredmo-dmo.md) `Id` field.
- **PrimaryMedicationRequestId** has a FOREIGNKEY relationship with the [Patient Medication Request DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-patientmedicationrequestdmo-dmo.md) `Id` field.
- **PatientMedicationRequestId** has a FOREIGNKEY relationship with the [Medication DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-medicationdmo-dmo.md) `Id` field.
- **PatientId** has a FOREIGNKEY relationship with the [Patient DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-patientdmo-dmo.md) `Id` field.
- **MedicationcCodeId** has a FOREIGNKEY relationship with the [Code Set DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetdmo-dmo.md) `Id` field.
- **MedicationcCodeId** has a FOREIGNKEY relationship with the [Code Set Bundle DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-codesetbundledmo-dmo.md) `Id` field.
- **SubstitutedById** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **SubstitutedById** has a FOREIGNKEY relationship with the [Healthcare Provider DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-healthcareproviderdmo-dmo.md) `Id` field.
- **HealthcareFacilityId** has a FOREIGNKEY relationship with the [Healthcare Facility DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-healthcarefacilitydmo-dmo.md) `Id` field.
- **DeliveryLocationId** has a FOREIGNKEY relationship with the [Healthcare Facility DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-healthcarefacilitydmo-dmo.md) `Id` field.


## Fields

- [AccountId](#accountid)
- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ClinicalEncounterContextId](#clinicalencountercontextid)
- [CollectedById](#collectedbyid)
- [CollectedByObject](#collectedbyobject)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [DeliveryLocationId](#deliverylocationid)
- [DeliveryLocationObject](#deliverylocationobject)
- [DispensedDateTime](#dispenseddatetime)
- [DispenseTypeCodeId](#dispensetypecodeid)
- [DispenseTypeCodeObject](#dispensetypecodeobject)
- [HealthcareFacilityId](#healthcarefacilityid)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [IsSubstituted](#issubstituted)
- [KQ_AccountId](#kq_accountid)
- [KQ_ClinicalEncounterContextId](#kq_clinicalencountercontextid)
- [KQ_CollectedById](#kq_collectedbyid)
- [KQ_DeliveryLocationId](#kq_deliverylocationid)
- [KQ_DispenseTypeCodeId](#kq_dispensetypecodeid)
- [KQ_HealthcareFacilityId](#kq_healthcarefacilityid)
- [KQ_Id](#kq_id)
- [KQ_MedicationcCodeId](#kq_medicationccodeid)
- [KQ_MedicationDispensedQuantityUOMId](#kq_medicationdispensedquantityuomid)
- [KQ_MedicationId](#kq_medicationid)
- [KQ_PatientId](#kq_patientid)
- [KQ_PatientMedicationRequestId](#kq_patientmedicationrequestid)
- [KQ_PrimaryMedicationRequestId](#kq_primarymedicationrequestid)
- [KQ_PrimaryProcedureId](#kq_primaryprocedureid)
- [KQ_StatusReasonCodeId](#kq_statusreasoncodeid)
- [KQ_SubstitutedById](#kq_substitutedbyid)
- [MedAdminSettingCtgyName](#medadminsettingctgyname)
- [MedicationcCodeId](#medicationccodeid)
- [MedicationCodeObject](#medicationcodeobject)
- [MedicationDispensedQuantity](#medicationdispensedquantity)
- [MedicationDispensedQuantityUOMId](#medicationdispensedquantityuomid)
- [MedicationDispenseStatusID](#medicationdispensestatusid)
- [MedicationDispenseType](#medicationdispensetype)
- [MedicationId](#medicationid)
- [MedicationStatement](#medicationstatement)
- [MedSubstitutionType](#medsubstitutiontype)
- [Name](#name)
- [PatientId](#patientid)
- [PatientMedicationRequestId](#patientmedicationrequestid)
- [PreparedDateTime](#prepareddatetime)
- [PrescriptionStatusReason](#prescriptionstatusreason)
- [PrimaryDetectedIssueId](#primarydetectedissueid)
- [PrimaryMedicationRequestId](#primarymedicationrequestid)
- [PrimaryProcedureId](#primaryprocedureid)
- [SourceSystemModifiedDateTime](#sourcesystemmodifieddatetime)
- [StatusReasonCodeId](#statusreasoncodeid)
- [StatusReasonCodeObject](#statusreasoncodeobject)
- [StatusReasonRelatedIssueId](#statusreasonrelatedissueid)
- [SubstitutedById](#substitutedbyid)
- [SubstitutedByObject](#substitutedbyobject)
- [SubstitutionReasonType](#substitutionreasontype)
- [SupplyDaysCount](#supplydayscount)

### AccountId

- **Field API Name:** `ssot__AccountId__c`
- **Data Type:** TEXT
- **Description:** a person receiving or registered to receive medical treatment.

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### ClinicalEncounterContextId

- **Field API Name:** `ssot__ClinicalEncounterContextId__c`
- **Data Type:** TEXT
- **Description:** The encounter that establishes the context for the dispense of a medication.

### CollectedById

- **Field API Name:** `ssot__CollectedById__c`
- **Data Type:** TEXT
- **Description:** The person who collected the dispensed medication.

### CollectedByObject

- **Field API Name:** `ssot__CollectedByObject__c`
- **Data Type:** TEXT
- **Description:** The object name of the record in the Collected By field.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DeliveryLocationId

- **Field API Name:** `ssot__DeliveryLocationId__c`
- **Data Type:** TEXT
- **Description:** The location where the dispensed medication is delivered. This field is available in API version 55.0 and later.

### DeliveryLocationObject

- **Field API Name:** `ssot__DeliveryLocationObject__c`
- **Data Type:** TEXT
- **Description:** The location where the dispensed medication is delivered. This field is available in API version 55.0 and later.

### DispensedDateTime

- **Field API Name:** `ssot__DispensedDateTime__c`
- **Data Type:** DATETIME
- **Description:** Date when the prescription was dispensed.

### DispenseTypeCodeId

- **Field API Name:** `ssot__DispenseTypeCodeId__c`
- **Data Type:** TEXT
- **Description:** The system-defined code that identifies the dispense event type. For instance, a first fill, trial fill, or refill.

### DispenseTypeCodeObject

- **Field API Name:** `ssot__DispenseTypeCodeObject__c`
- **Data Type:** TEXT
- **Description:** The system-defined code that identifies the dispense event type. For instance, a first fill, trial fill, or refill.

### HealthcareFacilityId

- **Field API Name:** `ssot__HealthcareFacilityId__c`
- **Data Type:** TEXT
- **Description:** The location where the dispense occurred.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this PatientMedicationDispense record. Maximum size is 36 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### IsSubstituted

- **Field API Name:** `ssot__IsSubstituted__c`
- **Data Type:** BOOLEAN
- **Description:** Whether a substitute medication was dispensed.

### KQ_AccountId

- **Field API Name:** `KQ_AccountId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for AccountId

### KQ_ClinicalEncounterContextId

- **Field API Name:** `KQ_ClinicalEncounterContextId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ClinicalEncounterContextId

### KQ_CollectedById

- **Field API Name:** `KQ_CollectedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for CollectedById

### KQ_DeliveryLocationId

- **Field API Name:** `KQ_DeliveryLocationId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for DeliveryLocationId

### KQ_DispenseTypeCodeId

- **Field API Name:** `KQ_DispenseTypeCodeId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for DispenseTypeCodeId

### KQ_HealthcareFacilityId

- **Field API Name:** `KQ_HealthcareFacilityId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for HealthcareFacilityId

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_MedicationcCodeId

- **Field API Name:** `KQ_MedicationcCodeId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for MedicationcCodeId

### KQ_MedicationDispensedQuantityUOMId

- **Field API Name:** `KQ_MedicationDispensedQuantityUOMId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for MedicationDispensedQuantityUOMId

### KQ_MedicationId

- **Field API Name:** `KQ_MedicationId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for MedicationId

### KQ_PatientId

- **Field API Name:** `KQ_PatientId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PatientId

### KQ_PatientMedicationRequestId

- **Field API Name:** `KQ_PatientMedicationRequestId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PatientMedicationRequestId

### KQ_PrimaryMedicationRequestId

- **Field API Name:** `KQ_PrimaryMedicationRequestId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PrimaryMedicationRequestId

### KQ_PrimaryProcedureId

- **Field API Name:** `KQ_PrimaryProcedureId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PrimaryProcedureId

### KQ_StatusReasonCodeId

- **Field API Name:** `KQ_StatusReasonCodeId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for StatusReasonCodeId

### KQ_SubstitutedById

- **Field API Name:** `KQ_SubstitutedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for SubstitutedById

### MedAdminSettingCtgyName

- **Field API Name:** `ssot__MedAdminSettingCtgyName__c`
- **Data Type:** TEXT
- **Description:** The setting in which the medication is expected to be administered to the patient. Possible values are: Inpatient, Outpatient, Community, Discharge.

### MedicationcCodeId

- **Field API Name:** `ssot__MedicationcCodeId__c`
- **Data Type:** TEXT
- **Description:** What medication was taken. Set of codes for it. Based on HL7 medication-codes. For example 747006 for Oxamniquine.

### MedicationCodeObject

- **Field API Name:** `ssot__MedicationCodeObject__c`
- **Data Type:** TEXT
- **Description:** The object name of the medication code field record.

### MedicationDispensedQuantity

- **Field API Name:** `ssot__MedicationDispensedQuantity__c`
- **Data Type:** DOUBLE
- **Description:** How many doses were dispensed.

### MedicationDispensedQuantityUOMId

- **Field API Name:** `ssot__MedicationDispensedQuantityUOMId__c`
- **Data Type:** TEXT
- **Description:** Unit of measure for the prescription, for example pills or inhaler cartridges.

### MedicationDispenseStatusID

- **Field API Name:** `ssot__MedicationDispenseStatusID__c`
- **Data Type:** TEXT
- **Description:** The state of a prescription, based on HL7 medicationdispense-status. Example values include: Preparation, In-Progress and Cancelled.

### MedicationDispenseType

- **Field API Name:** `ssot__MedicationDispenseType__c`
- **Data Type:** TEXT
- **Description:** Identifies types of dispensing events, based on HL7 ActPharmacySupplyType. Example values include: First Fill, Daily Fill and Emergency Supply.

### MedicationId

- **Field API Name:** `ssot__MedicationId__c`
- **Data Type:** TEXT
- **Description:** A medicine given to patients.

### MedicationStatement

- **Field API Name:** `ssot__MedicationStatement__c`
- **Data Type:** TEXT
- **Description:** A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or is taking the medication in the future. The source of this information can be the patient, significant other.

### MedSubstitutionType

- **Field API Name:** `ssot__MedSubstitutionType__c`
- **Data Type:** TEXT
- **Description:** The type of substitution done for the medication. Possible values are:, Brand composition, Equivalent, Equivalent composition.

### Name

- **Field API Name:** `ssot__Name__c`
- **Data Type:** TEXT
- **Description:** Name of medication dispense to patient event.

### PatientId

- **Field API Name:** `ssot__PatientId__c`
- **Data Type:** TEXT
- **Description:** a person receiving or registered to receive medical treatment.

### PatientMedicationRequestId

- **Field API Name:** `ssot__PatientMedicationRequestId__c`
- **Data Type:** TEXT
- **Description:** Request to provide patient with medication.

### PreparedDateTime

- **Field API Name:** `ssot__PreparedDateTime__c`
- **Data Type:** DATETIME
- **Description:** Date when the prescription was prepared for dispensation.

### PrescriptionStatusReason

- **Field API Name:** `ssot__PrescriptionStatusReason__c`
- **Data Type:** TEXT
- **Description:** The reason a patient medication request was not fulfilled, based on HL7 medicationdispense-status-reason. Example values include: Order stopped, Incomplete data and Product Unavailable.

### PrimaryDetectedIssueId

- **Field API Name:** `ssot__PrimaryDetectedIssueId__c`
- **Data Type:** TEXT
- **Description:** The primary clinical issue associated with the medication dispensation. This field is available in API version 55.0 and later.

### PrimaryMedicationRequestId

- **Field API Name:** `ssot__PrimaryMedicationRequestId__c`
- **Data Type:** TEXT
- **Description:** The primary medication request that authorized the dispense of the medication.

### PrimaryProcedureId

- **Field API Name:** `ssot__PrimaryProcedureId__c`
- **Data Type:** TEXT
- **Description:** The primary medical procedure associated with the medication dispensation. This field is available in API version 55.0 and later.

### SourceSystemModifiedDateTime

- **Field API Name:** `ssot__SourceSystemModifiedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The date and time when this item was last changed in the source system.

### StatusReasonCodeId

- **Field API Name:** `ssot__StatusReasonCodeId__c`
- **Data Type:** TEXT
- **Description:** The system-defined code that specifies the reason for the specified status..Captures reason Why a dispense was not performed. For example:   - Order Stopped  - Stale-dated Order  - Incomplete data.

### StatusReasonCodeObject

- **Field API Name:** `ssot__StatusReasonCodeObject__c`
- **Data Type:** TEXT
- **Description:** The object name of the Status Reason Code field record.

### StatusReasonRelatedIssueId

- **Field API Name:** `ssot__StatusReasonRelatedIssueId__c`
- **Data Type:** TEXT
- **Description:** Specifies clinical issue that resulted in the status of the medication dispensation. This field is available in API version 55.0 and later.

### SubstitutedById

- **Field API Name:** `ssot__SubstitutedById__c`
- **Data Type:** TEXT
- **Description:** The who substituted the medication.

### SubstitutedByObject

- **Field API Name:** `ssot__SubstitutedByObject__c`
- **Data Type:** TEXT
- **Description:** The object name of the Substituted By field record.

### SubstitutionReasonType

- **Field API Name:** `ssot__SubstitutionReasonType__c`
- **Data Type:** TEXT
- **Description:** The reason for substituting the medication. Possible values are: Continuing therapy, Formulary policy, Out of stock, Regulatory requirement.

### SupplyDaysCount

- **Field API Name:** `ssot__SupplyDaysCount__c`
- **Data Type:** DOUBLE
- **Description:** How many days the supply should last the patient.
