Class Goal
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected List<CodeableConcept> protected Stringprotected List<Identifier> protected List<Annotation> protected List<GoalOutcome> protected CodeableConceptprotected CodeableConceptprotected Dateprotected GoalStatusprotected Dateprotected CodeableConceptprotected Referenceprotected Dateprotected DurationFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the addresses property.Gets the value of the author property.Gets the value of the category property.Gets the value of the description property.Gets the value of the identifier property.getNote()Gets the value of the note property.Gets the value of the outcome property.Gets the value of the priority property.Gets the value of the startCodeableConcept property.Gets the value of the startDate property.Gets the value of the status property.Gets the value of the statusDate property.Gets the value of the statusReason property.Gets the value of the subject property.Gets the value of the targetDate property.Gets the value of the targetQuantity property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAddresses(List<Reference> value) voidSets the value of the author property.voidsetCategory(List<CodeableConcept> value) voidsetDescription(String value) Sets the value of the description property.voidsetIdentifier(List<Identifier> value) voidsetNote(List<Annotation> value) voidsetOutcome(List<GoalOutcome> value) voidsetPriority(CodeableConcept value) Sets the value of the priority property.voidSets 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.toString()withAddresses(Collection<Reference> values) withAddresses(Reference... values) withAuthor(Reference value) withCategory(Collection<CodeableConcept> values) withCategory(CodeableConcept... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDescription(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withOutcome(Collection<GoalOutcome> values) withOutcome(GoalOutcome... values) withPriority(CodeableConcept value) withStartDate(Date value) withStatus(GoalStatus value) withStatusDate(Date value) withStatusReason(CodeableConcept value) withSubject(Reference value) withTargetDate(Date value) withTargetQuantity(Duration value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
subject
-
startDate
-
startCodeableConcept
-
targetDate
-
targetQuantity
-
category
-
description
-
status
-
statusDate
-
statusReason
-
author
-
priority
-
addresses
-
note
-
outcome
-
-
Constructor Details
-
Goal
public Goal()
-
-
Method Details
-
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 Jakarta XML Binding 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
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getStartDate
Gets the value of the startDate property.- Returns:
- possible object is
Date
-
setStartDate
Sets the value of the startDate property.- Parameters:
value- allowed object isDate
-
getStartCodeableConcept
Gets the value of the startCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setStartCodeableConcept
Sets the value of the startCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getTargetDate
Gets the value of the targetDate property.- Returns:
- possible object is
Date
-
setTargetDate
Sets the value of the targetDate property.- Parameters:
value- allowed object isDate
-
getTargetQuantity
Gets the value of the targetQuantity property.- Returns:
- possible object is
Duration
-
setTargetQuantity
Sets the value of the targetQuantity property.- Parameters:
value- allowed object isDuration
-
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 Jakarta XML Binding 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
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
GoalStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isGoalStatus
-
getStatusDate
Gets the value of the statusDate property.- Returns:
- possible object is
Date
-
setStatusDate
Sets the value of the statusDate property.- Parameters:
value- allowed object isDate
-
getStatusReason
Gets the value of the statusReason property.- Returns:
- possible object is
CodeableConcept
-
setStatusReason
Sets the value of the statusReason property.- Parameters:
value- allowed object isCodeableConcept
-
getAuthor
Gets the value of the author property.- Returns:
- possible object is
Reference
-
setAuthor
Sets the value of the author property.- Parameters:
value- allowed object isReference
-
getPriority
Gets the value of the priority property.- Returns:
- possible object is
CodeableConcept
-
setPriority
Sets the value of the priority property.- Parameters:
value- allowed object isCodeableConcept
-
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 Jakarta XML Binding 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
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 Jakarta XML Binding 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
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 Jakarta XML Binding 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
-
withIdentifier
-
withSubject
-
withStartDate
-
withStartCodeableConcept
-
withTargetDate
-
withTargetQuantity
-
withCategory
-
withCategory
-
withDescription
-
withStatus
-
withStatusDate
-
withStatusReason
-
withAuthor
-
withPriority
-
withAddresses
-
withAddresses
-
withNote
-
withNote
-
withOutcome
-
withOutcome
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- 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
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setCategory
-
setAddresses
-
setNote
-
setOutcome
-