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

Add _build_name method to PHDCBuilder #1075

Merged
merged 12 commits into from
Jan 16, 2024
Merged

Add _build_name method to PHDCBuilder #1075

merged 12 commits into from
Jan 16, 2024

Conversation

m-goggins
Copy link
Collaborator

PULL REQUEST

Summary

This PR adds an internal method for building out the name section of a PHDC. Importantly, it collapses given names into two given names at most, per the PHDC docs. E.g., if your given names are "John Jacob Jingleheimer", your given names will be included as the first of the given names followed by all other names concatenated as such:

<given>John</given>
<given>Jacob Jingleheimer</given>

Related Issue

Fixes #1051

Additional Information

Anything else the review team should know?

Checklist

  • If this code affects the other scrum team, have they been notified? (In Slack, as reviewers, etc.)

@m-goggins m-goggins linked an issue Jan 12, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (18a24aa) 96.93% compared to head (eafa6fb) 96.93%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1075   +/-   ##
=======================================
  Coverage   96.93%   96.93%           
=======================================
  Files          48       48           
  Lines        3037     3037           
=======================================
  Hits         2944     2944           
  Misses         93       93           
Flag Coverage Δ
unit-tests 96.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@m-goggins m-goggins marked this pull request as ready for review January 16, 2024 17:32
Copy link
Collaborator

@DanPaseltiner DanPaseltiner left a comment

Choose a reason for hiding this comment

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

Nice!

@m-goggins m-goggins added this pull request to the merge queue Jan 16, 2024
Merged via the queue into main with commit 879784f Jan 16, 2024
34 checks passed
@m-goggins m-goggins deleted the phdc-build-name branch January 16, 2024 22:24
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.

Develop PHDC name builder
2 participants