Your Patient Journey Data Template

Veradigm (Allscripts)
Your Patient Journey Data Template

Your Patient Journey Data Template

This template provides a structured approach to collecting the necessary data for analyzing your patient journey process. It outlines the essential attributes and activities to track, along with practical guidance on extracting this information from your source system. Use this resource to prepare your data for comprehensive process mining.
  • Recommended attributes to collect for comprehensive analysis
  • Key activities to track for accurate process discovery
  • Practical guidance for data extraction from your system
New to event logs? Learn how to create a process mining event log.

Patient Journey Attributes

These are the recommended data fields to include in your event log for a comprehensive analysis of the patient journey process.
3 Required 9 Recommended 8 Optional
Name Description
Activity Name
ActivityName
The specific clinical or administrative event performed.
Description

Describes the step performed in the process, such as 'Patient Registered', 'Medication Administered', or 'Discharge Planning Initiated'. This attribute differentiates the various stages of the patient journey and is essential for process discovery and variant analysis.

Why it matters

Defines the nodes in the process map; without this, no process flow can be visualized.

Where to get

Derived from various transactional tables: ADT events, Orders, Results, and Clinical Documentation tables.

Examples
Patient RegisteredDiagnostic Test OrderedMedication AdministeredPatient Discharged
Event Timestamp
EventDateTime
The exact date and time when the activity occurred.
Description

Records the chronological point of the activity. This is critical for calculating cycle times, durations, and ordering the sequence of events properly. In healthcare data, precision down to the minute is vital for accurate throughput analysis.

Why it matters

Enables the calculation of all time-based KPIs, including Average Patient Journey Cycle Time and Wait Times.

Where to get

Transaction timestamps in source tables (e.g., ADT_DATE, ORDER_DATE, RESULT_DATE).

Examples
2023-10-12T08:30:00Z2023-10-12T14:45:22Z2023-10-15T09:00:00Z
Patient Episode
PatientEpisodeId
Unique identifier for the specific patient visit or encounter.
Description

The Patient Episode serves as the primary case identifier, grouping all events related to a patient's specific healthcare journey for a particular condition or period of care. This allows for an integrated view of diagnosis, treatment, and recovery phases, linking various departmental interactions into a cohesive whole. In Veradigm (Allscripts) systems (like Sunrise or Paragon), this usually corresponds to the Visit ID or Encounter Number.

Why it matters

It is the fundamental key for process mining, allowing the reconstruction of the end-to-end patient journey.

Where to get

Likely found in the header of the Visit or Encounter tables (e.g., VISIT_ID, ENCOUNTER_ID). Consult Veradigm (Allscripts) documentation.

Examples
EP-2023-998877VIS-10029384100029384ENC-554433
Admission Date
AdmissionDate
The date and time the patient was formally admitted.
Description

The timestamp marking the beginning of the inpatient stay. Used in conjunction with Discharge Date to calculate Length of Stay (ALOS).

Why it matters

Critical anchor point for ALOS calculation and measuring admission delays.

Where to get

Visit/Encounter header table (e.g., ADMIT_DATE). Consult Veradigm (Allscripts) documentation.

Examples
2023-10-01T10:00:00Z2023-10-05T14:20:00Z
Attending Provider
AttendingProvider
The primary clinician responsible for the patient during the event.
Description

Identifies the doctor, nurse, or specialist performing the activity or responsible for the care plan. Analyzing this attribute helps in understanding 'Clinical Resource Utilization' and variations in care pathways by physician.

Why it matters

Allows for resource bottleneck analysis and performance benchmarking across clinical staff.

Where to get

Transaction tables (e.g., ORDERing_PROVIDER, ATTENDING_PHYSICIAN_ID). Consult Veradigm (Allscripts) documentation.

Examples
Dr. Sarah SmithNurse Practitioner JonesRadiology Tech A
Department Name
DepartmentName
The hospital unit or department where the activity took place.
Description

Indicates the location context, such as 'Emergency Room', 'Cardiology', or 'Radiology'. This is vital for the 'Admission & Transfer Bottleneck Analysis' to see where patients are getting stuck moving between wards.

Why it matters

Supports resource utilization analysis and identification of departmental bottlenecks.

Where to get

Location or Department master tables linked to the transaction. Consult Veradigm (Allscripts) documentation.

Examples
Emergency DepartmentICUGeneral SurgeryRadiology
Discharge Date
DischargeDate
The date and time the patient was discharged.
Description

The timestamp marking the end of the episode. This is used to close the case in process mining and is essential for ALOS and Readmission calculations.

Why it matters

Defines the end of the process cycle; crucial for throughput analysis.

Where to get

Visit/Encounter header table (e.g., DISCH_DATE). Consult Veradigm (Allscripts) documentation.

