Pruning of organisation unit and data

Registered by Lars Helge Øverland on 2010-03-29

Functionality for pruning organisation units and their data. Ie. it should be possible to select only a subtree of the organisation unit tree and remove all other organisation units together with their data.

This functionlity is required for offline installations where one wants to use a national database as basis. Before installing the database in a district it is sensible to only keep the district and all its children and remove all other organisation units with belonging datavalues in order to reduce the size of the database and hence improve system performance.

The service functionality should be put in dhis-service-administration in package org.hisp.dhis.dataprune. The web functionality should be put in dhis-web-dataadmin in package org.hisp.dhis.dataprune.

User flow: User selects parent organisation unit from the selection tree. He then clicks on a prune button.

The operation should have user feedback and could be implemented with ajax. Have a look at the data integrity functionality in data administration module for an example.

Blueprint information

Status:
Complete
Approver:
Lars Helge Øverland
Priority:
Undefined
Drafter:
Lars Helge Øverland
Direction:
Needs approval
Assignee:
Quang Nguyen
Definition:
New
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.0.5
Started by
Lars Helge Øverland on 2010-06-24
Completed by
Quang Nguyen on 2010-07-06

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.