public class QuestionnaireResponse extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for QuestionnaireResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QuestionnaireResponse">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="questionnaire" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}QuestionnaireResponseStatus"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="authored" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="item" type="{http://hl7.org/fhir}QuestionnaireResponse.Item" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected DateTime |
authored |
protected Reference |
encounter |
protected Identifier |
identifier |
protected java.util.List<QuestionnaireResponseItem> |
item |
protected Reference |
questionnaire |
protected Reference |
source |
protected QuestionnaireResponseStatus |
status |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
QuestionnaireResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Reference |
getAuthor()
Gets the value of the author property.
|
DateTime |
getAuthored()
Gets the value of the authored property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<QuestionnaireResponseItem> |
getItem()
Gets the value of the item property.
|
Reference |
getQuestionnaire()
Gets the value of the questionnaire property.
|
Reference |
getSource()
Gets the value of the source property.
|
QuestionnaireResponseStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthor(Reference value)
Sets the value of the author property.
|
void |
setAuthored(DateTime value)
Sets the value of the authored property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setQuestionnaire(Reference value)
Sets the value of the questionnaire property.
|
void |
setSource(Reference value)
Sets the value of the source property.
|
void |
setStatus(QuestionnaireResponseStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
QuestionnaireResponse |
withAuthor(Reference value) |
QuestionnaireResponse |
withAuthored(DateTime value) |
QuestionnaireResponse |
withContained(java.util.Collection<ResourceContainer> values) |
QuestionnaireResponse |
withContained(ResourceContainer... values) |
QuestionnaireResponse |
withEncounter(Reference value) |
QuestionnaireResponse |
withExtension(java.util.Collection<Extension> values) |
QuestionnaireResponse |
withExtension(Extension... values) |
QuestionnaireResponse |
withId(Id value) |
QuestionnaireResponse |
withIdentifier(Identifier value) |
QuestionnaireResponse |
withImplicitRules(Uri value) |
QuestionnaireResponse |
withItem(java.util.Collection<QuestionnaireResponseItem> values) |
QuestionnaireResponse |
withItem(QuestionnaireResponseItem... values) |
QuestionnaireResponse |
withLanguage(Code value) |
QuestionnaireResponse |
withMeta(Meta value) |
QuestionnaireResponse |
withModifierExtension(java.util.Collection<Extension> values) |
QuestionnaireResponse |
withModifierExtension(Extension... values) |
QuestionnaireResponse |
withQuestionnaire(Reference value) |
QuestionnaireResponse |
withSource(Reference value) |
QuestionnaireResponse |
withStatus(QuestionnaireResponseStatus value) |
QuestionnaireResponse |
withSubject(Reference value) |
QuestionnaireResponse |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier identifier
protected Reference questionnaire
protected QuestionnaireResponseStatus status
protected Reference subject
protected Reference author
protected DateTime authored
protected Reference source
protected Reference encounter
protected java.util.List<QuestionnaireResponseItem> item
public Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic Reference getQuestionnaire()
Referencepublic void setQuestionnaire(Reference value)
value - allowed object is
Referencepublic QuestionnaireResponseStatus getStatus()
QuestionnaireResponseStatuspublic void setStatus(QuestionnaireResponseStatus value)
value - allowed object is
QuestionnaireResponseStatuspublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic DateTime getAuthored()
DateTimepublic void setAuthored(DateTime value)
value - allowed object is
DateTimepublic Reference getSource()
Referencepublic void setSource(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic java.util.List<QuestionnaireResponseItem> getItem()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
QuestionnaireResponseItem
public QuestionnaireResponse withIdentifier(Identifier value)
public QuestionnaireResponse withQuestionnaire(Reference value)
public QuestionnaireResponse withStatus(QuestionnaireResponseStatus value)
public QuestionnaireResponse withSubject(Reference value)
public QuestionnaireResponse withAuthor(Reference value)
public QuestionnaireResponse withAuthored(DateTime value)
public QuestionnaireResponse withSource(Reference value)
public QuestionnaireResponse withEncounter(Reference value)
public QuestionnaireResponse withItem(QuestionnaireResponseItem... values)
public QuestionnaireResponse withItem(java.util.Collection<QuestionnaireResponseItem> values)
public QuestionnaireResponse withText(Narrative value)
withText in class DomainResourcepublic QuestionnaireResponse withContained(ResourceContainer... values)
withContained in class DomainResourcepublic QuestionnaireResponse withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic QuestionnaireResponse withExtension(Extension... values)
withExtension in class DomainResourcepublic QuestionnaireResponse withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic QuestionnaireResponse withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic QuestionnaireResponse withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic QuestionnaireResponse withId(Id value)
withId in class DomainResourcepublic QuestionnaireResponse withMeta(Meta value)
withMeta in class DomainResourcepublic QuestionnaireResponse withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic QuestionnaireResponse withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource