Class LastNameStandardizer
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.FirstNameStandardizer
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.LastNameStandardizer
- All Implemented Interfaces:
IStandardizer
- Direct Known Subclasses:
TitleStandardizer
Standardizes last names by capitalizing all characters following a separators (e.g. -, '), capitalizing "Mac" and "Mc"
prefixes and keeping name particles in lower case.
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
DIACRITICAL_MARKS, EXT_ASCII_RANGE_END, EXT_ASCII_RANGE_START
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LastNameStandardizer
addDelimiters
(String... theDelimiters) protected String
handlePrefix
(String theToken) protected String
standardizeNameToken
(String theToken) Methods inherited from class ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.FirstNameStandardizer
capitalize, checkForRegexp, initializeDelimiters, isDelimiter, join, standardize, standardizeDelimitedToken
Methods inherited from class ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
addAllowedExtendedAsciiRange, addAllowedNonLetterAndDigitCharacters, addTranslate, asSet, initializeAllowedExtendedAscii, initializeAllowedNonLetterAndDigitCharacters, initializeTranslates, isNoiseCharacter, isTranslate, removeNoise, replaceAccents, replaceTranslates
-
Constructor Details
-
LastNameStandardizer
public LastNameStandardizer()
-
-
Method Details
-
addDelimiters
- Overrides:
addDelimiters
in classFirstNameStandardizer
-
standardizeNameToken
- Overrides:
standardizeNameToken
in classFirstNameStandardizer
-
handlePrefix
-