Patient-Facts: Single Site, Exploratory, Longitudinal Analysis
Created
Last Modified
Files
Domain
Category
Parameters
Publisher
Abstract
This check assesses how much clinical data is available for patients accross time. It provides a high level summary of clinical data for a single site. The number of clinical events per year of follow-up for each patient in a cohort is computed and stratified by visit type.
Data Requirements
Probe
Clinical Assessment
Access Package
# install.packages("devtools")
devtools::install_github('ssdqa/https://github.com/ssdqa/patientfacts')Visualization Output
This check outputs faceted line and dot plots. It shows the median fact count for each domain and how it changes across the user-provided time period. Median fact count is shown on the y-axis, and time (in years) is shown by the x-axis. Each line represents a domain. Hovering over the graph provides additional information about each data point including time_start, domain, and median_fact_ct (the median number of facts for each domain during the specified time period). The user determines the facets used such as site, age category, etc.
Raw Output
The raw data output of this check produces ten columns of data:
| Column | Data Type | Definition |
|---|---|---|
visit_type |
character | string indicating the visit type |
site |
character | the name of the site being targeted OR “combined” if multiple sites were provided |
time_start |
date | the start of the time period being examined |
time_increment |
character | the length of each time period |
domain |
character | string indicating the domain |
pts_w_fact |
numeric | the number of patients who have a fact within the time period |
sum_fact_ct |
numeric | the total number of facts per patient within the time period |
median_fact_ct |
numeric | the median number of facts per patient within the time period |
pt_ct_denom |
numeric | the total number of eligible patients from the cohort within the time period |
pts_w_visit |
numeric | the number of patients with a visit of the type of interest within the time period |

