public enum PatientSearchMode extends Enum<PatientSearchMode>
Enum Constant and Description |
---|
PATIENT_SEARCH_BY_IDENTIFIER |
PATIENT_SEARCH_BY_NAME |
PATIENT_SEARCH_BY_NAME_AND_IDENTIFIER |
PATIENT_SEARCH_BY_NAME_OR_IDENTIFIER |
Modifier and Type | Method and Description |
---|---|
static PatientSearchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatientSearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatientSearchMode PATIENT_SEARCH_BY_NAME
public static final PatientSearchMode PATIENT_SEARCH_BY_IDENTIFIER
public static final PatientSearchMode PATIENT_SEARCH_BY_NAME_AND_IDENTIFIER
public static final PatientSearchMode PATIENT_SEARCH_BY_NAME_OR_IDENTIFIER
public static PatientSearchMode[] values()
for (PatientSearchMode c : PatientSearchMode.values()) System.out.println(c);
public static PatientSearchMode 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 nullCopyright © 2024 OpenMRS Inc.. All rights reserved.