Package org.hl7.fhir.dstu2.model
Class EpisodeOfCare
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.EpisodeOfCare
-
- 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 EpisodeOfCare extends DomainResource
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEpisodeOfCare.EpisodeOfCareCareTeamComponentstatic classEpisodeOfCare.EpisodeOfCareStatusstatic classEpisodeOfCare.EpisodeOfCareStatusEnumFactorystatic classEpisodeOfCare.EpisodeOfCareStatusHistoryComponent
-
Field Summary
Fields Modifier and Type Field Description protected ReferencecareManagerThe practitioner that is the care manager/care co-ordinator for this patient.protected PractitionercareManagerTargetThe actual object that is the target of the reference (The practitioner that is the care manager/care co-ordinator for this patient.)protected List<EpisodeOfCare.EpisodeOfCareCareTeamComponent>careTeamThe list of practitioners that may be facilitating this episode of care for specific purposes.protected List<Reference>conditionA list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.protected List<Condition>conditionTargetThe actual objects that are the target of the reference (A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)protected List<Identifier>identifierIdentifier(s) by which this EpisodeOfCare is known.protected ReferencemanagingOrganizationThe organization that has assumed the specific responsibilities for the specified duration.protected OrganizationmanagingOrganizationTargetThe actual object that is the target of the reference (The organization that has assumed the specific responsibilities for the specified duration.)protected ReferencepatientThe patient that this EpisodeOfCare applies to.protected PatientpatientTargetThe actual object that is the target of the reference (The patient that this EpisodeOfCare applies to.)protected PeriodperiodThe interval during which the managing organization assumes the defined responsibility.protected List<Reference>referralRequestReferral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.protected List<ReferralRequest>referralRequestTargetThe actual objects that are the target of the reference (Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)static StringSP_CAREMANAGERstatic StringSP_CONDITIONstatic StringSP_DATEstatic StringSP_IDENTIFIERstatic StringSP_INCOMINGREFERRALstatic StringSP_ORGANIZATIONstatic StringSP_PATIENTstatic StringSP_STATUSstatic StringSP_TEAMMEMBERstatic StringSP_TYPEprotected Enumeration<EpisodeOfCare.EpisodeOfCareStatus>statusplanned | waitlist | active | onhold | finished | cancelled.protected List<EpisodeOfCare.EpisodeOfCareStatusHistoryComponent>statusHistoryThe history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).protected List<CodeableConcept>typeA classification of the type of encounter; e.g.-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description EpisodeOfCare()EpisodeOfCare(Enumeration<EpisodeOfCare.EpisodeOfCareStatus> status, Reference patient)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifier(s) by which this EpisodeOfCare is known.
-
status
protected Enumeration<EpisodeOfCare.EpisodeOfCareStatus> status
planned | waitlist | active | onhold | finished | cancelled.
-
statusHistory
protected List<EpisodeOfCare.EpisodeOfCareStatusHistoryComponent> statusHistory
The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).
-
type
protected List<CodeableConcept> type
A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care.
-
condition
protected List<Reference> condition
A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.
-
conditionTarget
protected List<Condition> conditionTarget
The actual objects that are the target of the reference (A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (The patient that this EpisodeOfCare applies to.)
-
managingOrganization
protected Reference managingOrganization
The organization that has assumed the specific responsibilities for the specified duration.
-
managingOrganizationTarget
protected Organization managingOrganizationTarget
The actual object that is the target of the reference (The organization that has assumed the specific responsibilities for the specified duration.)
-
period
protected Period period
The interval during which the managing organization assumes the defined responsibility.
-
referralRequest
protected List<Reference> referralRequest
Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.
-
referralRequestTarget
protected List<ReferralRequest> referralRequestTarget
The actual objects that are the target of the reference (Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)
-
careManager
protected Reference careManager
The practitioner that is the care manager/care co-ordinator for this patient.
-
careManagerTarget
protected Practitioner careManagerTarget
The actual object that is the target of the reference (The practitioner that is the care manager/care co-ordinator for this patient.)
-
careTeam
protected List<EpisodeOfCare.EpisodeOfCareCareTeamComponent> careTeam
The list of practitioners that may be facilitating this episode of care for specific purposes.
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_CONDITION
public static final String SP_CONDITION
- See Also:
- Constant Field Values
-
SP_INCOMINGREFERRAL
public static final String SP_INCOMINGREFERRAL
- See Also:
- Constant Field Values
-
SP_PATIENT
public static final String SP_PATIENT
- See Also:
- Constant Field Values
-
SP_ORGANIZATION
public static final String SP_ORGANIZATION
- See Also:
- Constant Field Values
-
SP_TEAMMEMBER
public static final String SP_TEAMMEMBER
- See Also:
- Constant Field Values
-
SP_TYPE
public static final String SP_TYPE
- See Also:
- Constant Field Values
-
SP_CAREMANAGER
public static final String SP_CAREMANAGER
- See Also:
- Constant Field Values
-
SP_STATUS
public static final String SP_STATUS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EpisodeOfCare
public EpisodeOfCare()
-
EpisodeOfCare
public EpisodeOfCare(Enumeration<EpisodeOfCare.EpisodeOfCareStatus> status, Reference patient)
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifier(s) by which this EpisodeOfCare is known.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(Identifier(s) by which this EpisodeOfCare is known.)
-
addIdentifier
public EpisodeOfCare addIdentifier(Identifier t)
-
getStatusElement
public Enumeration<EpisodeOfCare.EpisodeOfCareStatus> getStatusElement()
- Returns:
status(planned | waitlist | active | onhold | finished | cancelled.). 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
public EpisodeOfCare setStatusElement(Enumeration<EpisodeOfCare.EpisodeOfCareStatus> value)
- Parameters:
value-status(planned | waitlist | active | onhold | finished | cancelled.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public EpisodeOfCare.EpisodeOfCareStatus getStatus()
- Returns:
- planned | waitlist | active | onhold | finished | cancelled.
-
setStatus
public EpisodeOfCare setStatus(EpisodeOfCare.EpisodeOfCareStatus value)
- Parameters:
value- planned | waitlist | active | onhold | finished | cancelled.
-
getStatusHistory
public List<EpisodeOfCare.EpisodeOfCareStatusHistoryComponent> getStatusHistory()
- Returns:
statusHistory(The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).)
-
hasStatusHistory
public boolean hasStatusHistory()
-
addStatusHistory
public EpisodeOfCare.EpisodeOfCareStatusHistoryComponent addStatusHistory()
- Returns:
statusHistory(The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).)
-
addStatusHistory
public EpisodeOfCare addStatusHistory(EpisodeOfCare.EpisodeOfCareStatusHistoryComponent t)
-
getType
public List<CodeableConcept> getType()
- Returns:
type(A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care.)
-
hasType
public boolean hasType()
-
addType
public CodeableConcept addType()
- Returns:
type(A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care.)
-
addType
public EpisodeOfCare addType(CodeableConcept t)
-
getCondition
public List<Reference> getCondition()
- Returns:
condition(A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)
-
hasCondition
public boolean hasCondition()
-
addCondition
public Reference addCondition()
- Returns:
condition(A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)
-
addCondition
public EpisodeOfCare addCondition(Reference t)
-
getConditionTarget
public List<Condition> getConditionTarget()
- Returns:
condition(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. A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)
-
addConditionTarget
public Condition addConditionTarget()
- Returns:
condition(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. A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.)
-
getPatient
public Reference getPatient()
- Returns:
patient(The patient that this EpisodeOfCare applies to.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public EpisodeOfCare setPatient(Reference value)
- Parameters:
value-patient(The patient that this EpisodeOfCare applies to.)
-
getPatientTarget
public Patient getPatientTarget()
- Returns:
patientThe 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. (The patient that this EpisodeOfCare applies to.)
-
setPatientTarget
public EpisodeOfCare setPatientTarget(Patient value)
- Parameters:
value-patientThe 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. (The patient that this EpisodeOfCare applies to.)
-
getManagingOrganization
public Reference getManagingOrganization()
- Returns:
managingOrganization(The organization that has assumed the specific responsibilities for the specified duration.)
-
hasManagingOrganization
public boolean hasManagingOrganization()
-
setManagingOrganization
public EpisodeOfCare setManagingOrganization(Reference value)
- Parameters:
value-managingOrganization(The organization that has assumed the specific responsibilities for the specified duration.)
-
getManagingOrganizationTarget
public Organization getManagingOrganizationTarget()
- Returns:
managingOrganizationThe 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. (The organization that has assumed the specific responsibilities for the specified duration.)
-
setManagingOrganizationTarget
public EpisodeOfCare setManagingOrganizationTarget(Organization value)
- Parameters:
value-managingOrganizationThe 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. (The organization that has assumed the specific responsibilities for the specified duration.)
-
getPeriod
public Period getPeriod()
- Returns:
period(The interval during which the managing organization assumes the defined responsibility.)
-
hasPeriod
public boolean hasPeriod()
-
setPeriod
public EpisodeOfCare setPeriod(Period value)
- Parameters:
value-period(The interval during which the managing organization assumes the defined responsibility.)
-
getReferralRequest
public List<Reference> getReferralRequest()
- Returns:
referralRequest(Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)
-
hasReferralRequest
public boolean hasReferralRequest()
-
addReferralRequest
public Reference addReferralRequest()
- Returns:
referralRequest(Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)
-
addReferralRequest
public EpisodeOfCare addReferralRequest(Reference t)
-
getReferralRequestTarget
public List<ReferralRequest> getReferralRequestTarget()
- Returns:
referralRequest(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. Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)
-
addReferralRequestTarget
public ReferralRequest addReferralRequestTarget()
- Returns:
referralRequest(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. Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.)
-
getCareManager
public Reference getCareManager()
- Returns:
careManager(The practitioner that is the care manager/care co-ordinator for this patient.)
-
hasCareManager
public boolean hasCareManager()
-
setCareManager
public EpisodeOfCare setCareManager(Reference value)
- Parameters:
value-careManager(The practitioner that is the care manager/care co-ordinator for this patient.)
-
getCareManagerTarget
public Practitioner getCareManagerTarget()
- Returns:
careManagerThe 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. (The practitioner that is the care manager/care co-ordinator for this patient.)
-
setCareManagerTarget
public EpisodeOfCare setCareManagerTarget(Practitioner value)
- Parameters:
value-careManagerThe 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. (The practitioner that is the care manager/care co-ordinator for this patient.)
-
getCareTeam
public List<EpisodeOfCare.EpisodeOfCareCareTeamComponent> getCareTeam()
- Returns:
careTeam(The list of practitioners that may be facilitating this episode of care for specific purposes.)
-
hasCareTeam
public boolean hasCareTeam()
-
addCareTeam
public EpisodeOfCare.EpisodeOfCareCareTeamComponent addCareTeam()
- Returns:
careTeam(The list of practitioners that may be facilitating this episode of care for specific purposes.)
-
addCareTeam
public EpisodeOfCare addCareTeam(EpisodeOfCare.EpisodeOfCareCareTeamComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public EpisodeOfCare copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected EpisodeOfCare typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-