public enum SupplyItem extends Enum<SupplyItem>
| Enum Constant and Description |
|---|
DEVICE
What is supplied (or requested) is a device
|
MEDICATION
Supply is a kind of medication.
|
NULL
added to help the parsers
|
| Modifier and Type | Method and Description |
|---|---|
static SupplyItem |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static SupplyItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupplyItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupplyItem MEDICATION
public static final SupplyItem DEVICE
public static final SupplyItem NULL
public static SupplyItem[] values()
for (SupplyItem c : SupplyItem.values()) System.out.println(c);
public static SupplyItem 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 static SupplyItem fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.