-
Notifications
You must be signed in to change notification settings - Fork 0
Home
chihchunchen edited this page Nov 12, 2014
·
11 revisions
This application is a digital implementation of the St. Louis University Mental State (SLUMS) examination.
- Simple version with questions presented in text format.
- Simple version with questions presented in both text and audio format.
- Video version which handles both written and spoken inputs.
- Tester version that instructs how questions should be asked and records the scores depending on the answers input by the tester.
- Tester version which instructs how questions should be asked but does not require answers to be input by the tester.
The application code is contained in two files:
-
slums.js
: The javascript backend which serves the HTML user interface and handles the input; and -
index.html
: The HTML file containing the user interface where the patient/test administrator can enter data.
This provides the server. Follow the installation instructions at: http://nodejs.org/
Once Node.js is installed, you can easily install the javascript libraries we need by using the npm install
command, e.g. to install the http
library, you simply go to the command prompt or terminal and type:
npm install http
The libraries we will be using are:
-
http
(server functions) -
util
(misc. utilities) -
fs
(file writing and reading functions) -
url
(server functions) -
querystring
(for easily accessing the data from the HTML form input) -
geolocation
(may be needed for checking location for county question)
- Use the command line/terminal to navigate to the directory where the
slums.js
file is, e.g.cd Dropbox/SLUMSApp
. - In the command line/terminal, type
node slums.js
. - In your browser, enter the address:
localhost:8080
- Should all responses (apart from the ones that have a visual/spatial component) be free text since selection already narrows the space of possible errors?
- If the responses are given in free text, how much slack do we allow for misspelling? Similarly with the clock question, what margin of error do we allow?
- Should questions be read out as well as presented in written format, or should only one format (either written or audio) be used (this is perhaps most relevant for the object memory and final story question)?
- Should we allow spoken input?