Patient Event Sequencing: Single Site, Exploratory, Cross-Sectional Analysis
Created
Last Modified
Click on the thumbnail above to preview images.
Files
Domain
Category
Parameters
Publisher
PEDSnet
Abstract
The Patient Event Sequencing module computes the days between two user-specified events and summarizes the distribution within the cohort. It assesses the plausibility of the sequence of two user-provided clinical events as they appear in a patient’s record. This allows the user to ensure that the two events, like a cancer diagnosis and chemotherapy, occur in a sensible order and within an expected length of time.
Data Requirements
Probe
Clinical Assessment
Access Package
# install.packages("devtools")
devtools::install_github('ssdqa/patienteventsequencing')Visualization Output
This check outputs two graphs:
- A histogram displaying the distribution of days between events for the cohort, with a single bar graph (patchworked together with the histogram) displaying the proportion of patients who did not have Event B at all. The binsize (bar width) is automatically determined by the geom_histogram function.
- A bar graph displaying the proportion of patients whose time between events falls within each threshold window: 30, 60, 90, and 365 days, plus a user provided threshold. These are NOT currently mutually exclusive, meaning the year bar also contains patients from all the other bars.
Raw Output
This check produces a raw data output containing 8 columns of data:
| Column | Data Type | Definition |
|---|---|---|
site |
character | the name of the site being targeted OR ““combined”” if multiple sites were provided |
num_days |
numeric | the number of days between event A and event B, using the date of event A as the index |
user_cutoff |
numeric | the user provided threshold for days between the events |
event_a_name |
character | the name of event A |
event_b_name |
character | the name of event B |
pt_ct |
numeric | the number of patients with num_days between the two events |
total_pts |
numeric | the total number of patients in the cohort |
pts_without_both |
numeric | the number of patients that are missing one of or both of the events, which prevents a date differential from being computed |
Affiliation(s)
Funder(s)
This research was made possible through the generous support of Patient-Centered Outcomes Research Institute. The statements presented in this work are solely the responsibility of the author(s) and do not necessarily represent the views of PCORI, its Board of Governors, or its Methodology Committee.
Provenance
Description
Development Code
Clinical Subjects Headings
Related Publications
Creative Commons license
Except where otherwised noted, this item's license is described as a CC-BY Attribution 4.0 License.
Cite this Data Quality Check
PEDSnet Data Coordinating Center. (2024, December). Patient Event Sequencing: Single Site, Exploratory, Cross-Sectional Analysis. [D Q Check]. PEDSpace Knowledge Bank. https://doi.org/10.24373/pdsp-409

