
Class Encounter
- 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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic enumstatic classstatic classstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionThe set of accounts that may be used for billing for this Encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for accountThe actual objects that are the target of the reference (The set of accounts that may be used for billing for this Encounter.)The appointment that scheduled this encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for appointmentprotected List<Appointment> The actual objects that are the target of the reference (The appointment that scheduled this encounter.)static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for based-onThe request this encounter satisfies (e.g. incoming referral or procedure request).protected List<ServiceRequest> The actual objects that are the target of the reference (The request this encounter satisfies (e.g. incoming referral or procedure request).)static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for classprotected CodingConcepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.protected List<Encounter.ClassHistoryComponent> The class history permits the tracking of the encounters transitions without needing to go through the resource history.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for dateprotected List<Encounter.DiagnosisComponent> The list of diagnosis relevant to this encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for diagnosisstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for episode-of-careWhere a specific encounter should be classified as a part of a specific episode(s) of care this field should be used.protected List<EpisodeOfCare> The actual objects that are the target of the reference (Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used.Details about the admission to a healthcare service.protected List<Identifier> Identifier(s) by which this encounter is known.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.protected DurationQuantity of time the encounter lasted.static final ca.uhn.fhir.rest.gclient.QuantityClientParamFluent Client search parameter constant for lengthprotected List<Encounter.EncounterLocationComponent> List of locations where the patient has been during this encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for locationstatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for location-periodstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for part-ofprotected List<Encounter.EncounterParticipantComponent> The list of people responsible for providing the service.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for participantstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for participant-typeprotected ReferenceAnother Encounter of which this encounter is a part of (administratively or in time).protected EncounterThe actual object that is the target of the reference (Another Encounter of which this encounter is a part of (administratively or in time).)static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientprotected PeriodThe start and end time of the encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for practitionerprotected CodeableConceptIndicates the urgency of the encounter.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for reason-codestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for reason-referenceprotected List<CodeableConcept> Reason the encounter takes place, expressed as a code.Reason the encounter takes place, expressed as a code.The actual objects that are the target of the reference (Reason the encounter takes place, expressed as a code.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for service-providerprotected ReferenceThe organization that is primarily responsible for this Encounter's services.protected OrganizationThe actual object that is the target of the reference (The organization that is primarily responsible for this Encounter's services.protected CodeableConceptBroad categorization of the service that is to be provided (e.g. cardiology).static final StringSearch parameter: accountstatic final StringSearch parameter: appointmentstatic final StringSearch parameter: based-onstatic final StringSearch parameter: classstatic final StringSearch parameter: datestatic final StringSearch parameter: diagnosisstatic final StringSearch parameter: episode-of-carestatic final StringSearch parameter: identifierstatic final StringSearch parameter: lengthstatic final StringSearch parameter: locationstatic final StringSearch parameter: location-periodstatic final StringSearch parameter: part-ofstatic final StringSearch parameter: participantstatic final StringSearch parameter: participant-typestatic final StringSearch parameter: patientstatic final StringSearch parameter: practitionerstatic final StringSearch parameter: reason-codestatic final StringSearch parameter: reason-referencestatic final StringSearch parameter: service-providerstatic final StringSearch parameter: special-arrangementstatic final StringSearch parameter: statusstatic final StringSearch parameter: subjectstatic final StringSearch parameter: typestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for special-arrangementprotected Enumeration<Encounter.EncounterStatus> planned | arrived | triaged | in-progress | onleave | finished | cancelled +.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusprotected List<Encounter.StatusHistoryComponent> The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.protected ReferenceThe patient or group present at the encounter.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for subjectprotected ResourceThe actual object that is the target of the reference (The patient or group present at the encounter.)protected List<CodeableConcept> Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for typeFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorEncounter(Enumeration<Encounter.EncounterStatus> status, Coding class_) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddType()copy()voidcopyValues(Encounter dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getType()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasType()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setAccount(List<Reference> theAccount) setAppointment(List<Reference> theAppointment) setBasedOn(List<Reference> theBasedOn) setClassHistory(List<Encounter.ClassHistoryComponent> theClassHistory) setDiagnosis(List<Encounter.DiagnosisComponent> theDiagnosis) setEpisodeOfCare(List<Reference> theEpisodeOfCare) setIdentifier(List<Identifier> theIdentifier) setLocation(List<Encounter.EncounterLocationComponent> theLocation) setParticipant(List<Encounter.EncounterParticipantComponent> theParticipant) setPartOfTarget(Encounter value) setPriority(CodeableConcept value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setReasonCode(List<CodeableConcept> theReasonCode) setReasonReference(List<Reference> theReasonReference) setServiceProvider(Reference value) setServiceType(CodeableConcept value) setStatusHistory(List<Encounter.StatusHistoryComponent> theStatusHistory) setSubject(Reference value) setSubjectTarget(Resource value) setType(List<CodeableConcept> theType) protected EncounterMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifier(s) by which this encounter is known. -
status
planned | arrived | triaged | in-progress | onleave | finished | cancelled +. -
statusHistory
The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them. -
class_
Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations. -
classHistory
The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient. -
type
Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation). -
serviceType
Broad categorization of the service that is to be provided (e.g. cardiology). -
priority
Indicates the urgency of the encounter. -
subject
The patient or group present at the encounter. -
subjectTarget
The actual object that is the target of the reference (The patient or group present at the encounter.) -
episodeOfCare
Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years). -
episodeOfCareTarget
The actual objects that are the target of the reference (Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).) -
basedOn
The request this encounter satisfies (e.g. incoming referral or procedure request). -
basedOnTarget
The actual objects that are the target of the reference (The request this encounter satisfies (e.g. incoming referral or procedure request).) -
participant
The list of people responsible for providing the service. -
appointment
The appointment that scheduled this encounter. -
appointmentTarget
The actual objects that are the target of the reference (The appointment that scheduled this encounter.) -
period
The start and end time of the encounter. -
length
Quantity of time the encounter lasted. This excludes the time during leaves of absence. -
reasonCode
Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. -
reasonReference
Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. -
reasonReferenceTarget
The actual objects that are the target of the reference (Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.) -
diagnosis
The list of diagnosis relevant to this encounter. -
account
The set of accounts that may be used for billing for this Encounter. -
accountTarget
The actual objects that are the target of the reference (The set of accounts that may be used for billing for this Encounter.) -
hospitalization
Details about the admission to a healthcare service. -
location
List of locations where the patient has been during this encounter. -
serviceProvider
The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy. -
serviceProviderTarget
The actual object that is the target of the reference (The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.) -
partOf
Another Encounter of which this encounter is a part of (administratively or in time). -
partOfTarget
The actual object that is the target of the reference (Another Encounter of which this encounter is a part of (administratively or in time).) -
SP_DATE
Search parameter: dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
-
SP_IDENTIFIER
Search parameter: identifierDescription: Identifier(s) by which this encounter is known
Type: token
Path: Encounter.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Identifier(s) by which this encounter is known
Type: token
Path: Encounter.identifier
-
SP_PARTICIPANT_TYPE
Search parameter: participant-typeDescription: Role of participant in encounter
Type: token
Path: Encounter.participant.type
- See Also:
-
PARTICIPANT_TYPE
Fluent Client search parameter constant for participant-typeDescription: Role of participant in encounter
Type: token
Path: Encounter.participant.type
-
SP_PRACTITIONER
Search parameter: practitionerDescription: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
- See Also:
-
PRACTITIONER
Fluent Client search parameter constant for practitionerDescription: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
-
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:practitioner". -
SP_SUBJECT
Search parameter: subjectDescription: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:subject". -
SP_LENGTH
Search parameter: lengthDescription: Length of encounter in days
Type: quantity
Path: Encounter.length
- See Also:
-
LENGTH
Fluent Client search parameter constant for lengthDescription: Length of encounter in days
Type: quantity
Path: Encounter.length
-
SP_EPISODE_OF_CARE
Search parameter: episode-of-careDescription: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
- See Also:
-
EPISODE_OF_CARE
Fluent Client search parameter constant for episode-of-careDescription: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
-
INCLUDE_EPISODE_OF_CARE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:episode-of-care". -
SP_DIAGNOSIS
Search parameter: diagnosisDescription: The diagnosis or procedure relevant to the encounter
Type: reference
Path: Encounter.diagnosis.condition
- See Also:
-
DIAGNOSIS
Fluent Client search parameter constant for diagnosisDescription: The diagnosis or procedure relevant to the encounter
Type: reference
Path: Encounter.diagnosis.condition
-
INCLUDE_DIAGNOSIS
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:diagnosis". -
SP_APPOINTMENT
Search parameter: appointmentDescription: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
- See Also:
-
APPOINTMENT
Fluent Client search parameter constant for appointmentDescription: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
-
INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:appointment". -
SP_PART_OF
Search parameter: part-ofDescription: Another Encounter this encounter is part of
Type: reference
Path: Encounter.partOf
- See Also:
-
PART_OF
Fluent Client search parameter constant for part-ofDescription: Another Encounter this encounter is part of
Type: reference
Path: Encounter.partOf
-
INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:part-of". -
SP_TYPE
Search parameter: typeDescription: Specific type of encounter
Type: token
Path: Encounter.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: Specific type of encounter
Type: token
Path: Encounter.type
-
SP_REASON_CODE
Search parameter: reason-codeDescription: Coded reason the encounter takes place
Type: token
Path: Encounter.reasonCode
- See Also:
-
REASON_CODE
Fluent Client search parameter constant for reason-codeDescription: Coded reason the encounter takes place
Type: token
Path: Encounter.reasonCode
-
SP_PARTICIPANT
Search parameter: participantDescription: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
- See Also:
-
PARTICIPANT
Fluent Client search parameter constant for participantDescription: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
-
INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:participant". -
SP_BASED_ON
Search parameter: based-onDescription: The ServiceRequest that initiated this encounter
Type: reference
Path: Encounter.basedOn
- See Also:
-
BASED_ON
Fluent Client search parameter constant for based-onDescription: The ServiceRequest that initiated this encounter
Type: reference
Path: Encounter.basedOn
-
INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:based-on". -
SP_PATIENT
Search parameter: patientDescription: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:patient". -
SP_REASON_REFERENCE
Search parameter: reason-referenceDescription: Reason the encounter takes place (reference)
Type: reference
Path: Encounter.reasonReference
- See Also:
-
REASON_REFERENCE
Fluent Client search parameter constant for reason-referenceDescription: Reason the encounter takes place (reference)
Type: reference
Path: Encounter.reasonReference
-
INCLUDE_REASON_REFERENCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:reason-reference". -
SP_LOCATION_PERIOD
Search parameter: location-periodDescription: Time period during which the patient was present at the location
Type: date
Path: Encounter.location.period
- See Also:
-
LOCATION_PERIOD
Fluent Client search parameter constant for location-periodDescription: Time period during which the patient was present at the location
Type: date
Path: Encounter.location.period
-
SP_LOCATION
Search parameter: locationDescription: Location the encounter takes place
Type: reference
Path: Encounter.location.location
- See Also:
-
LOCATION
Fluent Client search parameter constant for locationDescription: Location the encounter takes place
Type: reference
Path: Encounter.location.location
-
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:location". -
SP_SERVICE_PROVIDER
Search parameter: service-providerDescription: The organization (facility) responsible for this encounter
Type: reference
Path: Encounter.serviceProvider
- See Also:
-
SERVICE_PROVIDER
Fluent Client search parameter constant for service-providerDescription: The organization (facility) responsible for this encounter
Type: reference
Path: Encounter.serviceProvider
-
INCLUDE_SERVICE_PROVIDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:service-provider". -
SP_SPECIAL_ARRANGEMENT
Search parameter: special-arrangementDescription: Wheelchair, translator, stretcher, etc.
Type: token
Path: Encounter.hospitalization.specialArrangement
- See Also:
-
SPECIAL_ARRANGEMENT
Fluent Client search parameter constant for special-arrangementDescription: Wheelchair, translator, stretcher, etc.
Type: token
Path: Encounter.hospitalization.specialArrangement
-
SP_CLASS
Search parameter: classDescription: Classification of patient encounter
Type: token
Path: Encounter.class
- See Also:
-
CLASS
Fluent Client search parameter constant for classDescription: Classification of patient encounter
Type: token
Path: Encounter.class
-
SP_ACCOUNT
Search parameter: accountDescription: The set of accounts that may be used for billing for this Encounter
Type: reference
Path: Encounter.account
- See Also:
-
ACCOUNT
Fluent Client search parameter constant for accountDescription: The set of accounts that may be used for billing for this Encounter
Type: reference
Path: Encounter.account
-
INCLUDE_ACCOUNT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:account". -
SP_STATUS
Search parameter: statusDescription: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
-
-
Constructor Details
-
Encounter
public Encounter()Constructor -
Encounter
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier(Identifier(s) by which this encounter is known.)
-
setIdentifier
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getStatusElement
- Returns:
status(planned | arrived | triaged | in-progress | onleave | finished | cancelled +.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value-status(planned | arrived | triaged | in-progress | onleave | finished | cancelled +.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
-
setStatus
- Parameters:
value- planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
-
getStatusHistory
- Returns:
statusHistory(The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.)
-
setStatusHistory
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasStatusHistory
-
addStatusHistory
-
addStatusHistory
-
getStatusHistoryFirstRep
- Returns:
- The first repetition of repeating field
statusHistory, creating it if it does not already exist
-
getClass_
- Returns:
class_(Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.)
-
hasClass_
-
setClass_
- Parameters:
value-class_(Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.)
-
getClassHistory
- Returns:
classHistory(The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.)
-
setClassHistory
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasClassHistory
-
addClassHistory
-
addClassHistory
-
getClassHistoryFirstRep
- Returns:
- The first repetition of repeating field
classHistory, creating it if it does not already exist
-
getType
- Returns:
type(Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).)
-
setType
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasType
-
addType
-
addType
-
getTypeFirstRep
- Returns:
- The first repetition of repeating field
type, creating it if it does not already exist
-
getServiceType
- Returns:
serviceType(Broad categorization of the service that is to be provided (e.g. cardiology).)
-
hasServiceType
-
setServiceType
- Parameters:
value-serviceType(Broad categorization of the service that is to be provided (e.g. cardiology).)
-
getPriority
- Returns:
priority(Indicates the urgency of the encounter.)
-
hasPriority
-
setPriority
- Parameters:
value-priority(Indicates the urgency of the encounter.)
-
getSubject
- Returns:
subject(The patient or group present at the encounter.)
-
hasSubject
-
setSubject
- Parameters:
value-subject(The patient or group present at the encounter.)
-
getSubjectTarget
- Returns:
subjectThe 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 or group present at the encounter.)
-
setSubjectTarget
- Parameters:
value-subjectThe 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 or group present at the encounter.)
-
getEpisodeOfCare
- Returns:
episodeOfCare(Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).)
-
setEpisodeOfCare
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasEpisodeOfCare
-
addEpisodeOfCare
-
addEpisodeOfCare
-
getEpisodeOfCareFirstRep
- Returns:
- The first repetition of repeating field
episodeOfCare, creating it if it does not already exist
-
getBasedOn
- Returns:
basedOn(The request this encounter satisfies (e.g. incoming referral or procedure request).)
-
setBasedOn
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
-
addBasedOn
-
addBasedOn
-
getBasedOnFirstRep
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist
-
getParticipant
- Returns:
participant(The list of people responsible for providing the service.)
-
setParticipant
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParticipant
-
addParticipant
-
addParticipant
-
getParticipantFirstRep
- Returns:
- The first repetition of repeating field
participant, creating it if it does not already exist
-
getAppointment
- Returns:
appointment(The appointment that scheduled this encounter.)
-
setAppointment
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAppointment
-
addAppointment
-
addAppointment
-
getAppointmentFirstRep
- Returns:
- The first repetition of repeating field
appointment, creating it if it does not already exist
-
getPeriod
- Returns:
period(The start and end time of the encounter.)
-
hasPeriod
-
setPeriod
- Parameters:
value-period(The start and end time of the encounter.)
-
getLength
- Returns:
length(Quantity of time the encounter lasted. This excludes the time during leaves of absence.)
-
hasLength
-
setLength
- Parameters:
value-length(Quantity of time the encounter lasted. This excludes the time during leaves of absence.)
-
getReasonCode
- Returns:
reasonCode(Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)
-
setReasonCode
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonCode
-
addReasonCode
-
addReasonCode
-
getReasonCodeFirstRep
- Returns:
- The first repetition of repeating field
reasonCode, creating it if it does not already exist
-
getReasonReference
- Returns:
reasonReference(Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)
-
setReasonReference
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonReference
-
addReasonReference
-
addReasonReference
-
getReasonReferenceFirstRep
- Returns:
- The first repetition of repeating field
reasonReference, creating it if it does not already exist
-
getDiagnosis
- Returns:
diagnosis(The list of diagnosis relevant to this encounter.)
-
setDiagnosis
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDiagnosis
-
addDiagnosis
-
addDiagnosis
-
getDiagnosisFirstRep
- Returns:
- The first repetition of repeating field
diagnosis, creating it if it does not already exist
-
getAccount
- Returns:
account(The set of accounts that may be used for billing for this Encounter.)
-
setAccount
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAccount
-
addAccount
-
addAccount
-
getAccountFirstRep
- Returns:
- The first repetition of repeating field
account, creating it if it does not already exist
-
getHospitalization
- Returns:
hospitalization(Details about the admission to a healthcare service.)
-
hasHospitalization
-
setHospitalization
- Parameters:
value-hospitalization(Details about the admission to a healthcare service.)
-
getLocation
- Returns:
location(List of locations where the patient has been during this encounter.)
-
setLocation
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLocation
-
addLocation
-
addLocation
-
getLocationFirstRep
- Returns:
- The first repetition of repeating field
location, creating it if it does not already exist
-
getServiceProvider
- Returns:
serviceProvider(The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.)
-
hasServiceProvider
-
setServiceProvider
- Parameters:
value-serviceProvider(The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.)
-
getServiceProviderTarget
- Returns:
serviceProviderThe 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 is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.)
-
setServiceProviderTarget
- Parameters:
value-serviceProviderThe 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 is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.)
-
getPartOf
- Returns:
partOf(Another Encounter of which this encounter is a part of (administratively or in time).)
-
hasPartOf
-
setPartOf
- Parameters:
value-partOf(Another Encounter of which this encounter is a part of (administratively or in time).)
-
getPartOfTarget
- Returns:
partOfThe 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. (Another Encounter of which this encounter is a part of (administratively or in time).)
-
setPartOfTarget
- Parameters:
value-partOfThe 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. (Another Encounter of which this encounter is a part of (administratively or in time).)
-
listChildren
- 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
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-