|
572 | 572 | "goaltemplate": { |
573 | 573 | "property": { |
574 | 574 | "global": { |
| 575 | + "section": { |
| 576 | + "configuration": { |
| 577 | + "name": "Goal Configuration", |
| 578 | + "description": "Here you can configure the goal template. The configured values allow participants to personalize the goal in the app." |
| 579 | + }, |
| 580 | + "goal": { |
| 581 | + "name": "Configure Goal Settings", |
| 582 | + "description": "The following goal settings define which values are available to participants for personalizing the goal." |
| 583 | + }, |
| 584 | + "status-texts": { |
| 585 | + "name": "Status Texts", |
| 586 | + "description": "These texts are displayed in the app based on an algorithm. They should be motivating texts that encourage participants." |
| 587 | + }, |
| 588 | + "self-report": { |
| 589 | + "name": "Self-Report Notification", |
| 590 | + "description": "Here you can send a notification to participants at a specific time to verify goal achievement." |
| 591 | + } |
| 592 | + }, |
575 | 593 | "appTitle": { |
576 | 594 | "name": "App Goal Title", |
577 | 595 | "description": "The default name of the goal displayed in the participant app.", |
|
587 | 605 | "description": "Allows participants to customize the goal title during personalization in the app.", |
588 | 606 | "placeholder": "Allow overriding" |
589 | 607 | }, |
| 608 | + "showAsTodoItemState": { |
| 609 | + "name": "Mendatory Goal", |
| 610 | + "description": "This is a mandatory goal that must be completed by the participant." |
| 611 | + }, |
| 612 | + "customShowAsTodoItemState": { |
| 613 | + "name": "Custom Mendatory Goal", |
| 614 | + "description": "This is a custom mandatory goal that must be completed by the participant." |
| 615 | + }, |
590 | 616 | "days-of-week": { |
591 | 617 | "name": "Days of the Week", |
592 | 618 | "description": "Days of the week range", |
593 | 619 | "placeholder-min": "Minimum value", |
594 | 620 | "placeholder-max": "Maximum value" |
595 | 621 | }, |
596 | | - "self-report-time": { |
597 | | - "name": "Notification Time", |
598 | | - "description": "This is the time at which the notification is sent to participants.", |
599 | | - "placeholder": "Select times" |
600 | | - } |
601 | | - }, |
602 | | - "amountOfGoal": { |
603 | | - "partOfTemplate": "Part of the preview", |
604 | | - "section": { |
605 | | - "configuration": { |
606 | | - "name": "Goal Configuration", |
607 | | - "description": "Here you can configure the goal template. The configured values allow participants to personalize the goal in the app." |
608 | | - }, |
609 | | - "goal": { |
610 | | - "name": "Configure Goal Settings", |
611 | | - "description": "The following goal settings define which values are available to participants for personalizing the goal." |
612 | | - }, |
613 | | - "status-texts": { |
614 | | - "name": "Status Texts", |
615 | | - "description": "These texts are displayed in the app based on an algorithm. They should be motivating texts that encourage participants." |
616 | | - }, |
617 | | - "self-report": { |
618 | | - "name": "Self-Report Notification", |
619 | | - "description": "Here you can send a notification to participants at a specific time to verify goal achievement." |
620 | | - } |
621 | | - }, |
622 | | - "goal-preview": { |
623 | | - "name": "Goal Preview", |
624 | | - "description": "The goal is displayed in the app as follows:", |
625 | | - "partOfTemplate": "Part of the preview" |
626 | | - }, |
627 | | - "goal": { |
628 | | - "name": "Goal Settings", |
629 | | - "description": "These are the options for the goal settings that participants can use to customize their personal goal.", |
630 | | - "amount": { |
631 | | - "name": "Amount", |
632 | | - "description": "Range for goal achievement", |
633 | | - "placeholder-min": "Minimum value", |
634 | | - "placeholder-max": "Maximum value" |
635 | | - }, |
636 | | - "unit": { |
637 | | - "name": "Unit", |
638 | | - "description": "The unit for goal values (e.g. glass of water)", |
639 | | - "placeholder": "Enter unit" |
640 | | - } |
641 | | - }, |
642 | 622 | "status-100-reached": { |
643 | 623 | "name": "100% Reached", |
644 | 624 | "description": "Text displayed when 100% of the goal is achieved.", |
|
654 | 634 | "description": "Text displayed between 0 and 75% goal achievement.", |
655 | 635 | "placeholder": "Enter status text for 'not yet reached'" |
656 | 636 | }, |
657 | | - "self-report-question": { |
658 | | - "name": "Question Text", |
659 | | - "description": "This is the message sent to participants.", |
660 | | - "placeholder": "Enter question text" |
661 | | - }, |
662 | 637 | "status-day-not-consumed": { |
663 | 638 | "name": "Nothing Consumed", |
664 | 639 | "description": "This status is displayed when nothing was consumed that day.", |
|
673 | 648 | "name": "Above the Limit", |
674 | 649 | "description": "This status is displayed when the limit has been exceeded.", |
675 | 650 | "placeholder": "Enter status text for 'above the limit'" |
| 651 | + }, |
| 652 | + "self-report-time": { |
| 653 | + "name": "Notification Time", |
| 654 | + "description": "This is the time at which the notification is sent to participants.", |
| 655 | + "placeholder": "Select times" |
| 656 | + }, |
| 657 | + "customAdherenceChecksState": { |
| 658 | + "name": "Custom Adherence Check", |
| 659 | + "description": "Lets the patient overwrite the goals default settings for adherence checks." |
| 660 | + }, |
| 661 | + "adherenceChecksScheduleState": { |
| 662 | + "name": "Custom Adherence Check", |
| 663 | + "description": "Lets the patient overwrite the goals default settings for adherence checks." |
| 664 | + }, |
| 665 | + "self-report-question": { |
| 666 | + "name": "Question Text", |
| 667 | + "description": "This is the message sent to participants.", |
| 668 | + "placeholder": "Enter question text" |
| 669 | + } |
| 670 | + }, |
| 671 | + "amountOfGoal": { |
| 672 | + "partOfTemplate": "Part of the preview", |
| 673 | + "goal-preview": { |
| 674 | + "name": "Goal Preview", |
| 675 | + "description": "The goal is displayed in the app as follows:", |
| 676 | + "partOfTemplate": "Part of the preview" |
| 677 | + }, |
| 678 | + "goal": { |
| 679 | + "name": "Goal Settings", |
| 680 | + "description": "These are the options for the goal settings that participants can use to customize their personal goal.", |
| 681 | + "amount": { |
| 682 | + "name": "Amount", |
| 683 | + "description": "Range for goal achievement", |
| 684 | + "placeholder-min": "Minimum value", |
| 685 | + "placeholder-max": "Maximum value" |
| 686 | + }, |
| 687 | + "unit": { |
| 688 | + "name": "Unit", |
| 689 | + "description": "The unit for goal values (e.g. glass of water)", |
| 690 | + "placeholder": "Enter unit" |
| 691 | + } |
| 692 | + } |
| 693 | + }, |
| 694 | + "boolean": { |
| 695 | + "goal": { |
| 696 | + "question": { |
| 697 | + "name": "Goal Text", |
| 698 | + "description": "This is the text displayed to patients in the app (e.g. like the Previewf from other goals with more complex properties)", |
| 699 | + "placeholder": "Enter goal text" |
| 700 | + }, |
| 701 | + "desired": { |
| 702 | + "name": "Desired outcome", |
| 703 | + "description": "This is the desired outcome of the adhearance check (true, false)" |
| 704 | + } |
676 | 705 | } |
677 | 706 | }, |
678 | 707 | "reduceAmountOf": { |
|
741 | 770 | }, |
742 | 771 | "category": { |
743 | 772 | "nutrition": "Nutrition", |
744 | | - "smoking": "Smoking" |
| 773 | + "smoking": "Smoking", |
| 774 | + "medication": "Medication" |
| 775 | + }, |
| 776 | + "medication": { |
| 777 | + "description": "This goal helps to track adherance for medication.", |
| 778 | + "name": "Medication" |
| 779 | + }, |
| 780 | + "boolean": { |
| 781 | + "description": "This goal is a simple yes/no condition, for defining a custom goal.", |
| 782 | + "name": "Yes/No condition" |
745 | 783 | } |
746 | 784 | }, |
747 | 785 | "goalTemplateList": { |
|
0 commit comments