Class QuestionnaireResponse
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: QuestionnaireResponse.group ()static class
Block class for child element: QuestionnaireResponse.group.question ()static class
Block class for child element: QuestionnaireResponse.group.question.answer () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for authorstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for authoredstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for questionnairestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter constant for authorstatic final String
Search parameter constant for authoredstatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for questionnairestatic final String
Search parameter constant for sourcestatic final String
Search parameter constant for statusstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for author (who.author).Gets the value(s) for authored (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for authored (when.recorded).Gets the value(s) for encounter (context).getGroup()
Gets the value(s) for group ().Gets the value(s) for identifier (id).Gets the value(s) for questionnaire ().Gets the value(s) for source (who.source).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<QuestionnaireResponseStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject (who.focus).boolean
isEmpty()
setAuthor
(ResourceReferenceDt theValue) Sets the value(s) for author (who.author)setAuthored
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for authored (when.recorded)setAuthored
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for authored (when.recorded)setAuthoredWithSecondsPrecision
(Date theDate) Sets the value for authored (when.recorded)setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setGroup
(QuestionnaireResponse.Group theValue) Sets the value(s) for group ()setIdentifier
(IdentifierDt theValue) Sets the value(s) for identifier (id)setQuestionnaire
(ResourceReferenceDt theValue) Sets the value(s) for questionnaire ()setSource
(ResourceReferenceDt theValue) Sets the value(s) for source (who.source)setStatus
(QuestionnaireResponseStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<QuestionnaireResponseStatusEnum> theValue) Sets the value(s) for status (status)setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_STATUS
Search parameter constant for statusDescription: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
-
SP_AUTHORED
Search parameter constant for authoredDescription: When the questionnaire was authored
Type: date
Path: QuestionnaireResponse.authored
- See Also:
-
AUTHORED
Fluent Client search parameter constant for authoredDescription: When the questionnaire was authored
Type: date
Path: QuestionnaireResponse.authored
-
SP_SUBJECT
Search parameter constant for subjectDescription: The subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
-
SP_AUTHOR
Search parameter constant for authorDescription: The author of the questionnaire
Type: reference
Path: QuestionnaireResponse.author
- See Also:
-
AUTHOR
Fluent Client search parameter constant for authorDescription: The author of the questionnaire
Type: reference
Path: QuestionnaireResponse.author
-
SP_QUESTIONNAIRE
Search parameter constant for questionnaireDescription: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
- See Also:
-
QUESTIONNAIRE
Fluent Client search parameter constant for questionnaireDescription: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
-
SP_ENCOUNTER
Search parameter constant for encounterDescription: Encounter during which questionnaire was authored
Type: reference
Path: QuestionnaireResponse.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Encounter during which questionnaire was authored
Type: reference
Path: QuestionnaireResponse.encounter
-
SP_PATIENT
Search parameter constant for patientDescription: The patient that is the subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The patient that is the subject of the questionnaire
Type: reference
Path: QuestionnaireResponse.subject
-
SP_SOURCE
Search parameter constant for sourceDescription:
Type: reference
Path: QuestionnaireResponse.source
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription:
Type: reference
Path: QuestionnaireResponse.source
-
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:author". -
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:patient". -
INCLUDE_QUESTIONNAIRE
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:questionnaire". -
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:source". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:subject".
-
-
Constructor Details
-
QuestionnaireResponse
public QuestionnaireResponse()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: A business identifier assigned to a particular completed (or partially completed) questionnaire
-
setIdentifier
Sets the value(s) for identifier (id)Definition: A business identifier assigned to a particular completed (or partially completed) questionnaire
-
getQuestionnaire
Gets the value(s) for questionnaire (). creating it if it does not exist. Will not returnnull
.Definition: Indicates the Questionnaire resource that defines the form for which answers are being provided
-
setQuestionnaire
Sets the value(s) for questionnaire ()Definition: Indicates the Questionnaire resource that defines the form for which answers are being provided
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: The lifecycle status of the questionnaire response as a whole.
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: The lifecycle status of the questionnaire response as a whole.
-
setStatus
public QuestionnaireResponse setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<QuestionnaireResponseStatusEnum> theValue) Sets the value(s) for status (status)Definition: The lifecycle status of the questionnaire response as a whole.
-
setStatus
Sets the value(s) for status (status)Definition: The lifecycle status of the questionnaire response as a whole.
-
getSubject
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull
.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
-
setSubject
Sets the value(s) for subject (who.focus)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
-
getAuthor
Gets the value(s) for author (who.author). creating it if it does not exist. Will not returnnull
.Definition: Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system
-
setAuthor
Sets the value(s) for author (who.author)Definition: Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system
-
getAuthoredElement
Gets the value(s) for authored (when.recorded). creating it if it does not exist. Will not returnnull
.Definition: The date and/or time that this version of the questionnaire response was authored
-
getAuthored
Gets the value(s) for authored (when.recorded). creating it if it does not exist. This method may returnnull
.Definition: The date and/or time that this version of the questionnaire response was authored
-
setAuthored
Sets the value(s) for authored (when.recorded)Definition: The date and/or time that this version of the questionnaire response was authored
-
setAuthoredWithSecondsPrecision
Sets the value for authored (when.recorded)Definition: The date and/or time that this version of the questionnaire response was authored
-
setAuthored
public QuestionnaireResponse setAuthored(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for authored (when.recorded)Definition: The date and/or time that this version of the questionnaire response was authored
-
getSource
Gets the value(s) for source (who.source). creating it if it does not exist. Will not returnnull
.Definition: The person who answered the questions about the subject.
-
setSource
Sets the value(s) for source (who.source)Definition: The person who answered the questions about the subject.
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.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.
-
setEncounter
Sets the value(s) for encounter (context)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.
-
getGroup
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull
.Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
-
setGroup
Sets the value(s) for group ()Definition: A group of questions to a possibly similarly grouped set of questions in the questionnaire response
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-