Upgrade Monitoring Setup Page, add daily note question #861m5197m
This issue is the continuation of #240+
It's about adding a mandatory question.
What is to be done?
- Add the daily note question to the catalog
- Add/show a new category 'daily_question' that holds exactly one question (the daily note question)
- The new category should only be visible in preview mode (#264)
Daily Note Question
Add the following question to CuratedDefaultQuestionStoreService
{
id: 'rcc-curated-default-00-daily-note',
type: 'string',
meaning: 'Was ist heute sonst noch passiert?',
translations: {
en: 'What else happened today?',
de: 'Was ist heute sonst noch passiert?'
},
tags: ['rcc-long-text, 'rcc-category-daily', 'rcc-category-default']
}
You can then retrieve it with CuratedDefaultQuestionStoreService.get('rcc-curated-default-00-daily-note')
or Questionaire.get('rcc-curated-default-00-daily-note')
.
Where to start?
MonitoringSetupPageComponent
Requirements
- The daily note question is displayed in preview mode
- The daily note question is always part of the shared SymptomCheck
Layouts
Here's what the the final screens should look like. The last image with showing the edit mode is only there for the preview button on the bottom :)
This PDF with Annotations
Edited by Andreas Pittrich