Package org.hl7.fhir.dstu2.model
Enum Questionnaire.AnswerFormat
- All Implemented Interfaces:
Serializable
,Comparable<Questionnaire.AnswerFormat>
- Enclosing class:
Questionnaire
-
Enum Constant Summary
Enum ConstantDescriptionAnswer is binary content such as a image, PDF, etc.Answer is a yes/no answer.Answer is a Coding drawn from a list of options.Answer is a date.Answer is a date and time.Answer is a floating point number.Answer is a system timestamp.Answer is an integer.added to help the parsersAnswer is a Coding drawn from a list of options or a free-text entry.Answer is a combination of a numeric value and unit, potentially with a comparator (invalid input: '<', >, etc.).Answer is a reference to another resource (practitioner, organization, etc.).Answer is a short (few words to short sentence) free-text entry.Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string).Answer is a time (hour/minute/second) independent of date.Answer is a url (website, FTP site, etc.). -
Method Summary
Modifier and TypeMethodDescriptionstatic Questionnaire.AnswerFormat
toCode()
static Questionnaire.AnswerFormat
Returns the enum constant of this type with the specified name.static Questionnaire.AnswerFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Answer is a yes/no answer. -
DECIMAL
Answer is a floating point number. -
INTEGER
Answer is an integer. -
DATE
Answer is a date. -
DATETIME
Answer is a date and time. -
INSTANT
Answer is a system timestamp. -
TIME
Answer is a time (hour/minute/second) independent of date. -
STRING
Answer is a short (few words to short sentence) free-text entry. -
TEXT
Answer is a long (potentially multi-paragraph) free-text entry (still captured as a string). -
URL
Answer is a url (website, FTP site, etc.). -
CHOICE
Answer is a Coding drawn from a list of options. -
OPENCHOICE
Answer is a Coding drawn from a list of options or a free-text entry. -
ATTACHMENT
Answer is binary content such as a image, PDF, etc. -
REFERENCE
Answer is a reference to another resource (practitioner, organization, etc.). -
QUANTITY
Answer is a combination of a numeric value and unit, potentially with a comparator (invalid input: '<', >, etc.). -
NULL
added to help the parsers
-
-
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
-
fromCode
public static Questionnaire.AnswerFormat fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-