Class CarePlan.Activity
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.CarePlan.Activity
-
- 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
public static class CarePlan.Activity extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: CarePlan.activity ()Definition: Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Activity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddActionResulting()Adds and returns a new value for actionResulting ()AnnotationDtaddProgress()Adds and returns a new value for progress ()CarePlan.ActivityaddProgress(AnnotationDt theValue)Adds a given new value for progress ()List<ResourceReferenceDt>getActionResulting()Gets the value(s) for actionResulting ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CarePlan.ActivityDetailgetDetail()Gets the value(s) for detail ().List<AnnotationDt>getProgress()Gets the value(s) for progress ().AnnotationDtgetProgressFirstRep()Gets the first repetition for progress (), creating it if it does not already exist.ResourceReferenceDtgetReference()Gets the value(s) for reference ().booleanisEmpty()CarePlan.ActivitysetActionResulting(List<ResourceReferenceDt> theValue)Sets the value(s) for actionResulting ()CarePlan.ActivitysetDetail(CarePlan.ActivityDetail theValue)Sets the value(s) for detail ()CarePlan.ActivitysetProgress(List<AnnotationDt> theValue)Sets the value(s) for progress ()CarePlan.ActivitysetReference(ResourceReferenceDt theValue)Sets the value(s) for reference ()-
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
-
-
-
-
Constructor Detail
-
Activity
public Activity()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getActionResulting
public List<ResourceReferenceDt> getActionResulting()
Gets the value(s) for actionResulting (). creating it if it does not exist. Will not returnnull.Definition: Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.
-
setActionResulting
public CarePlan.Activity setActionResulting(List<ResourceReferenceDt> theValue)
Sets the value(s) for actionResulting ()Definition: Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.
-
addActionResulting
public ResourceReferenceDt addActionResulting()
Adds and returns a new value for actionResulting ()Definition: Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.
-
getProgress
public List<AnnotationDt> getProgress()
Gets the value(s) for progress (). creating it if it does not exist. Will not returnnull.Definition: Notes about the adherence/status/progress of the activity
-
setProgress
public CarePlan.Activity setProgress(List<AnnotationDt> theValue)
Sets the value(s) for progress ()Definition: Notes about the adherence/status/progress of the activity
-
addProgress
public AnnotationDt addProgress()
Adds and returns a new value for progress ()Definition: Notes about the adherence/status/progress of the activity
-
addProgress
public CarePlan.Activity addProgress(AnnotationDt theValue)
Adds a given new value for progress ()Definition: Notes about the adherence/status/progress of the activity
- Parameters:
theValue- The progress to add (must not benull)
-
getProgressFirstRep
public AnnotationDt getProgressFirstRep()
Gets the first repetition for progress (), creating it if it does not already exist.Definition: Notes about the adherence/status/progress of the activity
-
getReference
public ResourceReferenceDt getReference()
Gets the value(s) for reference (). creating it if it does not exist. Will not returnnull.Definition: The details of the proposed activity represented in a specific resource
-
setReference
public CarePlan.Activity setReference(ResourceReferenceDt theValue)
Sets the value(s) for reference ()Definition: The details of the proposed activity represented in a specific resource
-
getDetail
public CarePlan.ActivityDetail getDetail()
Gets the value(s) for detail (). creating it if it does not exist. Will not returnnull.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.
-
setDetail
public CarePlan.Activity setDetail(CarePlan.ActivityDetail theValue)
Sets the value(s) for detail ()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.
-
-