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

Enhance the treating doctor field in the consultation form #7854

Open
1 task
nihal467 opened this issue May 18, 2024 · 5 comments · May be fixed by #7914
Open
1 task

Enhance the treating doctor field in the consultation form #7854

nihal467 opened this issue May 18, 2024 · 5 comments · May be fixed by #7914
Assignees

Comments

@nihal467
Copy link
Member

Is your feature request related to a problem? Please describe.

  • When there is no home facility doctor available, the "treating doctor" column will not indicate this unless the user types something in the column.
  • When an external contributor tries to interact with this field, it is not clear why there is no doctor available to select.

Describe the solution you'd like

  • "When there is no home facility linked doctor available, grey out the field and display the text 'No home facility doctor is linked to this facility.' inside the field."

Describe alternatives you've considered

image

@Jacobjeevan
Copy link

Mind assigning the issue to me? @nihal467 Thanks!

On an added note, some of the consultations are assigned to Dr. KUM sample user - so deselecting that would disable the field immediately since the user isn't a home facility doc. Would that be an issue?

@rithviknishad
Copy link
Member

A simpler solution would be to show a notification when there are no home facility doctors available when the prefetch request completes. And maybe also modify the dropdown text to the following:

image

@Jacobjeevan
Copy link

A simpler solution would be to show a notification when there are no home facility doctors available when the prefetch request completes. And maybe also modify the dropdown text to the following:

To clarify, do you mean use the notification function with similar/same message in addition to changing the text under the drop down? Or just the latter?

@Jacobjeevan
Copy link

A simpler solution would be to show a notification when there are no home facility doctors available when the prefetch request completes. And maybe also modify the dropdown text to the following:

To clarify, do you mean use the notification function with similar/same message in addition to changing the text under the drop down? Or just the latter?

@rithviknishad Sorry about the ping, wanted some clarification.

@rithviknishad
Copy link
Member

To clarify, do you mean use the notification function with similar/same message in addition to changing the text under the drop down? Or just the latter?

We can do both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants