fhir-sdc
fhir-sdc copied to clipboard
TS implementation discussion (fhir-sdc v2)
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 https://github.com/beda-software/sdc-qrf/issues/15 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.
@ir4y what do you think?
@ruscoder
- https://github.com/aehrc/smart-forms goes this way. It implements populate as a part of frontend.
- 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.