drug_tx_by_visit: Drug treatment by visit

Description Usage Arguments Value

View source: R/drug_tx_by_visit.R

Description

Treatment prescribed at any specific clinic visit may be represented on one row where either one drug is prescribed, or where a FDC is prescribed, or over more than one row where multiple seperate drugs are prescribred. This function takes single or multi-line data, converts to one line per patient clinic visit and generates drug abbreviations.

Usage

1

Arguments

x

data frame containing drug prescription data - checked with HIV and HCV treatment data

Value

data frame with patient_id, visit_date, tx_decision and tx_prescribed containing drugs started during a particular visit.


JayAchar/hisreportr documentation built on March 18, 2020, 5:57 a.m.