public class Encounter extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Encounter.EncounterClass |
static class |
Encounter.EncounterClassEnumFactory |
static class |
Encounter.EncounterHospitalizationComponent |
static class |
Encounter.EncounterLocationComponent |
static class |
Encounter.EncounterLocationStatus |
static class |
Encounter.EncounterLocationStatusEnumFactory |
static class |
Encounter.EncounterParticipantComponent |
static class |
Encounter.EncounterState |
static class |
Encounter.EncounterStateEnumFactory |
static class |
Encounter.EncounterStatusHistoryComponent |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
appointment
The appointment that scheduled this encounter.
|
protected Appointment |
appointmentTarget
The actual object that is the target of the reference (The appointment that scheduled this encounter.)
|
protected Enumeration<Encounter.EncounterClass> |
class_
inpatient | outpatient | ambulatory | emergency +.
|
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.
|
protected List<Reference> |
incomingReferral
The referral request this encounter satisfies (incoming referral).
|
protected List<ReferralRequest> |
incomingReferralTarget
The actual objects that are the target of the reference (The referral request this encounter satisfies (incoming referral).)
|
protected List<Reference> |
indication
Reason the encounter takes place, as specified using information from another resource.
|
protected List<Resource> |
indicationTarget
The actual objects that are the target of the reference (Reason the encounter takes place, as specified using information from another resource.
|
protected Duration |
length
Quantity of time the encounter lasted.
|
protected List<Encounter.EncounterLocationComponent> |
location
List of locations where the patient has been during this encounter.
|
protected List<Encounter.EncounterParticipantComponent> |
participant
The list of people responsible for providing the service.
|
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).)
|
protected Reference |
patient
The patient present at the encounter.
|
protected Patient |
patientTarget
The actual object that is the target of the reference (The patient present at the encounter.)
|
protected Period |
period
The start and end time of the encounter.
|
protected CodeableConcept |
priority
Indicates the urgency of the encounter.
|
protected List<CodeableConcept> |
reason
Reason the encounter takes place, expressed as a code.
|
protected Reference |
serviceProvider
An organization that is in charge of maintaining the information of this Encounter (e.g.
|
protected Organization |
serviceProviderTarget
The actual object that is the target of the reference (An organization that is in charge of maintaining the information of this Encounter (e.g.
|
static String |
SP_APPOINTMENT |
static String |
SP_CONDITION |
static String |
SP_DATE |
static String |
SP_EPISODEOFCARE |
static String |
SP_IDENTIFIER |
static String |
SP_INCOMINGREFERRAL |
static String |
SP_INDICATION |
static String |
SP_LENGTH |
static String |
SP_LOCATION |
static String |
SP_LOCATIONPERIOD |
static String |
SP_PARTICIPANT |
static String |
SP_PARTICIPANTTYPE |
static String |
SP_PARTOF |
static String |
SP_PATIENT |
static String |
SP_PRACTITIONER |
static String |
SP_PROCEDURE |
static String |
SP_REASON |
static String |
SP_SPECIALARRANGEMENT |
static String |
SP_STATUS |
static String |
SP_TYPE |
protected Enumeration<Encounter.EncounterState> |
status
planned | arrived | in-progress | onleave | finished | cancelled.
|
protected List<Encounter.EncounterStatusHistoryComponent> |
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 List<CodeableConcept> |
type
Specific type of encounter (e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Encounter() |
Encounter(Enumeration<Encounter.EncounterState> status) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Encounter.EncounterState> status
protected List<Encounter.EncounterStatusHistoryComponent> statusHistory
protected Enumeration<Encounter.EncounterClass> class_
protected List<CodeableConcept> type
protected CodeableConcept priority
protected Patient patientTarget
protected List<Reference> episodeOfCare
protected List<EpisodeOfCare> episodeOfCareTarget
protected List<Reference> incomingReferral
protected List<ReferralRequest> incomingReferralTarget
protected List<Encounter.EncounterParticipantComponent> participant
protected Reference appointment
protected Appointment appointmentTarget
protected Duration length
protected List<CodeableConcept> reason
protected List<Reference> indication
protected List<Resource> indicationTarget
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
public static final String SP_IDENTIFIER
public static final String SP_REASON
public static final String SP_EPISODEOFCARE
public static final String SP_PARTICIPANTTYPE
public static final String SP_INCOMINGREFERRAL
public static final String SP_PRACTITIONER
public static final String SP_LENGTH
public static final String SP_APPOINTMENT
public static final String SP_PARTOF
public static final String SP_PROCEDURE
public static final String SP_TYPE
public static final String SP_PARTICIPANT
public static final String SP_CONDITION
public static final String SP_PATIENT
public static final String SP_LOCATIONPERIOD
public static final String SP_LOCATION
public static final String SP_INDICATION
public static final String SP_SPECIALARRANGEMENT
public static final String SP_STATUS
public Encounter()
public Encounter(Enumeration<Encounter.EncounterState> status)
public List<Identifier> getIdentifier()
identifier (Identifier(s) by which this encounter is known.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifier(s) by which this encounter is known.)public Encounter addIdentifier(Identifier t)
public Enumeration<Encounter.EncounterState> getStatusElement()
status (planned | arrived | 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.EncounterState> value)
value - status (planned | arrived | 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.EncounterState getStatus()
public Encounter setStatus(Encounter.EncounterState value)
value - planned | arrived | in-progress | onleave | finished | cancelled.public List<Encounter.EncounterStatusHistoryComponent> 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 boolean hasStatusHistory()
public Encounter.EncounterStatusHistoryComponent addStatusHistory()
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 addStatusHistory(Encounter.EncounterStatusHistoryComponent t)
public Enumeration<Encounter.EncounterClass> getClass_Element()
class_ (inpatient | outpatient | ambulatory | emergency +.). This is the underlying object with id, value and extensions. The accessor "getClass_" gives direct access to the valuepublic boolean hasClass_Element()
public boolean hasClass_()
public Encounter setClass_Element(Enumeration<Encounter.EncounterClass> value)
value - class_ (inpatient | outpatient | ambulatory | emergency +.). This is the underlying object with id, value and extensions. The accessor "getClass_" gives direct access to the valuepublic Encounter.EncounterClass getClass_()
public Encounter setClass_(Encounter.EncounterClass value)
value - inpatient | outpatient | ambulatory | emergency +.public List<CodeableConcept> getType()
type (Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).)public boolean hasType()
public CodeableConcept addType()
type (Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).)public Encounter addType(CodeableConcept t)
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 getPatient()
patient (The patient present at the encounter.)public boolean hasPatient()
public Encounter setPatient(Reference value)
value - patient (The patient present at the encounter.)public Patient getPatientTarget()
patient 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 present at the encounter.)public Encounter setPatientTarget(Patient value)
value - patient 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 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 boolean hasEpisodeOfCare()
public Reference addEpisodeOfCare()
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 addEpisodeOfCare(Reference t)
public List<EpisodeOfCare> getEpisodeOfCareTarget()
episodeOfCare (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. 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 EpisodeOfCare addEpisodeOfCareTarget()
episodeOfCare (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. 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 List<Reference> getIncomingReferral()
incomingReferral (The referral request this encounter satisfies (incoming referral).)public boolean hasIncomingReferral()
public Reference addIncomingReferral()
incomingReferral (The referral request this encounter satisfies (incoming referral).)public Encounter addIncomingReferral(Reference t)
public List<ReferralRequest> getIncomingReferralTarget()
incomingReferral (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The referral request this encounter satisfies (incoming referral).)public ReferralRequest addIncomingReferralTarget()
incomingReferral (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. The referral request this encounter satisfies (incoming referral).)public List<Encounter.EncounterParticipantComponent> getParticipant()
participant (The list of people responsible for providing the service.)public boolean hasParticipant()
public Encounter.EncounterParticipantComponent addParticipant()
participant (The list of people responsible for providing the service.)public Encounter addParticipant(Encounter.EncounterParticipantComponent t)
public Reference getAppointment()
appointment (The appointment that scheduled this encounter.)public boolean hasAppointment()
public Encounter setAppointment(Reference value)
value - appointment (The appointment that scheduled this encounter.)public Appointment getAppointmentTarget()
appointment 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 appointment that scheduled this encounter.)public Encounter setAppointmentTarget(Appointment value)
value - appointment 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 appointment that scheduled this encounter.)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> getReason()
reason (Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)public boolean hasReason()
public CodeableConcept addReason()
reason (Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.)public Encounter addReason(CodeableConcept t)
public List<Reference> getIndication()
indication (Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.)public boolean hasIndication()
public Reference addIndication()
indication (Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.)public Encounter addIndication(Reference t)
public List<Resource> getIndicationTarget()
indication (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.)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 boolean hasLocation()
public Encounter.EncounterLocationComponent addLocation()
location (List of locations where the patient has been during this encounter.)public Encounter addLocation(Encounter.EncounterLocationComponent t)
public Reference getServiceProvider()
serviceProvider (An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.)public boolean hasServiceProvider()
public Encounter setServiceProvider(Reference value)
value - serviceProvider (An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.)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. (An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.)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. (An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.)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> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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 class DomainResourcepublic Encounter copy()
copy in class DomainResourcepublic 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–2018 University Health Network. All rights reserved.