Class CarePlan
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.CarePlan
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class CarePlan 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 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CarePlanActivity>activityprotected java.util.List<Reference>addressesprotected java.util.List<Reference>authorprotected java.util.List<CodeableConcept>categoryprotected Referencecontextprotected Stringdescriptionprotected java.util.List<Reference>goalprotected java.util.List<Identifier>identifierprotected DateTimemodifiedprotected Annotationnoteprotected java.util.List<CarePlanParticipant>participantprotected Periodperiodprotected java.util.List<CarePlanRelatedPlan>relatedPlanprotected CarePlanStatusstatusprotected Referencesubjectprotected java.util.List<Reference>support-
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 CarePlan()
-
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<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.ReferencegetContext()Gets the value of the context property.StringgetDescription()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.DateTimegetModified()Gets the value of the modified property.AnnotationgetNote()Gets the value of the note property.java.util.List<CarePlanParticipant>getParticipant()Gets the value of the participant property.PeriodgetPeriod()Gets the value of the period property.java.util.List<CarePlanRelatedPlan>getRelatedPlan()Gets the value of the relatedPlan property.CarePlanStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.java.util.List<Reference>getSupport()Gets the value of the support property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetContext(Reference value)Sets the value of the context property.voidsetDescription(String value)Sets the value of the description property.voidsetModified(DateTime value)Sets the value of the modified property.voidsetNote(Annotation value)Sets the value of the note property.voidsetPeriod(Period value)Sets the value of the period property.voidsetStatus(CarePlanStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()CarePlanwithActivity(java.util.Collection<CarePlanActivity> values)CarePlanwithActivity(CarePlanActivity... values)CarePlanwithAddresses(java.util.Collection<Reference> values)CarePlanwithAddresses(Reference... values)CarePlanwithAuthor(java.util.Collection<Reference> values)CarePlanwithAuthor(Reference... values)CarePlanwithCategory(java.util.Collection<CodeableConcept> values)CarePlanwithCategory(CodeableConcept... values)CarePlanwithContained(java.util.Collection<ResourceContainer> values)CarePlanwithContained(ResourceContainer... values)CarePlanwithContext(Reference value)CarePlanwithDescription(String value)CarePlanwithExtension(java.util.Collection<Extension> values)CarePlanwithExtension(Extension... values)CarePlanwithGoal(java.util.Collection<Reference> values)CarePlanwithGoal(Reference... values)CarePlanwithId(Id value)CarePlanwithIdentifier(java.util.Collection<Identifier> values)CarePlanwithIdentifier(Identifier... values)CarePlanwithImplicitRules(Uri value)CarePlanwithLanguage(Code value)CarePlanwithMeta(Meta value)CarePlanwithModified(DateTime value)CarePlanwithModifierExtension(java.util.Collection<Extension> values)CarePlanwithModifierExtension(Extension... values)CarePlanwithNote(Annotation value)CarePlanwithParticipant(java.util.Collection<CarePlanParticipant> values)CarePlanwithParticipant(CarePlanParticipant... values)CarePlanwithPeriod(Period value)CarePlanwithRelatedPlan(java.util.Collection<CarePlanRelatedPlan> values)CarePlanwithRelatedPlan(CarePlanRelatedPlan... values)CarePlanwithStatus(CarePlanStatus value)CarePlanwithSubject(Reference value)CarePlanwithSupport(java.util.Collection<Reference> values)CarePlanwithSupport(Reference... values)CarePlanwithText(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
-
status
protected CarePlanStatus status
-
context
protected Reference context
-
period
protected Period period
-
author
protected java.util.List<Reference> author
-
modified
protected DateTime modified
-
category
protected java.util.List<CodeableConcept> category
-
description
protected String description
-
addresses
protected java.util.List<Reference> addresses
-
support
protected java.util.List<Reference> support
-
relatedPlan
protected java.util.List<CarePlanRelatedPlan> relatedPlan
-
participant
protected java.util.List<CarePlanParticipant> participant
-
goal
protected java.util.List<Reference> goal
-
activity
protected java.util.List<CarePlanActivity> activity
-
note
protected Annotation note
-
-
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
-
getStatus
public CarePlanStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
CarePlanStatus
-
setStatus
public void setStatus(CarePlanStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isCarePlanStatus
-
getContext
public Reference getContext()
Gets the value of the context property.- Returns:
- possible object is
Reference
-
setContext
public void setContext(Reference value)
Sets the value of the context property.- Parameters:
value- allowed object isReference
-
getPeriod
public Period getPeriod()
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
public void setPeriod(Period value)
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
getAuthor
public java.util.List<Reference> getAuthor()
Gets the value of the author 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 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
-
getModified
public DateTime getModified()
Gets the value of the modified property.- Returns:
- possible object is
DateTime
-
setModified
public void setModified(DateTime value)
Sets the value of the modified property.- Parameters:
value- allowed object isDateTime
-
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
-
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
-
getSupport
public java.util.List<Reference> getSupport()
Gets the value of the support 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 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
-
getRelatedPlan
public java.util.List<CarePlanRelatedPlan> getRelatedPlan()
Gets the value of the relatedPlan 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 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
-
getParticipant
public java.util.List<CarePlanParticipant> getParticipant()
Gets the value of the participant 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 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
-
getGoal
public java.util.List<Reference> getGoal()
Gets the value of the goal 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 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
-
getActivity
public java.util.List<CarePlanActivity> getActivity()
Gets the value of the activity 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 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
-
getNote
public Annotation getNote()
Gets the value of the note property.- Returns:
- possible object is
Annotation
-
setNote
public void setNote(Annotation value)
Sets the value of the note property.- Parameters:
value- allowed object isAnnotation
-
withIdentifier
public CarePlan withIdentifier(Identifier... values)
-
withIdentifier
public CarePlan withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public CarePlan withStatus(CarePlanStatus value)
-
withCategory
public CarePlan withCategory(CodeableConcept... values)
-
withCategory
public CarePlan withCategory(java.util.Collection<CodeableConcept> values)
-
withRelatedPlan
public CarePlan withRelatedPlan(CarePlanRelatedPlan... values)
-
withRelatedPlan
public CarePlan withRelatedPlan(java.util.Collection<CarePlanRelatedPlan> values)
-
withParticipant
public CarePlan withParticipant(CarePlanParticipant... values)
-
withParticipant
public CarePlan withParticipant(java.util.Collection<CarePlanParticipant> values)
-
withActivity
public CarePlan withActivity(CarePlanActivity... values)
-
withActivity
public CarePlan withActivity(java.util.Collection<CarePlanActivity> values)
-
withNote
public CarePlan withNote(Annotation value)
-
withText
public CarePlan withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public CarePlan withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public CarePlan withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public CarePlan withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public CarePlan withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public CarePlan withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public CarePlan withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public CarePlan withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public CarePlan withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public CarePlan withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public CarePlan 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
-
-