Thanks @aojwang.
Have you seen what’s been done with Bahmni Mart?
I’m confused about this focus on forms. Forms are just a medium to record data. In a framework like HFE they just generate a nested structure of one encounter and multiple obs. And that’s what’s needed, and hence that’s what’s flattened for analysis.