Skip to content
Snippets Groups Projects
Commit 64560d73 authored by Thi Huyen Trang Nguyen's avatar Thi Huyen Trang Nguyen
Browse files

KAT-108: Added triage categories in triage_data.dart

parent 0c96f873
No related branches found
No related tags found
No related merge requests found
class SuperCategory {
bool isAmbulatory;
bool isSpontaneousBreathingPresent;
SuperCategory(this.isAmbulatory, this.isSpontaneousBreathingPresent);
}
class CategoryT1A extends SuperCategory {
bool isAfterOpeningAirways = true;
CategoryT1A(this.isAfterOpeningAirways) : super(false, false);
}
class CategoryT1B extends SuperCategory {
bool isBreathingFrequencyPerMinute = true;
CategoryT1B(
this.isBreathingFrequencyPerMinute,
) : super(false, true);
}
class SuperCategory2 extends SuperCategory {
bool isBreathingFrequencyPerMinute;
bool isCirculation;
SuperCategory2(this.isBreathingFrequencyPerMinute, this.isCirculation)
: super(false, true);
}
class CategoryT1C extends SuperCategory2 {
CategoryT1C() : super(false, true);
}
class CategoryT1D extends SuperCategory2 {
bool isNeurology = false;
CategoryT1D(this.isNeurology) : super(false, false);
}
class CategoryT2 extends SuperCategory2 {
bool isNeurology = true;
CategoryT2(this.isNeurology) : super(false, false);
}
class CategoryT3 extends SuperCategory {
CategoryT3() : super(true, null);
}
class CategoryT4 extends SuperCategory {
bool isAfterOpeningAirways = false;
CategoryT4(this.isAfterOpeningAirways) : super(false, false);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment