FHIR Chat · open source · questionnaire

Stream: questionnaire

Topic: open source


view this post on Zulip Brian Postlethwaite (Jul 23 2018 at 04:35):

Hey all, just a note that there is an open source REACT renderer in progress by @Gavin Lang
https://github.com/gavinl/fhirq-renderer-react
and a test form on the go
https://fhirq-renderer-react.azurewebsites.net/questionnaire/c32c7ce9306540cc8cdc390ac91e1847

view this post on Zulip Paul Lynch (Jul 24 2018 at 15:45):

Along these lines, the LHC-Forms widget at https://lhcforms.nlm.nih.gov/ (which displays Questionnaires) comes with an AngularJS directive. We're planning to do a React version, but that is not currently at the top of our list.

view this post on Zulip Brian Postlethwaite (Jul 25 2018 at 20:25):

Is that on open source initiative, or internal?

view this post on Zulip Paul Lynch (Jul 25 2018 at 20:34):

Open source. LHC-Forms is on GitHub at https://github.com/lhncbc/lforms, with documentation at http://lhncbc.github.io/lforms/. (LForms was the old project name.)

view this post on Zulip Brian Postlethwaite (Jul 25 2018 at 21:22):

Thanks Paul, I'll take a look.

view this post on Zulip Simone Heckmann (Aug 10 2018 at 10:20):

@Paul Lynch I'd like to test https://lhcforms.nlm.nih.gov/demo-app
I uploaded a Questionnaire to the HAPI server but it doesn't show in the app.
Does it only support a set of predefined Questionnaires?

view this post on Zulip Simone Heckmann (Aug 10 2018 at 10:22):

I'd have expected this (http://hapi.fhir.org/baseDstu3/Questionnaire/4709397) to show up unter "User created Questionnaires" after selecting HAPI as FHIR server. Or isn't that how it's supposed to work?

view this post on Zulip Paul Lynch (Aug 10 2018 at 15:45):

So, we put some restrictions on the demo-app, which perhaps we should not have. Not all questionnaires show up under "User created Questionnaires"-- only those that are created with our Form Builder app (https://lhcformbuilder.nlm.nih.gov/), plus those you can import from our LOINC database of forms. As a short-term fix to let you see a questionnaire, we are going to modify our other demo at https://lhcforms.nlm.nih.gov/ (not "demo-app") so that the Load From File button will support loading a Questionnaire from a file. We should have that up later today-- I will reply again with an update.

view this post on Zulip Paul Lynch (Aug 10 2018 at 21:53):

@Simone Heckmann The "Load from File" button at https://lhcforms.nlm.nih.gov/ now supports loading Questionnaire resources from a file, so you can test your questionnaire that way. Note the the Load button will open the Questionnaire in a pop-up window, so be sure to allow the pop-up if your browser (e.g. Chrome) blocks pop-ups. Please let me know if you run into any other issues. (I just tried to test your questionnaire from http://hapi.fhir.org/baseDstu3/Questionnaire/4709397 but saw it was deleted.)

view this post on Zulip Simone Heckmann (Aug 13 2018 at 08:00):

Hi, @Paul Lynch : Thanks for the quick update!
Unfortunately the "Load from File" function isn't working for us. Our test-q is back online at http://hapi.fhir.org/baseDstu3/Questionnaire/4712701, if you want to give it a shot...

view this post on Zulip Paul Lynch (Aug 13 2018 at 14:31):

@Simone Heckmann Thanks for the example questionnaire. I've downloaded it and we'll see why it won't load.

view this post on Zulip Paul Lynch (Dec 14 2018 at 19:41):

For anyone coming across this old thread (which was recently linked from another), our newest demo is a SMART on FHIR Questionnaire app for the SDC profile, and it is here: https://gallery.smarthealthit.org/app/lforms-questionnaire-app. It is based on LHC-Forms like the other demos (of which I think we have too many) but we are more frequently updating the version of LHC-Forms it is using, so it will have more supported features.


Last updated: Apr 12 2022 at 19:14 UTC