Need Some Guidelines

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

···


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

···

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?

···

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

···

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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


Morten

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

···

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

···

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

Please have a look at [1], the syntax is a bit different for bulk datavalues

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561

···

On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set


Morten

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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

{
“dataValues”: [
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “DiszpKrYNg8”, “value”: “12” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “FNnj3jKGS7i”, “value”: “14” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “DiszpKrYNg8”, “value”: “16” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “Jkhdsf8sdf4”, “value”: “18” }
]
}

I have little bit confuse about above format.

first where to tell about dataSet value and how do i define completeDate value?

···

On Wed, Apr 8, 2015 at 3:59 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Please have a look at [1], the syntax is a bit different for bulk datavalues

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561


Morten

On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

{
“dataValues”: [
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “DiszpKrYNg8”, “value”: “12” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “FNnj3jKGS7i”, “value”: “14” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “DiszpKrYNg8”, “value”: “16” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “Jkhdsf8sdf4”, “value”: “18” }
]
}

I have little bit confuse about above format.

That how do i tell system that entry is complete? like in single import value we supply completeDate value?

···

On Wed, Apr 8, 2015 at 3:59 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Please have a look at [1], the syntax is a bit different for bulk datavalues

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561


Morten

On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

AFAIK, we do not support bulk complete registration when sending bulk data values, but you can have a look at our dataset registration API [1].

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s15.html

···


Morten

On Wed, Apr 8, 2015 at 6:07 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

{
“dataValues”: [
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “DiszpKrYNg8”, “value”: “12” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “FNnj3jKGS7i”, “value”: “14” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “DiszpKrYNg8”, “value”: “16” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “Jkhdsf8sdf4”, “value”: “18” }
]
}

I have little bit confuse about above format.

That how do i tell system that entry is complete? like in single import value we supply completeDate value?

On Wed, Apr 8, 2015 at 3:59 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Please have a look at [1], the syntax is a bit different for bulk datavalues

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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

Thanks for that info.

And i want to know what is difference between complete data entry or incomplete data entry (By incomplete i mean fill all form fields but not pressing complete button)

···

On Wed, Apr 8, 2015 at 4:09 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

AFAIK, we do not support bulk complete registration when sending bulk data values, but you can have a look at our dataset registration API [1].

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s15.html


Morten

On Wed, Apr 8, 2015 at 6:07 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

{
“dataValues”: [
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “DiszpKrYNg8”, “value”: “12” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201401”, “orgUnit”: “FNnj3jKGS7i”, “value”: “14” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “DiszpKrYNg8”, “value”: “16” },
{ “dataElement”: “f7n9E0hX8qk”, “period”: “201402”, “orgUnit”: “Jkhdsf8sdf4”, “value”: “18” }
]
}

I have little bit confuse about above format.

That how do i tell system that entry is complete? like in single import value we supply completeDate value?

On Wed, Apr 8, 2015 at 3:59 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Please have a look at [1], the syntax is a bit different for bulk datavalues

[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Yes, i think so

so i tried in a following way
{
“dataSet”:“CR_DataSet”,
“completeDate”:“2015-04-08”,
“dataValues”: [
{
“dataElement”:“CR_ControlID”,
“orgUnit”:“11101001”,
“period”:“20150312”,
“value”:“111-DEC-14-1-01001-3”
},
{
“dataElement”:“CR_CampType”,
“value”:“0”,
“orgUnit”:“11101001”,
“period”:“20150312”
},
{
“dataElement”:“CR_ControlID”,
“value”:“111-DEC-14-1-01001-5”,
“orgUnit”:“11101001”,
“period”:“20150311”
}
]
}

But that gives me following conflict

Conflicts

Element
Description
OrganisationUnit
Must be provided to complete data set

On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi Muhammad

If you look at the docs, there should be an alternative format when you need to send for multiple periods

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


Morten

On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

Hi thanks for reply

I tried following
{
“dataSet”: “dataSetID”,
“completeDate”: “date”,
“period”: “period”,
“orgUnit”: “orgUnitID”,
“dataValues”: [
{ “dataElement”: “dataElementID”,“value”: “1” },
{ “dataElement”: “dataElementID”,“value”: “2” },
{ “dataElement”: “dataElementID”, “value”: “3” }
]
}

let suppose if i do from “period”:“20150315” that will dumb data only for that day but i want to import for 3,4 different days like 20150315,20150316,20150317 …

for that i tried to put period value along with dataElement but it can’t any help or maybe i am doing something wrong?


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

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

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

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

On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Muhammad,

you can find documentation for Web API data import here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html

regards,

Lars

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks

On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui m.bilalsiddqui@micromerger.com wrote:

I am using DHIS2 as a user i get copy from launchpad and set in my local system. Now i want to import some dataSet values in json format also want to complete them.
I am trying to import data of 2 different periods of same organization and same dataset. How do i do that?

Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks


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

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

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

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


Regards
Muhammad Bilal Siddiqui

MicroMerger IT Solutions
Suite # 731, Street # 20
Sector I-8/2 Islamabad.
Pakistan 44000

C : +923325694928 P : +92514863592
E : m.bilalsiddqui@micromerger.com W : www.micromerger.com

*This e-mail and any files transmitted with it are confidential to the intended recipient and may be privileged. If you are not the intended recipient, please immediately notify the sender. Whilst we have used Anti-Virus software to alert us to the presence of computer viruses, we cannot guarantee that this email and any files transmitted with it are free from them.*N : Think before print do you really need this on paper. thanks