cognition_package 1.0.1 copy "cognition_package: ^1.0.1" to clipboard
cognition_package: ^1.0.1 copied to clipboard

outdated

A Flutter framework for obtaining informed consent, showing surveys and collecting results.

Cognition Package #

pub package style: recommended github stars MIT License

Cognition Package is a Flutter package for building cognitive tests for study apps on Android and iOS built using CARP Research Package using Flutter.

Cognition Package is a Flutter implementation of a Cognitive test battery including 14 validated gold-standard cognitive tests spanning all 8 Neurocognitive domains:

  1. Sensation
  2. Perception
  3. Motor skills and construction
  4. Attention and concentration
  5. Memory
  6. Executive functioning
  7. Processing speed
  8. Language and verbal skills

The tests in Cognition Package are implemented as ActivitySteps from Research Package. They derive from Apple’s ResearchKit’s Active Tasks but were transformed to Steps instead so that they may be used inside an RPTask along with other types of Steps. Each test consists of 3 key sections - the instructions for the test, the test itself, and the test results.

Each test includes 3 classes that define it,

  1. The model class which extends ActivityStep and defines the parameters available for the specific test (eg. length of the test, the amount of repetitions), as well as the function to calculate the final score of the test after it is run.
  2. The UI class which describes how the test is rendered on screen and the logic of running the test.
  3. The Results class which describes the data collected from the test and adds it to the list of all results from the study.

The overarching goal of the Cognition Package is to enable developers and researchers to design and build cross-platform (iOS and Android) cognitive assessment applications that rely on validated gold-standard cognitive tests.

When combined with Research Package, Cognition Package meets the requirements of most scientific research, including capturing participant consent, extensible input tasks, and the security and privacy needs necessary for IRB approval. The current set of cognitive tests in the Cognition Package are:

  1. Multiple Object Tracking (MOT)
  2. Corsi Block Tapping(CBT)
  3. Verbal Recognition Memory (VRM)
  4. Delayed Recall
  5. Flanker
  6. Letter Tapping
  7. Paired Associative Learning (PAL)
  8. Picture Sequence Memory (PSMT)
  9. Rapid Visual Information Processing (RVP)
  10. Reaction Time (RTI)
  11. Stroop Effect
  12. Finger Tapping
  13. Trail Making
  14. Visual Array Change

Cognition Package is part of the overall CACHET Research Platform (CARP) which also provides a Flutter package for mobile and wearable sensing called CARP Mobile Sensing.

Documentation #

There is a set of tutorials, describing:

The Cognition_package Flutter API is available (and maintained) as part of the package release at pub.dev.

Example Application #

There is an example app which demonstrates the different features of Cognition Package as implemented in a Flutter app.

In the example several configuration file can be found. A .env file has to be placed in the example folder for the application to work properly and the following constants has to be defined in this .env file:

USERNAME = ...
PASSWORD = ...
URI = ...
ID = ...

These environmental variables are necessary to upload the data to the CARP server. if you want to use the example app locally, the .env is not necessary.

Who is backing this project? #

Cognition Package is made by the Copenhagen Center for Health Technology (CACHET) and is a component in the CACHET Research Platform (CARP), which is used in a number of applications and studies. The current project maintainer is Ossi kallunki.

How can I contribute? #

We are more than happy to take contributions and feedback. Use the Issues page to file an issue or feature request. Besides general help for enhacement and quality assurance (bug fixing), we welcome input on new answer types.

License #

This software is copyright (c) Copenhagen Center for Health Technology (CACHET) at the Technical University of Denmark (DTU). This software is available 'as-is' under a MIT license.