|
@@ -391,16 +391,16 @@ public class ProblemSurveyController {
|
|
|
private static Map<String, String> buildDefaultQuestions() {
|
|
private static Map<String, String> buildDefaultQuestions() {
|
|
|
Map<String, String> map = new HashMap<>();
|
|
Map<String, String> map = new HashMap<>();
|
|
|
map.put("weight_loss", "["
|
|
map.put("weight_loss", "["
|
|
|
- + "{\"id\":\"q1\",\"text\":\"目前孩子的体重情况如何?\",\"multi\":false,"
|
|
|
|
|
|
|
+ + "{\"id\":\"q1\",\"text\":\"目前儿童的体重情况如何?\",\"multi\":false,"
|
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"偏瘦\",\"tag\":\"体重偏瘦\"},"
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"偏瘦\",\"tag\":\"体重偏瘦\"},"
|
|
|
+ "{\"id\":\"o2\",\"text\":\"正常\",\"tag\":\"\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"正常\",\"tag\":\"\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"偏胖\",\"tag\":\"体重偏胖\"}]},"
|
|
+ "{\"id\":\"o3\",\"text\":\"偏胖\",\"tag\":\"体重偏胖\"}]},"
|
|
|
- + "{\"id\":\"q2\",\"text\":\"孩子的饮食结构如何?(可多选)\",\"multi\":true,"
|
|
|
|
|
|
|
+ + "{\"id\":\"q2\",\"text\":\"儿童的饮食结构如何?(可多选)\",\"multi\":true,"
|
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"零食饮料多\",\"tag\":\"零食饮料\"},"
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"零食饮料多\",\"tag\":\"零食饮料\"},"
|
|
|
+ "{\"id\":\"o2\",\"text\":\"主食过量\",\"tag\":\"主食过量\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"主食过量\",\"tag\":\"主食过量\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"蔬菜水果少\",\"tag\":\"蔬果不足\"},"
|
|
+ "{\"id\":\"o3\",\"text\":\"蔬菜水果少\",\"tag\":\"蔬果不足\"},"
|
|
|
+ "{\"id\":\"o4\",\"text\":\"三餐规律\",\"tag\":\"\"}]},"
|
|
+ "{\"id\":\"o4\",\"text\":\"三餐规律\",\"tag\":\"\"}]},"
|
|
|
- + "{\"id\":\"q3\",\"text\":\"孩子每天运动情况如何?\",\"multi\":false,"
|
|
|
|
|
|
|
+ + "{\"id\":\"q3\",\"text\":\"儿童每天运动情况如何?\",\"multi\":false,"
|
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"很少运动\",\"tag\":\"运动不足\"},"
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"很少运动\",\"tag\":\"运动不足\"},"
|
|
|
+ "{\"id\":\"o2\",\"text\":\"每周1-2次\",\"tag\":\"运动不足\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"每周1-2次\",\"tag\":\"运动不足\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"每周3次以上\",\"tag\":\"运动良好\"}]},"
|
|
+ "{\"id\":\"o3\",\"text\":\"每周3次以上\",\"tag\":\"运动良好\"}]},"
|
|
@@ -409,7 +409,7 @@ public class ProblemSurveyController {
|
|
|
+ "{\"id\":\"o2\",\"text\":\"培养饮食习惯\",\"tag\":\"饮食管理\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"培养饮食习惯\",\"tag\":\"饮食管理\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"增加运动\",\"tag\":\"运动习惯\"}]}]");
|
|
+ "{\"id\":\"o3\",\"text\":\"增加运动\",\"tag\":\"运动习惯\"}]}]");
|
|
|
map.put("sleep", "["
|
|
map.put("sleep", "["
|
|
|
- + "{\"id\":\"q1\",\"text\":\"孩子每晚睡眠时长大约多少?\",\"multi\":false,"
|
|
|
|
|
|
|
+ + "{\"id\":\"q1\",\"text\":\"儿童每晚睡眠时长大约多少?\",\"multi\":false,"
|
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"不足8小时\",\"tag\":\"睡眠不足\"},"
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"不足8小时\",\"tag\":\"睡眠不足\"},"
|
|
|
+ "{\"id\":\"o2\",\"text\":\"8-10小时\",\"tag\":\"睡眠正常\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"8-10小时\",\"tag\":\"睡眠正常\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"超过10小时\",\"tag\":\"睡眠过多\"}]},"
|
|
+ "{\"id\":\"o3\",\"text\":\"超过10小时\",\"tag\":\"睡眠过多\"}]},"
|
|
@@ -428,7 +428,7 @@ public class ProblemSurveyController {
|
|
|
+ "{\"id\":\"o3\",\"text\":\"情绪烦躁\",\"tag\":\"情绪波动\"},"
|
|
+ "{\"id\":\"o3\",\"text\":\"情绪烦躁\",\"tag\":\"情绪波动\"},"
|
|
|
+ "{\"id\":\"o4\",\"text\":\"精力充沛\",\"tag\":\"\"}]}]");
|
|
+ "{\"id\":\"o4\",\"text\":\"精力充沛\",\"tag\":\"\"}]}]");
|
|
|
map.put("constipation", "["
|
|
map.put("constipation", "["
|
|
|
- + "{\"id\":\"q1\",\"text\":\"孩子排便频率如何?\",\"multi\":false,"
|
|
|
|
|
|
|
+ + "{\"id\":\"q1\",\"text\":\"儿童排便频率如何?\",\"multi\":false,"
|
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"每天1次以上\",\"tag\":\"\"},"
|
|
+ "\"options\":[{\"id\":\"o1\",\"text\":\"每天1次以上\",\"tag\":\"\"},"
|
|
|
+ "{\"id\":\"o2\",\"text\":\"2-3天1次\",\"tag\":\"排便频率低\"},"
|
|
+ "{\"id\":\"o2\",\"text\":\"2-3天1次\",\"tag\":\"排便频率低\"},"
|
|
|
+ "{\"id\":\"o3\",\"text\":\"3天以上1次\",\"tag\":\"便秘\"}]},"
|
|
+ "{\"id\":\"o3\",\"text\":\"3天以上1次\",\"tag\":\"便秘\"}]},"
|