Encounter class

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.

Inheritance
Available extensions

Constructors

Encounter({String? id, Meta? meta, FixedList<Identifier>? identifier, EncounterStatus? status, CodeableConcept? classCode, FixedList<CodeableConcept>? type, CodeableConcept? serviceType, CodeableConcept? priority, Reference? subject, FixedList<Participant>? participant, Period? period, Length? length, FixedList<CodeableConcept>? reasonCode, Hospitalization? hospitalization, FixedList<Reference>? location})
Constructs a new Encounter.
Encounter.fromJson(JsonObject jsonObject)
Creates an Encounter instance from the provided JSON object.

Properties

classCode CodeableConcept?
Classification of patient encounter context - e.g. Inpatient, outpatient.
no setter
hashCode int
The hash code for this object.
no setteroverride
hospitalization Hospitalization?
Details about the admission to a healthcare service.
no setter
id String?
The id of the resource
no setterinherited
identifier FixedList<Identifier>?
Identifier(s) by which this encounter is known.
no setter
json → JsonObject
finalinherited
length Length?
Quantity of time the encounter lasted. This excludes the time during leaves of absence.
no setter
location FixedList<Reference>?
List of locations where the patient has been during this encounter.
no setter
meta Meta?
The metadata of the resource
no setterinherited
participant FixedList<Participant>?
The list of people responsible for providing the service.
no setter
period Period?
The start and end time of the encounter.
no setter
priority CodeableConcept?
Indicates the urgency of the encounter.
no setter
reasonCode FixedList<CodeableConcept>?
Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceType CodeableConcept?
Broad categorization of the service that is to be provided (e.g. cardiology).
no setter
status EncounterStatus?
The current status of the encounter.
no setter
subject Reference?
The patient or group present at the encounter.
no setter
type FixedList<CodeableConcept>?
Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).
no setter

Methods

copyWith({FixedList<Identifier>? identifier, EncounterStatus? status, CodeableConcept? classCode, FixedList<CodeableConcept>? type, CodeableConcept? serviceType, CodeableConcept? priority, Reference? subject, FixedList<Participant>? participant, Period? period, Length? length, FixedList<CodeableConcept>? reasonCode, Hospitalization? hospitalization, FixedList<Reference>? location}) Encounter
Creates a copy of the Encounter instance and allows for non-destructive mutation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

classField → const FieldDefinition<CodeableConcept>
Field definition for classCode.
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Encounter.
hospitalizationField → const FieldDefinition<Hospitalization>
Field definition for hospitalization.
identifierField → const FieldDefinition<FixedList<Identifier>>
Field definition for identifier.
lengthField → const FieldDefinition<Length>
Field definition for length.
locationField → const FieldDefinition<FixedList<Reference>>
Field definition for location.
participantField → const FieldDefinition<FixedList<Participant>>
Field definition for participant.
periodField → const FieldDefinition<Period>
Field definition for period.
priorityField → const FieldDefinition<CodeableConcept>
Field definition for priority.
reasonCodeField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for reasonCode.
serviceTypeField → const FieldDefinition<CodeableConcept>
Field definition for serviceType.
statusField → const FieldDefinition<EncounterStatus>
Field definition for status.
subjectField → const FieldDefinition<Reference>
Field definition for subject.
typeField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for type.