teal.modules.clinical
teal.modules.clinical copied to clipboard
[Feature Request]: Improve error message due to underlying data structure
Feature description
Using the module tm_t_abnormality_by_worst_grade() with real clinical data, the following error message occurred.
It would be beneficial to have a check before if the data is in a compliant structure with a clear message to the user.

Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
Contribution Guidelines
- [X] I agree to follow this project's Contribution Guidelines.
Security Policy
- [X] I agree to follow this project's Security Policy.