Process all events

process_all(epi_id, events, metadata, cadence, params, time_boundaries)

Arguments

epi_id

an integer vector of episode_ids to process

events

a collected CC-HIC events table in the EAV style

metadata

a collected CC-HIC metadata table

cadence

baseline time cadence for extraction

params

a table containing exactly 3 columns called: code_name, short_name and coalesce_rows. The coalesce rows column should contain a summary function which is used when duplicate row level data is present.

time_boundaries

time boundaries of the extraction with respect to ICU admission times