![](/hapi-fhir/images/logos/raccoon-forwards.png)
Package ca.uhn.fhir.model.dstu2.valueset
Enum ContactPointSystemEnum
- All Implemented Interfaces:
Serializable
,Comparable<ContactPointSystemEnum>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplay: Email
Code Value: email The value is an email address.Display: Fax
Code Value: fax The value is a fax machine.Display: Pager
Code Value: pager The value is a pager number.Display: Phone
Code Value: phone The value is a telephone number used for voice calls.Display: URL
Code Value: other A contact that is not a phone, fax, or email address. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<ContactPointSystemEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: ContactPointSystem -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactPointSystemEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic ContactPointSystemEnum
Returns the enum constant of this type with the specified name.static ContactPointSystemEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PHONE
Display: Phone
Code Value: phone The value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. -
FAX
Display: Fax
Code Value: fax The value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. -
EMAIL
Display: Email
Code Value: email The value is an email address. -
PAGER
Display: Pager
Code Value: pager The value is a pager number. These may be local pager numbers that are only usable on a particular pager system. -
URL
Display: URL
Code Value: other A contact that is not a phone, fax, or email address. The format of the value SHOULD be a URL. This is intended for various personal contacts including blogs, Twitter, Facebook, etc. Do not use for email addresses. If this is not a URL, then it will require human interpretation.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: ContactPointSystem- See Also:
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<ContactPointSystemEnum> VALUESET_BINDERConverts codes to their respective enumerated values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-