0.1.0 • Published 5 years ago

miotherapy v0.1.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
5 years ago

Object Fields

Patient

FieldTypeDescription
firstNameStringPatient's first name
lastNameStringPatient's last name
patientIDStringUnique patient identifier
dateOfBirthDateTimePatient's date of birth
genderStringMale or Female
phoneNumberStringPatient's phone number
emailStringPatient's email
addressStringPatient's residence
heightCmIntPatient's height, in centimeters
weightKgIntPatient's weight, in kilograms
injuryStringDescription of the patient's injury
lastSessionDateTimeTime of last recorded session

Session

FieldTypeDescription
startedDateTimeWhen the sensors started recording data
sensorsJSONArraySensor data recorded for the session, see next section for details
patientPointerReference to the patient the session belongs to
flagIntExtra bits to for custom metadata
exerciseNameStringIf exists, name of the exercise for this session
repsIntNumber of reps (if exercise session)
platformStringPlatform the app is running on e.g. Android, iOS, Windows, etc.
appNameStringApp that collected the data
appRevStringRevision of the app uploading data to MioTherapy, in the form "2.7.1"

Sensor Data

The sensors field is another JSON object that itself holds two fields:

FieldTypeDescription
data2DArrayRecorded data for the sensor, index 0 is timestamp, index 1 is value
jointStringJoint the data represents
nameStringType of joint motion
sideStringLeft or right side