Examples
2023-10-04T11:00:00Z2023-10-10T09:30:00Z
Discharge Disposition
DischargeDisposition
The status or location of the patient upon discharge.
Description

Indicates where the patient went after the hospital stay (e.g., 'Home', 'Skilled Nursing Facility', 'Expired', 'Transfer'). This is important for analyzing readmission risks, as different dispositions carry different risk profiles.

Why it matters

Contextualizes the 'Discharge Planning' dashboard and helps explain variances in ALOS.

Where to get

Visit/Encounter header table (e.g., DISCH_DISP). Consult Veradigm (Allscripts) documentation.

Examples
HomeTransferred to SNFHome with Home HealthLeft Against Medical Advice
Is Readmission
IsReadmission
Flag indicating if this episode is a readmission within 30 days.
Description

A calculated boolean attribute. It returns true if the patient had a prior discharge within 30 days of the current admission date. This drives the 'Avoidable Readmission Rate Monitor'.

Why it matters

Core KPI for hospital quality and reimbursement (especially for CMS regulations).

Where to get

Calculated in the ETL/Data Transformation layer using PatientMRN and Admission/Discharge dates.

Examples
truefalse
Length of Stay
LengthOfStay
Duration of the hospital stay in days.
Description

The calculated duration between 'Admission Date' and 'Discharge Date'. Used for the 'Average Length of Stay (ALOS)' KPI. While it can be calculated in the dashboard, having it as an attribute simplifies filtering (e.g., 'Show me all stays > 7 days').

Why it matters

Standard measure of efficiency and resource consumption.

Where to get

Calculated: DischargeDate - AdmissionDate.

Examples
4.512.00.8
Patient MRN
PatientMrn
Medical Record Number uniquely identifying the patient across episodes.
Description

The Medical Record Number (MRN) or Enterprise Patient ID. Unlike the Patient Episode ID, this ID remains constant for the patient across different visits. This is the critical key for linking separate episodes to calculate readmission rates.

Why it matters

Essential for '30-Day Readmission Rate' and identifying repeat customers.

Where to get

Patient master index or demographic tables (likely columns: MRN, PATIENT_ID). Consult Veradigm (Allscripts) documentation.

Examples
MRN-884422P-10022399887766
Primary Diagnosis Code
PrimaryDiagnosisCode
The ICD-10 or SNOMED code representing the main condition.
Description

The coded reason for the patient's visit. This attribute is the filter for the 'Treatment Pathway Variation Explorer'. It allows analysts to compare how different conditions (e.g., Pneumonia vs. Heart Failure) flow through the system.

Why it matters

Required for segmenting processes by clinical condition and checking protocol adherence.

Where to get

Diagnosis or problem list tables (typically ICD-10 columns). Consult Veradigm (Allscripts) documentation.

Examples
I50.9J18.9E11.9
Cost Center
CostCenter
The financial code associated with the department or service.
Description

Maps the clinical activity to a financial unit. This helps in analyzing the 'Activity Cost' or generic financial performance of different departments.

Why it matters

Connects operational process mining to financial impact.

Where to get

Department or Charge master tables. Consult Veradigm (Allscripts) documentation.

Examples
CC-1020CC-Rad-01Emergency-001
Diagnostic Turnaround Time
DiagnosticTurnaroundTime
Time duration between test order and test result.
Description

Calculated duration between 'Diagnostic Test Ordered' and 'Diagnosis Confirmed' (or result received). Used for the 'Diagnostic Turnaround Time Overview'.

Why it matters

High turnaround times prolong Length of Stay; this metric pinpoints lab/radiology delays.

Where to get

Calculated: Timestamp(Result) - Timestamp(Order).

Examples
2 hours45 minutes1.5 days
Follow-up Appt Date
FollowUpAppointmentDate
Date of the scheduled follow-up appointment.
Description

Used to calculate the 'Follow-up Appt Scheduled Rate'. If this field is populated, it indicates a follow-up was scheduled. If null/empty, it was not.

Why it matters

Directly measures the 'Follow-up Care Compliance' KPI.

Where to get

Scheduling system or future appointments table linked to the patient. Consult Veradigm (Allscripts) documentation.

Examples
2023-11-15T14:00:00Znull
Is Protocol Compliant
IsProtocolCompliant
Flag indicating if the case followed the standard care pathway.
Description

A calculated attribute that checks if specific mandatory activities (e.g., 'Vitals Recorded' before 'Medication Administered') occurred in the correct order. Supports the 'Care Protocol Adherence Dashboard'.

Why it matters

Automates the detection of non-compliance without manual chart review.

Where to get

Calculated in the process mining tool or ETL based on activity sequence.

Examples
truefalse
Last Data Update
LastDataUpdate
Timestamp of when the record was last extracted or updated.
Description

Indicates the freshness of the data used for analysis. This field helps users understand if they are looking at real-time data or a snapshot from a previous period.

