Class EpisodeOfCare
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.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.DiagnosisComponentstatic classEpisodeOfCare.EpisodeOfCareStatusstatic classEpisodeOfCare.EpisodeOfCareStatusEnumFactorystatic classEpisodeOfCare.EpisodeOfCareStatusHistoryComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<Reference>accountThe set of accounts that may be used for billing for this EpisodeOfCare.static ca.uhn.fhir.rest.gclient.ReferenceClientParamCARE_MANAGERFluent Client search parameter constant for care-managerprotected ReferencecareManagerThe practitioner that is the care manager/care coordinator for this patient.static ca.uhn.fhir.rest.gclient.ReferenceClientParamCONDITIONFluent Client search parameter constant for conditionstatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<EpisodeOfCare.DiagnosisComponent>diagnosisThe list of diagnosis relevant to this episode of care.protected List<Identifier>identifierThe EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_CARE_MANAGERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_CONDITIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INCOMING_REFERRALConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ORGANIZATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamINCOMING_REFERRALFluent Client search parameter constant for incoming-referralprotected ReferencemanagingOrganizationThe organization that has assumed the specific responsibilities for the specified duration.static ca.uhn.fhir.rest.gclient.ReferenceClientParamORGANIZATIONFluent Client search parameter constant for organizationprotected ReferencepatientThe patient who is the focus of this episode of care.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected 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.static StringSP_CARE_MANAGERSearch parameter: care-managerstatic StringSP_CONDITIONSearch parameter: conditionstatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_INCOMING_REFERRALSearch parameter: incoming-referralstatic StringSP_ORGANIZATIONSearch parameter: organizationstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_STATUSSearch parameter: statusstatic StringSP_TYPESearch parameter: typeprotected Enumeration<EpisodeOfCare.EpisodeOfCareStatus>statusplanned | waitlist | active | onhold | finished | cancelled.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected List<EpisodeOfCare.EpisodeOfCareStatusHistoryComponent>statusHistoryThe history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).protected List<Reference>teamThe list of practitioners that may be facilitating this episode of care for specific purposes.protected List<CodeableConcept>typeA classification of the type of episode of care; e.g.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description EpisodeOfCare()ConstructorEpisodeOfCare(EpisodeOfCare.EpisodeOfCareStatus status, Reference patient)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, 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
The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes.
-
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 episode of care; e.g. specialist referral, disease management, type of funded care.
-
diagnosis
protected List<EpisodeOfCare.DiagnosisComponent> diagnosis
The list of diagnosis relevant to this episode of care.
-
managingOrganization
protected Reference managingOrganization
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.
-
careManager
protected Reference careManager
The practitioner that is the care manager/care coordinator for this patient.
-
team
protected List<Reference> team
The list of practitioners that may be facilitating this episode of care for specific purposes.
-
account
protected List<Reference> account
The set of accounts that may be used for billing for this EpisodeOfCare.
-
SP_CARE_MANAGER
public static final String SP_CARE_MANAGER
Search parameter: care-managerDescription: Care manager/care coordinator for the patient
Type: reference
Path: EpisodeOfCare.careManager.where(resolve() is Practitioner)
- See Also:
- Constant Field Values
-
CARE_MANAGER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CARE_MANAGER
Fluent Client search parameter constant for care-managerDescription: Care manager/care coordinator for the patient
Type: reference
Path: EpisodeOfCare.careManager.where(resolve() is Practitioner)
-
INCLUDE_CARE_MANAGER
public static final ca.uhn.fhir.model.api.Include INCLUDE_CARE_MANAGER
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:care-manager".
-
SP_CONDITION
public static final String SP_CONDITION
Search parameter: conditionDescription: Conditions/problems/diagnoses this episode of care is for
Type: reference
Path: EpisodeOfCare.diagnosis.condition
- See Also:
- Constant Field Values
-
CONDITION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION
Fluent Client search parameter constant for conditionDescription: Conditions/problems/diagnoses this episode of care is for
Type: reference
Path: EpisodeOfCare.diagnosis.condition
-
INCLUDE_CONDITION
public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:condition".
-
SP_INCOMING_REFERRAL
public static final String SP_INCOMING_REFERRAL
Search parameter: incoming-referralDescription: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
- See Also:
- Constant Field Values
-
INCOMING_REFERRAL
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INCOMING_REFERRAL
Fluent Client search parameter constant for incoming-referralDescription: Incoming Referral Request
Type: reference
Path: EpisodeOfCare.referralRequest
-
INCLUDE_INCOMING_REFERRAL
public static final ca.uhn.fhir.model.api.Include INCLUDE_INCOMING_REFERRAL
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:incoming-referral".
-
SP_ORGANIZATION
public static final String SP_ORGANIZATION
Search parameter: organizationDescription: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
- See Also:
- Constant Field Values
-
ORGANIZATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION
Fluent Client search parameter constant for organizationDescription: The organization that has assumed the specific responsibilities of this EpisodeOfCare
Type: reference
Path: EpisodeOfCare.managingOrganization
-
INCLUDE_ORGANIZATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:organization".
-
SP_STATUS
public static final String SP_STATUS
Search parameter: 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:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam 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_DATE
public static final String SP_DATE
Search parameter: dateDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded [CarePlan](careplan.html): Time period plan covers [CareTeam](careteam.html): A date within the coverage time period. [ClinicalImpression](clinicalimpression.html): When the assessment was documented [Composition](composition.html): Composition editing time [Consent](consent.html): When consent was agreed to [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated [Flag](flag.html): Time period when flag is active [Immunization](immunization.html): Vaccination (non)-Administration Date [List](list.html): When the list was prepared [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period [Procedure](procedure.html): When the procedure occurred or is occurring [RiskAssessment](riskassessment.html): When was assessment made? [SupplyRequest](supplyrequest.html): When the request was made
Type: date
Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded [CarePlan](careplan.html): Time period plan covers [CareTeam](careteam.html): A date within the coverage time period. [ClinicalImpression](clinicalimpression.html): When the assessment was documented [Composition](composition.html): Composition editing time [Consent](consent.html): When consent was agreed to [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated [Flag](flag.html): Time period when flag is active [Immunization](immunization.html): Vaccination (non)-Administration Date [List](list.html): When the list was prepared [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period [Procedure](procedure.html): When the procedure occurred or is occurring [RiskAssessment](riskassessment.html): When was assessment made? [SupplyRequest](supplyrequest.html): When the request was made
Type: date
Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): External ids for this item [CarePlan](careplan.html): External Ids for this plan [CareTeam](careteam.html): External Ids for this team [Composition](composition.html): Version-independent identifier for the Composition [Condition](condition.html): A unique identifier of the condition record [Consent](consent.html): Identifier for this record (external references) [DetectedIssue](detectedissue.html): Unique id for the detected issue [DeviceRequest](devicerequest.html): Business identifier for request/order [DiagnosticReport](diagnosticreport.html): An identifier for the report [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents [DocumentReference](documentreference.html): Identifier of the attachment binary [Encounter](encounter.html): Identifier(s) by which this encounter is known [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier [Goal](goal.html): External Ids for this goal [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID [Immunization](immunization.html): Business identifier [List](list.html): Business identifier [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier [MedicationUsage](medicationusage.html): Return statements with this external identifier [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier [Observation](observation.html): The unique id for a particular observation [Procedure](procedure.html): A unique identifier for a procedure [RiskAssessment](riskassessment.html): Unique identifier for the assessment [ServiceRequest](servicerequest.html): Identifiers assigned to this order [SupplyDelivery](supplydelivery.html): External identifier [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier
Type: token
Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): External ids for this item [CarePlan](careplan.html): External Ids for this plan [CareTeam](careteam.html): External Ids for this team [Composition](composition.html): Version-independent identifier for the Composition [Condition](condition.html): A unique identifier of the condition record [Consent](consent.html): Identifier for this record (external references) [DetectedIssue](detectedissue.html): Unique id for the detected issue [DeviceRequest](devicerequest.html): Business identifier for request/order [DiagnosticReport](diagnosticreport.html): An identifier for the report [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents [DocumentReference](documentreference.html): Identifier of the attachment binary [Encounter](encounter.html): Identifier(s) by which this encounter is known [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier [Goal](goal.html): External Ids for this goal [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID [Immunization](immunization.html): Business identifier [List](list.html): Business identifier [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier [MedicationUsage](medicationusage.html): Return statements with this external identifier [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier [Observation](observation.html): The unique id for a particular observation [Procedure](procedure.html): A unique identifier for a procedure [RiskAssessment](riskassessment.html): Unique identifier for the assessment [ServiceRequest](servicerequest.html): Identifiers assigned to this order [SupplyDelivery](supplydelivery.html): External identifier [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier
Type: token
Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "EpisodeOfCare:patient".
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) [Composition](composition.html): Kind of composition (LOINC if possible) [DocumentManifest](documentmanifest.html): Kind of document set [DocumentReference](documentreference.html): Kind of document (LOINC if possible) [Encounter](encounter.html): Specific type of encounter [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management
Type: token
Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) [Composition](composition.html): Kind of composition (LOINC if possible) [DocumentManifest](documentmanifest.html): Kind of document set [DocumentReference](documentreference.html): Kind of document (LOINC if possible) [Encounter](encounter.html): Specific type of encounter [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management
Type: token
Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
-
-
Constructor Detail
-
EpisodeOfCare
public EpisodeOfCare()
Constructor
-
EpisodeOfCare
public EpisodeOfCare(EpisodeOfCare.EpisodeOfCareStatus status, Reference patient)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes.)
-
setIdentifier
public EpisodeOfCare setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public EpisodeOfCare addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
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).)
-
setStatusHistory
public EpisodeOfCare setStatusHistory(List<EpisodeOfCare.EpisodeOfCareStatusHistoryComponent> theStatusHistory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasStatusHistory
public boolean hasStatusHistory()
-
addStatusHistory
public EpisodeOfCare.EpisodeOfCareStatusHistoryComponent addStatusHistory()
-
addStatusHistory
public EpisodeOfCare addStatusHistory(EpisodeOfCare.EpisodeOfCareStatusHistoryComponent t)
-
getStatusHistoryFirstRep
public EpisodeOfCare.EpisodeOfCareStatusHistoryComponent getStatusHistoryFirstRep()
- Returns:
- The first repetition of repeating field
statusHistory, creating it if it does not already exist {3}
-
getType
public List<CodeableConcept> getType()
- Returns:
type(A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care.)
-
setType
public EpisodeOfCare setType(List<CodeableConcept> theType)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasType
public boolean hasType()
-
addType
public CodeableConcept addType()
-
addType
public EpisodeOfCare addType(CodeableConcept t)
-
getTypeFirstRep
public CodeableConcept getTypeFirstRep()
- Returns:
- The first repetition of repeating field
type, creating it if it does not already exist {3}
-
getDiagnosis
public List<EpisodeOfCare.DiagnosisComponent> getDiagnosis()
- Returns:
diagnosis(The list of diagnosis relevant to this episode of care.)
-
setDiagnosis
public EpisodeOfCare setDiagnosis(List<EpisodeOfCare.DiagnosisComponent> theDiagnosis)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDiagnosis
public boolean hasDiagnosis()
-
addDiagnosis
public EpisodeOfCare.DiagnosisComponent addDiagnosis()
-
addDiagnosis
public EpisodeOfCare addDiagnosis(EpisodeOfCare.DiagnosisComponent t)
-
getDiagnosisFirstRep
public EpisodeOfCare.DiagnosisComponent getDiagnosisFirstRep()
- Returns:
- The first repetition of repeating field
diagnosis, creating it if it does not already exist {3}
-
getPatient
public Reference getPatient()
- Returns:
patient(The patient who is the focus of this episode of care.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public EpisodeOfCare setPatient(Reference value)
- Parameters:
value-patient(The patient who is the focus of this episode of care.)
-
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.)
-
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.)
-
setReferralRequest
public EpisodeOfCare setReferralRequest(List<Reference> theReferralRequest)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReferralRequest
public boolean hasReferralRequest()
-
addReferralRequest
public Reference addReferralRequest()
-
addReferralRequest
public EpisodeOfCare addReferralRequest(Reference t)
-
getReferralRequestFirstRep
public Reference getReferralRequestFirstRep()
- Returns:
- The first repetition of repeating field
referralRequest, creating it if it does not already exist {3}
-
getCareManager
public Reference getCareManager()
- Returns:
careManager(The practitioner that is the care manager/care coordinator for this patient.)
-
hasCareManager
public boolean hasCareManager()
-
setCareManager
public EpisodeOfCare setCareManager(Reference value)
- Parameters:
value-careManager(The practitioner that is the care manager/care coordinator for this patient.)
-
getTeam
public List<Reference> getTeam()
- Returns:
team(The list of practitioners that may be facilitating this episode of care for specific purposes.)
-
setTeam
public EpisodeOfCare setTeam(List<Reference> theTeam)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTeam
public boolean hasTeam()
-
addTeam
public EpisodeOfCare addTeam(Reference t)
-
getTeamFirstRep
public Reference getTeamFirstRep()
- Returns:
- The first repetition of repeating field
team, creating it if it does not already exist {3}
-
getAccount
public List<Reference> getAccount()
- Returns:
account(The set of accounts that may be used for billing for this EpisodeOfCare.)
-
setAccount
public EpisodeOfCare setAccount(List<Reference> theAccount)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAccount
public boolean hasAccount()
-
addAccount
public Reference addAccount()
-
addAccount
public EpisodeOfCare addAccount(Reference t)
-
getAccountFirstRep
public Reference getAccountFirstRep()
- Returns:
- The first repetition of repeating field
account, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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
-
copyValues
public void copyValues(EpisodeOfCare dst)
-
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
-
-