Class CarePlan.ActivityDetail
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
CarePlan
Definition: A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddGoal()
Adds and returns a new value for goal ()Adds and returns a new value for performer ()Adds and returns a new value for reasonCode ()addReasonCode
(CodeableConceptDt theValue) Adds a given new value for reasonCode ()Adds and returns a new value for reasonReference ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for category ().getCode()
Gets the value(s) for code ().Gets the value(s) for dailyAmount ().Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().getGoal()
Gets the value(s) for goal ().Gets the value(s) for location ().Gets the value(s) for performer ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for product[x] ().Gets the value(s) for prohibited ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for prohibited ().Gets the value(s) for quantity ().Gets the value(s) for reasonCode ().Gets the first repetition for reasonCode (), creating it if it does not already exist.Gets the value(s) for reasonReference ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for scheduled[x] ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<CarePlanActivityStatusEnum> Gets the value(s) for status ().Gets the value(s) for statusReason ().boolean
isEmpty()
setCategory
(CodeableConceptDt theValue) Sets the value(s) for category ()setCode
(CodeableConceptDt theValue) Sets the value(s) for code ()setDailyAmount
(SimpleQuantityDt theValue) Sets the value(s) for dailyAmount ()setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setGoal
(List<ResourceReferenceDt> theValue) Sets the value(s) for goal ()setLocation
(ResourceReferenceDt theValue) Sets the value(s) for location ()setPerformer
(List<ResourceReferenceDt> theValue) Sets the value(s) for performer ()setProduct
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for product[x] ()setProhibited
(boolean theBoolean) Sets the value for prohibited ()setProhibited
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for prohibited ()setQuantity
(SimpleQuantityDt theValue) Sets the value(s) for quantity ()setReasonCode
(List<CodeableConceptDt> theValue) Sets the value(s) for reasonCode ()setReasonReference
(List<ResourceReferenceDt> theValue) Sets the value(s) for reasonReference ()setScheduled
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for scheduled[x] ()setStatus
(CarePlanActivityStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanActivityStatusEnum> theValue) Sets the value(s) for status ()setStatusReason
(CodeableConceptDt theValue) Sets the value(s) for statusReason ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
ActivityDetail
public ActivityDetail()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCategory
Gets the value(s) for category (). creating it if it does not exist. Will not returnnull
.Definition: High-level categorization of the type of activity in a care plan.
-
setCategory
Sets the value(s) for category ()Definition: High-level categorization of the type of activity in a care plan.
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter.
-
setCode
Sets the value(s) for code ()Definition: Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter.
-
getReasonCode
Gets the value(s) for reasonCode (). creating it if it does not exist. Will not returnnull
.Definition: Provides the rationale that drove the inclusion of this particular activity as part of the plan.
-
setReasonCode
Sets the value(s) for reasonCode ()Definition: Provides the rationale that drove the inclusion of this particular activity as part of the plan.
-
addReasonCode
Adds and returns a new value for reasonCode ()Definition: Provides the rationale that drove the inclusion of this particular activity as part of the plan.
-
addReasonCode
Adds a given new value for reasonCode ()Definition: Provides the rationale that drove the inclusion of this particular activity as part of the plan.
- Parameters:
theValue
- The reasonCode to add (must not benull
)
-
getReasonCodeFirstRep
Gets the first repetition for reasonCode (), creating it if it does not already exist.Definition: Provides the rationale that drove the inclusion of this particular activity as part of the plan.
-
getReasonReference
Gets the value(s) for reasonReference (). creating it if it does not exist. Will not returnnull
.Definition: Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.
-
setReasonReference
Sets the value(s) for reasonReference ()Definition: Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.
-
addReasonReference
Adds and returns a new value for reasonReference ()Definition: Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.
-
getGoal
Gets the value(s) for goal (). creating it if it does not exist. Will not returnnull
.Definition: Internal reference that identifies the goals that this activity is intended to contribute towards meeting
-
setGoal
Sets the value(s) for goal ()Definition: Internal reference that identifies the goals that this activity is intended to contribute towards meeting
-
addGoal
Adds and returns a new value for goal ()Definition: Internal reference that identifies the goals that this activity is intended to contribute towards meeting
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: Identifies what progress is being made for the specific activity.
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: Identifies what progress is being made for the specific activity.
-
setStatus
public CarePlan.ActivityDetail setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanActivityStatusEnum> theValue) Sets the value(s) for status ()Definition: Identifies what progress is being made for the specific activity.
-
setStatus
Sets the value(s) for status ()Definition: Identifies what progress is being made for the specific activity.
-
getStatusReason
Gets the value(s) for statusReason (). creating it if it does not exist. Will not returnnull
.Definition: Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.
-
setStatusReason
Sets the value(s) for statusReason ()Definition: Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.
-
getProhibitedElement
Gets the value(s) for prohibited (). creating it if it does not exist. Will not returnnull
.Definition: If true, indicates that the described activity is one that must NOT be engaged in when following the plan.
-
getProhibited
Gets the value(s) for prohibited (). creating it if it does not exist. This method may returnnull
.Definition: If true, indicates that the described activity is one that must NOT be engaged in when following the plan.
-
setProhibited
Sets the value(s) for prohibited ()Definition: If true, indicates that the described activity is one that must NOT be engaged in when following the plan.
-
setProhibited
Sets the value for prohibited ()Definition: If true, indicates that the described activity is one that must NOT be engaged in when following the plan.
-
getScheduled
Gets the value(s) for scheduled[x] (). creating it if it does not exist. Will not returnnull
.Definition: The period, timing or frequency upon which the described activity is to occur.
-
setScheduled
Sets the value(s) for scheduled[x] ()Definition: The period, timing or frequency upon which the described activity is to occur.
-
getLocation
Gets the value(s) for location (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
-
setLocation
Sets the value(s) for location ()Definition: Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
-
getPerformer
Gets the value(s) for performer (). creating it if it does not exist. Will not returnnull
.Definition: Identifies who's expected to be involved in the activity.
-
setPerformer
Sets the value(s) for performer ()Definition: Identifies who's expected to be involved in the activity.
-
addPerformer
Adds and returns a new value for performer ()Definition: Identifies who's expected to be involved in the activity.
-
getProduct
Gets the value(s) for product[x] (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the food, drug or other product to be consumed or supplied in the activity.
-
setProduct
Sets the value(s) for product[x] ()Definition: Identifies the food, drug or other product to be consumed or supplied in the activity.
-
getDailyAmount
Gets the value(s) for dailyAmount (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the quantity expected to be consumed in a given day.
-
setDailyAmount
Sets the value(s) for dailyAmount ()Definition: Identifies the quantity expected to be consumed in a given day.
-
getQuantity
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the quantity expected to be supplied, administered or consumed by the subject
-
setQuantity
Sets the value(s) for quantity ()Definition: Identifies the quantity expected to be supplied, administered or consumed by the subject
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition: This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition: This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
setDescription
Sets the value(s) for description ()Definition: This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-
setDescription
Sets the value for description ()Definition: This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
-