Skip to content
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

BAH-4012 | Fix. Abnormal Value Getting Displayed In Consultation Tab #980

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

rahu1ramesh
Copy link
Contributor

Jira -> BAH-4012

This PR aims to resolve the Abnormal boolean values associated with a vital from getting displayed on the Consultation tab.

Issue observed After the fix
Screenshot 2024-07-10 at 8 37 42 AM Screenshot 2024-07-10 at 8 50 02 AM

else {
obsValueList.push(obs.value);
if (obs.concept.conceptClass !== "Abnormal") {
if (obs.value && obs.value.name && obs.concept.conceptClass != "Abnormal") {
Copy link
Contributor

@SanoferSameera SanoferSameera Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is obs.concept.conceptClass != "Abnormal" condition needed inside if as we do have the same outside if?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SanoferSameera This helps the function ignore concepts of class "Abnormal" from getting appended to the value that gets displayed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get it. but is the same condition needed in two place?

@rahu1ramesh rahu1ramesh merged commit e6e1854 into master Jul 12, 2024
2 checks passed
@rahu1ramesh rahu1ramesh deleted the BAH-4012 branch July 12, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants