Class QuestionnaireResponse
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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 classQuestionnaireResponse.QuestionnaireResponseItemAnswerComponentstatic classQuestionnaireResponse.QuestionnaireResponseItemComponentstatic classQuestionnaireResponse.QuestionnaireResponseStatusstatic classQuestionnaireResponse.QuestionnaireResponseStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceauthorPerson who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.static ca.uhn.fhir.rest.gclient.ReferenceClientParamAUTHORFluent Client search parameter constant for authorprotected DateTimeTypeauthoredThe date and/or time that this set of answers were last changed.static ca.uhn.fhir.rest.gclient.DateClientParamAUTHOREDFluent Client search parameter constant for authoredprotected ResourceauthorTargetThe 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.ReferenceClientParamBASED_ONFluent Client search parameter constant for based-onprotected List<Reference>basedOnThe order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.protected List<Resource>basedOnTargetThe 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 ReferenceencounterThe Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterprotected EncounterencounterTargetThe actual object that is the target of the reference (The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.)protected IdentifieridentifierA business identifier assigned to a particular completed (or partially completed) questionnaire.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_AUTHORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_BASED_ONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PART_OFConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_QUESTIONNAIREConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SOURCEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent>itemA group or question item from the original questionnaire for which answers are provided.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPART_OFFluent Client search parameter constant for part-ofprotected List<Reference>partOfA procedure or observation that this questionnaire was performed as part of the execution of.protected List<Resource>partOfTargetThe 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.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected CanonicalTypequestionnaireThe Questionnaire that defines and organizes the questions for which answers are being provided.static ca.uhn.fhir.rest.gclient.ReferenceClientParamQUESTIONNAIREFluent Client search parameter constant for questionnaireprotected ReferencesourceThe person who answered the questions about the subject.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSOURCEFluent Client search parameter constant for sourceprotected ResourcesourceTargetThe actual object that is the target of the reference (The person who answered the questions about the subject.)static StringSP_AUTHORSearch parameter: authorstatic StringSP_AUTHOREDSearch parameter: authoredstatic StringSP_BASED_ONSearch parameter: based-onstatic StringSP_ENCOUNTERSearch parameter: encounterstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_PART_OFSearch parameter: part-ofstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_QUESTIONNAIRESearch parameter: questionnairestatic StringSP_SOURCESearch parameter: sourcestatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectprotected Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus>statusThe position of the questionnaire response within its overall lifecycle.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected ReferencesubjectThe subject of the questionnaire response.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected ResourcesubjectTargetThe actual object that is the target of the reference (The subject of the questionnaire response.-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.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.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, 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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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 ServiceRequest 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 ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.)
-
partOf
protected List<Reference> partOf
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.
-
partOfTarget
protected List<Resource> partOfTarget
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 CanonicalType questionnaire
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.)
-
encounter
protected Reference encounter
The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.
-
encounterTarget
protected Encounter encounterTarget
The actual object that is the target of the reference (The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.)
-
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_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_PART_OF
public static final String SP_PART_OF
Search parameter: part-ofDescription: Procedure or observation this questionnaire response was performed as a part of
Type: reference
Path: QuestionnaireResponse.partOf
- See Also:
- Constant Field Values
-
PART_OF
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF
Fluent Client search parameter constant for part-ofDescription: Procedure or observation this questionnaire response was performed as a part of
Type: reference
Path: QuestionnaireResponse.partOf
-
INCLUDE_PART_OF
public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:part-of".
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter: encounterDescription: Encounter associated with the questionnaire response
Type: reference
Path: QuestionnaireResponse.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Encounter associated with the questionnaire response
Type: reference
Path: QuestionnaireResponse.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:encounter".
-
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 ServiceRequest 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
thisfor 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
-
getPartOf
public List<Reference> getPartOf()
- Returns:
partOf(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.)
-
setPartOf
public QuestionnaireResponse setPartOf(List<Reference> thePartOf)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPartOf
public boolean hasPartOf()
-
addPartOf
public QuestionnaireResponse addPartOf(Reference t)
-
getPartOfFirstRep
public Reference getPartOfFirstRep()
- Returns:
- The first repetition of repeating field
partOf, creating it if it does not already exist
-
getPartOfTarget
@Deprecated public List<Resource> getPartOfTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getQuestionnaireElement
public CanonicalType getQuestionnaireElement()
- Returns:
questionnaire(The Questionnaire that defines and organizes the questions for which answers are being provided.). This is the underlying object with id, value and extensions. The accessor "getQuestionnaire" gives direct access to the value
-
hasQuestionnaireElement
public boolean hasQuestionnaireElement()
-
hasQuestionnaire
public boolean hasQuestionnaire()
-
setQuestionnaireElement
public QuestionnaireResponse setQuestionnaireElement(CanonicalType value)
- Parameters:
value-questionnaire(The Questionnaire that defines and organizes the questions for which answers are being provided.). This is the underlying object with id, value and extensions. The accessor "getQuestionnaire" gives direct access to the value
-
getQuestionnaire
public String getQuestionnaire()
- Returns:
- The Questionnaire that defines and organizes the questions for which answers are being provided.
-
setQuestionnaire
public QuestionnaireResponse setQuestionnaire(String value)
- Parameters:
value- 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:
subjectThe 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-subjectThe 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.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public QuestionnaireResponse setEncounter(Reference value)
- Parameters:
value-encounter(The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe 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 during which this questionnaire response was created or to which the creation of this record is tightly associated.)
-
setEncounterTarget
public QuestionnaireResponse setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe 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 during which this questionnaire response was created or to which the creation of this record is tightly associated.)
-
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:
authorThe 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-authorThe 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:
sourceThe 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-sourceThe 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
thisfor 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public QuestionnaireResponse copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(QuestionnaireResponse dst)
-
typedCopy
protected QuestionnaireResponse typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-