public enum AnswerFormatEnum extends Enum<AnswerFormatEnum>
| Enum Constant and Description |
|---|
ATTACHMENT
Display: Attachment
Code Value: attachment Answer is binary content such as a image, PDF, etc. |
BOOLEAN
Display: Boolean
Code Value: boolean Answer is a yes/no answer. |
CHOICE
Display: Choice
Code Value: choice Answer is a Coding drawn from a list of options. |
DATE
Display: Date
Code Value: date Answer is a date. |
DATE_TIME
Display: Date Time
Code Value: dateTime Answer is a date and time. |
DECIMAL
Display: Decimal
Code Value: decimal Answer is a floating point number. |
INSTANT
Display: Instant
Code Value: instant Answer is a system timestamp. |
INTEGER
Display: Integer
Code Value: integer Answer is an integer. |
OPEN_CHOICE
Display: Open Choice
Code Value: open-choice Answer is a Coding drawn from a list of options or a free-text entry. |
QUANTITY
Display: Quantity
Code Value: quantity Answer is a combination of a numeric value and unit, potentially with a comparator (<, >, etc.). |
REFERENCE
Display: Reference
Code Value: reference Answer is a reference to another resource (practitioner, organization, etc.). |
STRING
Display: String
Code Value: string Answer is a short (few words to short sentence) free-text entry. |
TEXT
Display: Text
Code Value: text Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string). |
TIME
Display: Time
Code Value: time Answer is a time (hour/minute/second) independent of date. |
URL
Display: Url
Code Value: url Answer is a url (website, FTP site, etc.). |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<AnswerFormatEnum> |
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:
AnswerFormat
|
| Modifier and Type | Method and Description |
|---|---|
static AnswerFormatEnum |
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 AnswerFormatEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerFormatEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerFormatEnum BOOLEAN
public static final AnswerFormatEnum DECIMAL
public static final AnswerFormatEnum INTEGER
public static final AnswerFormatEnum DATE
public static final AnswerFormatEnum DATE_TIME
public static final AnswerFormatEnum INSTANT
public static final AnswerFormatEnum TIME
public static final AnswerFormatEnum STRING
public static final AnswerFormatEnum TEXT
public static final AnswerFormatEnum URL
public static final AnswerFormatEnum CHOICE
public static final AnswerFormatEnum OPEN_CHOICE
public static final AnswerFormatEnum ATTACHMENT
public static final AnswerFormatEnum REFERENCE
public static final AnswerFormatEnum QUANTITY
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<AnswerFormatEnum> VALUESET_BINDER
public static AnswerFormatEnum[] values()
for (AnswerFormatEnum c : AnswerFormatEnum.values()) System.out.println(c);
public static AnswerFormatEnum 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 AnswerFormatEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.