FHIR Chat · REACT · questionnaire

Stream: questionnaire

Topic: REACT


view this post on Zulip Brenton Bills (Feb 13 2019 at 04:41):

Is there any react code for producing a form from a FHIR Questionaire?

view this post on Zulip Kenneth Myhra (May 02 2019 at 15:39):

We have done this in-house, we started by generating a TypeScript file from the FHIR XSD, modifying that and then using React for business logic and rendering.
Last months we have started experimenting to make a component library for it that it is available as a npm package for our in-house projects. My intention has been to open source it, but we are not there yet, still too much dependencies to in-house stuff.

view this post on Zulip Abbie Watson (May 06 2019 at 20:56):

Is there any react code for producing a form from a FHIR Questionaire?

We've also implemented in-house and ran into the same issue of in-house dependencies. Top of the considerations are:

  • what type of data store (flux, redux, reflux, minimongo, etc)?
  • what type of component UI styling (bootstrap, material, etc)?
  • which version of FHIR (DSTU2, STU3, R4, etc)?

If you're okay with Material UI and Minimongo dependencies, you can look here for a FHIR Questionnaire react component:
https://github.com/clinical-meteor/hl7-resource-questionnaire/blob/master/client/QuestionnaireDetail.jsx

We're currently refactoring pure components across the Clinical Meteor repositories that refer to R4 normative resources into a common material-ui-fhir npm library, so also keep an eye on the following:
https://www.npmjs.com/package/material-fhir-ui

view this post on Zulip Abbie Watson (May 07 2019 at 19:17):

Another React Questionnaire implementation, from the DaVinci project:
https://github.com/HL7-DaVinci/dtr/blob/master/src/components/QuestionnaireForm/QuestionnaireForm.jsx


Last updated: Apr 12 2022 at 19:14 UTC