public class CarePlan extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for CarePlan complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CarePlan">
<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"/>
<element name="status" type="{http://hl7.org/fhir}CarePlanStatus"/>
<element name="context" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="modified" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="addresses" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="support" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="relatedPlan" type="{http://hl7.org/fhir}CarePlan.RelatedPlan" maxOccurs="unbounded" minOccurs="0"/>
<element name="participant" type="{http://hl7.org/fhir}CarePlan.Participant" maxOccurs="unbounded" minOccurs="0"/>
<element name="goal" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="activity" type="{http://hl7.org/fhir}CarePlan.Activity" maxOccurs="unbounded" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CarePlanActivity> |
activity |
protected java.util.List<Reference> |
addresses |
protected java.util.List<Reference> |
author |
protected java.util.List<CodeableConcept> |
category |
protected Reference |
context |
protected String |
description |
protected java.util.List<Reference> |
goal |
protected java.util.List<Identifier> |
identifier |
protected DateTime |
modified |
protected Annotation |
note |
protected java.util.List<CarePlanParticipant> |
participant |
protected Period |
period |
protected java.util.List<CarePlanRelatedPlan> |
relatedPlan |
protected CarePlanStatus |
status |
protected Reference |
subject |
protected java.util.List<Reference> |
support |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
CarePlan() |
| 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<CarePlanActivity> |
getActivity()
Gets the value of the activity property.
|
java.util.List<Reference> |
getAddresses()
Gets the value of the addresses property.
|
java.util.List<Reference> |
getAuthor()
Gets the value of the author property.
|
java.util.List<CodeableConcept> |
getCategory()
Gets the value of the category property.
|
Reference |
getContext()
Gets the value of the context property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Reference> |
getGoal()
Gets the value of the goal property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
DateTime |
getModified()
Gets the value of the modified property.
|
Annotation |
getNote()
Gets the value of the note property.
|
java.util.List<CarePlanParticipant> |
getParticipant()
Gets the value of the participant property.
|
Period |
getPeriod()
Gets the value of the period property.
|
java.util.List<CarePlanRelatedPlan> |
getRelatedPlan()
Gets the value of the relatedPlan property.
|
CarePlanStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
java.util.List<Reference> |
getSupport()
Gets the value of the support property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContext(Reference value)
Sets the value of the context property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setModified(DateTime value)
Sets the value of the modified property.
|
void |
setNote(Annotation value)
Sets the value of the note property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setStatus(CarePlanStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
CarePlan |
withActivity(CarePlanActivity... values) |
CarePlan |
withActivity(java.util.Collection<CarePlanActivity> values) |
CarePlan |
withAddresses(java.util.Collection<Reference> values) |
CarePlan |
withAddresses(Reference... values) |
CarePlan |
withAuthor(java.util.Collection<Reference> values) |
CarePlan |
withAuthor(Reference... values) |
CarePlan |
withCategory(CodeableConcept... values) |
CarePlan |
withCategory(java.util.Collection<CodeableConcept> values) |
CarePlan |
withContained(java.util.Collection<ResourceContainer> values) |
CarePlan |
withContained(ResourceContainer... values) |
CarePlan |
withContext(Reference value) |
CarePlan |
withDescription(String value) |
CarePlan |
withExtension(java.util.Collection<Extension> values) |
CarePlan |
withExtension(Extension... values) |
CarePlan |
withGoal(java.util.Collection<Reference> values) |
CarePlan |
withGoal(Reference... values) |
CarePlan |
withId(Id value) |
CarePlan |
withIdentifier(java.util.Collection<Identifier> values) |
CarePlan |
withIdentifier(Identifier... values) |
CarePlan |
withImplicitRules(Uri value) |
CarePlan |
withLanguage(Code value) |
CarePlan |
withMeta(Meta value) |
CarePlan |
withModified(DateTime value) |
CarePlan |
withModifierExtension(java.util.Collection<Extension> values) |
CarePlan |
withModifierExtension(Extension... values) |
CarePlan |
withNote(Annotation value) |
CarePlan |
withParticipant(CarePlanParticipant... values) |
CarePlan |
withParticipant(java.util.Collection<CarePlanParticipant> values) |
CarePlan |
withPeriod(Period value) |
CarePlan |
withRelatedPlan(CarePlanRelatedPlan... values) |
CarePlan |
withRelatedPlan(java.util.Collection<CarePlanRelatedPlan> values) |
CarePlan |
withStatus(CarePlanStatus value) |
CarePlan |
withSubject(Reference value) |
CarePlan |
withSupport(java.util.Collection<Reference> values) |
CarePlan |
withSupport(Reference... values) |
CarePlan |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Reference subject
protected CarePlanStatus status
protected Reference context
protected Period period
protected java.util.List<Reference> author
protected DateTime modified
protected java.util.List<CodeableConcept> category
protected String description
protected java.util.List<Reference> addresses
protected java.util.List<Reference> support
protected java.util.List<CarePlanRelatedPlan> relatedPlan
protected java.util.List<CarePlanParticipant> participant
protected java.util.List<Reference> goal
protected java.util.List<CarePlanActivity> activity
protected Annotation note
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 CarePlanStatus getStatus()
CarePlanStatuspublic void setStatus(CarePlanStatus value)
value - allowed object is
CarePlanStatuspublic Reference getContext()
Referencepublic void setContext(Reference value)
value - allowed object is
Referencepublic Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic java.util.List<Reference> getAuthor()
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 author property.
For example, to add a new item, do as follows:
getAuthor().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public DateTime getModified()
DateTimepublic void setModified(DateTime value)
value - allowed object is
DateTimepublic 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 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<Reference> getSupport()
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 support property.
For example, to add a new item, do as follows:
getSupport().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<CarePlanRelatedPlan> getRelatedPlan()
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 relatedPlan property.
For example, to add a new item, do as follows:
getRelatedPlan().add(newItem);
Objects of the following type(s) are allowed in the list
CarePlanRelatedPlan
public java.util.List<CarePlanParticipant> getParticipant()
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 participant property.
For example, to add a new item, do as follows:
getParticipant().add(newItem);
Objects of the following type(s) are allowed in the list
CarePlanParticipant
public java.util.List<Reference> getGoal()
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 goal property.
For example, to add a new item, do as follows:
getGoal().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<CarePlanActivity> getActivity()
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 activity property.
For example, to add a new item, do as follows:
getActivity().add(newItem);
Objects of the following type(s) are allowed in the list
CarePlanActivity
public Annotation getNote()
Annotationpublic void setNote(Annotation value)
value - allowed object is
Annotationpublic CarePlan withIdentifier(Identifier... values)
public CarePlan withIdentifier(java.util.Collection<Identifier> values)
public CarePlan withStatus(CarePlanStatus value)
public CarePlan withCategory(CodeableConcept... values)
public CarePlan withCategory(java.util.Collection<CodeableConcept> values)
public CarePlan withRelatedPlan(CarePlanRelatedPlan... values)
public CarePlan withRelatedPlan(java.util.Collection<CarePlanRelatedPlan> values)
public CarePlan withParticipant(CarePlanParticipant... values)
public CarePlan withParticipant(java.util.Collection<CarePlanParticipant> values)
public CarePlan withActivity(CarePlanActivity... values)
public CarePlan withActivity(java.util.Collection<CarePlanActivity> values)
public CarePlan withNote(Annotation value)
public CarePlan withText(Narrative value)
withText in class DomainResourcepublic CarePlan withContained(ResourceContainer... values)
withContained in class DomainResourcepublic CarePlan withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic CarePlan withExtension(Extension... values)
withExtension in class DomainResourcepublic CarePlan withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic CarePlan withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic CarePlan withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic CarePlan withId(Id value)
withId in class DomainResourcepublic CarePlan withMeta(Meta value)
withMeta in class DomainResourcepublic CarePlan withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic CarePlan 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