public enum QuestionnaireStatusEnum extends Enum<QuestionnaireStatusEnum>
Enum Constant and Description |
---|
DRAFT
Display: Draft
Code Value: draft This Questionnaire is not ready for official use. |
PUBLISHED
Display: Published
Code Value: published This Questionnaire is ready for use. |
RETIRED
Display: Retired
Code Value: retired This Questionnaire should no longer be used to gather data. |
Modifier and Type | Field and Description |
---|---|
static IValueSetEnumBinder<QuestionnaireStatusEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
QuestionnaireStatus
|
Modifier and Type | Method and Description |
---|---|
static QuestionnaireStatusEnum |
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 QuestionnaireStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuestionnaireStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuestionnaireStatusEnum DRAFT
public static final QuestionnaireStatusEnum PUBLISHED
public static final QuestionnaireStatusEnum RETIRED
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<QuestionnaireStatusEnum> VALUESET_BINDER
public static QuestionnaireStatusEnum[] values()
for (QuestionnaireStatusEnum c : QuestionnaireStatusEnum.values()) System.out.println(c);
public static QuestionnaireStatusEnum 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 static QuestionnaireStatusEnum forCode(String theCode)
Copyright © 2014–2019 University Health Network. All rights reserved.