[Dhis2-devs] Web API to create and read translations (i18n)

2014-03-28 Thread Aravind Muralikrishnan
Hello all, Is there a web api to create translations for the various DHIS entities like data sets, data elements, categories etc. We are trying to automate configuration of DHIS and we want to create translation of these entities using the web api. Thanks, Aravind ___

[Dhis2-devs] Web API to create dataValueSets across multiple dataSets

2014-04-07 Thread Aravind Muralikrishnan
Hello, 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 e

Re: [Dhis2-devs] Web API to create dataValueSets across multiple dataSets

2014-04-07 Thread Aravind Muralikrishnan
ta values [1] ? It > currently does not support datasets (which means, no completion), but it > works good for sending multiple values. > > [1] http://www.dhis2.org/doc/snapshot/en/user/html/ch28s08.html#d5e7321 > > -- > Morten > > > On Tue, Apr 8, 2014 at 1:06 P

Re: [Dhis2-devs] Web API to create dataValueSets across multiple dataSets

2014-04-08 Thread Aravind Muralikrishnan
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. > > Regards, > Jason > > > > On Tue, Apr 8, 2014 at 8:52 AM, Aravind Muralikrishnan < > ara

[Dhis2-devs] Web API to create and read translations (i18n)

2014-04-10 Thread Aravind Muralikrishnan
Hello all, We are implementing DHIS for MSF and we had a few questions on the Web API's to read/create translations. Is there a web api to create translations for the various DHIS entities like data sets, data elements, categories etc. We are trying to automate configuratio

Re: [Dhis2-devs] Web API to create and read translations (i18n)

2014-04-10 Thread Aravind Muralikrishnan
d put it on our road map. Is this something your team would be > willing to take on? We could if so schedule a call for later and discuss > the strategy for implementation. > > best regards, > > Lars > > > > > > > > > > > > > > &

[Dhis2-devs] Extending Organisation Unit

2014-04-21 Thread Aravind Muralikrishnan
Hello all, We are implementing DHIS2 for MSF . We have a requirement in which, we want to store a couple of additional details at an organisation unit level. The following are the additional fields that we will have to capture: 1) Location 2) Type (Direct, Indirect, Coordinat

Re: [Dhis2-devs] Extending Organisation Unit

2014-04-22 Thread Aravind Muralikrishnan
be present in the web api resource representation. > > cheers > > Lars > > > > On Tue, Apr 22, 2014 at 7:12 AM, Aravind Muralikrishnan < > aravi...@thoughtworks.com> wrote: > >> Hello all, >> >> We are implementing DHIS2 for MSF <http://www.msf.

[Dhis2-devs] Unique dataset section name

2014-05-05 Thread Aravind Muralikrishnan
Hello all, We are customising DHIS2 for MSF, and we have a scenario in which we have 2 different data sets having a data set section each, with the same name. Ex: * Consultation (Data set section) under OPD-General (Dataset) * Consultation (Data set section) under OPD-Chronic (Dataset) We saw th

Re: [Dhis2-devs] Unique dataset section name

2014-05-06 Thread Aravind Muralikrishnan
onstraint > covering both datasetid + name, and hence there should not be a uniqueness > constraint on name only. I have removed it in trunk and 2.15 now. > > Does this imply that you do not need attributes for sections? > > regards, > > Lars > > > > On Mon, Ma

Re: [Dhis2-devs] Unique dataset section name

2014-05-06 Thread Aravind Muralikrishnan
Brilliant! Thanks! -Aravind On Tue, May 6, 2014 at 3:44 PM, Lars Helge Øverland wrote: > You are correct. It has been fixed in trunk now. > > regards, > > Lars > > > > On Tue, May 6, 2014 at 12:08 PM, Aravind Muralikrishnan < > aravi...@thoughtworks.com> w

[Dhis2-devs] SystemSettings API to post other data types

2014-05-15 Thread Aravind Muralikrishnan
Hello all, While trying to store *"**keyHideUnapprovedDataInAnalytics"* as *false*using the system settings api, we realised that it stores it as a String, while the DefaultAnalyticsSecurityManager when reading the value back tries to type cast it to a Boolean and it fails. Right now, the system

Re: [Dhis2-devs] SystemSettings API to post other data types

2014-05-15 Thread Aravind Muralikrishnan
uld you > provide an example payload with type information the way you envision it? > > best regards, > > Lars > > > On Thu, May 15, 2014 at 10:40 AM, Aravind Muralikrishnan < > aravi...@thoughtworks.com> wrote: > >> Hello all, >> >> While tryin

Re: [Dhis2-devs] SystemSettings API to post other data types

2014-05-15 Thread Aravind Muralikrishnan
Thanks Lars. We will pick this up. -Aravind On Thu, May 15, 2014 at 2:24 PM, Lars Helge Øverland wrote: > I think that is a good idea. Much appreciated if you take that on. > > best regards, > > Lars > > > > On Thu, May 15, 2014 at 10:51 AM, Aravind Muralikrishnan &l

Re: [Dhis2-devs] SystemSettings API to post other data types

2014-05-15 Thread Aravind Muralikrishnan
e Øverland wrote: > Great. Let us know how it goes. > > regards, > > Lars > > > On Thu, May 15, 2014 at 11:04 AM, Aravind Muralikrishnan < > aravi...@thoughtworks.com> wrote: > >> Thanks Lars. We will pick this up. >> >> -Aravind >> >>

[Dhis2-devs] Timestamp in DataValues

2014-05-27 Thread Aravind Muralikrishnan
Hello all, We were looking at the API to save DataValues in DHIS. We saw that the timestamp field in DataValues only stores *date* value in timestamp field and *ignores the time* part completely before its saved. We have a requirement in which we would want to sync the data values at regular inte

Re: [Dhis2-devs] Timestamp in DataValues

2014-05-27 Thread Aravind Muralikrishnan
proved, but > it should also not break any existing clients.. > > -- > Morten > > > On Tue, May 27, 2014 at 10:17 AM, Aravind Muralikrishnan < > aravi...@thoughtworks.com> wrote: > >> Hello all, >> >> We were looking at the API to save DataValues in

Re: [Dhis2-devs] Contract changes in User Controller.

2014-06-11 Thread Aravind Muralikrishnan
Hello Morten, Thank you for the quick fix! We were trying the new api and it works. We also looked at the code a little bit, and we saw that if we don't give any query params, we are defaulting it to ":all". However this retrieves fields only at the first level and does not retrieve fields for th

[Dhis2-devs] Event Capture Visualizer

2014-07-23 Thread Aravind Muralikrishnan
Hello People, We are trying to get a chart out using Event Visualizer. We have created a DataElement with an option set. We would like to generate a bar graph whose y axis represents total number of records which have any of the options, set for this dataElement. Is there a way to achieve this in