Is it possible to create a report that returns all data values related to a single TEI, ordered by event? Additionally this would include enrolment data. I have figured out how to do most of it using the API but before I dive into coding, I though I would check if such a longitudinal report was possible to generate through configuration in the DHIS2 Web UI.
If you are using Tracker Capture app then for a repeatable program stage, in the ‘timeline view’ if you click on ‘Grid Form’ it will show you the list you asked about:
As for the report to be accessed by the API, I believe that it uses one request from the endpoint (trackedEntityInstances) and the uses all the info through out the whole page. You can use the fields parameter to select specifically what you want to request (use fields=* to see all options) For example,