So, you want to let people choose:
- encounter date (range)
- encounter type (multiselect)
- location (multiselect)
- provider (multiselect)
- creator (multiselect)
And then this will export a row-per-encounter spreadsheet, with a few patient details, and also with all the obs values flattened out.
Just to point out that including the obs values is technically difficult because of repeating obs and obs groups. How would you want those to work?
(Though actually I see that there’s an EncounterAndObsDataSetEvaluator already in the reporting module, so maybe the best thing to do is to just build a thin UI wrapper around calling this, and see if that’s sufficient.)
I don’t know if last year’s GSoC built-in reports module complete enough to be a good starting point for this. If not, just writing an OWA with a few UI widgets, that then calls Reporting REST should be pretty easy for someone to build.