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, group or community 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 ()
|
static class |
CarePlan.ActivityDetail
Block class for child element: CarePlan.activity.detail ()
|
static class |
CarePlan.Participant
Block class for child element: CarePlan.participant ()
|
static class |
CarePlan.RelatedPlan
Block class for child element: CarePlan.relatedPlan ()
|
| 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 |
ACTIVITYREFERENCE
Fluent Client search parameter constant for activityreference
|
static ReferenceClientParam |
CONDITION
Fluent Client search parameter constant for condition
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static ReferenceClientParam |
GOAL
Fluent Client search parameter constant for goal
|
static Include |
INCLUDE_ACTIVITYREFERENCE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_CONDITION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_GOAL
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PARTICIPANT
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 Include |
INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_RELATEDPLAN
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
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 ReferenceClientParam |
PERFORMER
Fluent Client search parameter constant for performer
|
static TokenClientParam |
RELATEDCODE
Fluent Client search parameter constant for relatedcode
|
static CompositeClientParam<TokenClientParam,ReferenceClientParam> |
RELATEDCODE_RELATEDPLAN
Fluent Client search parameter constant for relatedcode-relatedplan
|
static ReferenceClientParam |
RELATEDPLAN
Fluent Client search parameter constant for relatedplan
|
static String |
SP_ACTIVITYCODE
Search parameter constant for activitycode
|
static String |
SP_ACTIVITYDATE
Search parameter constant for activitydate
|
static String |
SP_ACTIVITYREFERENCE
Search parameter constant for activityreference
|
static String |
SP_CONDITION
Search parameter constant for condition
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_GOAL
Search parameter constant for goal
|
static String |
SP_PARTICIPANT
Search parameter constant for participant
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PERFORMER
Search parameter constant for performer
|
static String |
SP_RELATEDCODE
Search parameter constant for relatedcode
|
static String |
SP_RELATEDCODE_RELATEDPLAN
Search parameter constant for relatedcode-relatedplan
|
static String |
SP_RELATEDPLAN
Search parameter constant for relatedplan
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
CarePlan() |
| Modifier and Type | Method and Description |
|---|---|
CarePlan.Activity |
addActivity()
Adds and returns a new value for activity ()
|
CarePlan |
addActivity(CarePlan.Activity theValue)
Adds a given new value for activity ()
|
ResourceReferenceDt |
addAddresses()
Adds and returns a new value for addresses ()
|
ResourceReferenceDt |
addAuthor()
Adds and returns a new value for author ()
|
CodeableConceptDt |
addCategory()
Adds and returns a new value for category ()
|
CarePlan |
addCategory(CodeableConceptDt theValue)
Adds a given new value for category ()
|
ResourceReferenceDt |
addGoal()
Adds and returns a new value for goal ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
CarePlan |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
CarePlan.Participant |
addParticipant()
Adds and returns a new value for participant ()
|
CarePlan |
addParticipant(CarePlan.Participant theValue)
Adds a given new value for participant ()
|
CarePlan.RelatedPlan |
addRelatedPlan()
Adds and returns a new value for relatedPlan ()
|
CarePlan |
addRelatedPlan(CarePlan.RelatedPlan theValue)
Adds a given new value for relatedPlan ()
|
ResourceReferenceDt |
addSupport()
Adds and returns a new value for support ()
|
List<CarePlan.Activity> |
getActivity()
Gets the value(s) for activity ().
|
CarePlan.Activity |
getActivityFirstRep()
Gets the first repetition for activity (),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getAddresses()
Gets the value(s) for addresses ().
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<ResourceReferenceDt> |
getAuthor()
Gets the value(s) for author ().
|
List<CodeableConceptDt> |
getCategory()
Gets the value(s) for category ().
|
CodeableConceptDt |
getCategoryFirstRep()
Gets the first repetition for category (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getContext()
Gets the value(s) for context ().
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
List<ResourceReferenceDt> |
getGoal()
Gets the value(s) for goal ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
Date |
getModified()
Gets the value(s) for modified ().
|
DateTimeDt |
getModifiedElement()
Gets the value(s) for modified ().
|
AnnotationDt |
getNote()
Gets the value(s) for note ().
|
List<CarePlan.Participant> |
getParticipant()
Gets the value(s) for participant ().
|
CarePlan.Participant |
getParticipantFirstRep()
Gets the first repetition for participant (),
creating it if it does not already exist.
|
PeriodDt |
getPeriod()
Gets the value(s) for period ().
|
List<CarePlan.RelatedPlan> |
getRelatedPlan()
Gets the value(s) for relatedPlan ().
|
CarePlan.RelatedPlan |
getRelatedPlanFirstRep()
Gets the first repetition for relatedPlan (),
creating it if it does not already exist.
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status ().
|
BoundCodeDt<CarePlanStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject ().
|
List<ResourceReferenceDt> |
getSupport()
Gets the value(s) for support ().
|
boolean |
isEmpty() |
CarePlan |
setActivity(List<CarePlan.Activity> theValue)
Sets the value(s) for activity ()
|
CarePlan |
setAddresses(List<ResourceReferenceDt> theValue)
Sets the value(s) for addresses ()
|
CarePlan |
setAuthor(List<ResourceReferenceDt> theValue)
Sets the value(s) for author ()
|
CarePlan |
setCategory(List<CodeableConceptDt> theValue)
Sets the value(s) for category ()
|
CarePlan |
setContext(ResourceReferenceDt theValue)
Sets the value(s) for context ()
|
CarePlan |
setDescription(String theString)
Sets the value for description ()
|
CarePlan |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
CarePlan |
setGoal(List<ResourceReferenceDt> theValue)
Sets the value(s) for goal ()
|
CarePlan |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
CarePlan |
setModified(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for modified ()
|
CarePlan |
setModified(DateTimeDt theValue)
Sets the value(s) for modified ()
|
CarePlan |
setModifiedWithSecondsPrecision(Date theDate)
Sets the value for modified ()
|
CarePlan |
setNote(AnnotationDt theValue)
Sets the value(s) for note ()
|
CarePlan |
setParticipant(List<CarePlan.Participant> theValue)
Sets the value(s) for participant ()
|
CarePlan |
setPeriod(PeriodDt theValue)
Sets the value(s) for period ()
|
CarePlan |
setRelatedPlan(List<CarePlan.RelatedPlan> theValue)
Sets the value(s) for relatedPlan ()
|
CarePlan |
setStatus(BoundCodeDt<CarePlanStatusEnum> theValue)
Sets the value(s) for status ()
|
CarePlan |
setStatus(CarePlanStatusEnum theValue)
Sets the value(s) for status ()
|
CarePlan |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()
|
CarePlan |
setSupport(List<ResourceReferenceDt> theValue)
Sets the value(s) for support ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, 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, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_PATIENT
Description:
Type: reference
Path: CarePlan.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: CarePlan.subject
public static final String SP_SUBJECT
Description:
Type: reference
Path: CarePlan.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: CarePlan.subject
public static final String SP_CONDITION
Description:
Type: reference
Path: CarePlan.addresses
public static final ReferenceClientParam CONDITION
Description:
Type: reference
Path: CarePlan.addresses
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 String SP_ACTIVITYCODE
Description:
Type: token
Path: CarePlan.activity.detail.code
public static final TokenClientParam ACTIVITYCODE
Description:
Type: token
Path: CarePlan.activity.detail.code
public static final String SP_ACTIVITYDATE
Description: Specified date occurs within period specified by CarePlan.activity.timingSchedule
Type: date
Path: CarePlan.activity.detail.scheduled[x]
public static final DateClientParam ACTIVITYDATE
Description: Specified date occurs within period specified by CarePlan.activity.timingSchedule
Type: date
Path: CarePlan.activity.detail.scheduled[x]
public static final String SP_ACTIVITYREFERENCE
Description:
Type: reference
Path: CarePlan.activity.reference
public static final ReferenceClientParam ACTIVITYREFERENCE
Description:
Type: reference
Path: CarePlan.activity.reference
public static final String SP_PERFORMER
Description: Matches if the practitioner is listed as a performer in any of the \"simple\" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)
Type: reference
Path: CarePlan.activity.detail.performer
public static final ReferenceClientParam PERFORMER
Description: Matches if the practitioner is listed as a performer in any of the \"simple\" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)
Type: reference
Path: CarePlan.activity.detail.performer
public static final String SP_GOAL
Description:
Type: reference
Path: CarePlan.goal
public static final ReferenceClientParam GOAL
Description:
Type: reference
Path: CarePlan.goal
public static final String SP_RELATEDCODE
Description:
Type: token
Path: CarePlan.relatedPlan.code
public static final TokenClientParam RELATEDCODE
Description:
Type: token
Path: CarePlan.relatedPlan.code
public static final String SP_RELATEDPLAN
Description:
Type: reference
Path: CarePlan.relatedPlan.plan
public static final ReferenceClientParam RELATEDPLAN
Description:
Type: reference
Path: CarePlan.relatedPlan.plan
public static final String SP_RELATEDCODE_RELATEDPLAN
Description: A combination of the type of relationship and the related plan
Type: composite
Path: relatedcode & relatedplan
public static final CompositeClientParam<TokenClientParam,ReferenceClientParam> RELATEDCODE_RELATEDPLAN
Description: A combination of the type of relationship and the related plan
Type: composite
Path: relatedcode & relatedplan
public static final Include INCLUDE_ACTIVITYREFERENCE
public static final Include INCLUDE_CONDITION
public static final Include INCLUDE_GOAL
public static final Include INCLUDE_PARTICIPANT
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_PERFORMER
public static final Include INCLUDE_RELATEDPLAN
public static final Include INCLUDE_SUBJECT
public CarePlan()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: 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)
public CarePlan setIdentifier(List<IdentifierDt> theValue)
Definition: 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)
public IdentifierDt addIdentifier()
Definition: 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)
public CarePlan addIdentifier(IdentifierDt theValue)
Definition: 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)
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: 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)
public ResourceReferenceDt getSubject()
null.
Definition: Identifies the patient or group whose intended care is described by the plan.
public CarePlan setSubject(ResourceReferenceDt theValue)
Definition: Identifies the patient or group whose intended care is described by the plan.
public BoundCodeDt<CarePlanStatusEnum> getStatusElement()
null.
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
public String getStatus()
null.
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
public CarePlan setStatus(BoundCodeDt<CarePlanStatusEnum> theValue)
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
public CarePlan setStatus(CarePlanStatusEnum theValue)
Definition: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
public ResourceReferenceDt getContext()
null.
Definition: Identifies the context in which this particular CarePlan is defined.
public CarePlan setContext(ResourceReferenceDt theValue)
Definition: Identifies the context in which this particular CarePlan is defined.
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 List<ResourceReferenceDt> getAuthor()
null.
Definition: Identifies the individual(s) or ogranization who is responsible for the content of the care plan.
public CarePlan setAuthor(List<ResourceReferenceDt> theValue)
Definition: Identifies the individual(s) or ogranization who is responsible for the content of the care plan.
public ResourceReferenceDt addAuthor()
Definition: Identifies the individual(s) or ogranization who is responsible for the content of the care plan.
public DateTimeDt getModifiedElement()
null.
Definition: Identifies the most recent date on which the plan has been revised.
public Date 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 setModified(Date theDate, TemporalPrecisionEnum thePrecision)
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 List<CodeableConceptDt> getCategory()
null.
Definition: 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.
public CarePlan setCategory(List<CodeableConceptDt> theValue)
Definition: 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.
public CodeableConceptDt addCategory()
Definition: 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.
public CarePlan addCategory(CodeableConceptDt theValue)
Definition: 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.
theValue - The category to add (must not be null)public CodeableConceptDt getCategoryFirstRep()
Definition: 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.
public StringDt getDescriptionElement()
null.
Definition: A description of the scope and nature of the plan
public String getDescription()
null.
Definition: A description of the scope and nature of the plan
public CarePlan setDescription(StringDt theValue)
Definition: A description of the scope and nature of the plan
public CarePlan setDescription(String theString)
Definition: A description of the scope and nature of the plan
public List<ResourceReferenceDt> getAddresses()
null.
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public CarePlan setAddresses(List<ResourceReferenceDt> theValue)
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public ResourceReferenceDt addAddresses()
Definition: Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
public List<ResourceReferenceDt> getSupport()
null.
Definition: 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.
public CarePlan setSupport(List<ResourceReferenceDt> theValue)
Definition: 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.
public ResourceReferenceDt addSupport()
Definition: 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.
public List<CarePlan.RelatedPlan> getRelatedPlan()
null.
Definition: Identifies CarePlans with some sort of formal relationship to the current plan.
public CarePlan setRelatedPlan(List<CarePlan.RelatedPlan> theValue)
Definition: Identifies CarePlans with some sort of formal relationship to the current plan.
public CarePlan.RelatedPlan addRelatedPlan()
Definition: Identifies CarePlans with some sort of formal relationship to the current plan.
public CarePlan addRelatedPlan(CarePlan.RelatedPlan theValue)
Definition: Identifies CarePlans with some sort of formal relationship to the current plan.
theValue - The relatedPlan to add (must not be null)public CarePlan.RelatedPlan getRelatedPlanFirstRep()
Definition: Identifies CarePlans with some sort of formal relationship to the current 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 addParticipant(CarePlan.Participant theValue)
Definition: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
theValue - The participant to add (must not be null)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<ResourceReferenceDt> getGoal()
null.
Definition: Describes the intended objective(s) of carrying out the care plan.
public CarePlan setGoal(List<ResourceReferenceDt> theValue)
Definition: Describes the intended objective(s) of carrying out the care plan.
public ResourceReferenceDt addGoal()
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 addActivity(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.
theValue - The activity to add (must not be null)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 AnnotationDt getNote()
null.
Definition: General notes about the care plan not covered elsewhere
public CarePlan setNote(AnnotationDt theValue)
Definition: General notes about the care plan not covered elsewhere
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.