Episode class
Entidad de dominio pura que representa un episodio clínico (evolución) asociado a un ingreso hospitalario.
No depende de la capa de datos ni de DTOs de la API. Es el modelo que manejan los providers y la UI.
Constructors
- Episode({required String episodeId, required String admissionId, required String doctorId, required String clinicalProgress, required String diagnosis, int? bradenScore, bool? camScore, int? chads2Score, required DateTime createdAt, required String createdBy, String? createdByName, DateTime? lastModifiedAt, String? lastModifiedBy})
Properties
- admissionId → String
-
final
- bradenScore → int?
-
Escala de Braden: valora el riesgo de úlceras por presión (UPP).
Rango 6–23; valores más bajos indican mayor riesgo.
final
- camScore → bool?
-
Resultado del test CAM (Confusion Assessment Method): indica si el
paciente presenta delirium (
true) o no (false).final - chads2Score → int?
-
Puntuación CHA₂DS₂-VASc: estima el riesgo tromboembólico en
pacientes con fibrilación auricular. Rango 0–9.
final
- clinicalProgress → String
-
final
- createdAt → DateTime
-
final
- createdBy → String
-
final
- createdByName → String?
-
final
- diagnosis → String
-
final
- doctorId → String
-
final
- episodeId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastModifiedAt → DateTime?
-
final
- lastModifiedBy → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited