Class EpisodeOfCare
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: EpisodeOfCare.careTeam ()static class
Block class for child element: EpisodeOfCare.statusHistory () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for care-managerstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for conditionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for incomingreferralstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for organizationstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final String
Search parameter constant for care-managerstatic final String
Search parameter constant for conditionstatic final String
Search parameter constant for datestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for incomingreferralstatic final String
Search parameter constant for organizationstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for team-memberstatic final String
Search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for team-memberstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for careTeam ()addCareTeam
(EpisodeOfCare.CareTeam theValue) Adds a given new value for careTeam ()Adds and returns a new value for condition (what)Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)Adds and returns a new value for referralRequest ()Adds and returns a new value for statusHistory ()addStatusHistory
(EpisodeOfCare.StatusHistory theValue) Adds a given new value for statusHistory ()addType()
Adds and returns a new value for type (class)addType
(CodeableConceptDt theValue) Adds a given new value for type (class)<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for careManager ().Gets the value(s) for careTeam ().Gets the first repetition for careTeam (), creating it if it does not already exist.Gets the value(s) for condition (what).Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for managingOrganization ().Gets the value(s) for patient (who.focus).Gets the value(s) for period (when.init).Gets the value(s) for referralRequest ().Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<EpisodeOfCareStatusEnum> Gets the value(s) for status (status).Gets the value(s) for statusHistory ().Gets the first repetition for statusHistory (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnum
getType()
Gets the value(s) for type (class).Gets the first repetition for type (class), creating it if it does not already exist.boolean
isEmpty()
setCareManager
(ResourceReferenceDt theValue) Sets the value(s) for careManager ()setCareTeam
(List<EpisodeOfCare.CareTeam> theValue) Sets the value(s) for careTeam ()setCondition
(List<ResourceReferenceDt> theValue) Sets the value(s) for condition (what)setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setManagingOrganization
(ResourceReferenceDt theValue) Sets the value(s) for managingOrganization ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient (who.focus)Sets the value(s) for period (when.init)setReferralRequest
(List<ResourceReferenceDt> theValue) Sets the value(s) for referralRequest ()setStatus
(EpisodeOfCareStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<EpisodeOfCareStatusEnum> theValue) Sets the value(s) for status (status)setStatusHistory
(List<EpisodeOfCare.StatusHistory> theValue) Sets the value(s) for statusHistory ()setType
(List<CodeableConceptDt> theValue) Sets the value(s) for type (class)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: EpisodeOfCare.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: EpisodeOfCare.patient
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: EpisodeOfCare.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: EpisodeOfCare.identifier
-
SP_STATUS
Search parameter constant for statusDescription: The current status of the Episode of Care as provided (does not check the status history collection)
Type: token
Path: EpisodeOfCare.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current status of the Episode of Care as provided (does not check the status history collection)
Type: token
Path: EpisodeOfCare.status
-
SP_ORGANIZATION
Search parameter constant for organizationDescription: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
- See Also:
-
ORGANIZATION
Fluent Client search parameter constant for organizationDescription: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
-
SP_DATE
Search parameter constant for dateDescription: The provided date search value falls within the episode of care's period
Type: date
Path: EpisodeOfCare.period
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: The provided date search value falls within the episode of care's period
Type: date
Path: EpisodeOfCare.period
-
SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: EpisodeOfCare.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: EpisodeOfCare.type
-
SP_CONDITION
Search parameter constant for conditionDescription:
Type: reference
Path: EpisodeOfCare.condition
- See Also:
-
CONDITION
Fluent Client search parameter constant for conditionDescription:
Type: reference
Path: EpisodeOfCare.condition
-
SP_INCOMINGREFERRAL
Search parameter constant for incomingreferralDescription: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
- See Also:
-
INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferralDescription: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
-
SP_CARE_MANAGER
Search parameter constant for care-managerDescription:
Type: reference
Path: EpisodeOfCare.careManager
- See Also:
-
CARE_MANAGER
Fluent Client search parameter constant for care-managerDescription:
Type: reference
Path: EpisodeOfCare.careManager
-
SP_TEAM_MEMBER
Search parameter constant for team-memberDescription: A Practitioner or Organization allocated to the care team for this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.careTeam.member
- See Also:
-
TEAM_MEMBER
Fluent Client search parameter constant for team-memberDescription: A Practitioner or Organization allocated to the care team for this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.careTeam.member
-
INCLUDE_CARE_MANAGER
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:care-manager". -
INCLUDE_CONDITION
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:condition". -
INCLUDE_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:incomingreferral". -
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:organization". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:patient". -
INCLUDE_TEAM_MEMBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:team-member".
-
-
Constructor Details
-
EpisodeOfCare
public EpisodeOfCare()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.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 interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Identifier(s) by which this EpisodeOfCare is known
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifier(s) by which this EpisodeOfCare is known
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifier(s) by which this EpisodeOfCare is known
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifier(s) by which this EpisodeOfCare is known
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifier(s) by which this EpisodeOfCare is known
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: planned | waitlist | active | onhold | finished | cancelled
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: planned | waitlist | active | onhold | finished | cancelled
-
setStatus
public EpisodeOfCare setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<EpisodeOfCareStatusEnum> theValue) Sets the value(s) for status (status)Definition: planned | waitlist | active | onhold | finished | cancelled
-
setStatus
Sets the value(s) for status (status)Definition: planned | waitlist | active | onhold | finished | cancelled
-
getStatusHistory
Gets the value(s) for statusHistory (). creating it if it does not exist. Will not returnnull
.Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
-
setStatusHistory
Sets the value(s) for statusHistory ()Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
-
addStatusHistory
Adds and returns a new value for statusHistory ()Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
-
addStatusHistory
Adds a given new value for statusHistory ()Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
- Parameters:
theValue
- The statusHistory to add (must not benull
)
-
getStatusHistoryFirstRep
Gets the first repetition for statusHistory (), creating it if it does not already exist.Definition: The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource)
-
getType
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull
.Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
-
setType
Sets the value(s) for type (class)Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
-
addType
Adds and returns a new value for type (class)Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
-
addType
Adds a given new value for type (class)Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
- Parameters:
theValue
- The type to add (must not benull
)
-
getTypeFirstRep
Gets the first repetition for type (class), creating it if it does not already exist.Definition: A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care
-
getCondition
Gets the value(s) for condition (what). creating it if it does not exist. Will not returnnull
.Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
-
setCondition
Sets the value(s) for condition (what)Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
-
addCondition
Adds and returns a new value for condition (what)Definition: A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for
-
getPatient
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The patient that this EpisodeOfCare applies to
-
setPatient
Sets the value(s) for patient (who.focus)Definition: The patient that this EpisodeOfCare applies to
-
getManagingOrganization
Gets the value(s) for managingOrganization (). creating it if it does not exist. Will not returnnull
.Definition: The organization that has assumed the specific responsibilities for the specified duration
-
setManagingOrganization
Sets the value(s) for managingOrganization ()Definition: The organization that has assumed the specific responsibilities for the specified duration
-
getPeriod
Gets the value(s) for period (when.init). creating it if it does not exist. Will not returnnull
.Definition: The interval during which the managing organization assumes the defined responsibility
-
setPeriod
Sets the value(s) for period (when.init)Definition: The interval during which the managing organization assumes the defined responsibility
-
getReferralRequest
Gets the value(s) for referralRequest (). creating it if it does not exist. Will not returnnull
.Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
-
setReferralRequest
Sets the value(s) for referralRequest ()Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
-
addReferralRequest
Adds and returns a new value for referralRequest ()Definition: Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals
-
getCareManager
Gets the value(s) for careManager (). creating it if it does not exist. Will not returnnull
.Definition: The practitioner that is the care manager/care co-ordinator for this patient
-
setCareManager
Sets the value(s) for careManager ()Definition: The practitioner that is the care manager/care co-ordinator for this patient
-
getCareTeam
Gets the value(s) for careTeam (). creating it if it does not exist. Will not returnnull
.Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
-
setCareTeam
Sets the value(s) for careTeam ()Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
-
addCareTeam
Adds and returns a new value for careTeam ()Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
-
addCareTeam
Adds a given new value for careTeam ()Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
- Parameters:
theValue
- The careTeam to add (must not benull
)
-
getCareTeamFirstRep
Gets the first repetition for careTeam (), creating it if it does not already exist.Definition: The list of practitioners that may be facilitating this episode of care for specific purposes
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-