Class CarePlan
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected List<CarePlanActivity> protected List<CodeableConcept> protected Referenceprotected Stringprotected List<Identifier> protected DateTimeprotected Annotationprotected List<CarePlanParticipant> protected Periodprotected List<CarePlanRelatedPlan> protected CarePlanStatusprotected ReferenceFields 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 activity property.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 context property.Gets the value of the description property.getGoal()Gets the value of the goal property.Gets the value of the identifier property.Gets the value of the modified property.getNote()Gets the value of the note property.Gets the value of the participant property.Gets the value of the period property.Gets the value of the relatedPlan property.Gets the value of the status property.Gets the value of the subject property.Gets the value of the support property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetActivity(List<CarePlanActivity> value) voidsetAddresses(List<Reference> value) voidvoidsetCategory(List<CodeableConcept> value) voidsetContext(Reference value) Sets the value of the context property.voidsetDescription(String value) Sets the value of the description property.voidvoidsetIdentifier(List<Identifier> value) voidsetModified(DateTime value) Sets the value of the modified property.voidsetNote(Annotation value) Sets the value of the note property.voidsetParticipant(List<CarePlanParticipant> value) voidSets the value of the period property.voidsetRelatedPlan(List<CarePlanRelatedPlan> value) voidsetStatus(CarePlanStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetSupport(List<Reference> value) toString()withActivity(Collection<CarePlanActivity> values) withActivity(CarePlanActivity... values) withAddresses(Collection<Reference> values) withAddresses(Reference... values) withAuthor(Collection<Reference> values) withAuthor(Reference... values) withCategory(Collection<CodeableConcept> values) withCategory(CodeableConcept... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withContext(Reference value) withDescription(String value) withExtension(Collection<Extension> values) withExtension(Extension... values) withGoal(Collection<Reference> values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModified(DateTime value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Annotation value) withParticipant(Collection<CarePlanParticipant> values) withParticipant(CarePlanParticipant... values) withPeriod(Period value) withRelatedPlan(Collection<CarePlanRelatedPlan> values) withRelatedPlan(CarePlanRelatedPlan... values) withStatus(CarePlanStatus value) withSubject(Reference value) withSupport(Collection<Reference> values) withSupport(Reference... values) 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
-
status
-
context
-
period
-
author
-
modified
-
category
-
description
-
addresses
-
support
-
participant
-
goal
-
activity
-
note
-
-
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 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
-
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 Jakarta XML Binding 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 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
-
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 -
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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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, 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
-
setAuthor
-
setCategory
-
setAddresses
-
setSupport
-
setRelatedPlan
-
setParticipant
-
setGoal
-
setActivity
-