Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KatApp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Halim Bahar
KatApp
Commits
3ba05468
Commit
3ba05468
authored
4 years ago
by
Halim Bahar
Browse files
Options
Downloads
Patches
Plain Diff
triage_data for Dynamization
parent
0c96f873
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rescueapp/lib/start_triage_system/triage_data.dart
+56
-0
56 additions, 0 deletions
rescueapp/lib/start_triage_system/triage_data.dart
with
56 additions
and
0 deletions
rescueapp/lib/start_triage_system/triage_data.dart
0 → 100644
+
56
−
0
View file @
3ba05468
// 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
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment