decision_9 {drugprepr} | R Documentation |
In situations where one prescription starts before another (for the same patient and drug) finishes, this function will either implicitly sum the doses (i.e. do nothing) or it will divide the intervals into non-overlapping subsets, shifting these sub-intervals forward in time until there is no overlap.
decision_9(data, decision = "a")
data |
a data frame |
decision |
one of the following strings:
|
The underlying algorithm for shifting overlapping intervals is implemented
by the internal function shift_interval
.
Other decision functions:
decision_10()
,
decision_1()
,
decision_2()
,
decision_3()
,
decision_4()
,
decision_5()
,
decision_6()
,
decision_7()
,
decision_8()
,
drug_prep()