-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
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
(test) O3-4176: E2E test for invalid biometrics #2094
base: main
Are you sure you want to change the base?
Conversation
Size Change: 0 B Total Size: 15.9 MB ℹ️ View Unchanged
|
21b0b32
to
7017c4d
Compare
e2e/specs/biometrics.spec.ts
Outdated
@@ -66,6 +66,52 @@ test('Record biometrics', async ({ page }) => { | |||
}); | |||
}); | |||
|
|||
test('Record abnormal biometrics', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not "abnormal" these are "invalid". Abnormal, in the context of vitals has a specific, clinically relevant meaning and it's best not to mess that up.
Also, weights over 250kg should not be invalid to enter. The heaviest person still living used to weight 610kg. Vitals like height
, weight
, BMI
and MUAC
—where there is no reason that a measurement has a "natural" cap—should not have absolute maximums. This differs from values like O2 Sat, which has a natural maximum (it's a percentage).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it makes sense to add values for Temperature, BP, heart rate, respiration rate, and SpO2 if we need to check for invalid values, since they have specific limits.
Requirements
Summary
Screenshots
Related Issue
https://issues.openmrs.org/browse/O3-4176
Other