Stream: questionnaire
Topic: Questionnaire to Survey js or Forms io and back
Art Huston (Feb 10 2022 at 21:26):
I am looking for any libraries that convert Questionnaires to Survey JS, Forms IO or other systems, and the reverse. https://github.com/asbi-cds-tools/questionnaire-to-survey converts to Survey js and is maintained by https://github.com/dwwinters. Is anybody familiar with this or other similar libraries, or is dwwinters on this list?
Paul Lynch (Feb 11 2022 at 14:36):
Art Huston said:
I am looking for any libraries that convert Questionnaires to Survey JS, Forms IO or other systems, and the reverse. https://github.com/asbi-cds-tools/questionnaire-to-survey converts to Survey js and is maintained by https://github.com/dwwinters. Is anybody familiar with this or other similar libraries, or is dwwinters on this list?
Yes, @David Winters is on this site. I haven't tried the package, but given that David wrote it, I would recommend giving it a try.
David Winters (Feb 11 2022 at 14:40):
Ha, thanks @Paul Lynch :)
@Art Huston feel free to reach out if you have any questions. Or you can just your questions here in this thread if you want.
Art Huston (Feb 14 2022 at 20:38):
That's great @David Winters , we are looking at extending the Questionnaire to Survey JS library, as well as scoping a more general solution that might extend to Forms IO for example. Currently in the exploratory phase, but we very much like what you've got started here! It's very encouraging to see work along these lines.
David Winters (Feb 14 2022 at 20:46):
That's interesting to hear @Art Huston. I had plans to extend Questionnaire to Survey to work with React and other non-Vue front-end frameworks. Would be curious to see if that ends up in your plans.
David Winters (Feb 28 2022 at 18:34):
For anyone following this topic, I wanted it known that I've updated questionnaire-to-survey
so that it can work with multiple front-end frameworks besides Vue.js. I've also gone ahead and finally published it to npm: https://www.npmjs.com/package/questionnaire-to-survey
David Winters (Feb 28 2022 at 18:38):
A neat thing about SurveyJS, which questionnaire-to-survey
leverages to render to the browser, is that you can pass it an asynchronous function for evaluating logic in your form. I use this capability to evaluate embedded CQL expressions, but I imagine you could do the same with FHIRPath.
Last updated: Apr 12 2022 at 19:14 UTC