Hospitalization class

Details about the admission to a healthcare service.

Constructors

Hospitalization({AdmitSource? admitSource, Period? period, FixedList<CodeableConcept>? specialCourtesy, FixedList<Location>? destination, FixedList<Reference>? preAdmissionIdentifier})
Constructs a new Hospitalization with optional admitSource, period, specialCourtesy, destination, and preAdmissionIdentifier.
Hospitalization.fromJson(JsonObject json)
Constructs a new Hospitalization instance from the provided JSON object.

Properties

admitSource AdmitSource?
From where patient was admitted (physician referral, transfer).
no setter
destination FixedList<Location>?
Location/organization to which the patient is discharged.
no setter
hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
final
period Period?
The actual or estimated period of admission.
no setter
preAdmissionIdentifier FixedList<Reference>?
The pre-admission identifier.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specialCourtesy FixedList<CodeableConcept>?
Special courtesies (VIP, board member).
no setter

Methods

copyWith({AdmitSource? admitSource, Period? period, FixedList<CodeableConcept>? specialCourtesy, FixedList<Location>? destination, FixedList<Reference>? preAdmissionIdentifier}) Hospitalization
Creates a copy of the Hospitalization 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

admitSourceField → const FieldDefinition<AdmitSource>
Field definition for admitSource.
destinationField → const FieldDefinition<FixedList<Location>>
Field definition for destination.
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Hospitalization.
periodField → const FieldDefinition<Period>
Field definition for period.
preAdmissionIdentifierField → const FieldDefinition<FixedList<Reference>>
Field definition for preAdmissionIdentifier.
specialCourtesyField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for specialCourtesy.