We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The backend currently accepts any kind of string for dosage in the prescription making the dosage values malfunction.
To Reproduce Steps to reproduce the behavior:
Expected behavior The backend must sanitise the dosage values before saving them in the DB
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
sainak
Successfully merging a pull request may close this issue.
Describe the bug
The backend currently accepts any kind of string for dosage in the prescription making the dosage values malfunction.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The backend must sanitise the dosage values before saving them in the DB
Screenshots
![image](https://private-user-images.githubusercontent.com/98876115/283090572-bffef3c2-5593-4713-9cd1-fa47bc950a65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDQzNzksIm5iZiI6MTcyNjE0NDA3OSwicGF0aCI6Ii85ODg3NjExNS8yODMwOTA1NzItYmZmZWYzYzItNTU5My00NzEzLTljZDEtZmE0N2JjOTUwYTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDEyMjc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUzYThjYzg1NWI0NjcxZWI5MTkwYWE0NTY3NjU3M2FjM2ViZjUzMDhlNDg4ZjZhZTQ0OTY2YmNjMGUyNDQ5N2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.W2FzH59M_OptdzgBtpYO509QgvwTHpVPLnmqF2Nh1YE)
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: