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

TS implementation discussion (fhir-sdc v2) #65

Open
ruscoder opened this issue Oct 24, 2024 · 2 comments
Open

TS implementation discussion (fhir-sdc v2) #65

ruscoder opened this issue Oct 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ruscoder
Copy link
Member

I think we need to re-implement this library in TS in order to make some parts of code reusable between frontend and backend.

For example, this issue is related for both repositories beda-software/sdc-ide#20 and there are many other things that might be implemented in the common codebase.

Another point for the TS implementation is using fhirpath JS - in that case we can trust the expressions because they will be evaluated using the same engine.

@ruscoder ruscoder added the enhancement New feature or request label Oct 24, 2024
@ruscoder
Copy link
Member Author

@ir4y what do you think?

@ir4y
Copy link
Member

ir4y commented Oct 25, 2024

@ruscoder

  1. https://github.com/aehrc/smart-forms goes this way. It implements populate as a part of frontend.
  2. Since https://github.com/beda-software/FHIRPathMappingLanguage has TS implementation we can move all SDC workflow on the frontend.

However I still see some value in server-side populate and extract implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants