public class Goal extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Goal complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Goal">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<choice minOccurs="0">
<element name="startDate" type="{http://hl7.org/fhir}date"/>
<element name="startCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
</choice>
<choice minOccurs="0">
<element name="targetDate" type="{http://hl7.org/fhir}date"/>
<element name="targetQuantity" type="{http://hl7.org/fhir}Duration"/>
</choice>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string"/>
<element name="status" type="{http://hl7.org/fhir}GoalStatus"/>
<element name="statusDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="statusReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="addresses" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="outcome" type="{http://hl7.org/fhir}Goal.Outcome" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Reference> |
addresses |
protected Reference |
author |
protected java.util.List<CodeableConcept> |
category |
protected String |
description |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<Annotation> |
note |
protected java.util.List<GoalOutcome> |
outcome |
protected CodeableConcept |
priority |
protected CodeableConcept |
startCodeableConcept |
protected Date |
startDate |
protected GoalStatus |
status |
protected Date |
statusDate |
protected CodeableConcept |
statusReason |
protected Reference |
subject |
protected Date |
targetDate |
protected Duration |
targetQuantity |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Goal() |
| 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) |
java.util.List<Reference> |
getAddresses()
Gets the value of the addresses property.
|
Reference |
getAuthor()
Gets the value of the author property.
|
java.util.List<CodeableConcept> |
getCategory()
Gets the value of the category property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
java.util.List<GoalOutcome> |
getOutcome()
Gets the value of the outcome property.
|
CodeableConcept |
getPriority()
Gets the value of the priority property.
|
CodeableConcept |
getStartCodeableConcept()
Gets the value of the startCodeableConcept property.
|
Date |
getStartDate()
Gets the value of the startDate property.
|
GoalStatus |
getStatus()
Gets the value of the status property.
|
Date |
getStatusDate()
Gets the value of the statusDate property.
|
CodeableConcept |
getStatusReason()
Gets the value of the statusReason property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
Date |
getTargetDate()
Gets the value of the targetDate property.
|
Duration |
getTargetQuantity()
Gets the value of the targetQuantity 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 |
setDescription(String value)
Sets the value of the description property.
|
void |
setPriority(CodeableConcept value)
Sets the value of the priority property.
|
void |
setStartCodeableConcept(CodeableConcept value)
Sets the value of the startCodeableConcept property.
|
void |
setStartDate(Date value)
Sets the value of the startDate property.
|
void |
setStatus(GoalStatus value)
Sets the value of the status property.
|
void |
setStatusDate(Date value)
Sets the value of the statusDate property.
|
void |
setStatusReason(CodeableConcept value)
Sets the value of the statusReason property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setTargetDate(Date value)
Sets the value of the targetDate property.
|
void |
setTargetQuantity(Duration value)
Sets the value of the targetQuantity property.
|
java.lang.String |
toString() |
Goal |
withAddresses(java.util.Collection<Reference> values) |
Goal |
withAddresses(Reference... values) |
Goal |
withAuthor(Reference value) |
Goal |
withCategory(CodeableConcept... values) |
Goal |
withCategory(java.util.Collection<CodeableConcept> values) |
Goal |
withContained(java.util.Collection<ResourceContainer> values) |
Goal |
withContained(ResourceContainer... values) |
Goal |
withDescription(String value) |
Goal |
withExtension(java.util.Collection<Extension> values) |
Goal |
withExtension(Extension... values) |
Goal |
withId(Id value) |
Goal |
withIdentifier(java.util.Collection<Identifier> values) |
Goal |
withIdentifier(Identifier... values) |
Goal |
withImplicitRules(Uri value) |
Goal |
withLanguage(Code value) |
Goal |
withMeta(Meta value) |
Goal |
withModifierExtension(java.util.Collection<Extension> values) |
Goal |
withModifierExtension(Extension... values) |
Goal |
withNote(Annotation... values) |
Goal |
withNote(java.util.Collection<Annotation> values) |
Goal |
withOutcome(java.util.Collection<GoalOutcome> values) |
Goal |
withOutcome(GoalOutcome... values) |
Goal |
withPriority(CodeableConcept value) |
Goal |
withStartCodeableConcept(CodeableConcept value) |
Goal |
withStartDate(Date value) |
Goal |
withStatus(GoalStatus value) |
Goal |
withStatusDate(Date value) |
Goal |
withStatusReason(CodeableConcept value) |
Goal |
withSubject(Reference value) |
Goal |
withTargetDate(Date value) |
Goal |
withTargetQuantity(Duration value) |
Goal |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Reference subject
protected Date startDate
protected CodeableConcept startCodeableConcept
protected Date targetDate
protected Duration targetQuantity
protected java.util.List<CodeableConcept> category
protected String description
protected GoalStatus status
protected Date statusDate
protected CodeableConcept statusReason
protected Reference author
protected CodeableConcept priority
protected java.util.List<Reference> addresses
protected java.util.List<Annotation> note
protected java.util.List<GoalOutcome> outcome
public java.util.List<Identifier> getIdentifier()
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 identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Date getStartDate()
Datepublic void setStartDate(Date value)
value - allowed object is
Datepublic CodeableConcept getStartCodeableConcept()
CodeableConceptpublic void setStartCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Date getTargetDate()
Datepublic void setTargetDate(Date value)
value - allowed object is
Datepublic Duration getTargetQuantity()
Durationpublic void setTargetQuantity(Duration value)
value - allowed object is
Durationpublic java.util.List<CodeableConcept> getCategory()
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 category property.
For example, to add a new item, do as follows:
getCategory().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic GoalStatus getStatus()
GoalStatuspublic void setStatus(GoalStatus value)
value - allowed object is
GoalStatuspublic Date getStatusDate()
Datepublic void setStatusDate(Date value)
value - allowed object is
Datepublic CodeableConcept getStatusReason()
CodeableConceptpublic void setStatusReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic CodeableConcept getPriority()
CodeableConceptpublic void setPriority(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getAddresses()
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 addresses property.
For example, to add a new item, do as follows:
getAddresses().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<Annotation> getNote()
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 note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public java.util.List<GoalOutcome> getOutcome()
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 outcome property.
For example, to add a new item, do as follows:
getOutcome().add(newItem);
Objects of the following type(s) are allowed in the list
GoalOutcome
public Goal withIdentifier(Identifier... values)
public Goal withIdentifier(java.util.Collection<Identifier> values)
public Goal withStartCodeableConcept(CodeableConcept value)
public Goal withCategory(CodeableConcept... values)
public Goal withCategory(java.util.Collection<CodeableConcept> values)
public Goal withStatus(GoalStatus value)
public Goal withStatusReason(CodeableConcept value)
public Goal withPriority(CodeableConcept value)
public Goal withNote(Annotation... values)
public Goal withNote(java.util.Collection<Annotation> values)
public Goal withOutcome(GoalOutcome... values)
public Goal withOutcome(java.util.Collection<GoalOutcome> values)
public Goal withText(Narrative value)
withText in class DomainResourcepublic Goal withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Goal withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Goal withExtension(Extension... values)
withExtension in class DomainResourcepublic Goal withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Goal withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Goal withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Goal withId(Id value)
withId in class DomainResourcepublic Goal withMeta(Meta value)
withMeta in class DomainResourcepublic Goal withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Goal 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