Skip to content
Snippets Groups Projects
Commit 3ba05468 authored by Halim Bahar's avatar Halim Bahar
Browse files

triage_data for Dynamization

parent 0c96f873
No related branches found
No related tags found
No related merge requests found
// Superclasses ----------------------------------------------------------------
class Category {
bool isAmbulatory;
bool isSpontaneousBreathingPresent;
Category(this.isAmbulatory, this.isSpontaneousBreathingPresent);
}
class Category2 extends Category {
bool isBreathingFrequencyPerMinute;
bool isCirculation;
Category2(this.isBreathingFrequencyPerMinute, this.isCirculation)
: super(false, true);
}
// Subclasses ------------------------------------------------------------------
class CategoryT1A extends Category {
bool isAfterOpeningAirways = true;
CategoryT1A(this.isAfterOpeningAirways) : super(false, false);
}
class CategoryT1B extends Category {
bool isBreathingFrequencyPerMinute = true;
CategoryT1B(
this.isBreathingFrequencyPerMinute,
) : super(false, true);
}
class CategoryT1C extends Category2 {
CategoryT1C() : super(false, true);
}
class CategoryT1D extends Category2 {
bool isNeurology = false;
CategoryT1D(this.isNeurology) : super(false, false);
}
class CategoryT2 extends Category2 {
bool isNeurology = true;
CategoryT2(this.isNeurology) : super(false, false);
}
class CategoryT3 extends Category {
CategoryT3() : super(true, null);
}
class CategoryT4 extends Category {
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