From 3320ef2bfcab46fec4856a4700dc8977b73e1d61 Mon Sep 17 00:00:00 2001
From: Trang Nguyen <thi_huyen_trang.nguyen@student.reutlingen-university.de>
Date: Wed, 25 Nov 2020 06:35:09 +0100
Subject: [PATCH] KAt-50: Created a directory 'start_triage_system' for all
 pages of triage system

---
 .../after_opening_airways.dart                | 155 ++++++++++++++++++
 .../lib/start_triage_system/ambulatory.dart   | 104 ++++++++++++
 .../spontaneous_breathing_present.dart        | 141 ++++++++++++++++
 3 files changed, 400 insertions(+)
 create mode 100644 rescueapp/lib/start_triage_system/after_opening_airways.dart
 create mode 100644 rescueapp/lib/start_triage_system/ambulatory.dart
 create mode 100644 rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart

diff --git a/rescueapp/lib/start_triage_system/after_opening_airways.dart b/rescueapp/lib/start_triage_system/after_opening_airways.dart
new file mode 100644
index 0000000..3e342d1
--- /dev/null
+++ b/rescueapp/lib/start_triage_system/after_opening_airways.dart
@@ -0,0 +1,155 @@
+import 'package:flutter/material.dart';
+
+class AfterOpeningAirways extends StatefulWidget {
+  AfterOpeningAirways({Key key, this.title}) : super(key: key);
+  final String title;
+
+  @override
+  _AfterOpeningAirwaysState createState() => _AfterOpeningAirwaysState();
+}
+
+class _AfterOpeningAirwaysState extends State<AfterOpeningAirways> {
+  @override
+  Widget build(BuildContext context) {
+    return Scaffold(
+      appBar: AppBar(
+        title: Text('KatApp'),
+      ),
+      body: Padding(
+        padding: EdgeInsets.symmetric(horizontal: 40, vertical: 10),
+        child: Column(
+          children: <Widget>[
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('Ist der Patient gehfähig?',
+                      style: TextStyle(fontSize: 20, color: Colors.blue[900])),
+                )),
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('Nein',
+                      style: TextStyle(
+                          fontSize: 20,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.grey[500])),
+                )),
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('A:Spontanatmung vorhanden?',
+                      style: TextStyle(
+                          fontSize: 20,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.grey[500])),
+                )),
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('Nein',
+                      style: TextStyle(
+                          fontSize: 20,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.grey[500])),
+                )),
+            SizedBox(
+              height: 110,
+            ),
+            SizedBox(
+                height: 50,
+                child: Container(
+                  alignment: Alignment.center,
+                  decoration: BoxDecoration(
+                    border: Border(
+                      left: BorderSide(color: Colors.red, width: 2),
+                      right: BorderSide(color: Colors.red, width: 2),
+                      top: BorderSide(color: Colors.red, width: 2),
+                    ),
+                  ),
+                  child: Text('Kategorie A',
+                      style: TextStyle(
+                          fontSize: 22,
+                          fontWeight: FontWeight.w700,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.white)),
+                )),
+            SizedBox(
+                height: 50,
+                width: 500,
+                child: Container(
+                  alignment: Alignment.center,
+                  decoration: BoxDecoration(
+                    border: Border(
+                      left: BorderSide(color: Colors.red, width: 2),
+                      right: BorderSide(color: Colors.red, width: 2),
+                      bottom: BorderSide(color: Colors.red, width: 2),
+                    ),
+                  ),
+                  child: Text('Nach Öffnung der Atemwege?',
+                      style: TextStyle(
+                          fontSize: 22,
+                          fontWeight: FontWeight.w700,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.white)),
+                )),
+            SizedBox(
+              height: 50,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Ja',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: null ))),
+            SizedBox(
+              height: 10,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Nein',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: null))),
+            SizedBox(
+              height: 50,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Zurück',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.white)),
+                        color: Colors.blue[900],
+                        onPressed: () {
+                          Navigator.pop(context);
+                        }))),
+          ],
+        ),
+      ),
+    );
+  }
+}
diff --git a/rescueapp/lib/start_triage_system/ambulatory.dart b/rescueapp/lib/start_triage_system/ambulatory.dart
new file mode 100644
index 0000000..eb52a74
--- /dev/null
+++ b/rescueapp/lib/start_triage_system/ambulatory.dart
@@ -0,0 +1,104 @@
+import 'package:flutter/material.dart';
+import 'spontaneous_breathing_present.dart';
+
+class Ambulatory extends StatefulWidget {
+  Ambulatory({Key key, this.title}) : super(key: key);
+  final String title;
+
+  @override
+  _AmbulatoryState createState() => _AmbulatoryState();
+}
+
+class _AmbulatoryState extends State<Ambulatory> {
+  @override
+  Widget build(BuildContext context) {
+    return Scaffold(
+      appBar: AppBar(
+        title: Text('KatApp'),
+      ),
+      body: Padding(
+        padding: EdgeInsets.symmetric(horizontal: 40, vertical: 10),
+        child: Column(
+          children: <Widget>[
+            SizedBox(
+              height: 150,
+            ),
+            SizedBox(
+                height: 100,
+                child: Container(
+                  alignment: Alignment.center,
+                  decoration: BoxDecoration(
+                    border: Border(
+                      left: BorderSide(color: Colors.red, width: 2),
+                      right: BorderSide(color: Colors.red, width: 2),
+                      top: BorderSide(color: Colors.red, width: 2),
+                      bottom: BorderSide(color: Colors.red, width: 2),
+                    ),
+                  ),
+                  child: Text('Ist der Patient gehfähig?',
+                      style: TextStyle(
+                          fontSize: 22,
+                          fontWeight: FontWeight.w700,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.white)),
+                )),
+            SizedBox(
+              height: 120,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Ja',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: null ))),
+            SizedBox(
+              height: 10,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Nein',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: () {
+                          Navigator.push(
+                            context,
+                            MaterialPageRoute(
+                                builder: (context) =>
+                                    SpontaneousBreathingPresent()),
+                          );
+                        }))),
+            SizedBox(
+              height: 100,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Zurück',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.white)),
+                        color: Colors.blue[900],
+                        onPressed: () {
+                          Navigator.pop(context);
+                        }))),
+          ],
+        ),
+      ),
+    );
+  }
+}
diff --git a/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart b/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart
new file mode 100644
index 0000000..5151e51
--- /dev/null
+++ b/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart
@@ -0,0 +1,141 @@
+import 'package:flutter/material.dart';
+import 'after_opening_airways.dart';
+
+class SpontaneousBreathingPresent extends StatefulWidget {
+  SpontaneousBreathingPresent({Key key, this.title}) : super(key: key);
+  final String title;
+  @override
+  _SpontaneousBreathingPresentState createState() =>
+      _SpontaneousBreathingPresentState();
+}
+
+class _SpontaneousBreathingPresentState
+    extends State<SpontaneousBreathingPresent> {
+  @override
+  Widget build(BuildContext context) {
+    return Scaffold(
+      appBar: AppBar(
+        title: Text('KatApp'),
+      ),
+      body: Padding(
+        padding: EdgeInsets.symmetric(horizontal: 40, vertical: 10),
+        child: Column(
+          children: <Widget>[
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('Ist der Patient gehfähig?',
+                      style: TextStyle(fontSize: 20, color: Colors.blue[900])),
+                )),
+            SizedBox(
+                height: 40,
+                child: Container(
+                  decoration: BoxDecoration(color: Colors.grey[500]),
+                  alignment: Alignment.center,
+                  child: Text('Nein',
+                      style: TextStyle(
+                          fontSize: 20,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.grey[500])),
+                )),
+            SizedBox(
+              height: 150,
+            ),
+            SizedBox(
+                height: 50,
+                child: Container(
+                  alignment: Alignment.center,
+                  decoration: BoxDecoration(
+                    border: Border(
+                      left: BorderSide(color: Colors.red, width: 2),
+                      right: BorderSide(color: Colors.red, width: 2),
+                      top: BorderSide(color: Colors.red, width: 2),
+                    ),
+                  ),
+                  child: Text('Kategorie A',
+                      style: TextStyle(
+                          fontSize: 22,
+                          fontWeight: FontWeight.w700,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.white)),
+                )),
+            SizedBox(
+                height: 50,
+                width: 500,
+                child: Container(
+                  alignment: Alignment.center,
+                  decoration: BoxDecoration(
+                    border: Border(
+                      left: BorderSide(color: Colors.red, width: 2),
+                      right: BorderSide(color: Colors.red, width: 2),
+                      bottom: BorderSide(color: Colors.red, width: 2),
+                    ),
+                  ),
+                  child: Text('Spontanatmung vorhanden?',
+                      style: TextStyle(
+                          fontSize: 22,
+                          fontWeight: FontWeight.w700,
+                          color: Colors.blue[900],
+                          backgroundColor: Colors.white)),
+                )),
+            SizedBox(
+              height: 70,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Ja',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: null ))),
+            SizedBox(
+              height: 10,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Nein',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.blue[900])),
+                        color: Colors.blue,
+                        onPressed: () {
+                          Navigator.push(
+                            context,
+                            MaterialPageRoute(
+                                builder: (context) => AfterOpeningAirways()),
+                          );
+                        }))),
+            SizedBox(
+              height: 70,
+            ),
+            SizedBox(
+                width: 200,
+                height: 50,
+                child: Container(
+                    child: RaisedButton(
+                        child: new Text('Zurück',
+                            style: TextStyle(
+                                fontSize: 20,
+                                fontWeight: FontWeight.w600,
+                                color: Colors.white)),
+                        color: Colors.blue[900],
+                        onPressed: () {
+                          Navigator.pop(context);
+                        }))),
+          ],
+        ),
+      ),
+    );
+  }
+}
-- 
GitLab