google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
480 stars 257 forks source link

[R&D] Explore transforming an XLSForm into a Questionnaire for rendering in a UI (web, flutter, native android, etc) and saving FHIR resources on submission. #531

Open fredhersch opened 3 years ago

fredhersch commented 3 years ago

XLSForms drive a number of existing CHW applications in the ecosystem (Dimagi's Commcare, SurveyCTO, ODK, ONA, KoBoToolbox, etc). If we're able to support an XLSForm as input and render a native, flutter, web, etc interface and define a way to save FHIR resources from the XLSForm specification - there would be many people who could work with the FHIR SDK with their existing workflows/forms and FHIR resources would be instantly available.

roboton commented 3 years ago

We should also consider the case where a FHIR questionnaire could be turned into an XLSForm or XForm and produce FHIR resource records as a result.

roboton commented 3 years ago

This link may be useful for seeing how Enketo used XSLT to transform XForms into web forms: https://enketo.org/develop/

The idea is that same XSLT can turn FHIR resources into XForms and back (Questionnaires <> XForm)