ramses-antibiotics / ramses-package

R Package for Data-Driven Antimicrobial Stewardship & Surveillance in Hospitals
https://ramses-antibiotics.web.app/
GNU General Public License v3.0
10 stars 1 forks source link

Unfinished therapies #65

Open peterdutey opened 3 years ago

peterdutey commented 3 years ago

Prescriptions with 'active' status (still open) may not have a stop date. Most systems allow to keep prescriptions open indefinitely. Currently validate_prescriptions() requires that a prescription_end value is provided in order to avoid problems with the therapy episode creation. The current way for users to work around this is to enforce an arbitrary prescription end date, or to exclude unfinished prescriptions from the dataset.

In the future there could be an enhancement to support active prescriptions with no end date.