ORDER_DX_MED
Description:
The ORDER_DX_MED table enables you to report on the diagnoses associated with medications ordered in clinical system (prescriptions). Since one medication order may be associated with multiple diagnoses, each row in this table is one medication - diagnosis relation. We have also included patient and contact identification information for each record. Note that system settings may or may not require that medications be associated with diagnoses. This table contains only information for those medications and diagnoses that have been explicitly associated. Check with your clinical system Application Administrator to determine how your organization has this set up.

Primary Key
Column Name Ordinal Position
ORDER_MED_ID 1
LINE 2

Column Information
Name Type Discontinued?
1 ORDER_MED_ID NUMERIC No
The unique ID of the medication order (prescription) record.
2 LINE INTEGER No
The line number for the information associated with this contact. Multiple pieces of information can be associated with this contact.
3 PAT_ENC_DATE_REAL FLOAT No
A unique, internal contact date in decimal format. The integer portion of the number indicates the date of the contact. The digits after the decimal distinguish different contacts on the same date and are unique for each contact on that date. For example, .00 is the first/only contact, .01 is the second contact, etc.
4 PAT_ENC_CSN_ID NUMERIC No
The unique contact serial number for this contact. This number is unique across all patient encounters in your system. If you use IntraConnect this is the Unique Contact Identifier (UCI).
5 DX_ID NUMERIC No
The unique ID of the diagnosis record associated with the medication order.
6 DX_QUALIFIER_C_NAME VARCHAR No
The category ID of the qualifier associated with the diagnosis.
May contain organization-specific values: Yes
7 DX_CHRONIC_YN VARCHAR No
Indicates whether the associated diagnosis is chronic.
May contain organization-specific values: No
Category Entries:
No
Yes
8 COMMENTS VARCHAR No
Free text comments added when the prescription was ordered or discontinued.