-
Notifications
You must be signed in to change notification settings - Fork 251
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
(feat) O3-4313: Add MUAC to vitals header #2173
Conversation
Size Change: +95 B (0%) Total Size: 16.1 MB ℹ️ View Unchanged
|
Mind sharing a screenshot of how this looks on tablet, @NethmiRodrigo? If space is constrained, we might consider only showing it if the response contains any |
@denniskigen added a screenshot. I don't know why the e2e test fails, it passes locally and is unrelated to these changes... |
Yeah, I see. We probably only want to render this conditionally so we don't waste the screen real estate if a MUAC value is not available. |
@denniskigen Yes, exactly I think if an implementation uses MUAC as a vital sign, then it should display in the vitals header, but I think it's not always used, right? |
ba37687
to
f839b35
Compare
Few things to say here:
|
Having this driven through a configuration will sort many things. In Kenya, MUAC is a required variable for the category of patients it serves. |
@ojwanganto FWIW, MUAC is already displayed, it's just in the Biometrics table rather than the Vitals table. All this PR does is move it into the Vitals table, but then that makes that table very wide which wouldn't be great for tablet use-cases. |
I get it, thanks. I just supported your bullet point 3 about configuration. |
@ibacher MUAC wasn't changed from the vitals table from the biometric table. It doesn't change either of the tables at all. This PR just adds MUAC to the vitals and biometric header. |
My misreading. Let's add it in then. |
51ab1fe
to
345d092
Compare
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.
LGTM. Thanks, @NethmiRodrigo.
@samuelmale might you have a clue why E2E tests related to the form engine are failing here? |
(Checkout Slack thread: https://openmrs.slack.com/archives/C084FQT1G64/p1736419624861609) |
Ah, I see. Thanks for the context, @samuelmale. The link you shared doesn't plop me over to the right place. Mind mentioning me on the thread so I get linked to it? |
@NethmiRodrigo @samuelmale Looks like the e2e heisenbug self-resolved. Nature is healing 🕺🏼 |
Requirements
Summary
This PR adds the functionality to display MUAC in the vitals header component if it is present.
Screenshots
If MUAC is present:
If MUAC is not present:
Related Issue
https://issues.openmrs.org/browse/O3-4313
Other