public enum MedicationKindEnum extends Enum<MedicationKindEnum>
| Enum Constant and Description |
|---|
PACKAGE
Code Value: package
The medication is a package - a contained group of one of more products.
|
PRODUCT
Code Value: product
The medication is a product.
|
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<MedicationKindEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
http://hl7.org/fhir/vs/medication-kind
|
static String |
VALUESET_NAME
Name for this Value Set:
MedicationKind
|
| Modifier and Type | Method and Description |
|---|---|
MedicationKindEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static MedicationKindEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MedicationKindEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MedicationKindEnum PRODUCT
public static final MedicationKindEnum PACKAGE
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<MedicationKindEnum> VALUESET_BINDER
public static MedicationKindEnum[] values()
for (MedicationKindEnum c : MedicationKindEnum.values()) System.out.println(c);
public static MedicationKindEnum 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 String getCode()
public String getSystem()
public MedicationKindEnum forCode(String theCode)
Copyright © 2014 University Health Network. All rights reserved.