-
Notifications
You must be signed in to change notification settings - Fork 3
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
Format full names as SURNAME, Firstname
#2980
Open
thomasleese
wants to merge
2
commits into
v2.1.0-wip
Choose a base branch
from
format-full-names
base: v2.1.0-wip
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
826f333
to
7fb03ec
Compare
7fb03ec
to
c9e7cbc
Compare
c9e7cbc
to
ad03fb5
Compare
ad03fb5
to
0856342
Compare
0856342
to
509edfe
Compare
509edfe
to
206b59a
Compare
206b59a
to
c6a91b9
Compare
c6a91b9
to
cbc64c0
Compare
cbc64c0
to
48d3dae
Compare
48d3dae
to
4e4ff6f
Compare
4e4ff6f
to
d48a601
Compare
SURNAME, Firstname
benilovj
approved these changes
Feb 26, 2025
tvararu
approved these changes
Feb 26, 2025
d48a601
to
1c55dc0
Compare
1c55dc0
to
e0d62d9
Compare
e0d62d9
to
37ebadf
Compare
37ebadf
to
ce637ad
Compare
ce637ad
to
4e0f2bd
Compare
4e0f2bd
to
ce75df0
Compare
ce75df0
to
d1035a8
Compare
d1035a8
to
7b5ba6b
Compare
This adds a class which formats a full name (made up of a given name and a family name) in given format context, either internal use or communication with parents. The internal use format will use "FAMILY, Given" as the format and for parents it will remain as "Given Family".
This updates the various places in the service where a name is rendered to use the new `FullNameFormatter` class to ensure that it's formatted correctly.
7b5ba6b
to
290b664
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates how the full names are formatted to use the format
SURNAME, Firstname
if we're rendering a patient name in the context of the service used by nurses, and we keep the existingFirstname Surname
format when displaying a patient name in the context of comms sent to parents.Screenshots