Study
A Study is the hightest level data entity of the survey system. A platform's instance can manage several studies but studies are considered as independent and are not intended to share participants and/or surveys from each other in the common use case.
Study here is not the exact same as what we can mean in the epidemiological field and can be more global (think about namespace or global project). If several epidemiological studies are intended to share the same participants, or data across surveys (to share participants data) they are ancillaries studies for a more global project (which is the system "Study" for the platform).
A Study contains (related entities):
- Surveys, used by the Survey Engine to collect data from participants
- A set of Participants
- A set of rules, reacting to study events
And have some properties:
Key
: Identifying the study (used to refer it in administration tools)SecretKey
: A secret value used of participant mapping- Some labelling properties (title, description, ...)
SystemDefaultStudy
flag: indicate the study is the one to show to participant if none is selected (in case of several studies are defined)- Start and Ending date
- Status (can be 'active' or 'inactive')
- Notification Subscriptions to be able to sed notification on study event
Study Events
During the life of a study, several kind events can occur and each can trigger operations on study, defined by the Study Rules
ENTER
: When a participant enters a studyTIMER
: When then study timer is runSUBMIT
: When a survey response si submitted by a participantMERGE
: (implemented ?)LEAVE
: When a participant leave a study (implemented ?)
Study Timer
An internal timer runs at a given frequency (defined in the service configuration) and trigger a TIMER
event. It can be used to perform regular actions on study or participants.