Patient-Facts: Multi-Site, Anomaly Detection, 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 anomalous/outlier clinical data for multiple sites. 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 three visualizations to display the Euclidean distance between two time series: the smoothed (Loess) proportion of a user-selected variable for a given site, and the average proportion of all sites. Two line graphs (one smoother, one raw) represent the proportion of the variable at each site over time. Sites are differentiated by color, and a thick red line represente the All Site Average. A circular bar graph displays the Euclidean distance from the all-site mean where the color represents the average Loess proportion over time.
Raw Output
The raw data output of this check produces ten columns of data:
| Column | Data Type | Definition |
|---|---|---|
site |
character | the name of the site being targeted |
time_start |
date | the start of the time period being examined |
visit_type |
character | string indicating the visit type |
domain |
character | string indicating the domain |
prop_pts_fact |
numeric | the proportion of patients with the domain of interest out of all patients with a visit of the visit type of interest during the time period |
mean_allsiteprop |
numeric | the average patient proportion across sites |
median |
numeric | the median patient proportion across sites |
date_numeric |
numeric | the numeric equivalent of time_start |
site_loess |
numeric | the patient proportion with Loess regression applied |
dist_eucl_mean |
numeric | the Euclidean distance of site_loess from mean_allsiteprop |

