
Class QuestionnaireResponse
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.model.QuestionnaireResponse
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
public class QuestionnaireResponse extends DomainResource
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 questionnaire being responded to.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent
static class
QuestionnaireResponse.QuestionnaireResponseItemComponent
static class
QuestionnaireResponse.QuestionnaireResponseStatus
static class
QuestionnaireResponse.QuestionnaireResponseStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Reference
author
Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
AUTHOR
Fluent Client search parameter constant for authorprotected DateTimeType
authored
The date and/or time that this set of answers were last changed.static ca.uhn.fhir.rest.gclient.DateClientParam
AUTHORED
Fluent Client search parameter constant for authoredprotected Resource
authorTarget
The actual object that is the target of the reference (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)static ca.uhn.fhir.rest.gclient.ReferenceClientParam
BASED_ON
Fluent Client search parameter constant for based-onprotected List<Reference>
basedOn
The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.protected List<Resource>
basedOnTarget
The actual objects that are the target of the reference (The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.protected Reference
context
The encounter or episode of care with primary association to the questionnaire response.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
CONTEXT
Fluent Client search parameter constant for contextprotected Resource
contextTarget
The actual object that is the target of the reference (The encounter or episode of care with primary association to the questionnaire response.)protected Identifier
identifier
A business identifier assigned to a particular completed (or partially completed) questionnaire.static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_QUESTIONNAIRE
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent>
item
A group or question item from the original questionnaire for which answers are provided.protected List<Reference>
parent
A procedure or observation that this questionnaire was performed as part of the execution of.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
PARENT
Fluent Client search parameter constant for parentprotected List<Resource>
parentTarget
The actual objects that are the target of the reference (A procedure or observation that this questionnaire was performed as part of the execution of.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
PATIENT
Fluent Client search parameter constant for patientprotected Reference
questionnaire
The Questionnaire that defines and organizes the questions for which answers are being provided.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
QUESTIONNAIRE
Fluent Client search parameter constant for questionnaireprotected Questionnaire
questionnaireTarget
The actual object that is the target of the reference (The Questionnaire that defines and organizes the questions for which answers are being provided.)protected Reference
source
The person who answered the questions about the subject.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SOURCE
Fluent Client search parameter constant for sourceprotected Resource
sourceTarget
The actual object that is the target of the reference (The person who answered the questions about the subject.)static String
SP_AUTHOR
Search parameter: authorstatic String
SP_AUTHORED
Search parameter: authoredstatic String
SP_BASED_ON
Search parameter: based-onstatic String
SP_CONTEXT
Search parameter: contextstatic String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_PARENT
Search parameter: parentstatic String
SP_PATIENT
Search parameter: patientstatic String
SP_QUESTIONNAIRE
Search parameter: questionnairestatic String
SP_SOURCE
Search parameter: sourcestatic String
SP_STATUS
Search parameter: statusstatic String
SP_SUBJECT
Search parameter: subjectprotected Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus>
status
The position of the questionnaire response within its overall lifecycle.static ca.uhn.fhir.rest.gclient.TokenClientParam
STATUS
Fluent Client search parameter constant for statusprotected Reference
subject
The subject of the questionnaire response.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SUBJECT
Fluent Client search parameter constant for subjectprotected Resource
subjectTarget
The actual object that is the target of the reference (The subject of the questionnaire response.-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description QuestionnaireResponse()
ConstructorQuestionnaireResponse(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
A business identifier assigned to a particular completed (or partially completed) questionnaire.
-
basedOn
protected List<Reference> basedOn
The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.
-
basedOnTarget
protected List<Resource> basedOnTarget
The actual objects that are the target of the reference (The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.)
-
parent
protected List<Reference> parent
A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.
-
parentTarget
protected List<Resource> parentTarget
The actual objects that are the target of the reference (A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.)
-
questionnaire
protected Reference questionnaire
The Questionnaire that defines and organizes the questions for which answers are being provided.
-
questionnaireTarget
protected Questionnaire questionnaireTarget
The actual object that is the target of the reference (The Questionnaire that defines and organizes the questions for which answers are being provided.)
-
status
protected Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status
The position of the questionnaire response within its overall lifecycle.
-
subject
protected Reference subject
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.
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (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.)
-
context
protected Reference context
The encounter or episode of care with primary association to the questionnaire response.
-
contextTarget
protected Resource contextTarget
The actual object that is the target of the reference (The encounter or episode of care with primary association to the questionnaire response.)
-
authored
protected DateTimeType authored
The date and/or time that this set of answers were last changed.
-
author
protected Reference author
Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.
-
authorTarget
protected Resource authorTarget
The actual object that is the target of the reference (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
sourceTarget
protected Resource sourceTarget
The actual object that is the target of the reference (The person who answered the questions about the subject.)
-
item
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> item
A group or question item from the original questionnaire for which answers are provided.
-
SP_AUTHORED
public static final String SP_AUTHORED
Search parameter: authoredDescription: When the questionnaire response was last changed
Type: date
Path: QuestionnaireResponse.authored
- See Also:
- Constant Field Values
-
AUTHORED
public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED
Fluent Client search parameter constant for authoredDescription: When the questionnaire response was last changed
Type: date
Path: QuestionnaireResponse.authored
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: The unique identifier for the questionnaire response
Type: token
Path: QuestionnaireResponse.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The unique identifier for the questionnaire response
Type: token
Path: QuestionnaireResponse.identifier
-
SP_PARENT
public static final String SP_PARENT
Search parameter: parentDescription: Procedure or observation this questionnaire response was performed as a part of
Type: reference
Path: QuestionnaireResponse.parent
- See Also:
- Constant Field Values
-
PARENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT
Fluent Client search parameter constant for parentDescription: Procedure or observation this questionnaire response was performed as a part of
Type: reference
Path: QuestionnaireResponse.parent
-
INCLUDE_PARENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:parent".
-
SP_QUESTIONNAIRE
public static final String SP_QUESTIONNAIRE
Search parameter: questionnaireDescription: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
- See Also:
- Constant Field Values
-
QUESTIONNAIRE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam QUESTIONNAIRE
Fluent Client search parameter constant for questionnaireDescription: The questionnaire the answers are provided for
Type: reference
Path: QuestionnaireResponse.questionnaire
-
INCLUDE_QUESTIONNAIRE
public static final ca.uhn.fhir.model.api.Include INCLUDE_QUESTIONNAIRE
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:questionnaire".
-
SP_BASED_ON
public static final String SP_BASED_ON
Search parameter: based-onDescription: Plan/proposal/order fulfilled by this questionnaire response
Type: reference
Path: QuestionnaireResponse.basedOn
- See Also:
- Constant Field Values
-
BASED_ON
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Fluent Client search parameter constant for based-onDescription: Plan/proposal/order fulfilled by this questionnaire response
Type: reference
Path: QuestionnaireResponse.basedOn
-
INCLUDE_BASED_ON
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:based-on".
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The subject of the questionnaire response
Type: reference
Path: QuestionnaireResponse.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The subject of the questionnaire response
Type: reference
Path: QuestionnaireResponse.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:subject".
-
SP_AUTHOR
public static final String SP_AUTHOR
Search parameter: authorDescription: The author of the questionnaire response
Type: reference
Path: QuestionnaireResponse.author
- See Also:
- Constant Field Values
-
AUTHOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
Fluent Client search parameter constant for authorDescription: The author of the questionnaire response
Type: reference
Path: QuestionnaireResponse.author
-
INCLUDE_AUTHOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:author".
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: The patient that is the subject of the questionnaire response
Type: reference
Path: QuestionnaireResponse.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: The patient that is the subject of the questionnaire response
Type: reference
Path: QuestionnaireResponse.subject
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:patient".
-
SP_CONTEXT
public static final String SP_CONTEXT
Search parameter: contextDescription: Encounter or episode associated with the questionnaire response
Type: reference
Path: QuestionnaireResponse.context
- See Also:
- Constant Field Values
-
CONTEXT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTEXT
Fluent Client search parameter constant for contextDescription: Encounter or episode associated with the questionnaire response
Type: reference
Path: QuestionnaireResponse.context
-
INCLUDE_CONTEXT
public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:context".
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter: sourceDescription: The individual providing the information reflected in the questionnaire respose
Type: reference
Path: QuestionnaireResponse.source
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Fluent Client search parameter constant for sourceDescription: The individual providing the information reflected in the questionnaire respose
Type: reference
Path: QuestionnaireResponse.source
-
INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:source".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: The status of the questionnaire response
Type: token
Path: QuestionnaireResponse.status
-
-
Constructor Detail
-
QuestionnaireResponse
public QuestionnaireResponse()
Constructor
-
QuestionnaireResponse
public QuestionnaireResponse(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status)
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier
(A business identifier assigned to a particular completed (or partially completed) questionnaire.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public QuestionnaireResponse setIdentifier(Identifier value)
- Parameters:
value
-identifier
(A business identifier assigned to a particular completed (or partially completed) questionnaire.)
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn
(The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.)
-
setBasedOn
public QuestionnaireResponse setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public QuestionnaireResponse addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn
, creating it if it does not already exist
-
getBasedOnTarget
@Deprecated public List<Resource> getBasedOnTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getParent
public List<Reference> getParent()
- Returns:
parent
(A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.)
-
setParent
public QuestionnaireResponse setParent(List<Reference> theParent)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParent
public boolean hasParent()
-
addParent
public QuestionnaireResponse addParent(Reference t)
-
getParentFirstRep
public Reference getParentFirstRep()
- Returns:
- The first repetition of repeating field
parent
, creating it if it does not already exist
-
getParentTarget
@Deprecated public List<Resource> getParentTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getQuestionnaire
public Reference getQuestionnaire()
- Returns:
questionnaire
(The Questionnaire that defines and organizes the questions for which answers are being provided.)
-
hasQuestionnaire
public boolean hasQuestionnaire()
-
setQuestionnaire
public QuestionnaireResponse setQuestionnaire(Reference value)
- Parameters:
value
-questionnaire
(The Questionnaire that defines and organizes the questions for which answers are being provided.)
-
getQuestionnaireTarget
public Questionnaire getQuestionnaireTarget()
- Returns:
questionnaire
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Questionnaire that defines and organizes the questions for which answers are being provided.)
-
setQuestionnaireTarget
public QuestionnaireResponse setQuestionnaireTarget(Questionnaire value)
- Parameters:
value
-questionnaire
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Questionnaire that defines and organizes the questions for which answers are being provided.)
-
getStatusElement
public Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> getStatusElement()
- Returns:
status
(The position of the questionnaire response within its overall lifecycle.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public QuestionnaireResponse setStatusElement(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> value)
- Parameters:
value
-status
(The position of the questionnaire response within its overall lifecycle.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public QuestionnaireResponse.QuestionnaireResponseStatus getStatus()
- Returns:
- The position of the questionnaire response within its overall lifecycle.
-
setStatus
public QuestionnaireResponse setStatus(QuestionnaireResponse.QuestionnaireResponseStatus value)
- Parameters:
value
- The position of the questionnaire response within its overall lifecycle.
-
getSubject
public Reference getSubject()
- Returns:
subject
(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.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public QuestionnaireResponse setSubject(Reference value)
- Parameters:
value
-subject
(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.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (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.)
-
setSubjectTarget
public QuestionnaireResponse setSubjectTarget(Resource value)
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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.)
-
getContext
public Reference getContext()
- Returns:
context
(The encounter or episode of care with primary association to the questionnaire response.)
-
hasContext
public boolean hasContext()
-
setContext
public QuestionnaireResponse setContext(Reference value)
- Parameters:
value
-context
(The encounter or episode of care with primary association to the questionnaire response.)
-
getContextTarget
public Resource getContextTarget()
- Returns:
context
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The encounter or episode of care with primary association to the questionnaire response.)
-
setContextTarget
public QuestionnaireResponse setContextTarget(Resource value)
- Parameters:
value
-context
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The encounter or episode of care with primary association to the questionnaire response.)
-
getAuthoredElement
public DateTimeType getAuthoredElement()
- Returns:
authored
(The date and/or time that this set of answers were last changed.). This is the underlying object with id, value and extensions. The accessor "getAuthored" gives direct access to the value
-
hasAuthoredElement
public boolean hasAuthoredElement()
-
hasAuthored
public boolean hasAuthored()
-
setAuthoredElement
public QuestionnaireResponse setAuthoredElement(DateTimeType value)
- Parameters:
value
-authored
(The date and/or time that this set of answers were last changed.). This is the underlying object with id, value and extensions. The accessor "getAuthored" gives direct access to the value
-
getAuthored
public Date getAuthored()
- Returns:
- The date and/or time that this set of answers were last changed.
-
setAuthored
public QuestionnaireResponse setAuthored(Date value)
- Parameters:
value
- The date and/or time that this set of answers were last changed.
-
getAuthor
public Reference getAuthor()
- Returns:
author
(Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
hasAuthor
public boolean hasAuthor()
-
setAuthor
public QuestionnaireResponse setAuthor(Reference value)
- Parameters:
value
-author
(Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
getAuthorTarget
public Resource getAuthorTarget()
- Returns:
author
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
setAuthorTarget
public QuestionnaireResponse setAuthorTarget(Resource value)
- Parameters:
value
-author
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
getSource
public Reference getSource()
- Returns:
source
(The person who answered the questions about the subject.)
-
hasSource
public boolean hasSource()
-
setSource
public QuestionnaireResponse setSource(Reference value)
- Parameters:
value
-source
(The person who answered the questions about the subject.)
-
getSourceTarget
public Resource getSourceTarget()
- Returns:
source
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person who answered the questions about the subject.)
-
setSourceTarget
public QuestionnaireResponse setSourceTarget(Resource value)
- Parameters:
value
-source
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person who answered the questions about the subject.)
-
getItem
public List<QuestionnaireResponse.QuestionnaireResponseItemComponent> getItem()
- Returns:
item
(A group or question item from the original questionnaire for which answers are provided.)
-
setItem
public QuestionnaireResponse setItem(List<QuestionnaireResponse.QuestionnaireResponseItemComponent> theItem)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasItem
public boolean hasItem()
-
addItem
public QuestionnaireResponse.QuestionnaireResponseItemComponent addItem()
-
addItem
public QuestionnaireResponse addItem(QuestionnaireResponse.QuestionnaireResponseItemComponent t)
-
getItemFirstRep
public QuestionnaireResponse.QuestionnaireResponseItemComponent getItemFirstRep()
- Returns:
- The first repetition of repeating field
item
, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public QuestionnaireResponse copy()
- Specified by:
copy
in classDomainResource
-
typedCopy
protected QuestionnaireResponse typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-