public class CarePlanDetail extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for CarePlan.Detail complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CarePlan.Detail">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="reasonCode" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="reasonReference" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="goal" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}CarePlanActivityStatus" minOccurs="0"/>
<element name="statusReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="prohibited" type="{http://hl7.org/fhir}boolean"/>
<choice minOccurs="0">
<element name="scheduledTiming" type="{http://hl7.org/fhir}Timing"/>
<element name="scheduledPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="scheduledString" type="{http://hl7.org/fhir}string"/>
</choice>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="performer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="productCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="productReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="dailyAmount" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
category |
protected CodeableConcept |
code |
protected SimpleQuantity |
dailyAmount |
protected String |
description |
protected java.util.List<Reference> |
goal |
protected Reference |
location |
protected java.util.List<Reference> |
performer |
protected CodeableConcept |
productCodeableConcept |
protected Reference |
productReference |
protected Boolean |
prohibited |
protected SimpleQuantity |
quantity |
protected java.util.List<CodeableConcept> |
reasonCode |
protected java.util.List<Reference> |
reasonReference |
protected Period |
scheduledPeriod |
protected String |
scheduledString |
protected Timing |
scheduledTiming |
protected CarePlanActivityStatus |
status |
protected CodeableConcept |
statusReason |
modifierExtension| Constructor and Description |
|---|
CarePlanDetail() |
| 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) |
CodeableConcept |
getCategory()
Gets the value of the category property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
SimpleQuantity |
getDailyAmount()
Gets the value of the dailyAmount property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Reference> |
getGoal()
Gets the value of the goal property.
|
Reference |
getLocation()
Gets the value of the location property.
|
java.util.List<Reference> |
getPerformer()
Gets the value of the performer property.
|
CodeableConcept |
getProductCodeableConcept()
Gets the value of the productCodeableConcept property.
|
Reference |
getProductReference()
Gets the value of the productReference property.
|
Boolean |
getProhibited()
Gets the value of the prohibited property.
|
SimpleQuantity |
getQuantity()
Gets the value of the quantity property.
|
java.util.List<CodeableConcept> |
getReasonCode()
Gets the value of the reasonCode property.
|
java.util.List<Reference> |
getReasonReference()
Gets the value of the reasonReference property.
|
Period |
getScheduledPeriod()
Gets the value of the scheduledPeriod property.
|
String |
getScheduledString()
Gets the value of the scheduledString property.
|
Timing |
getScheduledTiming()
Gets the value of the scheduledTiming property.
|
CarePlanActivityStatus |
getStatus()
Gets the value of the status property.
|
CodeableConcept |
getStatusReason()
Gets the value of the statusReason property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCategory(CodeableConcept value)
Sets the value of the category property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setDailyAmount(SimpleQuantity value)
Sets the value of the dailyAmount property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setProductCodeableConcept(CodeableConcept value)
Sets the value of the productCodeableConcept property.
|
void |
setProductReference(Reference value)
Sets the value of the productReference property.
|
void |
setProhibited(Boolean value)
Sets the value of the prohibited property.
|
void |
setQuantity(SimpleQuantity value)
Sets the value of the quantity property.
|
void |
setScheduledPeriod(Period value)
Sets the value of the scheduledPeriod property.
|
void |
setScheduledString(String value)
Sets the value of the scheduledString property.
|
void |
setScheduledTiming(Timing value)
Sets the value of the scheduledTiming property.
|
void |
setStatus(CarePlanActivityStatus value)
Sets the value of the status property.
|
void |
setStatusReason(CodeableConcept value)
Sets the value of the statusReason property.
|
java.lang.String |
toString() |
CarePlanDetail |
withCategory(CodeableConcept value) |
CarePlanDetail |
withCode(CodeableConcept value) |
CarePlanDetail |
withDailyAmount(SimpleQuantity value) |
CarePlanDetail |
withDescription(String value) |
CarePlanDetail |
withExtension(java.util.Collection<Extension> values) |
CarePlanDetail |
withExtension(Extension... values) |
CarePlanDetail |
withGoal(java.util.Collection<Reference> values) |
CarePlanDetail |
withGoal(Reference... values) |
CarePlanDetail |
withId(java.lang.String value) |
CarePlanDetail |
withLocation(Reference value) |
CarePlanDetail |
withModifierExtension(java.util.Collection<Extension> values) |
CarePlanDetail |
withModifierExtension(Extension... values) |
CarePlanDetail |
withPerformer(java.util.Collection<Reference> values) |
CarePlanDetail |
withPerformer(Reference... values) |
CarePlanDetail |
withProductCodeableConcept(CodeableConcept value) |
CarePlanDetail |
withProductReference(Reference value) |
CarePlanDetail |
withProhibited(Boolean value) |
CarePlanDetail |
withQuantity(SimpleQuantity value) |
CarePlanDetail |
withReasonCode(CodeableConcept... values) |
CarePlanDetail |
withReasonCode(java.util.Collection<CodeableConcept> values) |
CarePlanDetail |
withReasonReference(java.util.Collection<Reference> values) |
CarePlanDetail |
withReasonReference(Reference... values) |
CarePlanDetail |
withScheduledPeriod(Period value) |
CarePlanDetail |
withScheduledString(String value) |
CarePlanDetail |
withScheduledTiming(Timing value) |
CarePlanDetail |
withStatus(CarePlanActivityStatus value) |
CarePlanDetail |
withStatusReason(CodeableConcept value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept category
protected CodeableConcept code
protected java.util.List<CodeableConcept> reasonCode
protected java.util.List<Reference> reasonReference
protected java.util.List<Reference> goal
protected CarePlanActivityStatus status
protected CodeableConcept statusReason
protected Boolean prohibited
protected Timing scheduledTiming
protected Period scheduledPeriod
protected String scheduledString
protected Reference location
protected java.util.List<Reference> performer
protected CodeableConcept productCodeableConcept
protected Reference productReference
protected SimpleQuantity dailyAmount
protected SimpleQuantity quantity
protected String description
public CodeableConcept getCategory()
CodeableConceptpublic void setCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CodeableConcept> getReasonCode()
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 reasonCode property.
For example, to add a new item, do as follows:
getReasonCode().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Reference> getReasonReference()
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 reasonReference property.
For example, to add a new item, do as follows:
getReasonReference().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
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 CarePlanActivityStatus getStatus()
CarePlanActivityStatuspublic void setStatus(CarePlanActivityStatus value)
value - allowed object is
CarePlanActivityStatuspublic CodeableConcept getStatusReason()
CodeableConceptpublic void setStatusReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Boolean getProhibited()
Booleanpublic void setProhibited(Boolean value)
value - allowed object is
Booleanpublic Timing getScheduledTiming()
Timingpublic void setScheduledTiming(Timing value)
value - allowed object is
Timingpublic Period getScheduledPeriod()
Periodpublic void setScheduledPeriod(Period value)
value - allowed object is
Periodpublic String getScheduledString()
Stringpublic void setScheduledString(String value)
value - allowed object is
Stringpublic Reference getLocation()
Referencepublic void setLocation(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getPerformer()
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 performer property.
For example, to add a new item, do as follows:
getPerformer().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public CodeableConcept getProductCodeableConcept()
CodeableConceptpublic void setProductCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getProductReference()
Referencepublic void setProductReference(Reference value)
value - allowed object is
Referencepublic SimpleQuantity getDailyAmount()
SimpleQuantitypublic void setDailyAmount(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic SimpleQuantity getQuantity()
SimpleQuantitypublic void setQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic CarePlanDetail withCategory(CodeableConcept value)
public CarePlanDetail withCode(CodeableConcept value)
public CarePlanDetail withReasonCode(CodeableConcept... values)
public CarePlanDetail withReasonCode(java.util.Collection<CodeableConcept> values)
public CarePlanDetail withReasonReference(Reference... values)
public CarePlanDetail withReasonReference(java.util.Collection<Reference> values)
public CarePlanDetail withGoal(Reference... values)
public CarePlanDetail withGoal(java.util.Collection<Reference> values)
public CarePlanDetail withStatus(CarePlanActivityStatus value)
public CarePlanDetail withStatusReason(CodeableConcept value)
public CarePlanDetail withProhibited(Boolean value)
public CarePlanDetail withScheduledTiming(Timing value)
public CarePlanDetail withScheduledPeriod(Period value)
public CarePlanDetail withScheduledString(String value)
public CarePlanDetail withLocation(Reference value)
public CarePlanDetail withPerformer(Reference... values)
public CarePlanDetail withPerformer(java.util.Collection<Reference> values)
public CarePlanDetail withProductCodeableConcept(CodeableConcept value)
public CarePlanDetail withProductReference(Reference value)
public CarePlanDetail withDailyAmount(SimpleQuantity value)
public CarePlanDetail withQuantity(SimpleQuantity value)
public CarePlanDetail withDescription(String value)
public CarePlanDetail withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic CarePlanDetail withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic CarePlanDetail withExtension(Extension... values)
withExtension in class BackboneElementpublic CarePlanDetail withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic CarePlanDetail withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement