Class CarePlan

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class CarePlan extends DomainResource
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.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentifier

      Returns:
      identifier (This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
    • addIdentifier

    • getSubject

      Returns:
      subject (Identifies the patient or group whose intended care is described by the plan.)
    • hasSubject

      public boolean hasSubject()
    • setSubject

      public CarePlan setSubject(Reference value)
      Parameters:
      value - subject (Identifies the patient or group whose intended care is described by the plan.)
    • getSubjectTarget

      Returns:
      subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the patient or group whose intended care is described by the plan.)
    • setSubjectTarget

      Parameters:
      value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the patient or group whose intended care is described by the plan.)
    • getStatusElement

      Returns:
      status (Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • hasStatusElement

      public boolean hasStatusElement()
    • hasStatus

      public boolean hasStatus()
    • setStatusElement

      Parameters:
      value - status (Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • getStatus

      Returns:
      Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
    • setStatus

      Parameters:
      value - Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
    • getContext

      Returns:
      context (Identifies the context in which this particular CarePlan is defined.)
    • hasContext

      public boolean hasContext()
    • setContext

      public CarePlan setContext(Reference value)
      Parameters:
      value - context (Identifies the context in which this particular CarePlan is defined.)
    • getContextTarget

      Returns:
      context The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the context in which this particular CarePlan is defined.)
    • setContextTarget

      Parameters:
      value - context The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the context in which this particular CarePlan is defined.)
    • getPeriod

      public Period getPeriod()
      Returns:
      period (Indicates when the plan did (or is intended to) come into effect and end.)
    • hasPeriod

      public boolean hasPeriod()
    • setPeriod

      public CarePlan setPeriod(Period value)
      Parameters:
      value - period (Indicates when the plan did (or is intended to) come into effect and end.)
    • getAuthor

      Returns:
      author (Identifies the individual(s) or ogranization who is responsible for the content of the care plan.)
    • hasAuthor

      public boolean hasAuthor()
    • addAuthor

      public Reference addAuthor()
      Returns:
      author (Identifies the individual(s) or ogranization who is responsible for the content of the care plan.)
    • addAuthor

    • getAuthorTarget

      Returns:
      author (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies the individual(s) or ogranization who is responsible for the content of the care plan.)
    • getModifiedElement

      Returns:
      modified (Identifies the most recent date on which the plan has been revised.). This is the underlying object with id, value and extensions. The accessor "getModified" gives direct access to the value
    • hasModifiedElement

      public boolean hasModifiedElement()
    • hasModified

      public boolean hasModified()
    • setModifiedElement

      Parameters:
      value - modified (Identifies the most recent date on which the plan has been revised.). This is the underlying object with id, value and extensions. The accessor "getModified" gives direct access to the value
    • getModified

      public Date getModified()
      Returns:
      Identifies the most recent date on which the plan has been revised.
    • setModified

      public CarePlan setModified(Date value)
      Parameters:
      value - Identifies the most recent date on which the plan has been revised.
    • getCategory

      Returns:
      category (Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.)
    • hasCategory

      public boolean hasCategory()
    • addCategory

      Returns:
      category (Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.)
    • addCategory

    • getDescriptionElement

      Returns:
      description (A description of the scope and nature of the plan.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • hasDescriptionElement

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean hasDescription()
    • setDescriptionElement

      Parameters:
      value - description (A description of the scope and nature of the plan.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • getDescription

      Returns:
      A description of the scope and nature of the plan.
    • setDescription

      public CarePlan setDescription(String value)
      Parameters:
      value - A description of the scope and nature of the plan.
    • getAddresses

      Returns:
      addresses (Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.)
    • hasAddresses

      public boolean hasAddresses()
    • addAddresses

      Returns:
      addresses (Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.)
    • addAddresses

    • getAddressesTarget

      Returns:
      addresses (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.)
    • addAddressesTarget

      Returns:
      addresses (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.)
    • getSupport

      Returns:
      support (Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc.)
    • hasSupport

      public boolean hasSupport()
    • addSupport

      Returns:
      support (Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc.)
    • addSupport

    • getSupportTarget

      Returns:
      support (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc.)
    • getRelatedPlan

      Returns:
      relatedPlan (Identifies CarePlans with some sort of formal relationship to the current plan.)
    • hasRelatedPlan

      public boolean hasRelatedPlan()
    • addRelatedPlan

      Returns:
      relatedPlan (Identifies CarePlans with some sort of formal relationship to the current plan.)
    • addRelatedPlan

    • getParticipant

      Returns:
      participant (Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.)
    • hasParticipant

      public boolean hasParticipant()
    • addParticipant

      Returns:
      participant (Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.)
    • addParticipant

    • getGoal

      public List<Reference> getGoal()
      Returns:
      goal (Describes the intended objective(s) of carrying out the care plan.)
    • hasGoal

      public boolean hasGoal()
    • addGoal

      public Reference addGoal()
      Returns:
      goal (Describes the intended objective(s) of carrying out the care plan.)
    • addGoal

    • getGoalTarget

      public List<Goal> getGoalTarget()
      Returns:
      goal (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Describes the intended objective(s) of carrying out the care plan.)
    • addGoalTarget

      public Goal addGoalTarget()
      Returns:
      goal (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Describes the intended objective(s) of carrying out the care plan.)
    • getActivity

      Returns:
      activity (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.)
    • hasActivity

      public boolean hasActivity()
    • addActivity

      Returns:
      activity (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.)
    • addActivity

    • getNote

      public Annotation getNote()
      Returns:
      note (General notes about the care plan not covered elsewhere.)
    • hasNote

      public boolean hasNote()
    • setNote

      public CarePlan setNote(Annotation value)
      Parameters:
      value - note (General notes about the care plan not covered elsewhere.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      public CarePlan copy()
      Specified by:
      copy in class DomainResource
    • typedCopy

      protected CarePlan typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class DomainResource
    • getResourceType

      Specified by:
      getResourceType in class Resource