public class CarePlan extends BaseResource implements IResource
Definition: Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/CarePlan
| Modifier and Type | Class and Description |
|---|---|
static class |
CarePlan.Activity
Block class for child element: CarePlan.activity (Action to occur as part of plan)
|
static class |
CarePlan.ActivitySimple
Block class for child element: CarePlan.activity.simple (Activity details summarised here)
|
static class |
CarePlan.Goal
Block class for child element: CarePlan.goal (Desired outcome of plan)
|
static class |
CarePlan.Participant
Block class for child element: CarePlan.participant (Who's involved in plan?)
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
ACTIVITYCODE
Fluent Client search parameter constant for activitycode
|
static DateClientParam |
ACTIVITYDATE
Fluent Client search parameter constant for activitydate
|
static ReferenceClientParam |
ACTIVITYDETAIL
Fluent Client search parameter constant for activitydetail
|
static ReferenceClientParam |
CONDITION
Fluent Client search parameter constant for condition
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static Include |
INCLUDE_ACTIVITY_DETAIL
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_CONCERN
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PARTICIPANT_MEMBER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PARTICIPANT
Fluent Client search parameter constant for participant
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_ACTIVITYCODE
Search parameter constant for activitycode
|
static String |
SP_ACTIVITYDATE
Search parameter constant for activitydate
|
static String |
SP_ACTIVITYDETAIL
Search parameter constant for activitydetail
|
static String |
SP_CONDITION
Search parameter constant for condition
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_PARTICIPANT
Search parameter constant for participant
|
static String |
SP_PATIENT
Search parameter constant for patient
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
CarePlan() |
| Modifier and Type | Method and Description |
|---|---|
CarePlan.Activity |
addActivity()
Adds and returns a new value for activity (Action to occur as part of plan)
|
ResourceReferenceDt |
addConcern()
Adds and returns a new value for concern (Health issues this plan addresses)
|
CarePlan.Goal |
addGoal()
Adds and returns a new value for goal (Desired outcome of plan)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (External Ids for this plan)
|
CarePlan |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (External Ids for this plan)
|
CarePlan |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (External Ids for this plan)
|
CarePlan.Participant |
addParticipant()
Adds and returns a new value for participant (Who's involved in plan?)
|
List<CarePlan.Activity> |
getActivity()
Gets the value(s) for activity (Action to occur as part of plan).
|
CarePlan.Activity |
getActivityFirstRep()
Gets the first repetition for activity (Action to occur as part of plan),
creating it if it does not already exist.
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<ResourceReferenceDt> |
getConcern()
Gets the value(s) for concern (Health issues this plan addresses).
|
List<CarePlan.Goal> |
getGoal()
Gets the value(s) for goal (Desired outcome of plan).
|
CarePlan.Goal |
getGoalFirstRep()
Gets the first repetition for goal (Desired outcome of plan),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (External Ids for this plan).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (External Ids for this plan),
creating it if it does not already exist.
|
DateTimeDt |
getModified()
Gets the value(s) for modified (When last updated).
|
StringDt |
getNotes()
Gets the value(s) for notes (Comments about the plan).
|
List<CarePlan.Participant> |
getParticipant()
Gets the value(s) for participant (Who's involved in plan?).
|
CarePlan.Participant |
getParticipantFirstRep()
Gets the first repetition for participant (Who's involved in plan?),
creating it if it does not already exist.
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (Who care plan is for).
|
PeriodDt |
getPeriod()
Gets the value(s) for period (Time period plan covers).
|
BoundCodeDt<CarePlanStatusEnum> |
getStatus()
Gets the value(s) for status (planned | active | completed).
|
boolean |
isEmpty() |
CarePlan |
setActivity(List<CarePlan.Activity> theValue)
Sets the value(s) for activity (Action to occur as part of plan)
|
CarePlan |
setConcern(List<ResourceReferenceDt> theValue)
Sets the value(s) for concern (Health issues this plan addresses)
|
CarePlan |
setGoal(List<CarePlan.Goal> theValue)
Sets the value(s) for goal (Desired outcome of plan)
|
CarePlan |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (External Ids for this plan)
|
CarePlan |
setModified(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for modified (When last updated)
|
CarePlan |
setModified(DateTimeDt theValue)
Sets the value(s) for modified (When last updated)
|
CarePlan |
setModifiedWithSecondsPrecision(Date theDate)
Sets the value for modified (When last updated)
|
CarePlan |
setNotes(String theString)
Sets the value for notes (Comments about the plan)
|
CarePlan |
setNotes(StringDt theValue)
Sets the value(s) for notes (Comments about the plan)
|
CarePlan |
setParticipant(List<CarePlan.Participant> theValue)
Sets the value(s) for participant (Who's involved in plan?)
|
CarePlan |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (Who care plan is for)
|
CarePlan |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (Time period plan covers)
|
CarePlan |
setStatus(BoundCodeDt<CarePlanStatusEnum> theValue)
Sets the value(s) for status (planned | active | completed)
|
CarePlan |
setStatus(CarePlanStatusEnum theValue)
Sets the value(s) for status (planned | active | completed)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_PATIENT
Description:
Type: reference
Path: CarePlan.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: CarePlan.patient
public static final Include INCLUDE_PATIENT
public static final String SP_CONDITION
Description:
Type: reference
Path: CarePlan.concern
public static final ReferenceClientParam CONDITION
Description:
Type: reference
Path: CarePlan.concern
public static final Include INCLUDE_CONCERN
public static final String SP_DATE
Description:
Type: date
Path: CarePlan.period
public static final DateClientParam DATE
Description:
Type: date
Path: CarePlan.period
public static final String SP_PARTICIPANT
Description:
Type: reference
Path: CarePlan.participant.member
public static final ReferenceClientParam PARTICIPANT
Description:
Type: reference
Path: CarePlan.participant.member
public static final Include INCLUDE_PARTICIPANT_MEMBER
public static final String SP_ACTIVITYCODE
Description:
Type: token
Path: CarePlan.activity.simple.code
public static final TokenClientParam ACTIVITYCODE
Description:
Type: token
Path: CarePlan.activity.simple.code
public static final String SP_ACTIVITYDATE
Description: Specified date occurs within period specified by CarePlan.activity.timingSchedule
Type: date
Path: CarePlan.activity.simple.timing[x]
public static final DateClientParam ACTIVITYDATE
Description: Specified date occurs within period specified by CarePlan.activity.timingSchedule
Type: date
Path: CarePlan.activity.simple.timing[x]
public static final String SP_ACTIVITYDETAIL
Description:
Type: reference
Path: CarePlan.activity.detail
public static final ReferenceClientParam ACTIVITYDETAIL
Description:
Type: reference
Path: CarePlan.activity.detail
public static final Include INCLUDE_ACTIVITY_DETAIL
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic List<IdentifierDt> getIdentifier()
null.
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public CarePlan setIdentifier(List<IdentifierDt> theValue)
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public IdentifierDt addIdentifier()
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public IdentifierDt getIdentifierFirstRep()
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public CarePlan addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public CarePlan addIdentifier(String theSystem, String theValue)
Definition: This records identifiers associated with this care plan that are defined by business processed 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)
public ResourceReferenceDt getPatient()
null.
Definition: Identifies the patient/subject whose intended care is described by the plan.
public CarePlan setPatient(ResourceReferenceDt theValue)
Definition: Identifies the patient/subject whose intended care is described by the plan.
public BoundCodeDt<CarePlanStatusEnum> getStatus()
null.
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record.
public CarePlan setStatus(BoundCodeDt<CarePlanStatusEnum> theValue)
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record.
public CarePlan setStatus(CarePlanStatusEnum theValue)
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record.
public PeriodDt getPeriod()
null.
Definition: Indicates when the plan did (or is intended to) come into effect and end.
public CarePlan setPeriod(PeriodDt theValue)
Definition: Indicates when the plan did (or is intended to) come into effect and end.
public DateTimeDt getModified()
null.
Definition: Identifies the most recent date on which the plan has been revised.
public CarePlan setModified(DateTimeDt theValue)
Definition: Identifies the most recent date on which the plan has been revised.
public CarePlan setModifiedWithSecondsPrecision(Date theDate)
Definition: Identifies the most recent date on which the plan has been revised.
public CarePlan setModified(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Identifies the most recent date on which the plan has been revised.
public List<ResourceReferenceDt> getConcern()
null.
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public CarePlan setConcern(List<ResourceReferenceDt> theValue)
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public ResourceReferenceDt addConcern()
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public List<CarePlan.Participant> getParticipant()
null.
Definition: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
public CarePlan setParticipant(List<CarePlan.Participant> theValue)
Definition: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
public CarePlan.Participant addParticipant()
Definition: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
public CarePlan.Participant getParticipantFirstRep()
Definition: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
public List<CarePlan.Goal> getGoal()
null.
Definition: Describes the intended objective(s) of carrying out the Care Plan.
public CarePlan setGoal(List<CarePlan.Goal> theValue)
Definition: Describes the intended objective(s) of carrying out the Care Plan.
public CarePlan.Goal addGoal()
Definition: Describes the intended objective(s) of carrying out the Care Plan.
public CarePlan.Goal getGoalFirstRep()
Definition: Describes the intended objective(s) of carrying out the Care Plan.
public List<CarePlan.Activity> getActivity()
null.
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.
public CarePlan setActivity(List<CarePlan.Activity> theValue)
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.
public CarePlan.Activity addActivity()
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.
public CarePlan.Activity getActivityFirstRep()
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.
public StringDt getNotes()
null.
Definition: General notes about the care plan not covered elsewhere
public CarePlan setNotes(StringDt theValue)
Definition: General notes about the care plan not covered elsewhere
Copyright © 2014 University Health Network. All rights reserved.