diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java index 9c23278ca3..a53e3f776b 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java @@ -21,11 +21,10 @@ public class Objective2 extends Objective { .option(new Option(R.string.dia_valuemustbedetermined, true)) .hint(new Hint(R.string.dia_hint1)) ); - tasks.add(new ExamTask(R.string.hypott, R.string.hypott_whenhypott,"hypott") - .option(new Option(R.string.hypott_goinglow, true)) - .option(new Option(R.string.hypott_havinglow, true)) - .option(new Option(R.string.hypott_notlowanymorebutrising, false)) - .option(new Option(R.string.hypott_havehadalowbg, false)) + tasks.add(new ExamTask(R.string.hypott, R.string.hypott_whyhypott,"hypott") + .option(new Option(R.string.hypott_goinglow, false)) + .option(new Option(R.string.hypott_havinglow, false)) + .option(new Option(R.string.hypott_preventoversmb, true)) .hint(new Hint(R.string.hypott_hint1)) ); tasks.add(new ExamTask(R.string.offlineprofile, R.string.offlineprofile_whatprofile,"offlineprofile") @@ -57,6 +56,27 @@ public class Objective2 extends Objective { .option(new Option(R.string.noisycgm_checksmoothing, true)) .hint(new Hint(R.string.noisycgm_hint1)) ); + tasks.add(new ExamTask(R.string.exercise, R.string.exercise_whattodo,"exercise") + .option(new Option(R.string.nothing, false)) + .option(new Option(R.string.exercise_setactivitytt, true)) + .option(new Option(R.string.exercise_switchprofilebelow100, true)) + .option(new Option(R.string.exercise_switchprofileabove100, false)) + .option(new Option(R.string.exercise_stoploop, false)) + .option(new Option(R.string.exercise_doitbeforestart, true)) + .option(new Option(R.string.exercise_doitafterstart, false)) + .hint(new Hint(R.string.exercise_hint1)) + ); + tasks.add(new ExamTask(R.string.suspendloop, R.string.suspendloop_doigetinsulin,"suspendloop") + .option(new Option(R.string.suspendloop_yes, true)) + .option(new Option(R.string.no, false)) + .hint(new Hint(R.string.exercise_hint1)) + ); + tasks.add(new ExamTask(R.string.basaltest, R.string.basaltest_when,"basaltest") + .option(new Option(R.string.basaltest_beforeloop, true)) + .option(new Option(R.string.basaltest_havingregularhypo, true)) + .option(new Option(R.string.basaltest_havingregularhyper, true)) + .hint(new Hint(R.string.basaltest_hint1)) + ); for (Task task : tasks) Collections.shuffle(((ExamTask)task).options); diff --git a/app/src/main/res/layout/objectives_exam_fragment.xml b/app/src/main/res/layout/objectives_exam_fragment.xml index df432cc5d2..ff906d036d 100644 --- a/app/src/main/res/layout/objectives_exam_fragment.xml +++ b/app/src/main/res/layout/objectives_exam_fragment.xml @@ -17,7 +17,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:orientation="vertical" - app:layout_constraintTop_toBottomOf="@+id/objectives_exam_question" + app:layout_constraintTop_toBottomOf="@+id/objectives_exam_hint" tools:layout_editor_absoluteX="3dp"> @@ -81,6 +81,15 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/objectives_exam_name" /> + + Turn off CGM receiver. https://androidaps.readthedocs.io/en/latest/EN/Usage/Smoothing-Blood-Glucose-Data-in-xDrip.html#smoothing-blood-glucose-data Check if your CGM app smoothes data. + to prevent SMB after a hypo rise from fast carbs + Exercise + How to help the system deal with exercise + set activity temp target + do a profile switch below 100% + do profile switch above 100% + stop loop + do it before start exercise + do it after start exercise + https://androidaps.readthedocs.io/en/latest/EN/Usage/temptarget.html#activity-temp-target + Do I get insuling when loop is suspended? + Yes, common basal rate + Basal and ISF, IC testing + When should I test basals, ISF and IC? + before I start looping + when having regular hypos + when having regular hypers + https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#androidaps-settings diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6c1164da19..35daa8efff 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1637,6 +1637,7 @@ Close objectives_request_code Request code: %1$s + (check all correct answers) %1$d day