public class EpisodeOfCare extends BaseResource implements IResource
Definition: An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/EpisodeOfCare
| Modifier and Type | Class and Description |
|---|---|
static class |
EpisodeOfCare.CareTeam
Block class for child element: EpisodeOfCare.careTeam ()
|
static class |
EpisodeOfCare.StatusHistory
Block class for child element: EpisodeOfCare.statusHistory ()
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
CARE_MANAGER
Fluent Client search parameter constant for care-manager
|
static ReferenceClientParam |
CONDITION
Fluent Client search parameter constant for condition
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_CARE_MANAGER
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_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORGANIZATION
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_TEAM_MEMBER
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferral
|
static ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_CARE_MANAGER
Search parameter constant for care-manager
|
static String |
SP_CONDITION
Search parameter constant for condition
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_INCOMINGREFERRAL
Search parameter constant for incomingreferral
|
static String |
SP_ORGANIZATION
Search parameter constant for organization
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_TEAM_MEMBER
Search parameter constant for team-member
|
static String |
SP_TYPE
Search parameter constant for type
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
TEAM_MEMBER
Fluent Client search parameter constant for team-member
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
EpisodeOfCare() |
| Modifier and Type | Method and Description |
|---|---|
EpisodeOfCare.CareTeam |
addCareTeam()
Adds and returns a new value for careTeam ()
|
EpisodeOfCare |
addCareTeam(EpisodeOfCare.CareTeam theValue)
Adds a given new value for careTeam ()
|
ResourceReferenceDt |
addCondition()
Adds and returns a new value for condition (what)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
EpisodeOfCare |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
ResourceReferenceDt |
addReferralRequest()
Adds and returns a new value for referralRequest ()
|
EpisodeOfCare.StatusHistory |
addStatusHistory()
Adds and returns a new value for statusHistory ()
|
EpisodeOfCare |
addStatusHistory(EpisodeOfCare.StatusHistory theValue)
Adds a given new value for statusHistory ()
|
CodeableConceptDt |
addType()
Adds and returns a new value for type (class)
|
EpisodeOfCare |
addType(CodeableConceptDt theValue)
Adds a given new value for type (class)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ResourceReferenceDt |
getCareManager()
Gets the value(s) for careManager ().
|
List<EpisodeOfCare.CareTeam> |
getCareTeam()
Gets the value(s) for careTeam ().
|
EpisodeOfCare.CareTeam |
getCareTeamFirstRep()
Gets the first repetition for careTeam (),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getCondition()
Gets the value(s) for condition (what).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
ResourceReferenceDt |
getManagingOrganization()
Gets the value(s) for managingOrganization ().
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (who.focus).
|
PeriodDt |
getPeriod()
Gets the value(s) for period (when.init).
|
List<ResourceReferenceDt> |
getReferralRequest()
Gets the value(s) for referralRequest ().
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<EpisodeOfCareStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
List<EpisodeOfCare.StatusHistory> |
getStatusHistory()
Gets the value(s) for statusHistory ().
|
EpisodeOfCare.StatusHistory |
getStatusHistoryFirstRep()
Gets the first repetition for statusHistory (),
creating it if it does not already exist.
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
List<CodeableConceptDt> |
getType()
Gets the value(s) for type (class).
|
CodeableConceptDt |
getTypeFirstRep()
Gets the first repetition for type (class),
creating it if it does not already exist.
|
boolean |
isEmpty() |
EpisodeOfCare |
setCareManager(ResourceReferenceDt theValue)
Sets the value(s) for careManager ()
|
EpisodeOfCare |
setCareTeam(List<EpisodeOfCare.CareTeam> theValue)
Sets the value(s) for careTeam ()
|
EpisodeOfCare |
setCondition(List<ResourceReferenceDt> theValue)
Sets the value(s) for condition (what)
|
EpisodeOfCare |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
EpisodeOfCare |
setManagingOrganization(ResourceReferenceDt theValue)
Sets the value(s) for managingOrganization ()
|
EpisodeOfCare |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (who.focus)
|
EpisodeOfCare |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (when.init)
|
EpisodeOfCare |
setReferralRequest(List<ResourceReferenceDt> theValue)
Sets the value(s) for referralRequest ()
|
EpisodeOfCare |
setStatus(BoundCodeDt<EpisodeOfCareStatusEnum> theValue)
Sets the value(s) for status (status)
|
EpisodeOfCare |
setStatus(EpisodeOfCareStatusEnum theValue)
Sets the value(s) for status (status)
|
EpisodeOfCare |
setStatusHistory(List<EpisodeOfCare.StatusHistory> theValue)
Sets the value(s) for statusHistory ()
|
EpisodeOfCare |
setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type (class)
|
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: EpisodeOfCare.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: EpisodeOfCare.patient
public static final String SP_IDENTIFIER
Description:
Type: token
Path: EpisodeOfCare.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: EpisodeOfCare.identifier
public static final String SP_STATUS
Description: The current status of the Episode of Care as provided (does not check the status history collection)
Type: token
Path: EpisodeOfCare.status
public static final TokenClientParam STATUS
Description: The current status of the Episode of Care as provided (does not check the status history collection)
Type: token
Path: EpisodeOfCare.status
public static final String SP_ORGANIZATION
Description: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
public static final ReferenceClientParam ORGANIZATION
Description: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
public static final String SP_DATE
Description: The provided date search value falls within the episode of care's period
Type: date
Path: EpisodeOfCare.period
public static final DateClientParam DATE
Description: The provided date search value falls within the episode of care's period
Type: date
Path: EpisodeOfCare.period
public static final String SP_TYPE
Description:
Type: token
Path: EpisodeOfCare.type
public static final TokenClientParam TYPE
Description:
Type: token
Path: EpisodeOfCare.type
public static final String SP_CONDITION
Description:
Type: reference
Path: EpisodeOfCare.condition
public static final ReferenceClientParam CONDITION
Description:
Type: reference
Path: EpisodeOfCare.condition
public static final String SP_INCOMINGREFERRAL
Description: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
public static final ReferenceClientParam INCOMINGREFERRAL
Description: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
public static final String SP_CARE_MANAGER
Description:
Type: reference
Path: EpisodeOfCare.careManager
public static final ReferenceClientParam CARE_MANAGER
Description:
Type: reference
Path: EpisodeOfCare.careManager
public static final String SP_TEAM_MEMBER
Description: A Practitioner or Organization allocated to the care team for this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.careTeam.member
public static final ReferenceClientParam TEAM_MEMBER
Description: A Practitioner or Organization allocated to the care team for this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.careTeam.member
public static final Include INCLUDE_CARE_MANAGER
public static final Include INCLUDE_CONDITION
public static final Include INCLUDE_INCOMINGREFERRAL
public static final Include INCLUDE_ORGANIZATION
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_TEAM_MEMBER
public EpisodeOfCare()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Identifier(s) by which this EpisodeOfCare is known
public EpisodeOfCare setIdentifier(List<IdentifierDt> theValue)
Definition: Identifier(s) by which this EpisodeOfCare is known
public IdentifierDt addIdentifier()
Definition: Identifier(s) by which this EpisodeOfCare is known
public EpisodeOfCare addIdentifier(IdentifierDt theValue)
Definition: Identifier(s) by which this EpisodeOfCare is known
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Identifier(s) by which this EpisodeOfCare is known
public BoundCodeDt<EpisodeOfCareStatusEnum> getStatusElement()
null.
Definition: planned | waitlist | active | onhold | finished | cancelled
public String getStatus()
null.
Definition: planned | waitlist | active | onhold | finished | cancelled
public EpisodeOfCare setStatus(BoundCodeDt<EpisodeOfCareStatusEnum> theValue)
Definition: planned | waitlist | active | onhold | finished | cancelled
public EpisodeOfCare setStatus(EpisodeOfCareStatusEnum theValue)
Definition: planned | waitlist | active | onhold | finished | cancelled
public List<EpisodeOfCare.StatusHistory> getStatusHistory()
null.
Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
public EpisodeOfCare setStatusHistory(List<EpisodeOfCare.StatusHistory> theValue)
Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
public EpisodeOfCare.StatusHistory addStatusHistory()
Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
public EpisodeOfCare addStatusHistory(EpisodeOfCare.StatusHistory theValue)
Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
theValue - The statusHistory to add (must not be null)public EpisodeOfCare.StatusHistory getStatusHistoryFirstRep()
Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
public List<CodeableConceptDt> getType()
null.
Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
public EpisodeOfCare setType(List<CodeableConceptDt> theValue)
Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
public CodeableConceptDt addType()
Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
public EpisodeOfCare addType(CodeableConceptDt theValue)
Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
theValue - The type to add (must not be null)public CodeableConceptDt getTypeFirstRep()
Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
public List<ResourceReferenceDt> getCondition()
null.
Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
public EpisodeOfCare setCondition(List<ResourceReferenceDt> theValue)
Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
public ResourceReferenceDt addCondition()
Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
public ResourceReferenceDt getPatient()
null.
Definition: The patient that this EpisodeOfCare applies to
public EpisodeOfCare setPatient(ResourceReferenceDt theValue)
Definition: The patient that this EpisodeOfCare applies to
public ResourceReferenceDt getManagingOrganization()
null.
Definition: The organization that has assumed the specific responsibilities for the specified duration
public EpisodeOfCare setManagingOrganization(ResourceReferenceDt theValue)
Definition: The organization that has assumed the specific responsibilities for the specified duration
public PeriodDt getPeriod()
null.
Definition: The interval during which the managing organization assumes the defined responsibility
public EpisodeOfCare setPeriod(PeriodDt theValue)
Definition: The interval during which the managing organization assumes the defined responsibility
public List<ResourceReferenceDt> getReferralRequest()
null.
Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
public EpisodeOfCare setReferralRequest(List<ResourceReferenceDt> theValue)
Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
public ResourceReferenceDt addReferralRequest()
Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
public ResourceReferenceDt getCareManager()
null.
Definition: The practitioner that is the care manager/care co-ordinator for this patient
public EpisodeOfCare setCareManager(ResourceReferenceDt theValue)
Definition: The practitioner that is the care manager/care co-ordinator for this patient
public List<EpisodeOfCare.CareTeam> getCareTeam()
null.
Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
public EpisodeOfCare setCareTeam(List<EpisodeOfCare.CareTeam> theValue)
Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
public EpisodeOfCare.CareTeam addCareTeam()
Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
public EpisodeOfCare addCareTeam(EpisodeOfCare.CareTeam theValue)
Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
theValue - The careTeam to add (must not be null)public EpisodeOfCare.CareTeam getCareTeamFirstRep()
Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.