I’m excited to share an open-source tool to convert openEHR Web Templates into FHIR Questionnaires.
The converter can be obtained from CISTEC Github and used via CLI, or directly in the Browser.
On Github you can find additional details, as well as information regarding licensing. Feel free to customize and adapt the script to your needs. Obviously, it would be beneficial if you either contribute through Github issues & pull requests or contact me directly.
Note that this is a very recent project, and I am not too familiar with FHIR. I will be glad for inputs regarding overall functionality, parameters to add, specific mappings, and general feedback.
Yes, I’m aware of these related initiatives! I feel there’s room for improvement regarding the availability of open-source tools. The work by @SevKohler, @yampeku, and @gandrejc is crucial for efficiently standardizing mappings. I’d be happy to explore ways we can share the workload and connect our efforts to benefit the community.
I have updated the Web Template to FHIR Questionnaire converter script, adding optional help buttons to questions as well as setting the linkId of nodes to their corresponding FLAT format path. In a second script that I have added, this allows to generate valid (EHRbase and Better) FLAT format compositions from the filled in questionnaireResponse, as long as the questionnaire has originally been created using the former script. Again available on Github and can be used via CLI or in the Browser (now with two tabs for the two scripts).
Very timely. At last I am going to have time to explore this properlym,ammd I have real use case. What are you using to ‘deploy’ the Questionairres - is this your own thing or something like the SDC tooling?
It’s definitely possible to generate forms from archetypes directly. In our use case, we need the questionnaires while making sure that the response can be stored in openEHR, which is why the scripts are designed in this way. I will be happy for any suggestions, directly here or through Github!