getReport | R Documentation |
create reports in a 'standard' format from the 10 QIM measures
gets report from 'report_function' then adds extra 'DiabetesType' column if necessary adds more columns describing the measurement renames the 'result' column to 'State'
small cell suppression supported section 2.4 'Small cell suppression' of "Practice Incentives Program Quality Improvement Measures User Guide" https://www1.health.gov.au/internet/main/publishing.nsf/Content/ 46506AF50A4824B6CA25848600113FFF/$File/PIP%20QI%20-%20User%20Guide.pdf
getReport(
report_function,
date_from,
date_to,
contact_type,
min_contact,
min_date = as.Date("2000-01-01"),
max_date = Sys.Date(),
progress = NA,
progress_detail,
measure = NA,
require_type_diabetes,
qim_name,
measure_name,
state_variable_name,
small_cell_suppression = FALSE,
include_all_demographic_groups = FALSE
)
report_function |
the dMQIM method to call |
date_from |
start date |
date_to |
end date |
contact_type |
types of contacts e.g. Services, |
min_contact |
minimum number of contacts to be 'valid' |
min_date |
most recent contact must be at least min_date |
max_date |
most recent contact at most max_date |
progress |
object for displaying progress. Leave as |
progress_detail |
message to report in the 'progress' window |
measure |
some (but not all) |
require_type_diabetes |
diabetes methods may give option to specify diabetes types |
qim_name |
the name of the QIM e.g. 'QIM 01' |
measure_name |
the name of the measure e.g. 'HbA1C' |
state_variable_name |
the name of the column in the return
from |
small_cell_suppression |
'suppress' (return zero, or remove row entirely) if count is less than 5. |
include_all_demographic_groups |
include all possible demographic groups/subgroups, even if there was no count |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.