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:[email protected]]
Sent: Tuesday, July 26, 2016 1:32 PM
To: Muhammad Masud Parvez
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to