Survey library
I've been using SurveyJS (https://surveyjs.io/) a lot. It's a pure JS survey tool that takes a survey definition in JSON and runs a survey.
It supports advanced routing loting and multiple languages. Should be simple to integrate into an app to do the actual survey.
Will allow us to easily change the survey in the future.
It doesn't have data submission built in so that's perfect for the first iteration where providing information and recommendations is the most important feature.
Given #7 it might make sense to look for a react native survey library. Using a survey library will enable us to easily and quickly implement the key goal Diagnosis & Triage.
Alternatively we could run something like SurveyJS in a WebView.
I've used https://github.com/jsonform/jsonform in the past.
It does output bootstrap3 which might pose a compatibility problem with other choices.
I'm personally not a fan of react native for this project. It has overhead to participation.
Are form builders expressive enough to do routing in a questionnaire? In the past I've always found them lacking.
Yes, you can always use a state machine or other routing mechanism.
I also don't think the people contributing to the repo initially are going to be using gui form builders. That's probably a concern in 2-4 weeks, not 2-4 hours.
Note i wasn't referring to the builder part of that library, more to the survey taking part.
But your point stands, maybe this is not a prio for v0.1.
http://alpacajs.org/docs/api/wizards.html
is another library that provides exactly the functionality you describe.
I've used it before in the past. It also is Apache licensed.
Again, alternatively there can be another layer for handling form events and routing them.
I'm a fan of JSON schema as it is widely available and theres good tooling around it.
On Wed, Mar 18, 2020 at 2:19 PM Sam [email protected] wrote:
Note i wasn't referring to the builder part of that library, more to the survey taking part.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/1#issuecomment-600864284, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZJHUEZKSLEXUHHZRACYIDRIE3HZANCNFSM4LNVJV5A .
-- Mark Graves, Founder My Integrated Research Environment http://www.myire.com/ Ph. 707-356-9473
CONFIDENTIALITY NOTE: This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient: any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to [email protected] and delete this copy from your system. Thank you for your cooperation.
If we end up using a React PWA, I maintain a React library called react-jsonschema-form. It's a pretty powerful tool for creating declarative forms from JSON schema that works well with React.
@myire
I'm personally not a fan of react native for this project. It has overhead to participation.
I agree, see my comment in https://github.com/WorldHealthOrganization/app/issues/7#issuecomment-600898279 -- I think a React PWA with Ionic would be better
Closing in favor of #68