33 lines
654 B
Dart
33 lines
654 B
Dart
enum InjectionQuadrant {
|
|
abdomenRightUpper,
|
|
abdomenRightLower,
|
|
abdomenLeftUpper,
|
|
abdomenLeftLower,
|
|
thighRight,
|
|
thighLeft,
|
|
armRight,
|
|
armLeft,
|
|
}
|
|
|
|
class MedicationDose {
|
|
final String id;
|
|
final String compoundName;
|
|
final double doseMg;
|
|
final DateTime scheduledTime;
|
|
final DateTime? administeredTime;
|
|
final InjectionQuadrant? injectionSite;
|
|
final String? notes;
|
|
|
|
const MedicationDose({
|
|
required this.id,
|
|
required this.compoundName,
|
|
required this.doseMg,
|
|
required this.scheduledTime,
|
|
this.administeredTime,
|
|
this.injectionSite,
|
|
this.notes,
|
|
});
|
|
|
|
bool get isCompleted => administeredTime != null;
|
|
}
|