The data browser should show all values at and below selected orgunits

Registered by Ola Hodne Titlestad on 2010-09-08

The browse by orgunit mode in Data Browser currently only shows values for an orgunit if an orgunit has registered values (as in referenced in datavalue), and does not include values at the levels below the orgunit.

E.g. in the demo database we will get all '0's for the districts if we select browse by Sierra Leone (as parent OU).
Only at the lowest level, the health facilities will we see any values. When dealing with hundreds and thousands of orgunits it becomes almost impossible to do this kind of detailed browsing by orgunit.

An important use case for the browser is to quickly find out e.g. in which parts of the country there is data, e.g. how many values are registered in each districts per month. This is not supported as the browser only counts values directly registered by the selected orgunits. If we add to the count all values registered by orgunits in the tree below the orgunit it will be much easier to get this overview. The zoom in by clicking on orgunits will then show how many values per child, grandchild etc.

I am not even sure we need to separate between values registered at the specific orgunit and values below it. If possible maybe include values at the orgunit in parenthesis, e.g.
Kambia District 2212 (23)
meaning 2212 values in the district somewhere, and 23 of these are registered/entered directly for the "Kambia District" orgunit.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Hieu Duy Dang
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2.2
Started by
Hieu Duy Dang on 2011-03-11
Completed by
Lars Helge Øverland on 2011-03-20

Related branches

Sprints

Whiteboard

I think this has been implemented as of 2.0.5/2.0.6.

Feedback?

I think it is done. <Jason as at Feb 2011 in trunk and 2.0.6>

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.