Match on BOXI NRS death dates to process activity after death flag
Source:R/add_activity_after_death_flag.R
add_activity_after_death_flag.Rd
Match on CHI number where available in the episode file, and add date of death from the BOXI NRS lookup. Create new activity after death flag
Usage
add_activity_after_death_flag(
data,
year,
deaths_data = read_file(get_combined_slf_deaths_lookup_path())
)
See also
Other episode_file:
add_homelessness_flag()
,
add_nsu_cohort()
,
add_ppa_flag()
,
apply_cost_uplift()
,
correct_cij_vars()
,
create_cohort_lookups()
,
create_cost_inc_dna()
,
fill_missing_cij_markers()
,
link_delayed_discharge_eps()
,
lookup_uplift()