Web API to create dataValueSets across multiple dataSets

Hello,

Is there a Web API to create dataValueSets across multiple dataSets? We have a use case where we would want to upload dataValueSets for multiple dataSets and would want them to be saved in one single transaction.

If this is not available and if the community thinks that this is a generic enough use case, we can develop this feature and submit a patch for the same.

Thanks,

Aravind

Hi

Have you had a look at our API for sending bulks of data values [1] ? It currently does not support datasets (which means, no completion), but it works good for sending multiple values.

[1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321

···


Morten

On Tue, Apr 8, 2014 at 1:06 PM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Hello,

Is there a Web API to create dataValueSets across multiple dataSets? We have a use case where we would want to upload dataValueSets for multiple dataSets and would want them to be saved in one single transaction.

If this is not available and if the community thinks that this is a generic enough use case, we can develop this feature and submit a patch for the same.

Thanks,

Aravind


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

Thanks Morten.

We do have a couple of dataelements shared across datasets, and we need to capture the data per dataset. So we might not be able to use this api.

···

On Tue, Apr 8, 2014 at 12:01 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

Have you had a look at our API for sending bulks of data values [1] ? It currently does not support datasets (which means, no completion), but it works good for sending multiple values.

[1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321


Morten

On Tue, Apr 8, 2014 at 1:06 PM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Hello,

Is there a Web API to create dataValueSets across multiple dataSets? We have a use case where we would want to upload dataValueSets for multiple dataSets and would want them to be saved in one single transaction.

If this is not available and if the community thinks that this is a generic enough use case, we can develop this feature and submit a patch for the same.

Thanks,

Aravind


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 Aravind,
It makes no difference that the data elements may be assigned to different datasets if you are importing data. The value sent for one dataset will be the same as the other data set (for a given orgunit/period/categorycombo/attributecombo).

We first send the data values, and then the completion information. So, if you have data elements in different data sets, and want to regard both data sets as complete, you can use this part of the API (http://www.dhis2.org/doc/snapshot/en/user/html/ch28s11.html) to send the completion information, separately from the data values themselves.

Regards,

Jason

···

On Tue, Apr 8, 2014 at 8:52 AM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Thanks Morten.

We do have a couple of dataelements shared across datasets, and we need to capture the data per dataset. So we might not be able to use this api.


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

On Tue, Apr 8, 2014 at 12:01 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

Have you had a look at our API for sending bulks of data values [1] ? It currently does not support datasets (which means, no completion), but it works good for sending multiple values.

[1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321


Morten

On Tue, Apr 8, 2014 at 1:06 PM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Hello,

Is there a Web API to create dataValueSets across multiple dataSets? We have a use case where we would want to upload dataValueSets for multiple dataSets and would want them to be saved in one single transaction.

If this is not available and if the community thinks that this is a generic enough use case, we can develop this feature and submit a patch for the same.

Thanks,

Aravind


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

Thanks Jason! That helps.

···

On Tue, Apr 8, 2014 at 12:40 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Aravind,
It makes no difference that the data elements may be assigned to different datasets if you are importing data. The value sent for one dataset will be the same as the other data set (for a given orgunit/period/categorycombo/attributecombo).

We first send the data values, and then the completion information. So, if you have data elements in different data sets, and want to regard both data sets as complete, you can use this part of the API (http://www.dhis2.org/doc/snapshot/en/user/html/ch28s11.html) to send the completion information, separately from the data values themselves.

Regards,

Jason

On Tue, Apr 8, 2014 at 8:52 AM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Thanks Morten.

We do have a couple of dataelements shared across datasets, and we need to capture the data per dataset. So we might not be able to use this api.


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

On Tue, Apr 8, 2014 at 12:01 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

Have you had a look at our API for sending bulks of data values [1] ? It currently does not support datasets (which means, no completion), but it works good for sending multiple values.

[1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321


Morten

On Tue, Apr 8, 2014 at 1:06 PM, Aravind Muralikrishnan arav.psgtech@gmail.com wrote:

Hello,

Is there a Web API to create dataValueSets across multiple dataSets? We have a use case where we would want to upload dataValueSets for multiple dataSets and would want them to be saved in one single transaction.

If this is not available and if the community thinks that this is a generic enough use case, we can develop this feature and submit a patch for the same.

Thanks,

Aravind


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