View source: R/3c_costing_resource_use_functions.R
get_cost_AandE_description | R Documentation |
Function to extract the unit cost by descirption of AandE att matching description
get_cost_AandE_description(
description,
type_admit,
ref_cost_data_file,
col_name_description,
unit_cost_col,
type_admit_col,
sheet = NULL
)
description |
description of the AE attendance |
type_admit |
term indicating admission and type of attendance |
ref_cost_data_file |
file that has unit cost |
col_name_description |
name of the column that has the description |
unit_cost_col |
name of the column with the unit cost |
type_admit_col |
colname that descirbes type of the attendance and |
sheet |
sheet if excel file is given |
unit cost the unit cost matching the hrg code
ref_cost_data_file <- system.file("extdata",
"National_schedule_of_NHS_costs_2019_AandE.csv", package = "packDAMipd")
re = get_cost_AandE_description("Emergency Medicine", "T01A",
ref_cost_data_file, "Currency_Description", "National_Average_Unit_Cost",
"Service_Code")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.