Skip to contents

and generate some summary values

Usage

derive_simpler_comorbidities(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)

...

ignored

Value

a dataframe

Details

  • simple DM without insulin dependence

  • Solid / Haematological / Any cancer present binary indicators

  • any chronic resp dx: i.e. any of asthma, bronchiectasis, chronic pleural disease, COPD, interstitial lung dx, cyctic fibrosis, other chronic resp dx

  • any chronic heart disease: pulmonary htn, CCF, IHD, previous MI, congential heart dx, hypertension, AF, other arrythmia, other heart dx, other other heart dx

  • Stroke or TIA binary

  • Any immune compromise binary (immunodeficient or on immune suppressants)