
Package org.hl7.fhir.dstu2.model
Class QuestionnaireResponse
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.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
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReferencePerson who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.protected DateTimeTypeThe date and/or time that this version of the questionnaire response was authored.protected ResourceThe 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.)protected ReferenceEncounter during which this set of questionnaire response were collected.protected EncounterThe actual object that is the target of the reference (Encounter during which this set of questionnaire response were collected.protected QuestionnaireResponse.GroupComponentA group of questions to a possibly similarly grouped set of questions in the questionnaire response.protected IdentifierA business identifier assigned to a particular completed (or partially completed) questionnaire.protected ReferenceIndicates the Questionnaire resource that defines the form for which answers are being provided.protected QuestionnaireThe actual object that is the target of the reference (Indicates the Questionnaire resource that defines the form for which answers are being provided.)protected ReferenceThe person who answered the questions about the subject.protected ResourceThe actual object that is the target of the reference (The person who answered the questions about the subject.)static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe lifecycle status of the questionnaire response as a whole.protected ReferenceThe subject of the questionnaire response.protected ResourceThe actual object that is the target of the reference (The subject of the questionnaire response.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getGroup()booleanbooleanbooleanbooleanbooleanhasGroup()booleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setAuthored(Date value) setAuthoredElement(DateTimeType value) setAuthorTarget(Resource value) setEncounter(Reference value) setEncounterTarget(Encounter value) setIdentifier(Identifier value) voidsetProperty(String name, Base value) setQuestionnaire(Reference value) setSourceTarget(Resource value) setSubject(Reference value) setSubjectTarget(Resource value) protected QuestionnaireResponseMethods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setTextMethods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
A business identifier assigned to a particular completed (or partially completed) questionnaire. -
questionnaire
Indicates the Questionnaire resource that defines the form for which answers are being provided. -
questionnaireTarget
The actual object that is the target of the reference (Indicates the Questionnaire resource that defines the form for which answers are being provided.) -
status
The lifecycle status of the questionnaire response as a whole. -
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
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.) -
author
Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system. -
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.) -
authored
The date and/or time that this version of the questionnaire response was authored. -
source
The person who answered the questions about the subject. -
sourceTarget
The actual object that is the target of the reference (The person who answered the questions about the subject.) -
encounter
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. -
encounterTarget
The actual object that is the target of the reference (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.) -
group
A group of questions to a possibly similarly grouped set of questions in the questionnaire response. -
SP_AUTHORED
- See Also:
-
SP_QUESTIONNAIRE
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_AUTHOR
- See Also:
-
SP_PATIENT
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_SOURCE
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
QuestionnaireResponse
public QuestionnaireResponse() -
QuestionnaireResponse
-
-
Method Details
-
getIdentifier
- Returns:
identifier(A business identifier assigned to a particular completed (or partially completed) questionnaire.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(A business identifier assigned to a particular completed (or partially completed) questionnaire.)
-
getQuestionnaire
- Returns:
questionnaire(Indicates the Questionnaire resource that defines the form for which answers are being provided.)
-
hasQuestionnaire
-
setQuestionnaire
- Parameters:
value-questionnaire(Indicates the Questionnaire resource that defines the form for which answers are being provided.)
-
getQuestionnaireTarget
- Returns:
questionnaireThe 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. (Indicates the Questionnaire resource that defines the form for which answers are being provided.)
-
setQuestionnaireTarget
- Parameters:
value-questionnaireThe 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. (Indicates the Questionnaire resource that defines the form for which answers are being provided.)
-
getStatusElement
- Returns:
status(The lifecycle status of the questionnaire response as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public QuestionnaireResponse setStatusElement(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> value) - Parameters:
value-status(The lifecycle status of the questionnaire response as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The lifecycle status of the questionnaire response as a whole.
-
setStatus
- Parameters:
value- The lifecycle status of the questionnaire response as a whole.
-
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
-
setSubject
- 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
- 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
- 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.)
-
getAuthor
- Returns:
author(Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
hasAuthor
-
setAuthor
- Parameters:
value-author(Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)
-
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
- 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.)
-
getAuthoredElement
- Returns:
authored(The date and/or time that this version of the questionnaire response was authored.). This is the underlying object with id, value and extensions. The accessor "getAuthored" gives direct access to the value
-
hasAuthoredElement
-
hasAuthored
-
setAuthoredElement
- Parameters:
value-authored(The date and/or time that this version of the questionnaire response was authored.). This is the underlying object with id, value and extensions. The accessor "getAuthored" gives direct access to the value
-
getAuthored
- Returns:
- The date and/or time that this version of the questionnaire response was authored.
-
setAuthored
- Parameters:
value- The date and/or time that this version of the questionnaire response was authored.
-
getSource
- Returns:
source(The person who answered the questions about the subject.)
-
hasSource
-
setSource
- Parameters:
value-source(The person who answered the questions about the subject.)
-
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
- 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.)
-
getEncounter
- Returns:
encounter(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.)
-
hasEncounter
-
setEncounter
- Parameters:
value-encounter(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.)
-
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. (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.)
-
setEncounterTarget
- 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. (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
- Returns:
group(A group of questions to a possibly similarly grouped set of questions in the questionnaire response.)
-
hasGroup
-
setGroup
- Parameters:
value-group(A group of questions to a possibly similarly grouped set of questions in the questionnaire response.)
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-