From 9b15d9da892cf505e77959edc60ce923b0a03d49 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Sep 2019 19:27:31 +0200 Subject: [PATCH] more exams --- .../objectives/objectives/Objective2.java | 15 ++++++++++++++- app/src/main/res/values/exam.xml | 2 +- app/src/main/res/values/strings.xml | 11 +++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) 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 2249385d48..74ce75a038 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 @@ -167,12 +167,25 @@ public class Objective2 extends Objective { ); tasks.add(new ExamTask(R.string.nsprofileview_ic_label, R.string.whatistrue,"ic") .option(new Option(R.string.ic_increasingvalue, true)) - .option(new Option(R.string.id_decreasingvalue, false)) + .option(new Option(R.string.ic_decreasingvalue, false)) .option(new Option(R.string.ic_noeffect, false)) .option(new Option(R.string.ic_different, false)) .option(new Option(R.string.ic_meaning, false)) .hint(new Hint(R.string.ic_hint1)) ); + tasks.add(new ExamTask(R.string.profileswitch, R.string.profileswitch_pctwillchange,"profileswitch") + .option(new Option(R.string.profileswitch_basalhigher, false)) + .option(new Option(R.string.profileswitch_basallower, true)) + .option(new Option(R.string.profileswitch_ichigher, true)) + .option(new Option(R.string.profileswitch_iclower, false)) + .option(new Option(R.string.profileswitch_isfhigher, true)) + .option(new Option(R.string.profileswitch_isflower, false)) + .option(new Option(R.string.profileswitch_overall, true)) + .option(new Option(R.string.profileswitch_targethigher, false)) + .option(new Option(R.string.profileswitch_targetlower, false)) + .option(new Option(R.string.profileswitch_targetbottom, false)) + .hint(new Hint(R.string.ic_hint1)) + ); for (Task task : tasks) Collections.shuffle(((ExamTask)task).options); diff --git a/app/src/main/res/values/exam.xml b/app/src/main/res/values/exam.xml index d1f84fdaa0..d3267a61cd 100644 --- a/app/src/main/res/values/exam.xml +++ b/app/src/main/res/values/exam.xml @@ -124,7 +124,7 @@ https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#insulin-sensitivity-factor-isf-mmol-l-u-or-mg-dl-u https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html Increasing IC value will lead to giving less insulin for the same amount of carbs - Decreasing IC value will lead to giving less insulin for the same amount of carbs + Decreasing IC value will lead to giving less insulin for the same amount of carbs Assume you have no active carbs. Changing IC will lead to different amount of insuling to correct your glycemia IC will be different if you count bread unit as 10g or 12g IC meaning is: How much bread units is covered by 1U of insulin diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ae15fc6dd4..7342e6cbeb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1639,6 +1639,17 @@ Request code: %1$s (check all correct answers) https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#what-emergency-equipment-is-recommended-to-take-with-me + By specifying 90% in profile switch + Basals will be 10% higher + Basals will be 10% lower + IC value will be 10% higher + IC value will be 10% lower + ISF value will be 10% higher + ISF value will be 10% lower + You will get 10% less insulin in total + Target wiil be 10% higher + Target will be 10% lower + Only bottom target will be 10% lower %1$d day