Skip to contents

Create a flag for patients who have been given antivirals

Usage

derive_antiviral_status(df, v)

Arguments

df

the dataframe.

v

the value set. usually precomputed by the augment framework the value set can be explicitly supplied with v = get_value_sets(df)

Value

a dataframe