Package ca.uhn.fhir.model.dstu2.valueset
Enum ContactPointSystemEnum
- java.lang.Object
-
- java.lang.Enum<ContactPointSystemEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.ContactPointSystemEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ContactPointSystemEnum>
public enum ContactPointSystemEnum extends Enum<ContactPointSystemEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAILDisplay: Email
Code Value: email The value is an email address.FAXDisplay: Fax
Code Value: fax The value is a fax machine.PAGERDisplay: Pager
Code Value: pager The value is a pager number.PHONEDisplay: Phone
Code Value: phone The value is a telephone number used for voice calls.URLDisplay: URL
Code Value: other A contact that is not a phone, fax, or email address.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<ContactPointSystemEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: ContactPointSystem
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactPointSystemEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic ContactPointSystemEnumvalueOf(String name)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 Detail
-
PHONE
public static final ContactPointSystemEnum 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
public static final ContactPointSystemEnum 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
public static final ContactPointSystemEnum EMAIL
Display: Email
Code Value: email The value is an email address.
-
PAGER
public static final ContactPointSystemEnum 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
public static final ContactPointSystemEnum 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 Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: ContactPointSystem- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<ContactPointSystemEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static ContactPointSystemEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContactPointSystemEnum c : ContactPointSystemEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactPointSystemEnum valueOf(String name)
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
-
forCode
public static ContactPointSystemEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-