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

Cancelled prescriptions #52

Closed peterdutey closed 3 years ago

peterdutey commented 3 years ago

if prescription is 'cancelled' or 'entered-in-error', validate_prescription shouldn't force no missing data in prescription_start/end.

Set schema to must_be_nonmissing = FALSE but add check in validate_prescription for non-cancelled prescriptions