ohmage / server

The ohmage server application.
37 stars 25 forks source link

add configuration campaign #493

Closed jshslsky closed 11 years ago

jshslsky commented 11 years ago

The use case is for PREEMPT and general RCTs (random clinical trials).

The workflow is:

On the server, we have to:

Once the above is done, verify that the participant can download the campaign to their phone and view their responses. Also verify that the clinician can view the participant's responses.

jshslsky commented 11 years ago

How horrible would it be to let the clinician set the username and password for the user as part of the configuration step? It means we wouldn't have to preload the campaign with users...

hongsudt commented 11 years ago

I like the idea, but what happen if they need to enter an existing user in order to iterate through the patient campaign? If it is free-text, then there is a chance of mis-spelling.

On Thu, Jan 31, 2013 at 3:52 PM, Joshua Selsky notifications@github.comwrote:

How horrible would it be to let the clinician set the username and password for the user as part of the configuration step? It means we wouldn't have to preload the campaign with users...

— Reply to this email directly or view it on GitHubhttps://github.com/cens/ohmageServer/issues/493#issuecomment-12973271.

jshslsky commented 11 years ago

@hongsudt and I just discussed this and decided that if a clinician needs to make changes, they will just have to create a new user and campaign. If the username and password do not follow our rules, we will just reject the campaign with a new error code. In the prompt text we can explain what the user and password rules are.

jojenki commented 11 years ago

Looking at the campaign, I have a few issues.

jojenki commented 11 years ago
jshslsky commented 11 years ago

Each regimen duration must be equal.

The campaigns are in the ohmageConfig repo. There is the mock version and the real version: trialist_config.xml and trialist_mock_config.xml. Feel free to tweak as necessary.

jojenki commented 11 years ago

I have pushed my version of the Trialist campaign with the username and password prompts removed.

hongsudt commented 11 years ago

where is the url to the trialist?

On Thu, Feb 14, 2013 at 11:40 AM, John Jenkins notifications@github.comwrote:

I have pushed my version of the Trialist campaign with the username and password prompts removed.

— Reply to this email directly or view it on GitHubhttps://github.com/cens/ohmageServer/issues/493#issuecomment-13574246.

stevenolen commented 11 years ago

https://test.ohmage.org/Trialist

On Thu, Feb 14, 2013 at 3:15 PM, Hongsuda notifications@github.com wrote:

where is the url to the trialist?

On Thu, Feb 14, 2013 at 11:40 AM, John Jenkins notifications@github.comwrote:

I have pushed my version of the Trialist campaign with the username and password prompts removed.

— Reply to this email directly or view it on GitHub< https://github.com/cens/ohmageServer/issues/493#issuecomment-13574246>.

— Reply to this email directly or view it on GitHubhttps://github.com/cens/ohmageServer/issues/493#issuecomment-13584403.

jshslsky commented 11 years ago

Closing because we should just create new issues for the Trialist stuff.