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) Conditionally make the order reason field of the lab order form required when configured #1698

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

makombe
Copy link
Contributor

@makombe makombe commented Feb 27, 2024

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

This PR introduces the ability specify if order reason is required for given test(s) which have the order reason configured.

Screenshots

Screenshot from 2024-02-27 15-48-39

Related Issue

Other

@makombe makombe requested a review from vasharma05 March 1, 2024 07:49
Copy link
Member

@donaldkibet donaldkibet left a comment

Choose a reason for hiding this comment

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

LGTM Thanks @makombe, consider incorporating a unit test to prevent regressions

@denniskigen denniskigen requested a review from ibacher March 6, 2024 19:26
@denniskigen denniskigen changed the title Conditionally make order reason required when configured (feat) Conditionally make the order reason field of the lab order form required when configured Mar 6, 2024
@denniskigen denniskigen merged commit c93fe22 into openmrs:main Mar 6, 2024
6 checks passed
@denniskigen
Copy link
Member

Thanks, @makombe!

usamaidrsk pushed a commit to usamaidrsk/openmrs-esm-patient-chart that referenced this pull request Mar 11, 2024
…m required when configured (openmrs#1698)

Conditionally make order reason required when configured

Co-authored-by: Dennis Kigen <kigen.work@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants