Data Export - Import without Completness

Hello,

I have been trying to export and import data from Instance to another (pretty much same database - meta data). Data gets imported correctly without any problems but without completeness registration. One can not see/use reporting rate reports for imported data.

Am I missing something? is it how it is supposed to be? or it is a bug.

I have examined the exported file, looks like completed date/day is not indicated anywhere (sample below). Does this mean i have to use SQL to transfer completeness information?

Please assist.

···


Ismail Yusuf Koleleni,
Computer Science and Engineering Department
College of Information and Communication Technology (CoICT)

University of Dar es Salaam
+255713732238 / +255788732233

Hi Ismael

You can indicate completeness on import by using the completeDate attribute like:

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/dhis-2/dhis-services/dhis-service-dxf2/src/test/resources/datavalueset/dataValueSetA.xml

It looks this attribute is not getting exported - will have to check,

(Lars, I suppose it depends if you are exporting a datavalueset linked to a dataset or if you are doing a “bulk” datavalue export. Maybe we should always group the datavalues by dataset. But in that case we would need a toplevel element of dataValueSets not dataValueSet.)

If you export a datavalueset linked to a dataset using the web api, eg

http://apps.dhis2.org/demo/api/dataValueSets?dataSet=eZDhcZi6FLP&period=201303&orgUnit=wwM3YPvBKu2

then you should get that with the completenessdate. It should be possible to have a script iterate through all the datasets for all the orgunits for all the periods to pull datavaluesets one at a time but this would be painfully slow for large databases

Not sure if anybody has any other ideas …

Bob

···

On 18 February 2014 08:36, Ismail Yusuf ismailkoleleni@gmail.com wrote:

Hello,

I have been trying to export and import data from Instance to another (pretty much same database - meta data). Data gets imported correctly without any problems but without completeness registration. One can not see/use reporting rate reports for imported data.

Am I missing something? is it how it is supposed to be? or it is a bug.

I have examined the exported file, looks like completed date/day is not indicated anywhere (sample below). Does this mean i have to use SQL to transfer completeness information?

Ismail Yusuf Koleleni,
Computer Science and Engineering Department
College of Information and Communication Technology (CoICT)

University of Dar es Salaam
+255713732238 / +255788732233

Please assist.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi there,

yes unfortunately we have not implemented support for complete
registrations in the bulk data value export/import yet. It should be done -
we just haven't got the time yet. For the "single data value set" export,
completeness will be registered like Bob says.

Lars