issues
search
foundersandcoders
/
how-am-I-doing
:thought_balloon: CYPIAPT mental health aid for RCADS data
7
stars
1
forks
source link
Create data models
#13
Closed
eliasmalik
closed
8 years ago
eliasmalik
commented
8 years ago
See the README or below.
User model
Basic user information
User id: PK, Number
Username: String
UserEmail: String
UserSecret: String
ClinicEmail: String
ClinicNumber: String
Question model
All RCADS questions
Question id: PK, Number
Text: String
Questionnaire model
All completed questionnaires from all users
Questionnaire id: PK, Number
Date: Date obj
Answers: Array of numbers (0-3) for each question
Category Model
Cat id: PK, Number
Catname: String
Relationships
User has many questionnaires.
Question has 1 category.
Questionnaire potentially has many categories.
eliasmalik
commented
8 years ago
44 closes this
See the README or below.
User model
Basic user information
Question model
All RCADS questions
Questionnaire model
All completed questionnaires from all users
Category Model
Relationships