Class PhoneStandardizer
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.PhoneStandardizer
- All Implemented Interfaces:
IStandardizer
Standardizes phone numbers to fit 123-456-7890 pattern.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstandardize
(String thePhone) Standardizes the specified string.
-
Field Details
-
PHONE_NUMBER_PATTERN
- See Also:
-
PHONE_NUMBER_REPLACE_PATTERN
- See Also:
-
-
Constructor Details
-
PhoneStandardizer
public PhoneStandardizer()
-
-
Method Details
-
standardize
Description copied from interface:IStandardizer
Standardizes the specified string.- Specified by:
standardize
in interfaceIStandardizer
- Parameters:
thePhone
- String to be standardized- Returns:
- Returns a standardized string.
-