Categories through the Web API

Hello Janielle,

You can use the Web API:

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

The different endpoints:

https://apps.dhis2.org/demo/api/resources.json

Categories:

https://apps.dhis2.org/demo/api/categories.json

···

Regards,

Knut

On Mon, Sep 7, 2015 at 4:04 PM, Janielle Domingo janielle.domingo@gmail.com wrote:

Good day!

I am Janielle Domingo, a developer from the National Telehealth Center based in Manila, Philippines.

We developed an Electronic Medical Record (EMR) named Community Health Information Management System (CHITS), with OpenMRS on the back end, now deployed and operational in several primary health care centers all over the Philippines. We are currently trying to link the data generated through CHITS with DHIS2 as a data visualization application to be used by decision-makers in various levels of government units.

We have created data elements as components for main indicators set by stakeholders.

We were wondering if there was a way to create categories (and combinations thereof) programmatically rather than by employing the user interface? We want to generate categories dynamically for use cases where parameters of category options change, and it would be more efficient to comply with standard definitions centrally rather than peripherally.

THANK You!

Janielle T. Domingo

janielle.domingo@gmail.com

Software Developer-NTHC

Manila, Philippines

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Mr. Knut,

Thank you for quick response and very much appreciated.

I will try this link.

THANK You! :slight_smile:

Janielle T. Domingo

janielle.domingo@gmail.com

Software Developer-NTHC

Manila, Philippines

···

Regards,

Knut

On Mon, Sep 7, 2015 at 4:04 PM, Janielle Domingo janielle.domingo@gmail.com wrote:

Good day!

I am Janielle Domingo, a developer from the National Telehealth Center based in Manila, Philippines.

We developed an Electronic Medical Record (EMR) named Community Health Information Management System (CHITS), with OpenMRS on the back end, now deployed and operational in several primary health care centers all over the Philippines. We are currently trying to link the data generated through CHITS with DHIS2 as a data visualization application to be used by decision-makers in various levels of government units.

We have created data elements as components for main indicators set by stakeholders.

We were wondering if there was a way to create categories (and combinations thereof) programmatically rather than by employing the user interface? We want to generate categories dynamically for use cases where parameters of category options change, and it would be more efficient to comply with standard definitions centrally rather than peripherally.

THANK You!

Janielle T. Domingo

janielle.domingo@gmail.com

Software Developer-NTHC

Manila, Philippines


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org