Skip to contents

Evaluates LACE Index and HOSPITAL bedside risk scores across all participating sites in a federated consortium in a single pass.

Usage

consortium_calculate_scores(
  fc,
  cohort_table = "cohort",
  scores = c("lace", "hospital"),
  stratify_by_site = TRUE
)

Arguments

fc

A federated_consortium object.

cohort_table

Name of the cohort table or view (default "cohort").

scores

Character vector of scores to compute ("lace", "hospital", or both).

stratify_by_site

Logical. If TRUE (default), produces site-stratified audit statistics.

Value

A consortium_scores S3 object containing $scores, $site_summary, and $consortium_summary.