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

Feat/add numeric value ranges #47

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

ojwanganto
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

Display value ranges for numeric test results

Screenshots

image

Related Issue

Other

@ojwanganto ojwanganto force-pushed the feat/add-numeric-value-ranges branch from 109ba3e to e50810d Compare January 30, 2024 13:51
concept?.units ?? ""
})`;
}
return rangeString;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we make the ranges or the Test bold atleast

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How is that done? inline styling?

@jabahum jabahum requested a review from pirupius January 31, 2024 05:24
Comment on lines 22 to 27
hiNormal: number;
hiAbsolute: number;
hiCritical: number;
lowNormal: number;
lowAbsolute: number;
lowCritical: number;
Copy link
Member

Choose a reason for hiding this comment

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

Are these generic to all concept responses? if not we should make them ternary

Suggested change
hiNormal: number;
hiAbsolute: number;
hiCritical: number;
lowNormal: number;
lowAbsolute: number;
lowCritical: number;
hiNormal?: number;
hiAbsolute?: number;
hiCritical?: number;
lowNormal?: number;
lowAbsolute?: number;
lowCritical?: number;

Comment on lines 168 to 173
hiNormal: number;
hiAbsolute: number;
hiCritical: number;
lowNormal: number;
lowAbsolute: number;
lowCritical: number;
Copy link
Member

Choose a reason for hiding this comment

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

same comment applies here about adding the ternary

@ojwanganto
Copy link
Contributor Author

Review comments addressed. Please check. @jabahum @pirupius @donaldkibet

@pirupius pirupius merged commit ecca899 into openmrs:main Jan 31, 2024
3 checks passed
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.

3 participants