Ejemplo n.º 1
0
 def get_fieldspecs(cls):
     return (
         STANDARD_TASK_FIELDSPECS +
         [
             dict(name="medication", cctype="TEXT"),
         ] +
         repeat_fieldspec("q", 1, Gass.NQUESTIONS) +
         repeat_fieldspec("d", 1, Gass.NQUESTIONS)
     )
Ejemplo n.º 2
0
 def get_fieldspecs(cls):
     return STANDARD_TASK_FIELDSPECS + repeat_fieldspec(
         "q",
         1,
         10,
         min=0,
         max=3,
         comment_fmt="Q{n} ({s}) (0 not at all - 3 nearly every day)",
         comment_strings=[
             "anhedonia",
             "mood",
             "sleep",
             "energy",
             "appetite",
             "self-esteem/guilt",
             "concentration",
             "psychomotor",
             "death/self-harm",
         ],
     )
Ejemplo n.º 3
0
 def get_fieldspecs(cls):
     return STANDARD_TASK_FIELDSPECS + repeat_fieldspec(
         "q", 1, Wemwbs.N_QUESTIONS, min=1, max=5,
         comment_fmt="Q{n} ({s}) (1 none of the time - 5 all of the time)",
         comment_strings=[
             "optimistic",
             "useful",
             "relaxed",
             "interested in other people",
             "energy",
             "dealing with problems well",
             "thinking clearly",
             "feeling good about myself",
             "feeling close to others",
             "confident",
             "able to make up my own mind",
             "feeling loved",
             "interested in new things",
             "cheerful",
         ]
     )
Ejemplo n.º 4
0
 def get_fieldspecs(cls):
     return STANDARD_TASK_FIELDSPECS + repeat_fieldspec("q", 1,
                                                        Lunsers.NQUESTIONS)