Why it matters

Ensures transparency regarding data latency and assists in incremental data loading strategies.

Where to get

System generated timestamp during the ETL/extraction run.

Examples
2023-11-01T23:59:59Z2023-11-02T06:00:00Z
Medication Name
MedicationName
The name of the drug ordered or administered.
Description

Used specifically for the 'Medication Administration Time Gaps' dashboard. It helps identify if specific drugs (e.g., antibiotics, pain management) are experiencing administration delays.

Why it matters

Critical for clinical safety analysis and pharmacy process optimization.

Where to get

Medication Administration Record (MAR) or Pharmacy Orders. Consult Veradigm (Allscripts) documentation.

Examples
AmoxicillinHeparinMorphine Sulfate
Order ID
OrderId
Identifier for specific orders (Labs, Meds, Procedures).
Description

Links the 'Order' event to the 'Result' or 'Administration' event. For example, linking 'Diagnostic Test Ordered' to 'Diagnostic Test Completed'. This granularity is required for the 'Diagnostic Turnaround Time' dashboard.

Why it matters

Enables the calculation of specific process steps' durations (e.g., Lab Turnaround Time).

Where to get

Order entry tables (e.g., ORDER_ID, PLACER_ORDER_NUM). Consult Veradigm (Allscripts) documentation.

Examples
ORD-998877LAB-112233RX-445566
Source System
SourceSystem
The name of the system where the data originated.
Description

Identifies the software instance providing the data, such as 'Veradigm Sunrise' or 'Veradigm TouchWorks'. This is particularly important in multi-hospital environments or when merging data from acute and ambulatory settings.

Why it matters

Provides traceability and data lineage, which is useful when debugging data quality issues.

Where to get

Hardcoded during the ETL process or extracted from system metadata tables.

Examples
Veradigm SunriseAllscripts PMVeradigm TouchWorks
Required Recommended Optional

Patient Journey Activities

These are the key process steps and milestones to capture in your event log for accurate patient journey process discovery.
6 Recommended 7 Optional
Activity Description
Diagnosis Confirmed
This activity signifies that a clinician has officially recorded a diagnosis in the patient's chart. This may be captured when a diagnosis code is added to the problem list or when a clinical note containing the diagnosis is signed.
Why it matters

Confirming the diagnosis is a crucial turning point that dictates the subsequent treatment path. It allows for analysis of treatment pathway variations based on different diagnoses.

Where to get

Found in the patient's problem list, encounter diagnosis records, or clinical documentation. It can be inferred from the timestamp when a primary diagnosis code is entered and finalized for the encounter.

Capture

Use the creation or update timestamp of the primary diagnosis entry for the specific patient episode.

Event type inferred
Discharge Planning Initiated
Represents the formal start of the discharge planning process for a patient. This can be inferred from the creation of a discharge plan document, the placement of a discharge order, or the completion of a specific discharge planning assessment.
Why it matters

This activity is the starting point for measuring the efficiency of the discharge process. Early initiation of planning is often correlated with lower readmission rates.

Where to get

Inferred from the creation timestamp of a discharge planning note, a discharge order set, or a specific assessment form within Veradigm.

Capture

Identify the timestamp when a discharge-specific order or document is first created for the patient's encounter.

Event type inferred
Initial Assessment Completed
Represents the completion of the first clinical evaluation by a nurse or physician, such as triage or initial intake. This is often captured when a specific clinical form or note, like a 'Nursing Initial Assessment', is signed and finalized in the EHR.
Why it matters

This activity is a key early milestone. The time between registration and this assessment highlights potential delays in patient intake and initial care.

Where to get

Inferred from the finalization or signature timestamp of initial assessment forms or clinical notes within Veradigm's clinical documentation modules.

Capture

Identify the timestamp when the status of the initial assessment note or form is changed to 'completed' or 'signed'.

Event type inferred
Patient Discharged
Marks the official end of the inpatient episode, when the patient is formally discharged from the facility. This is an explicit, key event captured by the ADT system, which updates the patient's encounter status to 'discharged'.
Why it matters

This is the primary end activity for most patient journeys. It is critical for calculating Average Length of Stay (ALOS) and overall process cycle time.

Where to get

Explicitly logged in the ADT module. The patient encounter record will have a discharge timestamp and disposition.

Capture

Use the discharge timestamp from the patient's main encounter or visit record.

Event type explicit
Patient Registered
Marks the official start of the patient episode when the patient's information is entered into the Veradigm system. This event is typically captured explicitly when a user completes the registration workflow, creating a new patient encounter record with a unique identifier and timestamp.
Why it matters

This is the primary start activity for the patient journey. It is essential for calculating overall process cycle time, length of stay, and patient throughput rates.

Where to get

This event is recorded in the patient registration or ADT (Admission, Discharge, Transfer) module. Look for the creation timestamp of the patient encounter or visit record.

