Skip to contents

Pneumonia if one of:

  • Standard of care diagnosis of CAP (radiologically or clinically)

  • Empyema or abscess

  • Admission chest X-ray shows pneumonia

Usage

derive_diagnosis_categories(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

Details

NP-LRTI if:

  • Not pneumonia and Standard of care LTRI diagnosis

Exacerbation of CRDE:

  • Standard of care exacerbation COPD

  • Standard of care exacerbation Non-COPD

  • (N.B. may be pneumonia or NP-LRTI)

Heart failure:

  • Standard of care congestive heart failure.