public enum ContactSystemEnum extends Enum<ContactSystemEnum>
Enum Constant and Description |
---|
EMAIL
Code Value: email
The value is an email address.
|
FAX
Code Value: fax
The value is a fax machine.
|
PHONE
Code Value: phone
The value is a telephone number used for voice calls.
|
URL
Code Value: url
The value is a url.
|
Modifier and Type | Field and Description |
---|---|
static IValueSetEnumBinder<ContactSystemEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
http://hl7.org/fhir/vs/contact-system
|
static String |
VALUESET_NAME
Name for this Value Set:
ContactSystem
|
Modifier and Type | Method and Description |
---|---|
static ContactSystemEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static ContactSystemEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactSystemEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactSystemEnum PHONE
public static final ContactSystemEnum FAX
public static final ContactSystemEnum EMAIL
public static final ContactSystemEnum URL
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<ContactSystemEnum> VALUESET_BINDER
public static ContactSystemEnum[] values()
for (ContactSystemEnum c : ContactSystemEnum.values()) System.out.println(c);
public static ContactSystemEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCode()
public String getSystem()
public static ContactSystemEnum forCode(String theCode)
Copyright © 2014–2017 University Health Network. All rights reserved.