Class 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
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
      • getActionResulting

        public List<ResourceReferenceDtgetActionResulting()
        Gets the value(s) for actionResulting (). creating it if it does not exist. Will not return null.

        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<AnnotationDtgetProgress()
        Gets the value(s) for progress (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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 return null.

        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 return null.

        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.