Skip to content

Commit 4cdcfe9

Browse files
author
Rupert Westenthaler
committed
MORE-Platform#399: Documentation only
1 parent 09d02ba commit 4cdcfe9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

studymanager-goaltemplates/src/main/java/io/redlink/more/studymanager/component/goaltemplate/DrinkAmountOfGoalTemplateFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public List<Value> getProperties() {
2424
APP_TITLE,
2525
APP_DESCRIPTION,
2626
GOAL_TITLE_STATE,
27+
//ALLOW_INSTANCES_STATE -> not multiple instances of amount-of goals
2728
SHOW_AS_TODO_ITEM_STATE,
2829
CUSTOM_SHOW_AS_TODO_ITEM_STATE,
2930

studymanager-goaltemplates/src/main/java/io/redlink/more/studymanager/component/goaltemplate/MedicationGoalTemplateFactory.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,23 @@ public List<Value> getProperties() {
2121
CONFIG_SECTION_CONFIGURATION,
2222
APP_TITLE,
2323
APP_DESCRIPTION,
24+
//Changing the Goal Title is allowed by participants
2425
GOAL_TITLE_STATE.copyOf()
2526
.setDefaultValue(true)
2627
.setImmutable(true),
28+
//participants can create multiple instances
2729
ALLOW_INSTANCES_STATE.copyOf()
2830
.setDefaultValue(true)
2931
.setImmutable(true),
32+
//participants are expected to assign adherence checks
3033
CUSTOM_ADHERENCE_CHECKS_STATE.copyOf()
3134
.setDefaultValue(true)
3235
.setImmutable(true),
36+
//the schedule is based on adherence checks (not the whole day)
3337
ADHERENCE_CHECK_BASED_SCHEDULE_STATE.copyOf()
3438
.setDefaultValue(true)
3539
.setImmutable(true),
40+
//medication goals are always shown in the to do list of the today tab
3641
SHOW_AS_TODO_ITEM_STATE.copyOf()
3742
.setDefaultValue(true)
3843
.setImmutable(true),

0 commit comments

Comments
 (0)