Validate Control Specimens
Usage
validate_controls(database, user_data, control_type, user_action)
Arguments
- database
A database connection or reference.
- control_type
The type of control specimen ('dbs_sheet' or 'whole_blood').
- user_action
The user action taken on the control specimen ('extraction' or 'create').
- formatted_csv
The CSV data formatted for validation.