Package ca.uhn.fhir.model.dstu2.valueset
Enum AnswerFormatEnum
- All Implemented Interfaces:
Serializable
,Comparable<AnswerFormatEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Attachment
Code Value: attachment Answer is binary content such as a image, PDF, etc.Display: Boolean
Code Value: boolean Answer is a yes/no answer.Display: Choice
Code Value: choice Answer is a Coding drawn from a list of options.Display: Date
Code Value: date Answer is a date.Display: Date Time
Code Value: dateTime Answer is a date and time.Display: Decimal
Code Value: decimal Answer is a floating point number.Display: Instant
Code Value: instant Answer is a system timestamp.Display: Integer
Code Value: integer Answer is an integer.Display: Open Choice
Code Value: open-choice Answer is a Coding drawn from a list of options or a free-text entry.Display: Quantity
Code Value: quantity Answer is a combination of a numeric value and unit, potentially with a comparator (invalid input: '<', >, etc.).Display: Reference
Code Value: reference Answer is a reference to another resource (practitioner, organization, etc.).Display: String
Code Value: string Answer is a short (few words to short sentence) free-text entry.Display: Text
Code Value: text Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string).Display: Time
Code Value: time Answer is a time (hour/minute/second) independent of date.Display: Url
Code Value: url Answer is a url (website, FTP site, etc.). -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<AnswerFormatEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: AnswerFormat -
Method Summary
Modifier and TypeMethodDescriptionstatic AnswerFormatEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic AnswerFormatEnum
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.
-
Enum Constant Details
-
BOOLEAN
Display: Boolean
Code Value: boolean Answer is a yes/no answer. -
DECIMAL
Display: Decimal
Code Value: decimal Answer is a floating point number. -
INTEGER
Display: Integer
Code Value: integer Answer is an integer. -
DATE
Display: Date
Code Value: date Answer is a date. -
DATE_TIME
Display: Date Time
Code Value: dateTime Answer is a date and time. -
INSTANT
Display: Instant
Code Value: instant Answer is a system timestamp. -
TIME
Display: Time
Code Value: time Answer is a time (hour/minute/second) independent of date. -
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). -
URL
Display: Url
Code Value: url Answer is a url (website, FTP site, etc.). -
CHOICE
Display: Choice
Code Value: choice Answer is a Coding drawn from a list of options. -
OPEN_CHOICE
Display: Open Choice
Code Value: open-choice Answer is a Coding drawn from a list of options or a free-text entry. -
ATTACHMENT
Display: Attachment
Code Value: attachment Answer is binary content such as a image, PDF, etc. -
REFERENCE
Display: Reference
Code Value: reference Answer is a reference to another resource (practitioner, organization, etc.). -
QUANTITY
Display: Quantity
Code Value: quantity Answer is a combination of a numeric value and unit, potentially with a comparator (invalid input: '<', >, etc.).
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: AnswerFormat- See Also:
-
VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-