matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

Validate that recoveries are < 2.0 if dimensionless or < 200 if in percent #558

Closed matthiaskoenig closed 3 years ago

matthiaskoenig commented 4 years ago

Measurement types in which percent and dimensionless can be used as units are often encoded incorrectly. Add validation rules to get warnings/errors for that:

Same for other measurement types which have units percent/dimensionless

janekg89 commented 3 years ago

I have not implemented a mechanism to return warnings from rest api. Warnings are currently only possible on validation in pkdata.