public enum VitalStatusCode extends Enum<VitalStatusCode>
VITAL_STATUS_CD attribute
in the PATIENT_DIMENSION table.| Enum Constant and Description |
|---|
DECEASED_ACCURATE_TO_DAY |
DECEASED_ACCURATE_TO_MONTH |
DECEASED_ACCURATE_TO_YEAR |
LIVING |
| Modifier and Type | Method and Description |
|---|---|
static VitalStatusCode |
fromCode(String code) |
String |
getCode()
Gets the code to put into the
VITAL_STATUS_CD attribute. |
static VitalStatusCode |
getInstance(Boolean knownDeceased) |
static VitalStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VitalStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VitalStatusCode LIVING
public static final VitalStatusCode DECEASED_ACCURATE_TO_DAY
public static final VitalStatusCode DECEASED_ACCURATE_TO_MONTH
public static final VitalStatusCode DECEASED_ACCURATE_TO_YEAR
public static VitalStatusCode[] values()
for (VitalStatusCode c : VitalStatusCode.values()) System.out.println(c);
public static VitalStatusCode 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 VitalStatusCode getInstance(Boolean knownDeceased)
public static VitalStatusCode fromCode(String code)
Copyright © 2012–2018 Emory University. All rights reserved.