check_combo_dropped_drugs: Check Combo Dropped Drugs

Description Usage Arguments Value

View source: R/check_combo_dropped_drugs.R

Description

Check_combo_dropped_drugs checks to see if we should advance to a new line if a drug in a combo regimen is dropped and returns the line end date and next line start date for the dropped combo drugs.

Usage

1
check_combo_dropped_drugs(drug_summary, line_end_reason)

Arguments

drug_summary

a dataframe of drug summary table generated by get_drug_summary

line_end_reason

a string phrase, explanation why the line ends

  • Last row hit

  • Passed discontinuation gap

  • New line started with new drugs

  • Entering continuation maintenance therapy

Value

A list, line_name


sutsabs/rwLoT documentation built on Feb. 11, 2022, 12:20 a.m.