Package org.hl7.fhir

Class 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 Details

  • Constructor Details

    • CarePlanDetail

      public CarePlanDetail()
  • Method Details

    • 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 is CodeableConcept
    • 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 is CodeableConcept
    • getReasonCode

      public 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 Jakarta XML Binding 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

    • getReasonReference

      public 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 Jakarta XML Binding 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

    • getGoal

      public 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 Jakarta XML Binding 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

    • 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 is CarePlanActivityStatus
    • 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 is CodeableConcept
    • 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 is Boolean
    • 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 is Timing
    • 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 is Period
    • 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 is String
    • 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 is Reference
    • getPerformer

      public 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 Jakarta XML Binding 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

    • 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 is CodeableConcept
    • 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 is Reference
    • 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 is SimpleQuantity
    • 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 is SimpleQuantity
    • 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 is String
    • withCategory

      public CarePlanDetail withCategory(CodeableConcept value)
    • withCode

      public CarePlanDetail withCode(CodeableConcept value)
    • withReasonCode

      public CarePlanDetail withReasonCode(CodeableConcept... values)
    • withReasonCode

      public CarePlanDetail withReasonCode(Collection<CodeableConcept> values)
    • withReasonReference

      public CarePlanDetail withReasonReference(Reference... values)
    • withReasonReference

      public CarePlanDetail withReasonReference(Collection<Reference> values)
    • withGoal

      public CarePlanDetail withGoal(Reference... values)
    • withGoal

      public CarePlanDetail withGoal(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(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:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public CarePlanDetail withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public CarePlanDetail withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public CarePlanDetail withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public CarePlanDetail withId(String value)
      Overrides:
      withId in class BackboneElement
    • 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:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement
    • setReasonCode

      public void setReasonCode(List<CodeableConcept> value)
    • setReasonReference

      public void setReasonReference(List<Reference> value)
    • setGoal

      public void setGoal(List<Reference> value)
    • setPerformer

      public void setPerformer(List<Reference> value)