add_self_harm_9_10cm: Finding Self-harm and suicide attempts

Description Usage Arguments Value Examples

View source: R/add_self_harm_9_10cm.R

Description

Finding Self-harm and suicide attempts

Usage

1
add_self_harm_9_10cm(data, diag_ecode_col, var_name, date)

Arguments

data

the hospital dataset in which to add the new variables

diag_ecode_col

The column indeces for the icd 9 and icd 10 cm

var_name

The name for the new variable

date

The name of the date of discharge field

Value

The original dataset with the added field. 1 means variable present and 0 otherwise

Examples

1
Examples will be added later

injuryepi/injuryepi documentation built on Nov. 13, 2019, 12:13 p.m.