fail_drugs: Fail - 2 drugs changed

Description Usage Arguments Author(s) See Also

View source: R/fail_drugs.R

Description

This function detects whether a record diagnosed with DR-TB should receive a failure outcome due to two drugs being ceased within a designated interval.

Usage

1
fail_drugs(adm, change, stop_days = 30)

Arguments

adm

data frame of individual patient admission records cleaned with 'tbcleanr'.

change

data frame of individual patient follow-up data including monthly drug-specific adherence data cleaned by 'tbcleanr::adhere_cleanr()'

stop_days

define interval in days where two drugs being stopped would result in failure.

Author(s)

Jay Achar

See Also

tbgeneratr


JayAchar/tbgeneratr documentation built on Oct. 13, 2019, 1:47 a.m.