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.
|
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 Reference |
appointment
The appointment that scheduled this encounter.
|
static ReferenceClientParam |
APPOINTMENT
Fluent Client search parameter constant for appointment
|
protected Appointment |
appointmentTarget
The actual object that is the target of the reference (The appointment that scheduled this encounter.)
|
static TokenClientParam |
CLASS
Fluent Client search parameter constant for class
|
protected Coding |
class_
inpatient | outpatient | ambulatory | emergency +.
|
protected List<Encounter.ClassHistoryComponent> |
classHistory
The class history permits the tracking of the encounters transitions without needing to go through the resource history.
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected List<Encounter.DiagnosisComponent> |
diagnosis
The list of diagnosis relevant to this encounter.
|
static ReferenceClientParam |
DIAGNOSIS
Fluent Client search parameter constant for diagnosis
|
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.
|
static ReferenceClientParam |
EPISODEOFCARE
Fluent Client search parameter constant for episodeofcare
|
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 TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DIAGNOSIS
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_EPISODEOFCARE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SERVICE_PROVIDER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<Reference> |
incomingReferral
The referral request this encounter satisfies (incoming referral).
|
static ReferenceClientParam |
INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferral
|
protected List<ReferralRequest> |
incomingReferralTarget
The actual objects that are the target of the reference (The referral request this encounter satisfies (incoming referral).)
|
protected Duration |
length
Quantity of time the encounter lasted.
|
static NumberClientParam |
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 ReferenceClientParam |
LOCATION
Fluent Client search parameter constant for location
|
static DateClientParam |
LOCATION_PERIOD
Fluent Client search parameter constant for location-period
|
static 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 ReferenceClientParam |
PARTICIPANT
Fluent Client search parameter constant for participant
|
static 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 ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Period |
period
The start and end time of the encounter.
|
static ReferenceClientParam |
PRACTITIONER
Fluent Client search parameter constant for practitioner
|
protected CodeableConcept |
priority
Indicates the urgency of the encounter.
|
protected List<CodeableConcept> |
reason
Reason the encounter takes place, expressed as a code.
|
static TokenClientParam |
REASON
Fluent Client search parameter constant for reason
|
static ReferenceClientParam |
SERVICE_PROVIDER
Fluent Client search parameter constant for service-provider
|
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
Search parameter: appointment
|
static String |
SP_CLASS
Search parameter: class
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_DIAGNOSIS
Search parameter: diagnosis
|
static String |
SP_EPISODEOFCARE
Search parameter: episodeofcare
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_INCOMINGREFERRAL
Search parameter: incomingreferral
|
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
Search parameter: reason
|
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 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 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 ro group present at the encounter.
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The patient ro group present at the encounter.)
|
protected List<CodeableConcept> |
type
Specific type of encounter (e.g.
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Encounter()
Constructor
|
Encounter(Enumeration<Encounter.EncounterStatus> status)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected Enumeration<Encounter.EncounterStatus> status
protected List<Encounter.StatusHistoryComponent> statusHistory
protected List<Encounter.ClassHistoryComponent> classHistory
protected List<CodeableConcept> type
protected CodeableConcept priority
protected Resource subjectTarget
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<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 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 TokenClientParam IDENTIFIER
Description: Identifier(s) by which this encounter is known
Type: token
Path: Encounter.identifier
public static final String SP_REASON
Description: Reason the encounter takes place (code)
Type: token
Path: Encounter.reason
public static final TokenClientParam REASON
Description: Reason the encounter takes place (code)
Type: token
Path: Encounter.reason
public static final String SP_EPISODEOFCARE
Description: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
public static final ReferenceClientParam EPISODEOFCARE
Description: Episode(s) of care that this encounter should be recorded against
Type: reference
Path: Encounter.episodeOfCare
public static final Include INCLUDE_EPISODEOFCARE
public static final String SP_PARTICIPANT_TYPE
Description: Role of participant in encounter
Type: token
Path: Encounter.participant.type
public static final TokenClientParam PARTICIPANT_TYPE
Description: Role of participant in encounter
Type: token
Path: Encounter.participant.type
public static final String SP_INCOMINGREFERRAL
Description: The ReferralRequest that initiated this encounter
Type: reference
Path: Encounter.incomingReferral
public static final ReferenceClientParam INCOMINGREFERRAL
Description: The ReferralRequest that initiated this encounter
Type: reference
Path: Encounter.incomingReferral
public static final Include INCLUDE_INCOMINGREFERRAL
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 ReferenceClientParam PRACTITIONER
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final Include INCLUDE_PRACTITIONER
public static final String SP_SUBJECT
Description: The patient ro group present at the encounter
Type: reference
Path: Encounter.subject
public static final ReferenceClientParam SUBJECT
Description: The patient ro group present at the encounter
Type: reference
Path: Encounter.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_LENGTH
Description: Length of encounter in days
Type: number
Path: Encounter.length
public static final NumberClientParam LENGTH
Description: Length of encounter in days
Type: number
Path: Encounter.length
public static final String SP_DIAGNOSIS
Description: Reason the encounter takes place (resource)
Type: reference
Path: Encounter.diagnosis.condition
public static final ReferenceClientParam DIAGNOSIS
Description: Reason the encounter takes place (resource)
Type: reference
Path: Encounter.diagnosis.condition
public static final Include INCLUDE_DIAGNOSIS
public static final String SP_APPOINTMENT
Description: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
public static final ReferenceClientParam APPOINTMENT
Description: The appointment that scheduled this encounter
Type: reference
Path: Encounter.appointment
public static final 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 ReferenceClientParam PART_OF
Description: Another Encounter this encounter is part of
Type: reference
Path: Encounter.partOf
public static final Include INCLUDE_PART_OF
public static final String SP_TYPE
Description: Specific type of encounter
Type: token
Path: Encounter.type
public static final TokenClientParam TYPE
Description: Specific type of encounter
Type: token
Path: Encounter.type
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 ReferenceClientParam PARTICIPANT
Description: Persons involved in the encounter other than the patient
Type: reference
Path: Encounter.participant.individual
public static final Include INCLUDE_PARTICIPANT
public static final String SP_PATIENT
Description: The patient ro group present at the encounter
Type: reference
Path: Encounter.subject
public static final ReferenceClientParam PATIENT
Description: The patient ro group present at the encounter
Type: reference
Path: Encounter.subject
public static final Include INCLUDE_PATIENT
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 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 ReferenceClientParam LOCATION
Description: Location the encounter takes place
Type: reference
Path: Encounter.location.location
public static final Include INCLUDE_LOCATION
public static final String SP_SERVICE_PROVIDER
Description: The custodian organization of this Encounter record
Type: reference
Path: Encounter.serviceProvider
public static final ReferenceClientParam SERVICE_PROVIDER
Description: The custodian organization of this Encounter record
Type: reference
Path: Encounter.serviceProvider
public static final 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 TokenClientParam SPECIAL_ARRANGEMENT
Description: Wheelchair, translator, stretcher, etc.
Type: token
Path: Encounter.hospitalization.specialArrangement
public static final String SP_CLASS
Description: inpatient | outpatient | ambulatory | emergency +
Type: token
Path: Encounter.class
public static final TokenClientParam CLASS
Description: inpatient | outpatient | ambulatory | emergency +
Type: token
Path: Encounter.class
public static final String SP_STATUS
Description: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
public static final TokenClientParam STATUS
Description: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Type: token
Path: Encounter.status
public Encounter()
public Encounter(Enumeration<Encounter.EncounterStatus> status)
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_ (inpatient | outpatient | ambulatory | emergency +.)public boolean hasClass_()
public Encounter setClass_(Coding value)
value - class_ (inpatient | outpatient | ambulatory | emergency +.)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 transisions 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 kindof 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 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 ro group present at the encounter.)public boolean hasSubject()
public Encounter setSubject(Reference value)
value - subject (The patient ro 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 ro 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 ro 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> getIncomingReferral()
incomingReferral (The referral request this encounter satisfies (incoming referral).)public Encounter setIncomingReferral(List<Reference> theIncomingReferral)
this for easy method chainingpublic boolean hasIncomingReferral()
public Reference addIncomingReferral()
public Encounter addIncomingReferral(Reference t)
public Reference getIncomingReferralFirstRep()
incomingReferral, creating it if it does not already exist@Deprecated public List<ReferralRequest> getIncomingReferralTarget()
@Deprecated public ReferralRequest addIncomingReferralTarget()
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 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 Encounter setReason(List<CodeableConcept> theReason)
this for easy method chainingpublic boolean hasReason()
public CodeableConcept addReason()
public Encounter addReason(CodeableConcept t)
public CodeableConcept getReasonFirstRep()
reason, creating it if it does not already existpublic 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 (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 Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic 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 IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.