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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.