beda-software/sdc-ide

Pluggable render engine

ir4y opened this issue · 2 comments

ir4y commented

Usually, a render engine is part of the app.
So it makes sense to test forms in a real environment instead of an IDE sandbox.
IDE shall publish a Questionnaire and populated QuestionnaireResponse on each Questionnaire change.
A render engine app shall subscripbe for Questionnaire and QuestionnaireResponse resources.
A user interacts with rendered Questionnaire throughout the render engine app.
The render engine app publishes the resulting QuestionnaireResponse.
IDE subscribes for QuestionnaireResponse and moves it next to the SDC pipeline step (extraction).

  • Add a setting that turns remote rendering mode on. Once it is done form should be replaced with a code of the session.
  • Implement pub/sub on top of WebSocket.
  • Use WebRTC instead of a web socket.
ir4y commented

Add LFC forms render engine https://github.com/lhncbc/lforms

ir4y commented

Add ahdis/matchbox-formfiller https://github.com/ahdis/matchbox-formfiller