public enum ReferralMethodEnum extends Enum<ReferralMethodEnum>
Enum Constant and Description |
---|
FAX
Display: Fax
Code Value: fax Referrals may be accepted by fax. |
MAIL
Display: Mail
Code Value: mail Referrals may be accepted via regular postage (or hand delivered). |
PHONE
Display: Phone
Code Value: phone Referrals may be accepted over the phone from a practitioner. |
SECURE_EMAIL
Display: Secure Email
Code Value: semail Referrals may be accepted via a secure email. |
SECURE_MESSAGING
Display: Secure Messaging
Code Value: elec Referrals may be accepted via a secure messaging system. |
Modifier and Type | Field and Description |
---|---|
static IValueSetEnumBinder<ReferralMethodEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
ReferralMethod
|
Modifier and Type | Method and Description |
---|---|
static ReferralMethodEnum |
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 ReferralMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferralMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferralMethodEnum FAX
public static final ReferralMethodEnum PHONE
public static final ReferralMethodEnum SECURE_MESSAGING
public static final ReferralMethodEnum SECURE_EMAIL
public static final ReferralMethodEnum MAIL
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<ReferralMethodEnum> VALUESET_BINDER
public static ReferralMethodEnum[] values()
for (ReferralMethodEnum c : ReferralMethodEnum.values()) System.out.println(c);
public static ReferralMethodEnum 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 ReferralMethodEnum forCode(String theCode)
Copyright © 2014–2019 University Health Network. All rights reserved.