Class CarePlanDetail
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.CarePlanDetail
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class CarePlanDetail extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcategoryprotected CodeableConceptcodeprotected SimpleQuantitydailyAmountprotected Stringdescriptionprotected java.util.List<Reference>goalprotected Referencelocationprotected java.util.List<Reference>performerprotected CodeableConceptproductCodeableConceptprotected ReferenceproductReferenceprotected Booleanprohibitedprotected SimpleQuantityquantityprotected java.util.List<CodeableConcept>reasonCodeprotected java.util.List<Reference>reasonReferenceprotected PeriodscheduledPeriodprotected StringscheduledStringprotected TimingscheduledTimingprotected CarePlanActivityStatusstatusprotected CodeableConceptstatusReason-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description CarePlanDetail()
-
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)CodeableConceptgetCategory()Gets the value of the category property.CodeableConceptgetCode()Gets the value of the code property.SimpleQuantitygetDailyAmount()Gets the value of the dailyAmount property.StringgetDescription()Gets the value of the description property.java.util.List<Reference>getGoal()Gets the value of the goal property.ReferencegetLocation()Gets the value of the location property.java.util.List<Reference>getPerformer()Gets the value of the performer property.CodeableConceptgetProductCodeableConcept()Gets the value of the productCodeableConcept property.ReferencegetProductReference()Gets the value of the productReference property.BooleangetProhibited()Gets the value of the prohibited property.SimpleQuantitygetQuantity()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.PeriodgetScheduledPeriod()Gets the value of the scheduledPeriod property.StringgetScheduledString()Gets the value of the scheduledString property.TiminggetScheduledTiming()Gets the value of the scheduledTiming property.CarePlanActivityStatusgetStatus()Gets the value of the status property.CodeableConceptgetStatusReason()Gets the value of the statusReason property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCategory(CodeableConcept value)Sets the value of the category property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetDailyAmount(SimpleQuantity value)Sets the value of the dailyAmount property.voidsetDescription(String value)Sets the value of the description property.voidsetLocation(Reference value)Sets the value of the location property.voidsetProductCodeableConcept(CodeableConcept value)Sets the value of the productCodeableConcept property.voidsetProductReference(Reference value)Sets the value of the productReference property.voidsetProhibited(Boolean value)Sets the value of the prohibited property.voidsetQuantity(SimpleQuantity value)Sets the value of the quantity property.voidsetScheduledPeriod(Period value)Sets the value of the scheduledPeriod property.voidsetScheduledString(String value)Sets the value of the scheduledString property.voidsetScheduledTiming(Timing value)Sets the value of the scheduledTiming property.voidsetStatus(CarePlanActivityStatus value)Sets the value of the status property.voidsetStatusReason(CodeableConcept value)Sets the value of the statusReason property.java.lang.StringtoString()CarePlanDetailwithCategory(CodeableConcept value)CarePlanDetailwithCode(CodeableConcept value)CarePlanDetailwithDailyAmount(SimpleQuantity value)CarePlanDetailwithDescription(String value)CarePlanDetailwithExtension(java.util.Collection<Extension> values)CarePlanDetailwithExtension(Extension... values)CarePlanDetailwithGoal(java.util.Collection<Reference> values)CarePlanDetailwithGoal(Reference... values)CarePlanDetailwithId(java.lang.String value)CarePlanDetailwithLocation(Reference value)CarePlanDetailwithModifierExtension(java.util.Collection<Extension> values)CarePlanDetailwithModifierExtension(Extension... values)CarePlanDetailwithPerformer(java.util.Collection<Reference> values)CarePlanDetailwithPerformer(Reference... values)CarePlanDetailwithProductCodeableConcept(CodeableConcept value)CarePlanDetailwithProductReference(Reference value)CarePlanDetailwithProhibited(Boolean value)CarePlanDetailwithQuantity(SimpleQuantity value)CarePlanDetailwithReasonCode(java.util.Collection<CodeableConcept> values)CarePlanDetailwithReasonCode(CodeableConcept... values)CarePlanDetailwithReasonReference(java.util.Collection<Reference> values)CarePlanDetailwithReasonReference(Reference... values)CarePlanDetailwithScheduledPeriod(Period value)CarePlanDetailwithScheduledString(String value)CarePlanDetailwithScheduledTiming(Timing value)CarePlanDetailwithStatus(CarePlanActivityStatus value)CarePlanDetailwithStatusReason(CodeableConcept value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
category
protected CodeableConcept category
-
code
protected CodeableConcept code
-
reasonCode
protected java.util.List<CodeableConcept> reasonCode
-
reasonReference
protected java.util.List<Reference> reasonReference
-
goal
protected java.util.List<Reference> goal
-
status
protected CarePlanActivityStatus status
-
statusReason
protected CodeableConcept statusReason
-
prohibited
protected Boolean prohibited
-
scheduledTiming
protected Timing scheduledTiming
-
scheduledPeriod
protected Period scheduledPeriod
-
scheduledString
protected String scheduledString
-
location
protected Reference location
-
performer
protected java.util.List<Reference> performer
-
productCodeableConcept
protected CodeableConcept productCodeableConcept
-
productReference
protected Reference productReference
-
dailyAmount
protected SimpleQuantity dailyAmount
-
quantity
protected SimpleQuantity quantity
-
description
protected String description
-
-
Method Detail
-
getCategory
public CodeableConcept getCategory()
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
public void setCategory(CodeableConcept value)
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getCode
public CodeableConcept getCode()
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
public void setCode(CodeableConcept value)
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
getReasonCode
public java.util.List<CodeableConcept> getReasonCode()
Gets the value of the reasonCode 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 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
-
getReasonReference
public java.util.List<Reference> getReasonReference()
Gets the value of the reasonReference 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 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
-
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
-
getStatus
public CarePlanActivityStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
CarePlanActivityStatus
-
setStatus
public void setStatus(CarePlanActivityStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isCarePlanActivityStatus
-
getStatusReason
public CodeableConcept getStatusReason()
Gets the value of the statusReason property.- Returns:
- possible object is
CodeableConcept
-
setStatusReason
public void setStatusReason(CodeableConcept value)
Sets the value of the statusReason property.- Parameters:
value- allowed object isCodeableConcept
-
getProhibited
public Boolean getProhibited()
Gets the value of the prohibited property.- Returns:
- possible object is
Boolean
-
setProhibited
public void setProhibited(Boolean value)
Sets the value of the prohibited property.- Parameters:
value- allowed object isBoolean
-
getScheduledTiming
public Timing getScheduledTiming()
Gets the value of the scheduledTiming property.- Returns:
- possible object is
Timing
-
setScheduledTiming
public void setScheduledTiming(Timing value)
Sets the value of the scheduledTiming property.- Parameters:
value- allowed object isTiming
-
getScheduledPeriod
public Period getScheduledPeriod()
Gets the value of the scheduledPeriod property.- Returns:
- possible object is
Period
-
setScheduledPeriod
public void setScheduledPeriod(Period value)
Sets the value of the scheduledPeriod property.- Parameters:
value- allowed object isPeriod
-
getScheduledString
public String getScheduledString()
Gets the value of the scheduledString property.- Returns:
- possible object is
String
-
setScheduledString
public void setScheduledString(String value)
Sets the value of the scheduledString property.- Parameters:
value- allowed object isString
-
getLocation
public Reference getLocation()
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
public void setLocation(Reference value)
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
getPerformer
public java.util.List<Reference> getPerformer()
Gets the value of the performer 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 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
-
getProductCodeableConcept
public CodeableConcept getProductCodeableConcept()
Gets the value of the productCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setProductCodeableConcept
public void setProductCodeableConcept(CodeableConcept value)
Sets the value of the productCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getProductReference
public Reference getProductReference()
Gets the value of the productReference property.- Returns:
- possible object is
Reference
-
setProductReference
public void setProductReference(Reference value)
Sets the value of the productReference property.- Parameters:
value- allowed object isReference
-
getDailyAmount
public SimpleQuantity getDailyAmount()
Gets the value of the dailyAmount property.- Returns:
- possible object is
SimpleQuantity
-
setDailyAmount
public void setDailyAmount(SimpleQuantity value)
Sets the value of the dailyAmount property.- Parameters:
value- allowed object isSimpleQuantity
-
getQuantity
public SimpleQuantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
public void setQuantity(SimpleQuantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
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
-
withCategory
public CarePlanDetail withCategory(CodeableConcept value)
-
withCode
public CarePlanDetail withCode(CodeableConcept value)
-
withReasonCode
public CarePlanDetail withReasonCode(CodeableConcept... values)
-
withReasonCode
public CarePlanDetail withReasonCode(java.util.Collection<CodeableConcept> values)
-
withReasonReference
public CarePlanDetail withReasonReference(Reference... values)
-
withReasonReference
public CarePlanDetail withReasonReference(java.util.Collection<Reference> values)
-
withGoal
public CarePlanDetail withGoal(Reference... values)
-
withGoal
public CarePlanDetail withGoal(java.util.Collection<Reference> values)
-
withStatus
public CarePlanDetail withStatus(CarePlanActivityStatus value)
-
withStatusReason
public CarePlanDetail withStatusReason(CodeableConcept value)
-
withProhibited
public CarePlanDetail withProhibited(Boolean value)
-
withScheduledTiming
public CarePlanDetail withScheduledTiming(Timing value)
-
withScheduledPeriod
public CarePlanDetail withScheduledPeriod(Period value)
-
withScheduledString
public CarePlanDetail withScheduledString(String value)
-
withLocation
public CarePlanDetail withLocation(Reference value)
-
withPerformer
public CarePlanDetail withPerformer(Reference... values)
-
withPerformer
public CarePlanDetail withPerformer(java.util.Collection<Reference> values)
-
withProductCodeableConcept
public CarePlanDetail withProductCodeableConcept(CodeableConcept value)
-
withProductReference
public CarePlanDetail withProductReference(Reference value)
-
withDailyAmount
public CarePlanDetail withDailyAmount(SimpleQuantity value)
-
withQuantity
public CarePlanDetail withQuantity(SimpleQuantity value)
-
withDescription
public CarePlanDetail withDescription(String value)
-
withModifierExtension
public CarePlanDetail withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public CarePlanDetail withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public CarePlanDetail withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public CarePlanDetail withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public CarePlanDetail withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
-