It makes no sense to keep encoding the hand as 1/2. Patient stronger
impacted hand field already used left/right, so the encoding can be set
in html already.
Without fundamental changes to the logic, hashing and type conversion
requires the fields to be enumerated explicitly several times in both JS
and Python code.
Do note that all numeric fields which were added are currently integers,
in both the html fields (step = 1) and processing code, which seems to
be a reasonable assumption (fractional miliseconds or points are
unlikely to occur). We can backtrack later if needed.
This bumps the form data version to 2.4.
This adds form elements for Visual Object and Space Perception (VOSP)
cube analysis subtest. This does not add response saving, only the form
elements and toggles.
The range for the score (Punktzahl) was found online by searching
publications mentioning VOSP, e.g.
https://pmc.ncbi.nlm.nih.gov/articles/PMC3713013/
Depending on the selected variant (A+B or B+C), the maximum raw scores
for the Wechsler memory scale / logical memory are diffent (39/50/53). A
change event handler, triggered by selecting one of the radio buttons,
will now update values for the max & placeholder properties, as well as
the error message.
On-hover tooltips (title html element) are added to the A+B & B+C
buttons.
The A+B and B+C variants are linked to the participant's age; however,
after consultation, we do not implement this in the form -- the variant
needs to be explicitly selected. This means that the form allows
choosing a variant incongruent with participant's age (the variant is
chosen during the test, so if an incorrect variant was performed on test
day it can still be entered).
This adds divided attention - dual task (Geteilte Aufmerksamkeit –
Variante: Doppelaufgabe I) to the form. The median and percentile range
are placed on the same line to avoid making this needlessly long.
This change concerns just the html (plus required toggle), not hashing
or saving the data.
The old go-no-go is renamed (just the header) to Go/Nogo-Task Niessen,
an a new assesment, Untertest Go/NoGo – Variante: 2 aus 5, is added.
This introduces a new kind of input field validation: percentile rank
(Prozentrang): 1-100 with an optional "<" or ">". Out of necessity, the
field is a string field, and the validation is done with a regex. To
reduce the variability of inputs, we enforce the </> symbol to be
followed by space.
This change concerns just the html (plus required toggle), not hashing
or saving the data.
Boxes displaying JTT sum (for left and right hand), similar to several
other tests, are added as visual help for those entering the data. These
use (permanently) disabled inputs, and should have no influence of data
submission - the other sums are also not submitted (presumably because
they can be calculated).