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
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.protected DateTimeType
The date and/or time that this version of the questionnaire response was authored.protected Resource
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.)protected Reference
Encounter during which this set of questionnaire response were collected.protected Encounter
The actual object that is the target of the reference (Encounter during which this set of questionnaire response were collected.protected QuestionnaireResponse.GroupComponent
A group of questions to a possibly similarly grouped set of questions in the questionnaire response.protected Identifier
A business identifier assigned to a particular completed (or partially completed) questionnaire.protected Reference
Indicates the Questionnaire resource that defines the form for which answers are being provided.protected Questionnaire
The actual object that is the target of the reference (Indicates the Questionnaire resource that defines the form for which answers are being provided.)protected Reference
The person who answered the questions about the subject.protected Resource
The actual object that is the target of the reference (The person who answered the questions about the subject.)static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The lifecycle status of the questionnaire response as a whole.protected Reference
The subject of the questionnaire response.protected Resource
The 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, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields 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_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getGroup()
boolean
boolean
boolean
boolean
boolean
hasGroup()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAuthored
(Date value) setAuthoredElement
(DateTimeType value) setAuthorTarget
(Resource value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setIdentifier
(Identifier value) void
setProperty
(String name, Base value) setQuestionnaire
(Reference value) setSourceTarget
(Resource value) setSubject
(Reference value) setSubjectTarget
(Resource value) protected QuestionnaireResponse
Methods 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, setText
Methods 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, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods 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, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods 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:
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. (Indicates the Questionnaire resource that defines the form for which answers are being provided.)
-
setQuestionnaireTarget
- 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. (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:
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
- 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.)
-
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:
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
- 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.)
-
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:
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
- 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.)
-
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:
encounter
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. (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
-encounter
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. (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:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-