Class 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
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>
-
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>supportFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description CarePlan() -
Method Summary
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, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
Constructor Details
-
CarePlan
public CarePlan()
-
-
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 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
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
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
CarePlanStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isCarePlanStatus
-
getContext
Gets the value of the context property.- Returns:
- possible object is
Reference
-
setContext
Sets the value of the context property.- Parameters:
value- allowed object isReference
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
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
Gets the value of the modified property.- Returns:
- possible object is
DateTime
-
setModified
Sets the value of the modified property.- Parameters:
value- allowed object isDateTime
-
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
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
-
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
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
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
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
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
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
Gets the value of the note property.- Returns:
- possible object is
Annotation
-
setNote
Sets the value of the note property.- Parameters:
value- allowed object isAnnotation
-
withIdentifier
-
withIdentifier
-
withSubject
-
withStatus
-
withContext
-
withPeriod
-
withAuthor
-
withAuthor
-
withModified
-
withCategory
-
withCategory
-
withDescription
-
withAddresses
-
withAddresses
-
withSupport
-
withSupport
-
withRelatedPlan
-
withRelatedPlan
-
withParticipant
-
withParticipant
-
withGoal
-
withGoal
-
withActivity
-
withActivity
-
withNote
-
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, 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
-