Class Goal
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Goal
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Goal extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Reference>addressesprotected Referenceauthorprotected java.util.List<CodeableConcept>categoryprotected Stringdescriptionprotected java.util.List<Identifier>identifierprotected java.util.List<Annotation>noteprotected java.util.List<GoalOutcome>outcomeprotected CodeableConceptpriorityprotected CodeableConceptstartCodeableConceptprotected DatestartDateprotected GoalStatusstatusprotected DatestatusDateprotected CodeableConceptstatusReasonprotected Referencesubjectprotected DatetargetDateprotected DurationtargetQuantity-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Goal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<Reference>getAddresses()Gets the value of the addresses property.ReferencegetAuthor()Gets the value of the author property.java.util.List<CodeableConcept>getCategory()Gets the value of the category property.StringgetDescription()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.CodeableConceptgetPriority()Gets the value of the priority property.CodeableConceptgetStartCodeableConcept()Gets the value of the startCodeableConcept property.DategetStartDate()Gets the value of the startDate property.GoalStatusgetStatus()Gets the value of the status property.DategetStatusDate()Gets the value of the statusDate property.CodeableConceptgetStatusReason()Gets the value of the statusReason property.ReferencegetSubject()Gets the value of the subject property.DategetTargetDate()Gets the value of the targetDate property.DurationgetTargetQuantity()Gets the value of the targetQuantity property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAuthor(Reference value)Sets the value of the author property.voidsetDescription(String value)Sets the value of the description property.voidsetPriority(CodeableConcept value)Sets the value of the priority property.voidsetStartCodeableConcept(CodeableConcept value)Sets the value of the startCodeableConcept property.voidsetStartDate(Date value)Sets the value of the startDate property.voidsetStatus(GoalStatus value)Sets the value of the status property.voidsetStatusDate(Date value)Sets the value of the statusDate property.voidsetStatusReason(CodeableConcept value)Sets the value of the statusReason property.voidsetSubject(Reference value)Sets the value of the subject property.voidsetTargetDate(Date value)Sets the value of the targetDate property.voidsetTargetQuantity(Duration value)Sets the value of the targetQuantity property.java.lang.StringtoString()GoalwithAddresses(java.util.Collection<Reference> values)GoalwithAddresses(Reference... values)GoalwithAuthor(Reference value)GoalwithCategory(java.util.Collection<CodeableConcept> values)GoalwithCategory(CodeableConcept... values)GoalwithContained(java.util.Collection<ResourceContainer> values)GoalwithContained(ResourceContainer... values)GoalwithDescription(String value)GoalwithExtension(java.util.Collection<Extension> values)GoalwithExtension(Extension... values)GoalwithId(Id value)GoalwithIdentifier(java.util.Collection<Identifier> values)GoalwithIdentifier(Identifier... values)GoalwithImplicitRules(Uri value)GoalwithLanguage(Code value)GoalwithMeta(Meta value)GoalwithModifierExtension(java.util.Collection<Extension> values)GoalwithModifierExtension(Extension... values)GoalwithNote(java.util.Collection<Annotation> values)GoalwithNote(Annotation... values)GoalwithOutcome(java.util.Collection<GoalOutcome> values)GoalwithOutcome(GoalOutcome... values)GoalwithPriority(CodeableConcept value)GoalwithStartCodeableConcept(CodeableConcept value)GoalwithStartDate(Date value)GoalwithStatus(GoalStatus value)GoalwithStatusDate(Date value)GoalwithStatusReason(CodeableConcept value)GoalwithSubject(Reference value)GoalwithTargetDate(Date value)GoalwithTargetQuantity(Duration value)GoalwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
subject
protected Reference subject
-
startDate
protected Date startDate
-
startCodeableConcept
protected CodeableConcept startCodeableConcept
-
targetDate
protected Date targetDate
-
targetQuantity
protected Duration targetQuantity
-
category
protected java.util.List<CodeableConcept> category
-
description
protected String description
-
status
protected GoalStatus status
-
statusDate
protected Date statusDate
-
statusReason
protected CodeableConcept statusReason
-
author
protected Reference author
-
priority
protected CodeableConcept priority
-
addresses
protected java.util.List<Reference> addresses
-
note
protected java.util.List<Annotation> note
-
outcome
protected java.util.List<GoalOutcome> outcome
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.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
setmethod 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
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getStartDate
public Date getStartDate()
Gets the value of the startDate property.- Returns:
- possible object is
Date
-
setStartDate
public void setStartDate(Date value)
Sets the value of the startDate property.- Parameters:
value- allowed object isDate
-
getStartCodeableConcept
public CodeableConcept getStartCodeableConcept()
Gets the value of the startCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setStartCodeableConcept
public void setStartCodeableConcept(CodeableConcept value)
Sets the value of the startCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getTargetDate
public Date getTargetDate()
Gets the value of the targetDate property.- Returns:
- possible object is
Date
-
setTargetDate
public void setTargetDate(Date value)
Sets the value of the targetDate property.- Parameters:
value- allowed object isDate
-
getTargetQuantity
public Duration getTargetQuantity()
Gets the value of the targetQuantity property.- Returns:
- possible object is
Duration
-
setTargetQuantity
public void setTargetQuantity(Duration value)
Sets the value of the targetQuantity property.- Parameters:
value- allowed object isDuration
-
getCategory
public java.util.List<CodeableConcept> getCategory()
Gets the value of the category property.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
setmethod 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
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getStatus
public GoalStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
GoalStatus
-
setStatus
public void setStatus(GoalStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isGoalStatus
-
getStatusDate
public Date getStatusDate()
Gets the value of the statusDate property.- Returns:
- possible object is
Date
-
setStatusDate
public void setStatusDate(Date value)
Sets the value of the statusDate property.- Parameters:
value- allowed object isDate
-
getStatusReason
public CodeableConcept getStatusReason()
Gets the value of the statusReason property.- Returns:
- possible object is
CodeableConcept
-
setStatusReason
public void setStatusReason(CodeableConcept value)
Sets the value of the statusReason property.- Parameters:
value- allowed object isCodeableConcept
-
getAuthor
public Reference getAuthor()
Gets the value of the author property.- Returns:
- possible object is
Reference
-
setAuthor
public void setAuthor(Reference value)
Sets the value of the author property.- Parameters:
value- allowed object isReference
-
getPriority
public CodeableConcept getPriority()
Gets the value of the priority property.- Returns:
- possible object is
CodeableConcept
-
setPriority
public void setPriority(CodeableConcept value)
Sets the value of the priority property.- Parameters:
value- allowed object isCodeableConcept
-
getAddresses
public java.util.List<Reference> getAddresses()
Gets the value of the addresses property.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
setmethod 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
-
getNote
public java.util.List<Annotation> getNote()
Gets the value of the note property.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
setmethod 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
-
getOutcome
public java.util.List<GoalOutcome> getOutcome()
Gets the value of the outcome property.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
setmethod 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
-
withIdentifier
public Goal withIdentifier(Identifier... values)
-
withIdentifier
public Goal withIdentifier(java.util.Collection<Identifier> values)
-
withStartCodeableConcept
public Goal withStartCodeableConcept(CodeableConcept value)
-
withCategory
public Goal withCategory(CodeableConcept... values)
-
withCategory
public Goal withCategory(java.util.Collection<CodeableConcept> values)
-
withStatus
public Goal withStatus(GoalStatus value)
-
withStatusReason
public Goal withStatusReason(CodeableConcept value)
-
withPriority
public Goal withPriority(CodeableConcept value)
-
withNote
public Goal withNote(Annotation... values)
-
withNote
public Goal withNote(java.util.Collection<Annotation> values)
-
withOutcome
public Goal withOutcome(GoalOutcome... values)
-
withOutcome
public Goal withOutcome(java.util.Collection<GoalOutcome> values)
-
withText
public Goal withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Goal withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Goal withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Goal withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Goal withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Goal withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Goal withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Goal withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Goal withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Goal withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Goal withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-