-
Notifications
You must be signed in to change notification settings - Fork 241
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
(fix) O3-3284: Use formatted patient display name throughout esm-patient-search-app #1141
Conversation
Marking as draft, awaiting outcome of pull request openmrs/openmrs-esm-core#1003... |
packages/esm-patient-search-app/src/compact-patient-search/compact-patient-banner.component.tsx
Outdated
Show resolved
Hide resolved
@mogoodrich would you be able to review this along with the other O3-3284 PRs? (3 of them) |
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 |
There was a problem hiding this 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!
Requirements
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 LayoutsThe well-formatted patient display name is included as a
name.text
attribute in FHIR responses, as per FM2-631, or as theuser.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.