Different healthcare delivery models involve different mixtures of types of healthcare workers ("Cadres"). SaveCadreAllocations() uses cadre information read earlier as part of running an experiment, then combines the allocation percentages with computed task times to produce a table showing how much time each cadre spends per year on each healthcare task.

SaveCadreAllocations(suiteResults, filepath = NULL, annual = TRUE)

Arguments

suiteResults

Extended suite results as returned by SaveExtendedSuiteResults()

filepath

File location to save cadre allocations. Default = NULL

annual

Report as annual times instead of monthly? Default = TRUE

Value

data.table

Examples

if (FALSE) {
results <-
  pacehrh::RunExperiments(
    scenarioName = "MergedModel",
    trials = 20
  )

SR <- pacehrh::SaveExtendedSuiteResults(results, filepath = "_SR.csv", run = "Run-1")
CA <- pacehrh::SaveCadreAllocations(SR, filepath = "_CA.csv")
cadreOverheadTimes <- pacehrh::SaveCadreOverheadData(filepath = "_COD.csv")
summaryStats <- pacehrh::ComputeSummaryStats(SR, CA)
}