Package ca.uhn.fhir.model.dstu2.valueset
Enum ReferralMethodEnum
- java.lang.Object
-
- java.lang.Enum<ReferralMethodEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ReferralMethodEnum>
public enum ReferralMethodEnum extends Enum<ReferralMethodEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAXDisplay: Fax
Code Value: fax Referrals may be accepted by fax.MAILDisplay: Mail
Code Value: mail Referrals may be accepted via regular postage (or hand delivered).PHONEDisplay: Phone
Code Value: phone Referrals may be accepted over the phone from a practitioner.SECURE_EMAILDisplay: Secure Email
Code Value: semail Referrals may be accepted via a secure email.SECURE_MESSAGINGDisplay: Secure Messaging
Code Value: elec Referrals may be accepted via a secure messaging system.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<ReferralMethodEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: ReferralMethod
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferralMethodEnumforCode(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 ReferralMethodEnumvalueOf(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.
-
-
-
Enum Constant Detail
-
FAX
public static final ReferralMethodEnum FAX
Display: Fax
Code Value: fax Referrals may be accepted by fax.
-
PHONE
public static final ReferralMethodEnum PHONE
Display: Phone
Code Value: phone Referrals may be accepted over the phone from a practitioner.
-
SECURE_MESSAGING
public static final ReferralMethodEnum SECURE_MESSAGING
Display: Secure Messaging
Code Value: elec Referrals may be accepted via a secure messaging system. To determine the types of secure messaging systems supported, refer to the identifiers collection. Callers will need to understand the specific identifier system used to know that they are able to transmit messages.
-
SECURE_EMAIL
public static final ReferralMethodEnum SECURE_EMAIL
Display: Secure Email
Code Value: semail Referrals may be accepted via a secure email. To send please enrypt with the services public key.
-
MAIL
public static final ReferralMethodEnum MAIL
Display: Mail
Code Value: mail Referrals may be accepted via regular postage (or hand delivered).
-
-
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: ReferralMethod- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<ReferralMethodEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static ReferralMethodEnum[] 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 (ReferralMethodEnum c : ReferralMethodEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferralMethodEnum 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 ReferralMethodEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-