public enum PatientClass extends Enum<PatientClass>
PatientClass
Enumeration of patient class types.| Enum Constant and Description |
|---|
B
Obstetrics.
|
C
Commercial account.
|
E
Emergency.
|
I
Inpatient.
|
N
Not applicable.
|
O
Outpatient.
|
P
Preadmit.
|
R
Recurring patient.
|
U
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static PatientClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatientClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatientClass N
public static final PatientClass E
public static final PatientClass I
public static final PatientClass O
public static final PatientClass P
public static final PatientClass R
public static final PatientClass B
public static final PatientClass C
public static final PatientClass U
public static PatientClass[] values()
for (PatientClass c : PatientClass.values()) System.out.println(c);
public static PatientClass 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 © 2021. All rights reserved.