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

(fix) O3-3284: Use formatted patient display name throughout esm-patient-search-app #1141

Merged
merged 7 commits into from
May 24, 2024

Conversation

xprl-gjf
Copy link
Contributor

@xprl-gjf xprl-gjf commented May 17, 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

Despite the fact that a well-formatted patient display name is included in REST and FHIR responses, the patient search banner component was displaying a patient name with a hard-coded format.

Evident if using an alternative name format, e.g. latinamerica, as per Wiki: Customizing Name Layouts

The well-formatted patient display name is included as a name.text attribute in FHIR responses, as per FM2-631, or as the user.person.display attribute in REST responses as per RESTWS-925.

Screenshots

N/A

Related Issue

https://openmrs.atlassian.net/browse/O3-2115

Other

Similar fixes needed for some components in esm-patient-registration-app; esm-appointments-app esm-service-queues-app. To be delivered in separate PRs.

@xprl-gjf xprl-gjf changed the title fix O3-2115: Use formatted patient display name throughout esm-patient-search-app (fix) O3-2115: Use formatted patient display name throughout esm-patient-search-app May 17, 2024
@xprl-gjf xprl-gjf marked this pull request as draft May 19, 2024 12:18
@xprl-gjf
Copy link
Contributor Author

Marking as draft, awaiting outcome of pull request openmrs/openmrs-esm-core#1003...

@xprl-gjf xprl-gjf changed the title (fix) O3-2115: Use formatted patient display name throughout esm-patient-search-app (fix) O3-3284: Use formatted patient display name throughout esm-patient-search-app May 23, 2024
@xprl-gjf xprl-gjf marked this pull request as ready for review May 23, 2024 12:29
@xprl-gjf
Copy link
Contributor Author

@mogoodrich would you be able to review this along with the other O3-3284 PRs? (3 of them)

@mogoodrich mogoodrich requested review from denniskigen and brandones and removed request for denniskigen May 24, 2024 17:06
@mogoodrich
Copy link
Member

Deferred to others on this the service queues app, as I don't work with them as much, but I merged in the appointments change and triggered updating the other two PRs to branch off the new main

Copy link
Contributor

@brandones brandones left a comment

Choose a reason for hiding this comment

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

Thanks @xprl-gjf , glad to see this happening!

@brandones brandones merged commit 7bae091 into openmrs:main May 24, 2024
6 checks passed
@xprl-gjf xprl-gjf deleted the fhir_name/esm-patient-search-app branch February 12, 2025 20:41
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