MaLaC-HD could be used to generate static JavaScript code for the R4/R6 maps from the official FML/StructureMap files.
We already evaluated JavaScript support, where we used some R4->R5 maps for our tests. We think that we could provide statically generated JS code for these mappings with only minor adaptions to the engine, as these mappings barely contain FHIRPath and/or complex FML operations.
We could provide an npm-package with the generated code or use a script to generate it here (manually or via CI pipeline). The latter would introduce a Python dependency to the build process, the former would not introduce any additional dependencies apart from the package itself.
If this is an option, I'd go ahead and create an MR for this. Maybe let me know which option would be preferred (npm or script).
MaLaC-HD could be used to generate static JavaScript code for the R4/R6 maps from the official FML/StructureMap files.
We already evaluated JavaScript support, where we used some R4->R5 maps for our tests. We think that we could provide statically generated JS code for these mappings with only minor adaptions to the engine, as these mappings barely contain FHIRPath and/or complex FML operations.
We could provide an npm-package with the generated code or use a script to generate it here (manually or via CI pipeline). The latter would introduce a Python dependency to the build process, the former would not introduce any additional dependencies apart from the package itself.
If this is an option, I'd go ahead and create an MR for this. Maybe let me know which option would be preferred (npm or script).