Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore functionality of the SDC-IDE #69

Open
2 of 3 tasks
projkov opened this issue Jun 4, 2024 · 0 comments
Open
2 of 3 tasks

Restore functionality of the SDC-IDE #69

projkov opened this issue Jun 4, 2024 · 0 comments
Assignees

Comments

@projkov
Copy link
Member

projkov commented Jun 4, 2024

Description

Changes were added in the separated branch:

  1. https://github.com/beda-software/sdc-ide/tree/use-fhir-questionnaire

As part of these GitHub issues:

  1. Use fhir-questionnaire as form renderer #66
  2. Form renderer should be plugable #67

What was done:

  1. Remove the package sdc-qrf usage and reuse code from the fhir-questionnaire package.
  2. Use already existing form widgets.
  3. Add an ability to use any form renderer.

What should be done:

  1. Check that the application does not use' sdc-qrf'. If it exists, please use functions from fhir-questionnaire.
  2. 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.
  3. 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

  1. Setup local beda-emr
  2. Comment sdc-ide service in the compose file of the beda-emr
  3. Setup local sdc-ide, branch use-fhir-questionnaire
  4. Change server.port to 3001 in the vite.config.ts
  5. Run beda-emr
  6. Run sdc-ide
  7. Go to http://localhost:3000/questionnaires and find Inputs demonstration questionnaire in the list. Click Edit in SDC IDE button.
  8. 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

  1. What is SDC and why we need it
  2. beda-emr repo
  3. sdc-ide repo
  4. fhir-questionnaire repo

Other

If you have any questions please ask @projkov

@ir4y ir4y changed the title Restore functionality of the SDC-IDE (DRAFT) Restore functionality of the SDC-IDE Jun 11, 2024
ialakey added a commit that referenced this issue Jul 2, 2024
ialakey added a commit to ialakey/fhir-questionnaire that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants