ExternalMedicationDispenseHistory
This table contains information about a patient's med dispense history from a third-party interface. This information can be helpful for reviewing whether a patient is getting their prescriptions filled at the correct intervals.
| Column Name | Type | Description |
|---|---|---|
| ExternalMedicationOriginalRefillCount | VARCHAR | This stores the original refills for an external dispense. |
| CancelledDispenseReferenceIdentification | VARCHAR | The dispense reference ID (EXT_MED_REF_ID) cancelled by this dispense line. |
| ExternalMedicationFillNote | VARCHAR | The note from the external system about this fill. |
| ReceivedDocumentIdentifier | NUMERIC | This item stores the Received Document record ID. |
| ExternalMedicationElectronicPrescriptionIdentifier | NUMERIC | This column stores the matching medication ID for this drug. |
| IsLastDispenseForExternalMedication | VARCHAR | Indicates whether this external medication dispense line is the final dispense. "Y" means it was the final dispense. "N" or NULL means it was not. |
| ExternalMedicationOrderingProviderName | VARCHAR | The name of the ordering provider for this medication. |
| ExternalDispensingProviderName | VARCHAR | The dispensing provider name for the external dispense. |
| ExternalDrugUnitStrengthString | VARCHAR | This column stores the actual unit strength. |
| ExternalMedicationSourceDocumentContactSerialNumber | NUMERIC | This item stores the contact serial number (CSN) for the Document Received record that contains the external dispense information. |
| ExternalMedicationDispenseReferenceNumber | VARCHAR | The external reference number identifying this dispense. |
| OrderingProviderIdentifier | VARCHAR | The unique identifier of the ordering provider for this medication. This column is frequently used to link to the CLARITY_SER table. |
| DispenseWrittenDateTime | DATETIME | This item holds the written date for a dispense. |
| MedicationDispenseContactDate | DATETIME | The date of this contact in calendar format. |
| ExternalMedicationAdministrationRouteCategory | INTEGER | Stores the category ID of the route of a dispense. |
| ExternalMedicationDoseValue | VARCHAR | Stores the discrete dose value for a dispense. |
| InformationLineNumber | INTEGER | The line number for the information associated with this contact. Multiple pieces of information can be associated with this contact. |
| ExternalMedicationReferenceIdentifier | VARCHAR | This column stores a reference identifier associated with each medication dispense. |
| ExternalMedicationDoseUnitCategory | INTEGER | Stores the dose unit category ID for a dispense. |
| ExternalMedicationLastDailyDoseQuantityUnitCategory | INTEGER | Stores the maximum daily dose unit category ID for a dispense |
| ExternalMedicationRemainingQuantity | INTEGER | This stores the remaining quantity for an external dispense. |
| ExternalMedicationDispenseUnitCategory | INTEGER | The mapped dose unit category ID for the external dispense. |
| ExternalMedicationDaySupply | INTEGER | This column stores the number of days the dispense is written for. |
| ExternalDrug | DATETIME | This column stores the dispense instant. |
| ExternalMedicationWasSubstitutedIndicator | VARCHAR | Indicates whether the document received was substituted when dispensed. "Y" means it was. "N" or NULL means it was not. |
| ExternalDispenseFilterReason | INTEGER | Stores the reason why an external dispense should be filtered from the composite record |
| ExternalDispensePharmacyPhoneNumber | VARCHAR | The pharmacy phone (or other contact) number associated with the external dispense. |
| ExternalDrugCodeSystem | VARCHAR | This column stores the coding system used for the drug identifier. |
| ExternalDrugIdentifierString | VARCHAR | This column stores the identifier of the drug. |
| WasExternalMedicationCancelledIndicator | VARCHAR | Indicates whether the related external medication in document received was cancelled. "Y" means it was. "N" or NULL means it was not. |
| External | INTEGER | The data source category ID for the external dispense. |
| ExternalDrug | VARCHAR | This column stores the drug dispense unit ID. |
| ExternalMedicationDispenseHistoricalStatusCategory | INTEGER | The historical status category ID for the external dispense. |
| ExternalDrugPrescriptionNumber | VARCHAR | This column stores the prescription number of the dispense. |
| ExternalMedicationPriorAuthorizationNumber | VARCHAR | This stores the prior authorization number for an external dispense. |