public static enum Questionnaire.AnswerFormat extends Enum<Questionnaire.AnswerFormat>
| Enum Constant and Description |
|---|
ATTACHMENT
Answer is binary content such as a image, PDF, etc.
|
BOOLEAN
Answer is a yes/no answer.
|
CHOICE
Answer is a Coding drawn from a list of options.
|
DATE
Answer is a date.
|
DATETIME
Answer is a date and time.
|
DECIMAL
Answer is a floating point number.
|
INSTANT
Answer is a system timestamp.
|
INTEGER
Answer is an integer.
|
NULL
added to help the parsers
|
OPENCHOICE
Answer is a Coding drawn from a list of options or a free-text entry.
|
QUANTITY
Answer is a combination of a numeric value and unit, potentially with a comparator (<, >, etc.).
|
REFERENCE
Answer is a reference to another resource (practitioner, organization, etc.).
|
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).
|
TIME
Answer is a time (hour/minute/second) independent of date.
|
URL
Answer is a url (website, FTP site, etc.).
|
| Modifier and Type | Method and Description |
|---|---|
static Questionnaire.AnswerFormat |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static Questionnaire.AnswerFormat |
valueOf(String name)
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.
|
public static final Questionnaire.AnswerFormat BOOLEAN
public static final Questionnaire.AnswerFormat DECIMAL
public static final Questionnaire.AnswerFormat INTEGER
public static final Questionnaire.AnswerFormat DATE
public static final Questionnaire.AnswerFormat DATETIME
public static final Questionnaire.AnswerFormat INSTANT
public static final Questionnaire.AnswerFormat TIME
public static final Questionnaire.AnswerFormat STRING
public static final Questionnaire.AnswerFormat TEXT
public static final Questionnaire.AnswerFormat URL
public static final Questionnaire.AnswerFormat CHOICE
public static final Questionnaire.AnswerFormat OPENCHOICE
public static final Questionnaire.AnswerFormat ATTACHMENT
public static final Questionnaire.AnswerFormat REFERENCE
public static final Questionnaire.AnswerFormat QUANTITY
public static final Questionnaire.AnswerFormat NULL
public static Questionnaire.AnswerFormat[] values()
for (Questionnaire.AnswerFormat c : Questionnaire.AnswerFormat.values()) System.out.println(c);
public static Questionnaire.AnswerFormat 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 Questionnaire.AnswerFormat fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.