mHealth specification
  • Introduction
  • Directory structure
    • Overview of directory structure
  • File types
    • Quick view of supported file types
  • sensor Data
    • Filename convention
    • File format
    • Sensor types
    • Data types
  • event Data
    • Filename convention
    • File format
    • Event types
  • annotation Data
    • Filename convention
    • File format
  • feature Data
    • Filename convention
    • File format
Powered by GitBook
On this page
  • Filename convention
  • AnnotationSet
  • ANNOTATIONSETID
  • ANNOTATORID
  • VERSIONCODE
  • Timestamp
  1. annotation Data

Filename convention

PreviousEvent typesNextFile format

Last updated 6 years ago

Store formatted annotations from a predefined or user defined annotation set.

Filename convention

AnnotationSet.ANNOTATIONSETID-ANNOTATORID-VERSIONCODE.YYYY-MM-DD-HH-mm-ss-SSS-[M/P]HHmm.annotation.csv

Annotation files are divided into hourly files.

AnnotationSet

  1. Used to represent the name of the annotation set.

  2. CamelStyle, allowed characters: alphabets and digits.

  3. There should be a file named associated with the dataset.

  4. Required.

Examples

SpadesLab, SpadesTwoDays, SpadesThreeMonths, UserDefined, CrowdSourcing

ANNOTATIONSETID

  1. Locally unique identifier for the annotation set.

  2. Globally unique identifier for the annotation set when combining with ANNOTATORID and VERSIONCODE.

  3. UPPERCASE style, allowed characters: alphabets and digits.

  4. Required.

ANNOTATORID

  1. local identifier for event types.

  2. UPPERCASE style, allowed characters: alphabets.

  3. Required.

  4. If it's user's own annotation, the ANNOTATORID should be the same as PARTICIPANT ID.

VERSIONCODE

  1. It's possible annotation set gets updated, then use VERSIONCODE to indicate the difference.

  2. Optional, if omit, use NA instead.

  3. Allowed characters: alphabets and digits.

Timestamp

  1. Timestamp has the same convention as that of sensor data. The time represents the first row of annotation.

AnnotationSet.ANNOTATIONSETID-VERSIONCODE.ontology.csv