public class Encounter extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Encounter.ClassHistoryComponent |
static class |
Encounter.DiagnosisComponent |
static class |
Encounter.EncounterHospitalizationComponent |
static class |
Encounter.EncounterLocationComponent |
static class |
Encounter.EncounterLocationStatus |
static class |
Encounter.EncounterLocationStatusEnumFactory |
static class |
Encounter.EncounterParticipantComponent |
static class |
Encounter.EncounterStatus |
static class |
Encounter.EncounterStatusEnumFactory |
static class |
Encounter.StatusHistoryComponent |
| Modifier and Type | Field and Description |
|---|---|
protected List<Reference> |
account
The set of accounts that may be used for billing for this Encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ACCOUNT
Fluent Client search parameter constant for account
|
protected List<Account> |
accountTarget
The actual objects that are the target of the reference (The set of accounts that may be used for billing for this Encounter.)
|
protected List<Reference> |
appointment
The appointment that scheduled this encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
APPOINTMENT
Fluent Client search parameter constant for appointment
|
protected List<Appointment> |
appointmentTarget
The actual objects that are the target of the reference (The appointment that scheduled this encounter.)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
BASED_ON
Fluent Client search parameter constant for based-on
|
protected List<Reference> |
basedOn
The request this encounter satisfies (e.g.
|
protected List<ServiceRequest> |
basedOnTarget
The actual objects that are the target of the reference (The request this encounter satisfies (e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CLASS
Fluent Client search parameter constant for class
|
protected Coding |
class_
Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.
|
protected List<Encounter.ClassHistoryComponent> |
classHistory
The class history permits the tracking of the encounters transitions without needing to go through the resource history.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected List<Encounter.DiagnosisComponent> |
diagnosis
The list of diagnosis relevant to this encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DIAGNOSIS
Fluent Client search parameter constant for diagnosis
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
EPISODE_OF_CARE
Fluent Client search parameter constant for episode-of-care
|
protected List<Reference> |
episodeOfCare
Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used.
|
protected List<EpisodeOfCare> |
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.
|
protected Encounter.EncounterHospitalizationComponent |
hospitalization
Details about the admission to a healthcare service.
|
protected List<Identifier> |
identifier
Identifier(s) by which this encounter is known.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ACCOUNT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DIAGNOSIS
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_EPISODE_OF_CARE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_REASON_REFERENCE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SERVICE_PROVIDER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected Duration |
length
Quantity of time the encounter lasted.
|
static ca.uhn.fhir.rest.gclient.QuantityClientParam |
LENGTH
Fluent Client search parameter constant for length
|
protected List<Encounter.EncounterLocationComponent> |
location
List of locations where the patient has been during this encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
LOCATION
Fluent Client search parameter constant for location
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
LOCATION_PERIOD
Fluent Client search parameter constant for location-period
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PART_OF
Fluent Client search parameter constant for part-of
|
protected List<Encounter.EncounterParticipantComponent> |
participant
The list of people responsible for providing the service.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PARTICIPANT
Fluent Client search parameter constant for participant
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PARTICIPANT_TYPE
Fluent Client search parameter constant for participant-type
|
protected Reference |
partOf
Another Encounter of which this encounter is a part of (administratively or in time).
|
protected Encounter |
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).)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Period |
period
The start and end time of the encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PRACTITIONER
Fluent Client search parameter constant for practitioner
|
protected CodeableConcept |
priority
Indicates the urgency of the encounter.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
REASON_CODE
Fluent Client search parameter constant for reason-code
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
REASON_REFERENCE
Fluent Client search parameter constant for reason-reference
|
protected List<CodeableConcept> |
reasonCode
Reason the encounter takes place, expressed as a code.
|
protected List<Reference> |
reasonReference
Reason the encounter takes place, expressed as a code.
|
protected List<Resource> |
reasonReferenceTarget
The actual objects that are the target of the reference (Reason the encounter takes place, expressed as a code.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SERVICE_PROVIDER
Fluent Client search parameter constant for service-provider
|
protected Reference |
serviceProvider
The organization that is primarily responsible for this Encounter's services.
|
protected Organization |
serviceProviderTarget
The actual object that is the target of the reference (The organization that is primarily responsible for this Encounter's services.
|
protected CodeableConcept |
serviceType
Broad categorization of the service that is to be provided (e.g.
|
static String |
SP_ACCOUNT
Search parameter: account
|
static String |
SP_APPOINTMENT
Search parameter: appointment
|
static String |
SP_BASED_ON
Search parameter: based-on
|
static String |
SP_CLASS
Search parameter: class
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_DIAGNOSIS
Search parameter: diagnosis
|
static String |
SP_EPISODE_OF_CARE
Search parameter: episode-of-care
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_LENGTH
Search parameter: length
|
static String |
SP_LOCATION
Search parameter: location
|
static String |
SP_LOCATION_PERIOD
Search parameter: location-period
|
static String |
SP_PART_OF
Search parameter: part-of
|
static String |
SP_PARTICIPANT
Search parameter: participant
|
static String |
SP_PARTICIPANT_TYPE
Search parameter: participant-type
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PRACTITIONER
Search parameter: practitioner
|
static String |
SP_REASON_CODE
Search parameter: reason-code
|
static String |
SP_REASON_REFERENCE
Search parameter: reason-reference
|
static String |
SP_SERVICE_PROVIDER
Search parameter: service-provider
|
static String |
SP_SPECIAL_ARRANGEMENT
Search parameter: special-arrangement
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
SPECIAL_ARRANGEMENT
Fluent Client search parameter constant for special-arrangement
|
protected Enumeration<Encounter.EncounterStatus> |
status
planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<Encounter.StatusHistoryComponent> |
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.
|
protected Reference |
subject
The patient or group present at the encounter.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The patient or group present at the encounter.)
|
protected List<CodeableConcept> |
type
Specific type of encounter (e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Encounter()
Constructor
|
Encounter(Enumeration<Encounter.EncounterStatus> status,
Coding class_)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Encounter.EncounterStatus> status
protected List<Encounter.StatusHistoryComponent> statusHistory
protected Coding class_
protected List<Encounter.ClassHistoryComponent> classHistory
protected List<CodeableConcept> type
protected CodeableConcept serviceType
protected CodeableConcept priority
protected Resource subjectTarget
protected List<Reference> episodeOfCare
protected List<EpisodeOfCare> episodeOfCareTarget
protected List<Reference> basedOn
protected List<ServiceRequest> basedOnTarget
protected List<Encounter.EncounterParticipantComponent> participant
protected List<Reference> appointment
protected List<Appointment> appointmentTarget
protected Duration length
protected List<CodeableConcept> reasonCode
protected List<Reference> reasonReference
protected List<Resource> reasonReferenceTarget
protected List<Encounter.DiagnosisComponent> diagnosis
protected List<Reference> account
protected List<Account> accountTarget
protected Encounter.EncounterHospitalizationComponent hospitalization
protected List<Encounter.EncounterLocationComponent> location
protected Reference serviceProvider
protected Organization serviceProviderTarget
protected Reference partOf
protected Encounter partOfTarget
public static final String SP_DATE
Description: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
public static final String SP_IDENTIFIER
Description: Identifier(s) by which this encounter is known
Type: token
Path: Encounter.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Identifier(s) by which this encounter is known
Type: token
Path: Encounter.identifier
public static final String SP_PARTICIPANT_TYPE
Description: Role of participant in encounter
Type: token
Path: Encounter.participant.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_TYPE
Description: Role of participant in encounter
Type: token
Path: Encounter.participant.type
public static final String SP_PRACTITIONER
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER
public static final String SP_SUBJECT
Description: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_LENGTH
Description: Length of encounter in days
Type: quantity
Path: Encounter.length
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam LENGTH
Description: Length of encounter in days
Type: quantity
Path: Encounter.length
public static final String SP_EPISODE_OF_CARE
Description: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EPISODE_OF_CARE
Description: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
public static final ca.uhn.fhir.model.api.Include INCLUDE_EPISODE_OF_CARE
public static final String SP_DIAGNOSIS
Description: The diagnosis or procedure relevant to the encounter
Type: reference
Path: Encounter.diagnosis.condition
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DIAGNOSIS
Description: The diagnosis or procedure relevant to the encounter
Type: reference
Path: Encounter.diagnosis.condition
public static final ca.uhn.fhir.model.api.Include INCLUDE_DIAGNOSIS
public static final String SP_APPOINTMENT
Description: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam APPOINTMENT
Description: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
public static final ca.uhn.fhir.model.api.Include INCLUDE_APPOINTMENT
public static final String SP_PART_OF
Description: Another Encounter this encounter is part of
Type: reference
Path: Encounter.partOf
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF
Description: Another Encounter this encounter is part of
Type: reference
Path: Encounter.partOf
public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF
public static final String SP_TYPE
Description: Specific type of encounter
Type: token
Path: Encounter.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: Specific type of encounter
Type: token
Path: Encounter.type
public static final String SP_REASON_CODE
Description: Coded reason the encounter takes place
Type: token
Path: Encounter.reasonCode
public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE
Description: Coded reason the encounter takes place
Type: token
Path: Encounter.reasonCode
public static final String SP_PARTICIPANT
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT
public static final String SP_BASED_ON
Description: The ServiceRequest that initiated this encounter
Type: reference
Path: Encounter.basedOn
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Description: The ServiceRequest that initiated this encounter
Type: reference
Path: Encounter.basedOn
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
public static final String SP_PATIENT
Description: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The patient or group present at the encounter
Type: reference
Path: Encounter.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_REASON_REFERENCE
Description: Reason the encounter takes place (reference)
Type: reference
Path: Encounter.reasonReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE
Description: Reason the encounter takes place (reference)
Type: reference
Path: Encounter.reasonReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE
public static final String SP_LOCATION_PERIOD
Description: Time period during which the patient was present at the location
Type: date
Path: Encounter.location.period
public static final ca.uhn.fhir.rest.gclient.DateClientParam LOCATION_PERIOD
Description: Time period during which the patient was present at the location
Type: date
Path: Encounter.location.period
public static final String SP_LOCATION
Description: Location the encounter takes place
Type: reference
Path: Encounter.location.location
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
Description: Location the encounter takes place
Type: reference
Path: Encounter.location.location
public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
public static final String SP_SERVICE_PROVIDER
Description: The organization (facility) responsible for this encounter
Type: reference
Path: Encounter.serviceProvider
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SERVICE_PROVIDER
Description: The organization (facility) responsible for this encounter
Type: reference
Path: Encounter.serviceProvider
public static final ca.uhn.fhir.model.api.Include INCLUDE_SERVICE_PROVIDER
public static final String SP_SPECIAL_ARRANGEMENT
Description: Wheelchair, translator, stretcher, etc.
Type: token
Path: Encounter.hospitalization.specialArrangement
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIAL_ARRANGEMENT
Description: Wheelchair, translator, stretcher, etc.
Type: token
Path: Encounter.hospitalization.specialArrangement
public static final String SP_CLASS
Description: Classification of patient encounter
Type: token
Path: Encounter.class
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASS
Description: Classification of patient encounter
Type: token
Path: Encounter.class
public static final String SP_ACCOUNT
Description: The set of accounts that may be used for billing for this Encounter
Type: reference
Path: Encounter.account
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT
Description: The set of accounts that may be used for billing for this Encounter
Type: reference
Path: Encounter.account
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT
public static final String SP_STATUS
Description: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
public Encounter()
public Encounter(Enumeration<Encounter.EncounterStatus> status, Coding class_)
public List<Identifier> getIdentifier()
identifier (Identifier(s) by which this encounter is known.)public Encounter setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Encounter addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Encounter.EncounterStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Encounter setStatusElement(Enumeration<Encounter.EncounterStatus> value)
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 valuepublic Encounter.EncounterStatus getStatus()
public Encounter setStatus(Encounter.EncounterStatus value)
value - planned | arrived | triaged | in-progress | onleave | finished | cancelled +.public List<Encounter.StatusHistoryComponent> getStatusHistory()
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.)public Encounter setStatusHistory(List<Encounter.StatusHistoryComponent> theStatusHistory)
this for easy method chainingpublic boolean hasStatusHistory()
public Encounter.StatusHistoryComponent addStatusHistory()
public Encounter addStatusHistory(Encounter.StatusHistoryComponent t)
public Encounter.StatusHistoryComponent getStatusHistoryFirstRep()
statusHistory, creating it if it does not already existpublic Coding getClass_()
class_ (Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.)public boolean hasClass_()
public Encounter setClass_(Coding value)
value - class_ (Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.)public List<Encounter.ClassHistoryComponent> getClassHistory()
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.)public Encounter setClassHistory(List<Encounter.ClassHistoryComponent> theClassHistory)
this for easy method chainingpublic boolean hasClassHistory()
public Encounter.ClassHistoryComponent addClassHistory()
public Encounter addClassHistory(Encounter.ClassHistoryComponent t)
public Encounter.ClassHistoryComponent getClassHistoryFirstRep()
classHistory, creating it if it does not already existpublic List<CodeableConcept> getType()
type (Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).)public Encounter setType(List<CodeableConcept> theType)
this for easy method chainingpublic boolean hasType()
public CodeableConcept addType()
public Encounter addType(CodeableConcept t)
public CodeableConcept getTypeFirstRep()
type, creating it if it does not already existpublic CodeableConcept getServiceType()
serviceType (Broad categorization of the service that is to be provided (e.g. cardiology).)public boolean hasServiceType()
public Encounter setServiceType(CodeableConcept value)
value - serviceType (Broad categorization of the service that is to be provided (e.g. cardiology).)public CodeableConcept getPriority()
priority (Indicates the urgency of the encounter.)public boolean hasPriority()
public Encounter setPriority(CodeableConcept value)
value - priority (Indicates the urgency of the encounter.)public Reference getSubject()
subject (The patient or group present at the encounter.)public boolean hasSubject()
public Encounter setSubject(Reference value)
value - subject (The patient or group present at the encounter.)public Resource getSubjectTarget()
subject The 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.)public Encounter setSubjectTarget(Resource value)
value - subject The 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.)public List<Reference> getEpisodeOfCare()
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).)public Encounter setEpisodeOfCare(List<Reference> theEpisodeOfCare)
this for easy method chainingpublic boolean hasEpisodeOfCare()
public Reference addEpisodeOfCare()
public Encounter addEpisodeOfCare(Reference t)
public Reference getEpisodeOfCareFirstRep()
episodeOfCare, creating it if it does not already exist@Deprecated public List<EpisodeOfCare> getEpisodeOfCareTarget()
@Deprecated public EpisodeOfCare addEpisodeOfCareTarget()
public List<Reference> getBasedOn()
basedOn (The request this encounter satisfies (e.g. incoming referral or procedure request).)public Encounter setBasedOn(List<Reference> theBasedOn)
this for easy method chainingpublic boolean hasBasedOn()
public Reference addBasedOn()
public Encounter addBasedOn(Reference t)
public Reference getBasedOnFirstRep()
basedOn, creating it if it does not already exist@Deprecated public List<ServiceRequest> getBasedOnTarget()
@Deprecated public ServiceRequest addBasedOnTarget()
public List<Encounter.EncounterParticipantComponent> getParticipant()
participant (The list of people responsible for providing the service.)public Encounter setParticipant(List<Encounter.EncounterParticipantComponent> theParticipant)
this for easy method chainingpublic boolean hasParticipant()
public Encounter.EncounterParticipantComponent addParticipant()
public Encounter addParticipant(Encounter.EncounterParticipantComponent t)
public Encounter.EncounterParticipantComponent getParticipantFirstRep()
participant, creating it if it does not already existpublic List<Reference> getAppointment()
appointment (The appointment that scheduled this encounter.)public Encounter setAppointment(List<Reference> theAppointment)
this for easy method chainingpublic boolean hasAppointment()
public Reference addAppointment()
public Encounter addAppointment(Reference t)
public Reference getAppointmentFirstRep()
appointment, creating it if it does not already exist@Deprecated public List<Appointment> getAppointmentTarget()
@Deprecated public Appointment addAppointmentTarget()
public boolean hasPeriod()
public Encounter setPeriod(Period value)
value - period (The start and end time of the encounter.)public Duration getLength()
length (Quantity of time the encounter lasted. This excludes the time during leaves of absence.)public boolean hasLength()
public Encounter setLength(Duration value)
value - length (Quantity of time the encounter lasted. This excludes the time during leaves of absence.)public List<CodeableConcept> getReasonCode()
reasonCode (Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)public Encounter setReasonCode(List<CodeableConcept> theReasonCode)
this for easy method chainingpublic boolean hasReasonCode()
public CodeableConcept addReasonCode()
public Encounter addReasonCode(CodeableConcept t)
public CodeableConcept getReasonCodeFirstRep()
reasonCode, creating it if it does not already existpublic List<Reference> getReasonReference()
reasonReference (Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)public Encounter setReasonReference(List<Reference> theReasonReference)
this for easy method chainingpublic boolean hasReasonReference()
public Reference addReasonReference()
public Encounter addReasonReference(Reference t)
public Reference getReasonReferenceFirstRep()
reasonReference, creating it if it does not already exist@Deprecated public List<Resource> getReasonReferenceTarget()
public List<Encounter.DiagnosisComponent> getDiagnosis()
diagnosis (The list of diagnosis relevant to this encounter.)public Encounter setDiagnosis(List<Encounter.DiagnosisComponent> theDiagnosis)
this for easy method chainingpublic boolean hasDiagnosis()
public Encounter.DiagnosisComponent addDiagnosis()
public Encounter addDiagnosis(Encounter.DiagnosisComponent t)
public Encounter.DiagnosisComponent getDiagnosisFirstRep()
diagnosis, creating it if it does not already existpublic List<Reference> getAccount()
account (The set of accounts that may be used for billing for this Encounter.)public Encounter setAccount(List<Reference> theAccount)
this for easy method chainingpublic boolean hasAccount()
public Reference addAccount()
public Encounter addAccount(Reference t)
public Reference getAccountFirstRep()
account, creating it if it does not already exist@Deprecated public List<Account> getAccountTarget()
@Deprecated public Account addAccountTarget()
public Encounter.EncounterHospitalizationComponent getHospitalization()
hospitalization (Details about the admission to a healthcare service.)public boolean hasHospitalization()
public Encounter setHospitalization(Encounter.EncounterHospitalizationComponent value)
value - hospitalization (Details about the admission to a healthcare service.)public List<Encounter.EncounterLocationComponent> getLocation()
location (List of locations where the patient has been during this encounter.)public Encounter setLocation(List<Encounter.EncounterLocationComponent> theLocation)
this for easy method chainingpublic boolean hasLocation()
public Encounter.EncounterLocationComponent addLocation()
public Encounter addLocation(Encounter.EncounterLocationComponent t)
public Encounter.EncounterLocationComponent getLocationFirstRep()
location, creating it if it does not already existpublic Reference getServiceProvider()
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.)public boolean hasServiceProvider()
public Encounter setServiceProvider(Reference value)
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.)public Organization getServiceProviderTarget()
serviceProvider The 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.)public Encounter setServiceProviderTarget(Organization value)
value - serviceProvider The 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.)public Reference getPartOf()
partOf (Another Encounter of which this encounter is a part of (administratively or in time).)public boolean hasPartOf()
public Encounter setPartOf(Reference value)
value - partOf (Another Encounter of which this encounter is a part of (administratively or in time).)public Encounter getPartOfTarget()
partOf The 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).)public Encounter setPartOfTarget(Encounter value)
value - partOf The 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).)protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Encounter copy()
copy in class DomainResourcepublic void copyValues(Encounter dst)
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.