Extract Individual data from Web API

Dear All,

Greetings from Bangladesh.

I am trying to extract individual patient data (Age, Sex) and his/her encounter data by DHIS2 web API.

When I am extracting data using api/events I am getting lot more data.

Any help on this regards is highly appreciated.

Best Regards

Masud Parvez

CEH, MCITP, MCTS

Analyst Programmer

Health Systems and Population Studies Division

International Centre for Diarrhoeal Disease Research (icddr,b)

68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,

Dhaka-1212, Bangladesh|

Phone- 02-9827001-10 , Ext: 2244.

Hi

Did you have a look at our /api/events documentation? [1] there are many parameters you can apply to filter the results.

[1] http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html#d0e4505

···

On Tue, Jul 26, 2016 at 7:52 AM, Muhammad Masud Parvez masud.parvez@icddrb.org wrote:

Dear All,

Greetings from Bangladesh.

I am trying to extract individual patient data (Age, Sex) and his/her encounter data by DHIS2 web API.

When I am extracting data using api/events I am getting lot more data.

Any help on this regards is highly appreciated.

Best Regards

Masud Parvez

CEH, MCITP, MCTS

Analyst Programmer

Health Systems and Population Studies Division

International Centre for Diarrhoeal Disease Research (icddr,b)

68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,

Dhaka-1212, Bangladesh|

Phone- 02-9827001-10 , Ext: 2244.


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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Dear Mr. Hansen,

Thanks for your response.

At first I like to extract individual patient attribute data (Age, Sex) against below mentioned program by DHIS2 web API so that I can calculate how many patient has been registered under that program.

Program: “id”: “uy2gU8kT1jF”,“displayName”: “MNCH / PNC (Adult Woman)”

So fat I have been able to extract event data by orgunit and program

https://play.dhis2.org/demo/api/events?orgUnit=DiszpKrYNg8&program=uy2gU8kT1jF

It would be highly appreciated if anyone please help me on this regards.

Best Regards

Masud Parvez

CEH, MCITP, MCTS

Analyst Programmer

Health Systems and Population Studies Division

International Centre for Diarrhoeal Disease Research (icddr,b)

68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,

Dhaka-1212, Bangladesh|

Phone- 02-9827001-10 , Ext: 2244.

···

From: Morten Olav Hansen [mailto:morten@dhis2.org]

Sent: Tuesday, July 26, 2016 1:32 PM

To: Muhammad Masud Parvez

Cc: dhis2-devs@lists.launchpad.net

Subject: Re: [Dhis2-devs] Extract Individual data from Web API

Hi

Did you have a look at our /api/events documentation? [1] there are many parameters you can apply to filter the results.

[1] http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html#d0e4505

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Jul 26, 2016 at 7:52 AM, Muhammad Masud Parvez masud.parvez@icddrb.org wrote:

Dear All,

Greetings from Bangladesh.

I am trying to extract individual patient data (Age, Sex) and his/her encounter data by DHIS2 web API.

When I am extracting data using api/events I am getting lot more data.

Any help on this regards is highly appreciated.

Best Regards

Masud Parvez

CEH, MCITP, MCTS

Analyst Programmer

Health Systems and Population Studies Division

International Centre for Diarrhoeal Disease Research (icddr,b)

68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,

Dhaka-1212, Bangladesh|

Phone- 02-9827001-10 , Ext: 2244.


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