Enum ServiceReferralMethod
- java.lang.Object
-
- java.lang.Enum<ServiceReferralMethod>
-
- org.hl7.fhir.r4.model.codesystems.ServiceReferralMethod
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceReferralMethod>
public enum ServiceReferralMethod extends Enum<ServiceReferralMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELECReferrals may be accepted via a secure messaging system.FAXReferrals may be accepted by fax.MAILReferrals may be accepted via regular postage (or hand delivered).NULLadded to help the parsersPHONEReferrals may be accepted over the phone from a practitioner.SEMAILReferrals may be accepted via a secure email.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceReferralMethodfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ServiceReferralMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceReferralMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAX
public static final ServiceReferralMethod FAX
Referrals may be accepted by fax.
-
PHONE
public static final ServiceReferralMethod PHONE
Referrals may be accepted over the phone from a practitioner.
-
ELEC
public static final ServiceReferralMethod 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.
-
SEMAIL
public static final ServiceReferralMethod SEMAIL
Referrals may be accepted via a secure email. To send please encrypt with the services public key.
-
MAIL
public static final ServiceReferralMethod MAIL
Referrals may be accepted via regular postage (or hand delivered).
-
NULL
public static final ServiceReferralMethod NULL
added to help the parsers
-
-
Method Detail
-
values
public static ServiceReferralMethod[] 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 (ServiceReferralMethod c : ServiceReferralMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceReferralMethod 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
-
fromCode
public static ServiceReferralMethod fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-