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
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Encounter.hospitalization ()static class
Block class for child element: Encounter.location ()static class
Block class for child element: Encounter.participant ()static class
Block class for child element: Encounter.statusHistory () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for appointmentstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for conditionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for episodeofcarestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for incomingreferralstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for indicationstatic final ca.uhn.fhir.rest.gclient.NumberClientParam
Fluent Client search parameter constant for lengthstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for locationstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for location-periodstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for part-ofstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for participantstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for participant-typestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for practitionerstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for procedurestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for reasonstatic final String
Search parameter constant for appointmentstatic final String
Search parameter constant for conditionstatic final String
Search parameter constant for datestatic final String
Search parameter constant for episodeofcarestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for incomingreferralstatic final String
Search parameter constant for indicationstatic final String
Search parameter constant for lengthstatic final String
Search parameter constant for locationstatic final String
Search parameter constant for location-periodstatic final String
Search parameter constant for part-ofstatic final String
Search parameter constant for participantstatic final String
Search parameter constant for participant-typestatic final String
Search parameter constant for patientstatic final String
Search parameter constant for practitionerstatic final String
Search parameter constant for procedurestatic final String
Search parameter constant for reasonstatic final String
Search parameter constant for special-arrangementstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for special-arrangementstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for episodeOfCare (context)Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)Adds and returns a new value for incomingReferral ()Adds and returns a new value for indication (why)Adds and returns a new value for location ()addLocation
(Encounter.Location theValue) Adds a given new value for location ()Adds and returns a new value for participant ()addParticipant
(Encounter.Participant theValue) Adds a given new value for participant ()Adds and returns a new value for reason (why)addReason
(CodeableConceptDt theValue) Adds a given new value for reason (why)Adds and returns a new value for statusHistory ()addStatusHistory
(Encounter.StatusHistory theValue) Adds a given new value for statusHistory ()addType()
Adds and returns a new value for type (class)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) Gets the value(s) for appointment ().Gets the value(s) for class (class).ca.uhn.fhir.model.primitive.BoundCodeDt
<EncounterClassEnum> Gets the value(s) for class (class).Gets the value(s) for episodeOfCare (context).Gets the value(s) for hospitalization ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for incomingReferral ().Gets the value(s) for indication (why).Gets the value(s) for length ().Gets the value(s) for location ().Gets the first repetition for location (), creating it if it does not already exist.Gets the value(s) for participant ().Gets the first repetition for participant (), creating it if it does not already exist.Gets the value(s) for partOf ().Gets the value(s) for patient (who.focus).Gets the value(s) for period (when.done).Gets the value(s) for priority (grade).Gets the value(s) for reason (why).Gets the first repetition for reason (why), creating it if it does not already exist.Gets the value(s) for serviceProvider ().Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<EncounterStateEnum> Gets the value(s) for status (status).Gets the value(s) for statusHistory ().Gets the first repetition for statusHistory (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnum
getType()
Gets the value(s) for type (class).Gets the first repetition for type (class), creating it if it does not already exist.boolean
isEmpty()
setAppointment
(ResourceReferenceDt theValue) Sets the value(s) for appointment ()setClassElement
(EncounterClassEnum theValue) Sets the value(s) for class (class)setClassElement
(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> theValue) Sets the value(s) for class (class)setEpisodeOfCare
(List<ResourceReferenceDt> theValue) Sets the value(s) for episodeOfCare (context)setHospitalization
(Encounter.Hospitalization theValue) Sets the value(s) for hospitalization ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setIncomingReferral
(List<ResourceReferenceDt> theValue) Sets the value(s) for incomingReferral ()setIndication
(List<ResourceReferenceDt> theValue) Sets the value(s) for indication (why)setLength
(DurationDt theValue) Sets the value(s) for length ()setLocation
(List<Encounter.Location> theValue) Sets the value(s) for location ()setParticipant
(List<Encounter.Participant> theValue) Sets the value(s) for participant ()setPartOf
(ResourceReferenceDt theValue) Sets the value(s) for partOf ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient (who.focus)Sets the value(s) for period (when.done)setPriority
(CodeableConceptDt theValue) Sets the value(s) for priority (grade)setReason
(List<CodeableConceptDt> theValue) Sets the value(s) for reason (why)setServiceProvider
(ResourceReferenceDt theValue) Sets the value(s) for serviceProvider ()setStatus
(EncounterStateEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum> theValue) Sets the value(s) for status (status)setStatusHistory
(List<Encounter.StatusHistory> theValue) Sets the value(s) for statusHistory ()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, isDeleted, 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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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
-