public class QuestionnaireResponse extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
QuestionnaireResponse.GroupComponent |
static class |
QuestionnaireResponse.QuestionAnswerComponent |
static class |
QuestionnaireResponse.QuestionComponent |
static class |
QuestionnaireResponse.QuestionnaireResponseStatus |
static class |
QuestionnaireResponse.QuestionnaireResponseStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author
Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.
|
protected DateTimeType |
authored
The date and/or time that this version of the questionnaire response was authored.
|
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.)
|
protected Reference |
encounter
Encounter during which this set of questionnaire response were collected.
|
protected Encounter |
encounterTarget
The actual object that is the target of the reference (Encounter during which this set of questionnaire response were collected.
|
protected QuestionnaireResponse.GroupComponent |
group
A group of questions to a possibly similarly grouped set of questions in the questionnaire response.
|
protected Identifier |
identifier
A business identifier assigned to a particular completed (or partially completed) questionnaire.
|
protected Reference |
questionnaire
Indicates the Questionnaire resource that defines the form for which answers are being provided.
|
protected Questionnaire |
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.)
|
protected Reference |
source
The person who answered the questions about the subject.
|
protected 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 |
static String |
SP_AUTHORED |
static String |
SP_ENCOUNTER |
static String |
SP_PATIENT |
static String |
SP_QUESTIONNAIRE |
static String |
SP_SOURCE |
static String |
SP_STATUS |
static String |
SP_SUBJECT |
protected Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> |
status
The lifecycle status of the questionnaire response as a whole.
|
protected Reference |
subject
The subject of the questionnaire response.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The subject of the questionnaire response.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
QuestionnaireResponse() |
QuestionnaireResponse(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Identifier identifier
protected Reference questionnaire
protected Questionnaire questionnaireTarget
protected Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status
protected Reference subject
protected Resource subjectTarget
protected Reference author
protected Resource authorTarget
protected DateTimeType authored
protected Resource sourceTarget
protected Reference encounter
protected Encounter encounterTarget
protected QuestionnaireResponse.GroupComponent group
public static final String SP_AUTHORED
public static final String SP_QUESTIONNAIRE
public static final String SP_SUBJECT
public static final String SP_AUTHOR
public static final String SP_PATIENT
public static final String SP_ENCOUNTER
public static final String SP_SOURCE
public static final String SP_STATUS
public QuestionnaireResponse()
public QuestionnaireResponse(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> status)
public Identifier getIdentifier()
identifier (A business identifier assigned to a particular completed (or partially completed) questionnaire.)public boolean hasIdentifier()
public QuestionnaireResponse setIdentifier(Identifier value)
value - identifier (A business identifier assigned to a particular completed (or partially completed) questionnaire.)public Reference getQuestionnaire()
questionnaire (Indicates the Questionnaire resource that defines the form for which answers are being provided.)public boolean hasQuestionnaire()
public QuestionnaireResponse setQuestionnaire(Reference value)
value - questionnaire (Indicates the Questionnaire resource that defines the form for which answers are being provided.)public Questionnaire getQuestionnaireTarget()
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.)public QuestionnaireResponse setQuestionnaireTarget(Questionnaire value)
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.)public Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public QuestionnaireResponse setStatusElement(Enumeration<QuestionnaireResponse.QuestionnaireResponseStatus> value)
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 valuepublic QuestionnaireResponse.QuestionnaireResponseStatus getStatus()
public QuestionnaireResponse setStatus(QuestionnaireResponse.QuestionnaireResponseStatus value)
value - The lifecycle status of the questionnaire response as a whole.public Reference getSubject()
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.)public boolean hasSubject()
public QuestionnaireResponse setSubject(Reference value)
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.)public Resource getSubjectTarget()
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.)public QuestionnaireResponse setSubjectTarget(Resource value)
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.)public Reference getAuthor()
author (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)public boolean hasAuthor()
public QuestionnaireResponse setAuthor(Reference value)
value - author (Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.)public Resource getAuthorTarget()
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.)public QuestionnaireResponse setAuthorTarget(Resource value)
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.)public DateTimeType getAuthoredElement()
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 valuepublic boolean hasAuthoredElement()
public boolean hasAuthored()
public QuestionnaireResponse setAuthoredElement(DateTimeType value)
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 valuepublic Date getAuthored()
public QuestionnaireResponse setAuthored(Date value)
value - The date and/or time that this version of the questionnaire response was authored.public Reference getSource()
source (The person who answered the questions about the subject.)public boolean hasSource()
public QuestionnaireResponse setSource(Reference value)
value - source (The person who answered the questions about the subject.)public Resource getSourceTarget()
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.)public QuestionnaireResponse setSourceTarget(Resource value)
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.)public Reference getEncounter()
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.)public boolean hasEncounter()
public QuestionnaireResponse setEncounter(Reference value)
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.)public Encounter getEncounterTarget()
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.)public QuestionnaireResponse setEncounterTarget(Encounter value)
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.)public QuestionnaireResponse.GroupComponent getGroup()
group (A group of questions to a possibly similarly grouped set of questions in the questionnaire response.)public boolean hasGroup()
public QuestionnaireResponse setGroup(QuestionnaireResponse.GroupComponent value)
value - group (A group of questions to a possibly similarly grouped set of questions in the questionnaire response.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic QuestionnaireResponse copy()
copy in class DomainResourceprotected QuestionnaireResponse typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.