sdc-ide
sdc-ide copied to clipboard
Restore functionality of the SDC-IDE
Description
Changes were added in the separated branch:
- https://github.com/beda-software/sdc-ide/tree/use-fhir-questionnaire
As part of these GitHub issues:
- https://github.com/beda-software/sdc-ide/issues/66
- https://github.com/beda-software/sdc-ide/issues/67
What was done:
- Remove the package
sdc-qrfusage and reuse code from thefhir-questionnairepackage. - Use already existing form widgets.
- Add an ability to use any form renderer.
What should be done:
- [x] Check that the application does not use' sdc-qrf'. If it exists, please use functions from
fhir-questionnaire. - [x] Remove all usages of the "react-final-form" package from the application; ensure that the functionality of the application remains the same. If not, please fix it.
- [ ] Check the behavior of existing widgets. Ensure that the functionality of all widgets remains the same as with the "react-final-form" version.
Develop instructions
How to start
- Setup local beda-emr
- Comment sdc-ide service in the compose file of the beda-emr
- Setup local sdc-ide, branch
use-fhir-questionnaire - Change server.port to 3001 in the vite.config.ts
- Run beda-emr
- Run sdc-ide
- Go to http://localhost:3000/questionnaires and find
Inputs demonstrationquestionnaire in the list. ClickEdit in SDC IDEbutton. - It should open you local sdc-ide. You can develop
You need to replicate the behavior of the form from the current production version of SDC IDE (https://sdc.beda.software/demonstrate-inputs)
Sources
Other
If you have any questions please ask @projkov