diagnostics_weekly: Diagnostics Weekly

View source: R/diagnostics_weekly.R

diagnostics_weeklyR Documentation

Diagnostics Weekly

Description

This function takes some of the HCW cap options and calculates the section in the 'Weekly Summary' tab marked HCW and staff. This will then be used in some sort of capacity mapping/forecasting.

Usage

diagnostics_weekly(
  params,
  patients,
  cases,
  diagnostic_parameters,
  testing_scenario
)

Arguments

params

From get_parameters

patients

From patients_weekly

cases

From cases_weekly

diagnostic_parameters

From get_diagnostic_parameters

testing_scenario

List of 8 testing scenario parameters, from set_testing_strategy()

Value

Dataframe of weekly summary

week_begins

Date the week summarized begins

week_ends

Date the week summarized ends

tests_diagnosis_uncapped_sev_crit

Tests required if all severe and critical patients tested for diagnosis, regardless of capacity limits. Number of tests required per case specified in diagnostic_parameters.

tests_release_uncapped_sev_crit

Tests performed if all severe and critical patients tested for release, regardless of capacity limits. Number of tests per case specified in diagnostic_parameters.

tests_diagnosis_capped_sev_crit

Tests for diagnosis for severe and critical patients capped by hospital capacity/number of severe and critical patients admitted to hospital

tests_release_capped_sev_crit

Tests for release for severe and critical patients capped by hospital capacity and IFR/number of severe and critical patients discharged from hospital

tests_mod

Number of tests for moderate patient diagnosis, given testing strategy

tests_mild

Number of tests for mild patient diagnosis, given testing strategy

tests_suspected

Number of tests for suspected but negative cases

testing_strategy

Testing strategy, string


mrc-ide/esft documentation built on July 31, 2023, 2:30 p.m.