openmhealth / dvu.ptsd Goto Github PK
View Code? Open in Web Editor NEWClinvis Data Visualization Unit For PTSD Explorer
Home Page: https://github.com/ohmage/ptsd-explorer-android
Clinvis Data Visualization Unit For PTSD Explorer
Home Page: https://github.com/ohmage/ptsd-explorer-android
See #12
We do have a logout API in ohmage. I just added it to the API docs.
The label on the right-hand side for the SUDs plot says "Initial SUDs Score" when both the pre- and post- SUDs scores are shown in the plot.
This will be very helpful with the tool participation plot, where the data is very dense.
When pre-fetching survey responses on a successful login, there is a noticeable lag.
Some possible fixes:
-- Request compressed data from ohmage
-- Use a smaller number of columns in the column_list parameter for survey_response/read
-- Fetch the data in the background
-- Provide some sort of proverbial "loading" animation
If I change the date range and re-plot, the tool participation plot appears not to plot the data. I have upload timestamps like the following and I only see one data point when the date range is 4/11/12 - 4/12/12. This is data from the first PTSD Explorer user.
2012-04-11 08:49:12
2012-04-11 08:49:12
2012-04-11 08:50:14
2012-04-11 08:50:14
2012-04-11 08:50:15
2012-04-11 08:50:15
2012-04-11 08:50:20
2012-04-11 08:50:20
2012-04-11 08:50:23
2012-04-11 08:50:23
2012-04-11 08:50:24
2012-04-11 08:50:24
2012-04-11 08:50:27
2012-04-11 08:50:27
2012-04-11 09:07:42
2012-04-11 09:07:42
2012-04-11 09:08:31
2012-04-11 09:08:31
2012-04-11 09:08:44
2012-04-11 09:09:18
2012-04-11 09:09:21
2012-04-11 09:09:21
2012-04-11 09:10:14
2012-04-11 09:10:14
2012-04-11 09:10:18
2012-04-11 09:10:18
2012-04-11 09:10:20
2012-04-11 09:10:23
2012-04-11 10:38:42
2012-04-11 10:38:42
2012-04-11 10:39:49
2012-04-11 10:39:49
2012-04-11 10:39:51
2012-04-11 10:39:51
2012-04-11 10:39:53
2012-04-11 10:39:53
2012-04-11 10:39:55
2012-04-11 10:40:00
2012-04-11 10:40:01
2012-04-11 10:40:06
2012-04-11 10:40:06
2012-04-11 10:40:16
2012-04-11 10:40:17
2012-04-11 10:40:23
2012-04-11 10:40:23
2012-04-11 10:40:29
2012-04-11 10:40:31
2012-04-11 10:40:36
2012-04-11 10:40:37
2012-04-11 10:40:42
2012-04-11 10:40:43
2012-04-11 10:40:51
2012-04-11 10:40:52
2012-04-11 10:40:52
2012-04-11 10:40:53
2012-04-11 10:40:53
2012-04-11 10:40:58
2012-04-11 10:40:59
2012-04-11 10:40:59
2012-04-11 10:41:00
2012-04-11 10:41:05
2012-04-11 10:41:05
2012-04-11 10:41:06
2012-04-11 10:41:06
2012-04-11 10:41:13
2012-04-11 10:41:14
2012-04-11 10:41:14
2012-04-11 10:41:19
2012-04-11 10:41:20
2012-04-11 10:41:23
2012-04-11 10:41:23
2012-04-11 10:41:27
2012-04-11 10:41:28
2012-04-11 10:41:28
2012-04-11 10:41:29
2012-04-11 10:41:32
2012-04-11 10:41:32
2012-04-11 10:41:37
2012-04-11 10:41:37
2012-04-11 10:41:41
2012-04-11 10:41:41
2012-04-11 10:41:42
2012-04-11 10:41:49
2012-04-11 10:41:54
2012-04-11 10:41:57
2012-04-11 10:42:00
2012-04-11 10:42:03
2012-04-11 10:42:07
2012-04-11 10:42:10
2012-04-11 10:42:14
2012-04-11 10:42:19
2012-04-11 10:42:26
2012-04-11 10:42:29
2012-04-11 10:42:31
2012-04-11 10:42:34
2012-04-11 10:42:38
2012-04-11 10:42:52
2012-04-11 10:43:01
2012-04-11 10:43:07
2012-04-11 10:43:11
2012-04-11 10:43:23
2012-04-11 10:43:28
2012-04-11 10:43:35
2012-04-11 10:43:37
2012-04-11 10:43:40
2012-04-11 10:43:43
2012-04-11 10:43:43
2012-04-11 10:43:43
2012-04-11 10:43:43
2012-04-11 10:43:46
2012-04-11 10:43:46
2012-04-11 10:43:47
2012-04-11 10:43:48
2012-04-11 10:43:52
2012-04-11 10:43:52
2012-04-11 17:05:39
2012-04-11 17:05:39
2012-04-11 17:05:40
2012-04-11 17:05:40
2012-04-11 17:05:42
2012-04-11 17:05:42
2012-04-11 17:05:44
2012-04-11 17:05:44
2012-04-11 17:05:47
2012-04-11 17:05:47
2012-04-11 17:05:47
When I select the tool participation survey, the secondary drop-down is not populated.
The "No Data" pop-up works if I have not plotted any items, but if I successfully plot something and then try to query for a survey that has no data I don't get the pop-up.
Exercize should be spelled exercise.
If I click "Clear All", the plot metadata on the right hand side of the graph doesn't display for any subsequent plot.s
I noticed that the date pickers are still enabled when I am logged out even though the rest of the page is grayed out.
It would be nice to have a "Clear" button for the use case when many plots are rendered on the same graph.
Scheduled for deployment on 4/13
For the "better off dead" plot, if the user has selected "nearly every day" the plot point should be highlighted so it is immediately visible to the clinician that they have an at-risk patient. IIRC, Julia asked for this to be highlighted in red.
If I login as one user, then logout and login as another user, something weird happens with the authentication token.
I start seeing these error messages in the server log:
2012-04-16 19:01:30,559 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [DEBUG] [org.ohmage.request.RequestBuilder] - /app/survey_response/read
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.request.UserRequest] - Unknown token.
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.request.survey.SurveyResponseReadRequest] - Responding to the survey response read request.
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [DEBUG] [org.ohmage.request.Request] - Returning a GZIPOutputStream
2012-04-16 19:01:30,561 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.jee.servlet.RequestServlet] - Time to process '/app/survey_response/read':2
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [DEBUG] [org.ohmage.request.RequestBuilder] - /app/survey_response/read
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.request.UserRequest] - Unknown token.
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.request.survey.SurveyResponseReadRequest] - Responding to the survey response read request.
2012-04-16 19:01:36,183 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [DEBUG] [org.ohmage.request.Request] - Returning a GZIPOutputStream
2012-04-16 19:01:36,184 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.jee.servlet.RequestServlet] - Time to process '/app/survey_response/read':2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.