Capture

Timestamp from the patient encounter or registration table upon record creation.

Event type explicit
Treatment Plan Created
Represents the formalization of a patient's treatment plan by the clinical team. This is often captured when a specific 'Plan of Care' document or a set of initial treatment orders is created and signed in the EHR.
Why it matters

This milestone initiates the active treatment phase. It is the baseline for measuring adherence to care protocols and the time to first treatment action, like medication administration.

Where to get

Inferred from the signature timestamp on a 'Plan of Care' form or the creation timestamp of the first major set of therapeutic orders following diagnosis.

Capture

Find the timestamp when a 'Plan of Care' document is finalized or signed by the attending clinician.

Event type inferred
Diagnostic Test Completed
Represents the point at which the results of a diagnostic test are finalized and made available in the patient's record. This is typically inferred from a status change on the original order from 'active' or 'in-progress' to 'completed' or 'resulted'.
Why it matters

This activity is a critical milestone for measuring diagnostic turnaround times. Delays between ordering and completion can significantly impact the time to diagnosis.

Where to get

Inferred from the order status field in the orders module or from timestamps in the corresponding results module, like LIS or RIS.

Capture

Identify the timestamp when the order status changes to a terminal state like 'Completed' or 'Resulted'.

Event type inferred
Diagnostic Test Ordered
This event occurs when a clinician places an order for a diagnostic test, such as a lab test or imaging scan. It is captured explicitly through the Computerized Physician Order Entry (CPOE) system within Veradigm.
Why it matters

This marks the beginning of the diagnostic sub-process. It is the starting point for measuring diagnostic turnaround times and identifying delays in ordering procedures.

Where to get

Recorded in the orders module or CPOE system logs. Each order will have a timestamp indicating when it was placed.

Capture

Extract the creation timestamp from the order entry records for relevant diagnostic tests.

Event type explicit
Follow-up Scheduled
This activity represents the scheduling of a follow-up appointment for the patient after discharge. This event is captured in the scheduling module when an appointment is booked that is linked to the discharged encounter.
Why it matters

Ensuring follow-up care is scheduled is crucial for continuity of care and reducing readmissions. This activity helps measure compliance with post-discharge protocols.

Where to get

Recorded in the appointment scheduling module. Look for the creation timestamp of a new appointment for the patient that occurs after the discharge date.

Capture

Identify the creation timestamp of an appointment record in the scheduling system linked to the patient.

Event type explicit
Medication Administered
This event is recorded when a nurse or clinician documents the administration of a medication to the patient. This is captured in the Medication Administration Record (MAR) or eMAR module, which logs the exact time of administration.
Why it matters

Tracking medication administration is vital for analyzing treatment timeliness and adherence. The gap between ordering and administration helps identify delays in the medication delivery process.

Where to get

Explicitly logged in the eMAR (electronic Medication Administration Record) module. Each administration event has a specific timestamp, medication, and dosage.

Capture

Extract timestamps from the eMAR table for each medication administration event linked to the patient encounter.

Event type explicit
Procedure Performed
Represents the completion of a clinical or surgical procedure. This is typically captured when a clinician signs the procedure note or when the status of the procedure order is updated to 'completed' in the system.
Why it matters

Procedures are significant milestones in many patient journeys. Analyzing their timing helps understand resource utilization and scheduling efficiency.

Where to get

Inferred from the signature timestamp of a procedure note in the clinical documentation module or the completion timestamp in the orders module for that procedure.

Capture

Use the completion timestamp from the procedure order or the signature timestamp from the related procedure documentation.

Event type inferred
Transfer to Department
This event marks the physical transfer of a patient from one department or care unit to another, such as from the ER to an inpatient ward. This is captured by the ADT (Admission, Discharge, Transfer) system within Veradigm.
Why it matters

Patient transfers are common points for bottlenecks and delays. Analyzing the duration and frequency of transfers helps optimize patient flow and resource allocation between departments.

Where to get

Explicitly logged in the ADT module. Each transfer event includes the patient, from/to locations, and a timestamp.

Capture

Extract event logs from the ADT system corresponding to patient movements.

Event type explicit
Vitals Recorded
This activity occurs each time a patient's vital signs, such as heart rate, blood pressure, and temperature, are recorded. This is an explicit event captured in the clinical documentation or vitals-specific flowsheet section of the EHR.
Why it matters

Frequent recording of vitals indicates active patient monitoring. The frequency and timing can be analyzed to ensure compliance with monitoring protocols.

Where to get

Recorded in the clinical data repository or flowsheet tables where vital signs are stored. Each entry has a timestamp.

Capture

Extract timestamps from the vital signs flowsheet data for the patient encounter.

Event type explicit
Recommended Optional

Extraction Guides

How to get your data from Veradigm (Allscripts)