public class QuestionnaireResponse extends BaseResource implements IResource
Definition: A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions
Requirements: To support structured, hierarchical registration of data gathered using digital forms and other questionnaires.
Profile Definition: http://hl7.org/fhir/profiles/QuestionnaireResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
QuestionnaireResponse.Group
Block class for child element: QuestionnaireResponse.group ()
|
static class |
QuestionnaireResponse.GroupQuestion
Block class for child element: QuestionnaireResponse.group.question ()
|
static class |
QuestionnaireResponse.GroupQuestionAnswer
Block class for child element: QuestionnaireResponse.group.question.answer ()
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
AUTHOR
Fluent Client search parameter constant for author
|
static DateClientParam |
AUTHORED
Fluent Client search parameter constant for authored
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static Include |
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_QUESTIONNAIRE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ReferenceClientParam |
QUESTIONNAIRE
Fluent Client search parameter constant for questionnaire
|
static ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
static String |
SP_AUTHOR
Search parameter constant for author
|
static String |
SP_AUTHORED
Search parameter constant for authored
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_QUESTIONNAIRE
Search parameter constant for questionnaire
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
QuestionnaireResponse() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ResourceReferenceDt |
getAuthor()
Gets the value(s) for author (who.author).
|
Date |
getAuthored()
Gets the value(s) for authored (when.recorded).
|
DateTimeDt |
getAuthoredElement()
Gets the value(s) for authored (when.recorded).
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
QuestionnaireResponse.Group |
getGroup()
Gets the value(s) for group ().
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (id).
|
ResourceReferenceDt |
getQuestionnaire()
Gets the value(s) for questionnaire ().
|
String |
getResourceName() |
ResourceReferenceDt |
getSource()
Gets the value(s) for source (who.source).
|
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<QuestionnaireResponseStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
boolean |
isEmpty() |
QuestionnaireResponse |
setAuthor(ResourceReferenceDt theValue)
Sets the value(s) for author (who.author)
|
QuestionnaireResponse |
setAuthored(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for authored (when.recorded)
|
QuestionnaireResponse |
setAuthored(DateTimeDt theValue)
Sets the value(s) for authored (when.recorded)
|
QuestionnaireResponse |
setAuthoredWithSecondsPrecision(Date theDate)
Sets the value for authored (when.recorded)
|
QuestionnaireResponse |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
QuestionnaireResponse |
setGroup(QuestionnaireResponse.Group theValue)
Sets the value(s) for group ()
|
QuestionnaireResponse |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (id)
|
QuestionnaireResponse |
setQuestionnaire(ResourceReferenceDt theValue)
Sets the value(s) for questionnaire ()
|
QuestionnaireResponse |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (who.source)
|
QuestionnaireResponse |
setStatus(BoundCodeDt<QuestionnaireResponseStatusEnum> theValue)
Sets the value(s) for status (status)
|
QuestionnaireResponse |
setStatus(QuestionnaireResponseStatusEnum theValue)
Sets the value(s) for status (status)
|
QuestionnaireResponse |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_STATUS
Description: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
public static final TokenClientParam STATUS
Description: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
public static final String SP_AUTHORED
Description: When the questionnaire was authored
Type: date
Path: QuestionnaireResponse.authored
public static final DateClientParam AUTHORED
Description: When the questionnaire was authored
Type: date
Path: QuestionnaireResponse.authored
public static final String SP_SUBJECT
Description: The subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
public static final ReferenceClientParam SUBJECT
Description: The subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
public static final String SP_AUTHOR
Description: The author of the questionnaire
Type: reference
Path: QuestionnaireResponse.author
public static final ReferenceClientParam AUTHOR
Description: The author of the questionnaire
Type: reference
Path: QuestionnaireResponse.author
public static final String SP_QUESTIONNAIRE
Description: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
public static final ReferenceClientParam QUESTIONNAIRE
Description: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
public static final String SP_ENCOUNTER
Description: Encounter during which questionnaire was authored
Type: reference
Path: QuestionnaireResponse.encounter
public static final ReferenceClientParam ENCOUNTER
Description: Encounter during which questionnaire was authored
Type: reference
Path: QuestionnaireResponse.encounter
public static final String SP_PATIENT
Description: The patient that is the subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
public static final ReferenceClientParam PATIENT
Description: The patient that is the subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
public static final String SP_SOURCE
Description:
Type: reference
Path: QuestionnaireResponse.source
public static final ReferenceClientParam SOURCE
Description:
Type: reference
Path: QuestionnaireResponse.source
public static final Include INCLUDE_AUTHOR
public static final Include INCLUDE_ENCOUNTER
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_QUESTIONNAIRE
public static final Include INCLUDE_SOURCE
public static final Include INCLUDE_SUBJECT
public QuestionnaireResponse()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic IdentifierDt getIdentifier()
null.
Definition: A business identifier assigned to a particular completed (or partially completed) questionnaire
public QuestionnaireResponse setIdentifier(IdentifierDt theValue)
Definition: A business identifier assigned to a particular completed (or partially completed) questionnaire
public ResourceReferenceDt getQuestionnaire()
null.
Definition: Indicates the Questionnaire resource that defines the form for which answers are being provided
public QuestionnaireResponse setQuestionnaire(ResourceReferenceDt theValue)
Definition: Indicates the Questionnaire resource that defines the form for which answers are being provided
public BoundCodeDt<QuestionnaireResponseStatusEnum> getStatusElement()
null.
Definition: The lifecycle status of the questionnaire response as a whole.
public String getStatus()
null.
Definition: The lifecycle status of the questionnaire response as a whole.
public QuestionnaireResponse setStatus(BoundCodeDt<QuestionnaireResponseStatusEnum> theValue)
Definition: The lifecycle status of the questionnaire response as a whole.
public QuestionnaireResponse setStatus(QuestionnaireResponseStatusEnum theValue)
Definition: The lifecycle status of the questionnaire response as a whole.
public ResourceReferenceDt getSubject()
null.
Definition: The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information
public QuestionnaireResponse setSubject(ResourceReferenceDt theValue)
Definition: The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information
public ResourceReferenceDt getAuthor()
null.
Definition: Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system
public QuestionnaireResponse setAuthor(ResourceReferenceDt theValue)
Definition: Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system
public DateTimeDt getAuthoredElement()
null.
Definition: The date and/or time that this version of the questionnaire response was authored
public Date getAuthored()
null.
Definition: The date and/or time that this version of the questionnaire response was authored
public QuestionnaireResponse setAuthored(DateTimeDt theValue)
Definition: The date and/or time that this version of the questionnaire response was authored
public QuestionnaireResponse setAuthored(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date and/or time that this version of the questionnaire response was authored
public QuestionnaireResponse setAuthoredWithSecondsPrecision(Date theDate)
Definition: The date and/or time that this version of the questionnaire response was authored
public ResourceReferenceDt getSource()
null.
Definition: The person who answered the questions about the subject.
public QuestionnaireResponse setSource(ResourceReferenceDt theValue)
Definition: The person who answered the questions about the subject.
public ResourceReferenceDt getEncounter()
null.
Definition: Encounter during which this set of questionnaire response were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers.
public QuestionnaireResponse setEncounter(ResourceReferenceDt theValue)
Definition: Encounter during which this set of questionnaire response were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers.
public QuestionnaireResponse.Group getGroup()
null.
Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
public QuestionnaireResponse setGroup(QuestionnaireResponse.Group theValue)
Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.