
Class Encounter
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
public class Encounter extends BaseResource implements ca.uhn.fhir.model.api.IResource
Definition: An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Encounter
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Encounter.Hospitalization
Block class for child element: Encounter.hospitalization ()static class
Encounter.Location
Block class for child element: Encounter.location ()static class
Encounter.Participant
Block class for child element: Encounter.participant ()static class
Encounter.StatusHistory
Block class for child element: Encounter.statusHistory () -
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParam
APPOINTMENT
Fluent Client search parameter constant for appointmentstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
CONDITION
Fluent Client search parameter constant for conditionstatic ca.uhn.fhir.rest.gclient.DateClientParam
DATE
Fluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
EPISODEOFCARE
Fluent Client search parameter constant for episodeofcarestatic ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic 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_CONDITION
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_EPISODEOFCARE
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_INDICATION
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_PROCEDURE
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferralstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
INDICATION
Fluent Client search parameter constant for indicationstatic ca.uhn.fhir.rest.gclient.NumberClientParam
LENGTH
Fluent Client search parameter constant for lengthstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
LOCATION
Fluent Client search parameter constant for locationstatic ca.uhn.fhir.rest.gclient.DateClientParam
LOCATION_PERIOD
Fluent Client search parameter constant for location-periodstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PART_OF
Fluent Client search parameter constant for part-ofstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PARTICIPANT
Fluent Client search parameter constant for participantstatic ca.uhn.fhir.rest.gclient.TokenClientParam
PARTICIPANT_TYPE
Fluent Client search parameter constant for participant-typestatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PATIENT
Fluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PRACTITIONER
Fluent Client search parameter constant for practitionerstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PROCEDURE
Fluent Client search parameter constant for procedurestatic ca.uhn.fhir.rest.gclient.TokenClientParam
REASON
Fluent Client search parameter constant for reasonstatic String
SP_APPOINTMENT
Search parameter constant for appointmentstatic String
SP_CONDITION
Search parameter constant for conditionstatic String
SP_DATE
Search parameter constant for datestatic String
SP_EPISODEOFCARE
Search parameter constant for episodeofcarestatic String
SP_IDENTIFIER
Search parameter constant for identifierstatic String
SP_INCOMINGREFERRAL
Search parameter constant for incomingreferralstatic String
SP_INDICATION
Search parameter constant for indicationstatic String
SP_LENGTH
Search parameter constant for lengthstatic String
SP_LOCATION
Search parameter constant for locationstatic String
SP_LOCATION_PERIOD
Search parameter constant for location-periodstatic String
SP_PART_OF
Search parameter constant for part-ofstatic String
SP_PARTICIPANT
Search parameter constant for participantstatic String
SP_PARTICIPANT_TYPE
Search parameter constant for participant-typestatic String
SP_PATIENT
Search parameter constant for patientstatic String
SP_PRACTITIONER
Search parameter constant for practitionerstatic String
SP_PROCEDURE
Search parameter constant for procedurestatic String
SP_REASON
Search parameter constant for reasonstatic String
SP_SPECIAL_ARRANGEMENT
Search parameter constant for special-arrangementstatic String
SP_STATUS
Search parameter constant for statusstatic String
SP_TYPE
Search parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParam
SPECIAL_ARRANGEMENT
Fluent Client search parameter constant for special-arrangementstatic ca.uhn.fhir.rest.gclient.TokenClientParam
STATUS
Fluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.TokenClientParam
TYPE
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
Constructors Constructor Description Encounter()
-
Method Summary
Modifier and Type Method Description ResourceReferenceDt
addEpisodeOfCare()
Adds and returns a new value for episodeOfCare (context)IdentifierDt
addIdentifier()
Adds and returns a new value for identifier (id)Encounter
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)ResourceReferenceDt
addIncomingReferral()
Adds and returns a new value for incomingReferral ()ResourceReferenceDt
addIndication()
Adds and returns a new value for indication (why)Encounter.Location
addLocation()
Adds and returns a new value for location ()Encounter
addLocation(Encounter.Location theValue)
Adds a given new value for location ()Encounter.Participant
addParticipant()
Adds and returns a new value for participant ()Encounter
addParticipant(Encounter.Participant theValue)
Adds a given new value for participant ()CodeableConceptDt
addReason()
Adds and returns a new value for reason (why)Encounter
addReason(CodeableConceptDt theValue)
Adds a given new value for reason (why)Encounter.StatusHistory
addStatusHistory()
Adds and returns a new value for statusHistory ()Encounter
addStatusHistory(Encounter.StatusHistory theValue)
Adds a given new value for statusHistory ()CodeableConceptDt
addType()
Adds and returns a new value for type (class)Encounter
addType(CodeableConceptDt theValue)
Adds a given new value for type (class)<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
ResourceReferenceDt
getAppointment()
Gets the value(s) for appointment ().String
getClassElement()
Gets the value(s) for class (class).ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum>
getClassElementElement()
Gets the value(s) for class (class).List<ResourceReferenceDt>
getEpisodeOfCare()
Gets the value(s) for episodeOfCare (context).Encounter.Hospitalization
getHospitalization()
Gets the value(s) for hospitalization ().List<IdentifierDt>
getIdentifier()
Gets the value(s) for identifier (id).IdentifierDt
getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.List<ResourceReferenceDt>
getIncomingReferral()
Gets the value(s) for incomingReferral ().List<ResourceReferenceDt>
getIndication()
Gets the value(s) for indication (why).DurationDt
getLength()
Gets the value(s) for length ().List<Encounter.Location>
getLocation()
Gets the value(s) for location ().Encounter.Location
getLocationFirstRep()
Gets the first repetition for location (), creating it if it does not already exist.List<Encounter.Participant>
getParticipant()
Gets the value(s) for participant ().Encounter.Participant
getParticipantFirstRep()
Gets the first repetition for participant (), creating it if it does not already exist.ResourceReferenceDt
getPartOf()
Gets the value(s) for partOf ().ResourceReferenceDt
getPatient()
Gets the value(s) for patient (who.focus).PeriodDt
getPeriod()
Gets the value(s) for period (when.done).CodeableConceptDt
getPriority()
Gets the value(s) for priority (grade).List<CodeableConceptDt>
getReason()
Gets the value(s) for reason (why).CodeableConceptDt
getReasonFirstRep()
Gets the first repetition for reason (why), creating it if it does not already exist.String
getResourceName()
ResourceReferenceDt
getServiceProvider()
Gets the value(s) for serviceProvider ().String
getStatus()
Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum>
getStatusElement()
Gets the value(s) for status (status).List<Encounter.StatusHistory>
getStatusHistory()
Gets the value(s) for statusHistory ().Encounter.StatusHistory
getStatusHistoryFirstRep()
Gets the first repetition for statusHistory (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnum
getStructureFhirVersionEnum()
List<CodeableConceptDt>
getType()
Gets the value(s) for type (class).CodeableConceptDt
getTypeFirstRep()
Gets the first repetition for type (class), creating it if it does not already exist.boolean
isEmpty()
Encounter
setAppointment(ResourceReferenceDt theValue)
Sets the value(s) for appointment ()Encounter
setClassElement(EncounterClassEnum theValue)
Sets the value(s) for class (class)Encounter
setClassElement(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> theValue)
Sets the value(s) for class (class)Encounter
setEpisodeOfCare(List<ResourceReferenceDt> theValue)
Sets the value(s) for episodeOfCare (context)Encounter
setHospitalization(Encounter.Hospitalization theValue)
Sets the value(s) for hospitalization ()Encounter
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Encounter
setIncomingReferral(List<ResourceReferenceDt> theValue)
Sets the value(s) for incomingReferral ()Encounter
setIndication(List<ResourceReferenceDt> theValue)
Sets the value(s) for indication (why)Encounter
setLength(DurationDt theValue)
Sets the value(s) for length ()Encounter
setLocation(List<Encounter.Location> theValue)
Sets the value(s) for location ()Encounter
setParticipant(List<Encounter.Participant> theValue)
Sets the value(s) for participant ()Encounter
setPartOf(ResourceReferenceDt theValue)
Sets the value(s) for partOf ()Encounter
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (who.focus)Encounter
setPeriod(PeriodDt theValue)
Sets the value(s) for period (when.done)Encounter
setPriority(CodeableConceptDt theValue)
Sets the value(s) for priority (grade)Encounter
setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason (why)Encounter
setServiceProvider(ResourceReferenceDt theValue)
Sets the value(s) for serviceProvider ()Encounter
setStatus(EncounterStateEnum theValue)
Sets the value(s) for status (status)Encounter
setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum> theValue)
Sets the value(s) for status (status)Encounter
setStatusHistory(List<Encounter.StatusHistory> theValue)
Sets the value(s) for statusHistory ()Encounter
setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type (class)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Encounter.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Encounter.identifier
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: Encounter.status
- See Also:
- Constant Field Values
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: Encounter.status
-
SP_DATE
Search parameter constant for dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
- See Also:
- Constant Field Values
-
DATE
Fluent Client search parameter constant for dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Encounter.patient
- See Also:
- Constant Field Values
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Encounter.patient
-
SP_APPOINTMENT
Search parameter constant for appointmentDescription:
Type: reference
Path: Encounter.appointment
- See Also:
- Constant Field Values
-
APPOINTMENT
Fluent Client search parameter constant for appointmentDescription:
Type: reference
Path: Encounter.appointment
-
SP_LENGTH
Search parameter constant for lengthDescription: Length of encounter in days
Type: number
Path: Encounter.length
- See Also:
- Constant Field Values
-
LENGTH
Fluent Client search parameter constant for lengthDescription: Length of encounter in days
Type: number
Path: Encounter.length
-
SP_REASON
Search parameter constant for reasonDescription:
Type: token
Path: Encounter.reason
- See Also:
- Constant Field Values
-
REASON
Fluent Client search parameter constant for reasonDescription:
Type: token
Path: Encounter.reason
-
SP_INDICATION
Search parameter constant for indicationDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
INDICATION
Fluent Client search parameter constant for indicationDescription:
Type: reference
Path: Encounter.indication
-
SP_CONDITION
Search parameter constant for conditionDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
CONDITION
Fluent Client search parameter constant for conditionDescription:
Type: reference
Path: Encounter.indication
-
SP_PROCEDURE
Search parameter constant for procedureDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
PROCEDURE
Fluent Client search parameter constant for procedureDescription:
Type: reference
Path: Encounter.indication
-
SP_LOCATION
Search parameter constant for locationDescription:
Type: reference
Path: Encounter.location.location
- See Also:
- Constant Field Values
-
LOCATION
Fluent Client search parameter constant for locationDescription:
Type: reference
Path: Encounter.location.location
-
SP_LOCATION_PERIOD
Search parameter constant for location-periodDescription:
Type: date
Path: Encounter.location.period
- See Also:
- Constant Field Values
-
LOCATION_PERIOD
Fluent Client search parameter constant for location-periodDescription:
Type: date
Path: Encounter.location.period
-
SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: Encounter.type
- See Also:
- Constant Field Values
-
TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: Encounter.type
-
SP_SPECIAL_ARRANGEMENT
Search parameter constant for special-arrangementDescription:
Type: token
Path: Encounter.hospitalization.specialArrangement
- See Also:
- Constant Field Values
-
SPECIAL_ARRANGEMENT
Fluent Client search parameter constant for special-arrangementDescription:
Type: token
Path: Encounter.hospitalization.specialArrangement
-
SP_PART_OF
Search parameter constant for part-ofDescription:
Type: reference
Path: Encounter.partOf
- See Also:
- Constant Field Values
-
PART_OF
Fluent Client search parameter constant for part-ofDescription:
Type: reference
Path: Encounter.partOf
-
SP_PARTICIPANT
Search parameter constant for participantDescription:
Type: reference
Path: Encounter.participant.individual
- See Also:
- Constant Field Values
-
PARTICIPANT
Fluent Client search parameter constant for participantDescription:
Type: reference
Path: Encounter.participant.individual
-
SP_PARTICIPANT_TYPE
Search parameter constant for participant-typeDescription:
Type: token
Path: Encounter.participant.type
- See Also:
- Constant Field Values
-
PARTICIPANT_TYPE
Fluent Client search parameter constant for participant-typeDescription:
Type: token
Path: Encounter.participant.type
-
SP_EPISODEOFCARE
Search parameter constant for episodeofcareDescription:
Type: reference
Path: Encounter.episodeOfCare
- See Also:
- Constant Field Values
-
EPISODEOFCARE
Fluent Client search parameter constant for episodeofcareDescription:
Type: reference
Path: Encounter.episodeOfCare
-
SP_INCOMINGREFERRAL
Search parameter constant for incomingreferralDescription:
Type: reference
Path: Encounter.incomingReferral
- See Also:
- Constant Field Values
-
INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferralDescription:
Type: reference
Path: Encounter.incomingReferral
-
SP_PRACTITIONER
Search parameter constant for practitionerDescription:
Type: reference
Path: Encounter.participant.individual
- See Also:
- Constant Field Values
-
PRACTITIONER
Fluent Client search parameter constant for practitionerDescription:
Type: reference
Path: Encounter.participant.individual
-
INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:appointment". -
INCLUDE_CONDITION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:condition". -
INCLUDE_EPISODEOFCARE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:episodeofcare". -
INCLUDE_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:incomingreferral". -
INCLUDE_INDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:indication". -
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:location". -
INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:part-of". -
INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:participant". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:patient". -
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:practitioner". -
INCLUDE_PROCEDURE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:procedure".
-
-
Constructor Details
-
Encounter
public Encounter()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)- Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition:
-
setIdentifier
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition:
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition:
-
setStatus
Sets the value(s) for status (status)Definition:
-
setStatus
Sets the value(s) for status (status)Definition:
-
getStatusHistory
Gets the value(s) for statusHistory (). creating it if it does not exist. Will not returnnull
.Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
-
setStatusHistory
Sets the value(s) for statusHistory ()Definition: 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
-
addStatusHistory
Adds and returns a new value for statusHistory ()Definition: 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
-
addStatusHistory
Adds a given new value for statusHistory ()Definition: 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
- Parameters:
theValue
- The statusHistory to add (must not benull
)
-
getStatusHistoryFirstRep
Gets the first repetition for statusHistory (), creating it if it does not already exist.Definition: 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
-
getClassElementElement
Gets the value(s) for class (class). creating it if it does not exist. Will not returnnull
.Definition:
-
getClassElement
Gets the value(s) for class (class). creating it if it does not exist. This method may returnnull
.Definition:
-
setClassElement
public Encounter setClassElement(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> theValue)Sets the value(s) for class (class)Definition:
-
setClassElement
Sets the value(s) for class (class)Definition:
-
getType
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull
.Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
setType
Sets the value(s) for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
addType
Adds and returns a new value for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
addType
Adds a given new value for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
- Parameters:
theValue
- The type to add (must not benull
)
-
getTypeFirstRep
Gets the first repetition for type (class), creating it if it does not already exist.Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
getPriority
Gets the value(s) for priority (grade). creating it if it does not exist. Will not returnnull
.Definition:
-
setPriority
Sets the value(s) for priority (grade)Definition:
-
getPatient
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull
.Definition:
-
setPatient
Sets the value(s) for patient (who.focus)Definition:
-
getEpisodeOfCare
Gets the value(s) for episodeOfCare (context). creating it if it does not exist. Will not returnnull
.Definition: Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years)
-
setEpisodeOfCare
Sets the value(s) for episodeOfCare (context)Definition: 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)
-
addEpisodeOfCare
Adds and returns a new value for episodeOfCare (context)Definition: 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)
-
getIncomingReferral
Gets the value(s) for incomingReferral (). creating it if it does not exist. Will not returnnull
.Definition: The referral request this encounter satisfies (incoming referral)
-
setIncomingReferral
Sets the value(s) for incomingReferral ()Definition: The referral request this encounter satisfies (incoming referral)
-
addIncomingReferral
Adds and returns a new value for incomingReferral ()Definition: The referral request this encounter satisfies (incoming referral)
-
getParticipant
Gets the value(s) for participant (). creating it if it does not exist. Will not returnnull
.Definition: The list of people responsible for providing the service
-
setParticipant
Sets the value(s) for participant ()Definition: The list of people responsible for providing the service
-
addParticipant
Adds and returns a new value for participant ()Definition: The list of people responsible for providing the service
-
addParticipant
Adds a given new value for participant ()Definition: The list of people responsible for providing the service
- Parameters:
theValue
- The participant to add (must not benull
)
-
getParticipantFirstRep
Gets the first repetition for participant (), creating it if it does not already exist.Definition: The list of people responsible for providing the service
-
getAppointment
Gets the value(s) for appointment (). creating it if it does not exist. Will not returnnull
.Definition:
-
setAppointment
Sets the value(s) for appointment ()Definition:
-
getPeriod
Gets the value(s) for period (when.done). creating it if it does not exist. Will not returnnull
.Definition: The start and end time of the encounter
-
setPeriod
Sets the value(s) for period (when.done)Definition: The start and end time of the encounter
-
getLength
Gets the value(s) for length (). creating it if it does not exist. Will not returnnull
.Definition: Quantity of time the encounter lasted. This excludes the time during leaves of absence.
-
setLength
Sets the value(s) for length ()Definition: Quantity of time the encounter lasted. This excludes the time during leaves of absence.
-
getReason
Gets the value(s) for reason (why). creating it if it does not exist. Will not returnnull
.Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
setReason
Sets the value(s) for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
addReason
Adds and returns a new value for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
addReason
Adds a given new value for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
- Parameters:
theValue
- The reason to add (must not benull
)
-
getReasonFirstRep
Gets the first repetition for reason (why), creating it if it does not already exist.Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
getIndication
Gets the value(s) for indication (why). creating it if it does not exist. Will not returnnull
.Definition: 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
-
setIndication
Sets the value(s) for indication (why)Definition: 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
-
addIndication
Adds and returns a new value for indication (why)Definition: 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
-
getHospitalization
Gets the value(s) for hospitalization (). creating it if it does not exist. Will not returnnull
.Definition:
-
setHospitalization
Sets the value(s) for hospitalization ()Definition:
-
getLocation
Gets the value(s) for location (). creating it if it does not exist. Will not returnnull
.Definition: List of locations where the patient has been during this encounter
-
setLocation
Sets the value(s) for location ()Definition: List of locations where the patient has been during this encounter
-
addLocation
Adds and returns a new value for location ()Definition: List of locations where the patient has been during this encounter
-
addLocation
Adds a given new value for location ()Definition: List of locations where the patient has been during this encounter
- Parameters:
theValue
- The location to add (must not benull
)
-
getLocationFirstRep
Gets the first repetition for location (), creating it if it does not already exist.Definition: List of locations where the patient has been during this encounter
-
getServiceProvider
Gets the value(s) for serviceProvider (). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setServiceProvider
Sets the value(s) for serviceProvider ()Definition: 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.
-
getPartOf
Gets the value(s) for partOf (). creating it if it does not exist. Will not returnnull
.Definition: Another Encounter of which this encounter is a part of (administratively or in time).
-
setPartOf
Sets the value(s) for partOf ()Definition: Another Encounter of which this encounter is a part of (administratively or in time).
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-