Orders and Results: The Engine of Clinical Care
Purpose: To trace the complete data trail of all non-medication clinical orders—from provider request through fulfillment and results—covering labs, imaging, procedures, and referrals.
The Order Ecosystem: Beyond Medications
Section titled “The Order Ecosystem: Beyond Medications”While medication orders are handled by ORDER_MED
, nearly every other clinical action is initiated through the ORDER_PROC
table. This powerful table orchestrates a vast range of clinical activities.
This single table manages labs, imaging studies, referrals, procedures, and more, each with its own specific workflow and data model.
Deep Dive: Lab Orders and Results
Section titled “Deep Dive: Lab Orders and Results”Laboratory testing is one of the most common workflows. It begins with an order in ORDER_PROC
and is fulfilled with results in ORDER_RESULTS
.
Once the lab is completed, the results are stored in ORDER_RESULTS
. A single lab order (like a metabolic panel) can generate many result components.
Key aspects of lab results:
ORD_VALUE
: The result, stored as text to accommodate values like “Positive” or “Not Detected”.ORD_NUM_VALUE
: A numeric version for calculations.RESULT_FLAG_C_NAME
: Flags results as ‘High’, ‘Low’, ‘Abnormal’, etc.ABNORMAL_YN
: A summary flag on the mainORDER_PROC
record indicating if any component was abnormal.
Imaging Orders
Section titled “Imaging Orders”Imaging studies like X-rays and MRIs are also managed as procedures.
Referrals and Consults
Section titled “Referrals and Consults”Orders are also used to manage referrals to specialists.
The Order Lifecycle: Status and Timing
Section titled “The Order Lifecycle: Status and Timing”All orders progress through a series of statuses, from creation to completion.
Linking Orders to Encounters
Section titled “Linking Orders to Encounters”Orders are always linked to the encounter where they were placed, providing critical context. An order record is linked to its encounter via the PAT_ENC_CSN_ID
column.
Key Takeaways
Section titled “Key Takeaways”ORDER_PROC
is the central table for all non-medication orders, identified byORDER_PROC_ID
.- Order Types: The
ORDER_TYPE_C_NAME
field differentiates labs, imaging, referrals, and other procedures. - Lab Results: Lab results are stored in
ORDER_RESULTS
, with one row per component, linked back toORDER_PROC
. - Abnormality Flags: Epic uses a two-tier system:
RESULT_FLAG_C_NAME
at the component level andABNORMAL_YN
as an order-level summary. - Result Values: Results are stored as text (
ORD_VALUE
) for flexibility and as numbers (ORD_NUM_VALUE
) for computation. - Context is Key: Orders are always linked to an encounter (
PAT_ENC_CSN_ID
).