Re: [Dhis2-users] Web API to get options for a specific optionSet

2016-04-15 Thread Iuri Fanti
And what if I needed to put/create a specific option into a specific optionSet?

2016-04-15 19:46 GMT+02:00 Iuri Fanti :
> Great Knut, it's exactly what I needed! :)
>
> Thank you so much!
>
> Iuri
>
> 2016-04-15 19:28 GMT+02:00 Knut Staring :
>> Something along these lines?
>>
>> https://play.dhis2.org/demo/api/optionSets/VQ2lai3OfVG.json?fields=name,options[:all]
>>
>> On Fri, Apr 15, 2016 at 7:15 PM, Iuri Fanti  wrote:
>>>
>>> Hi all,
>>>
>>> is there a Web API call to get the option values for a specific
>>> optionSet? I have a lot of option values, and it's not reasonable to
>>> download all of them. I need to filter by the parent optionSet,
>>> somehow. Is it possibile?
>>>
>>> Thanks,
>>>
>>> Iuri
>>>
>>> --
>>> @-`-,--
>>>
>>> ___
>>> 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
>>
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>
>
>
> --
> @-`-,--



-- 
@-`-,--

___
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


Re: [Dhis2-users] Web API to get options for a specific optionSet

2016-04-15 Thread Iuri Fanti
Great Knut, it's exactly what I needed! :)

Thank you so much!

Iuri

2016-04-15 19:28 GMT+02:00 Knut Staring :
> Something along these lines?
>
> https://play.dhis2.org/demo/api/optionSets/VQ2lai3OfVG.json?fields=name,options[:all]
>
> On Fri, Apr 15, 2016 at 7:15 PM, Iuri Fanti  wrote:
>>
>> Hi all,
>>
>> is there a Web API call to get the option values for a specific
>> optionSet? I have a lot of option values, and it's not reasonable to
>> download all of them. I need to filter by the parent optionSet,
>> somehow. Is it possibile?
>>
>> Thanks,
>>
>> Iuri
>>
>> --
>> @-`-,--
>>
>> ___
>> 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
>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org



-- 
@-`-,--

___
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


[Dhis2-users] Web API to get options for a specific optionSet

2016-04-15 Thread Iuri Fanti
Hi all,

is there a Web API call to get the option values for a specific
optionSet? I have a lot of option values, and it's not reasonable to
download all of them. I need to filter by the parent optionSet,
somehow. Is it possibile?

Thanks,

Iuri

-- 
@-`-,--

___
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


Re: [Dhis2-users] API-Response from api/setDataValues

2016-04-15 Thread Lars Helge Øverland
Hi Uwe,

currently there is no such parameter.

You will still get those validation warnings in the response (such as data
elements not allowing future dates, etc).

When a record is ignored without violating any validation checks that
usually means it was considered a new value but had a null or missing value.

regards,

Lars





On Thu, Feb 11, 2016 at 9:58 AM, Uwe Wahser  wrote:

> Dear all,
>
> when importing dataValues into DHIS2 via api/setDataValues I get a certain
> number of values that are being ignored. Is there a api-parameter that can
> give
> me a more detailed feedback in the response than just the number of ignored
> values?
>
> I remember that I always got an error-message with a list of rejected
> dates in
> the api response before I allowed future-dates (json-field 'conflicts':
> "conflicts":[{"object":"20460411","value":"Data element does not allow for
> future periods through data sets: X9etg5beTot"}]). It would help a lot for
> debugging, if I got this kind of information for the remaining conflicts.
>
> Currently running on 2.22 (standard Ubuntu 14.04 & Oracle 8), not sure
> though,
> whether the conflicts field was still under 2.21.
>
> Thanks a lot,
>
> Uwe
>
> ___
> 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
>



-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
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


Re: [Dhis2-users] Setting default interface language for user accounts

2016-04-15 Thread Lars Helge Øverland
Hi Elmarie,

I suspect this problem came from another issue - previously in the "add new
user" screen, the "interface language" property was not set to English as
it is supposed to be, but rather Arabic which is the first item in the list.

This item was fixed some time ago in 2.22, so please upgrade. You will have
to set the locale to English either manually or through a script for
existing accounts where the problem exists.

regards,

Lars




On Tue, Apr 12, 2016 at 10:08 AM,  wrote:

> Forwarded using *Multi-Forward Chrome Extension*
> 
> ---
> From: Elmarie Claasen
> Date: Wed Apr 06 2016 19:24:48 GMT+0530 (IST)
> Subject: Re: [Dhis2-users] Setting default interface language for user
> accounts
> To: dhis2-d...@lists.launchpad.net, dhis2-users@lists.launchpad.net
>
> Hi all,
>
>
>
> Any feedback on this issue – how is the Interface language set?
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
>
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer
> .   Please read the disclaimer before opening any attachment or taking any
> other action in terms of this electronic transmission.
> If you cannot access the disclaimer, kindly send an email to 
> disclai...@hisp.org
> and a copy will be provided to you. By replying to this e-mail or opening
> any attachment you agree to be bound by the provisions of the disclaimer.
>
>
>
> *From:* Elmarie Claasen [mailto:elma...@hisp.org]
> *Sent:* 31 March 2016 03:24 PM
> *To:* dhis2-d...@lists.launchpad.net; dhis2-users@lists.launchpad.net
> *Subject:* Setting default interface language for user accounts
>
>
>
> Hi all,
>
>
>
> We have an issue on 2.22 which is fairly new to us since most of our
> instances are still running on older war files.
>
>
>
> We have activated self-registration for users and once we open the user
> account or users log in they all complain that everything is in Arabic.
>
> It is clear from the user account that Arabic is currently set to the
> default interface language. Where does one set the default interface
> language you want to use for an instance so that it doesn’t default to the
> first on the list ie. Arabic?
>
>
>
>
>
> Your help would be appreciated.
>
>
>
> Version:
>
> 2.22
>
> Build revision:
>
> 21912
>
> Build date:
>
> 2016-03-14 09:09
>
>
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
>
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer
> .   Please read the disclaimer before opening any attachment or taking any
> other action in terms of this electronic transmission.
> If you cannot access the disclaimer, kindly send an email to 
> disclai...@hisp.org
> and a copy will be provided to you. By replying to this e-mail or opening
> any attachment you agree to be bound by the provisions of the disclaimer.
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>



-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
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


Re: [Dhis2-users] Jasper Reports Version in DHIS2.About page

2016-04-15 Thread Lars Helge Øverland
Hi Uwe,

DHIS 2.21 and later runs with JasperReports version 6.1.0 .

I agree its important to expose the JasperReports version to allow people
to find the matching report editor version.

I have done a fix now in trunk which does that under the About page.

The Jasper community is now focused on Jasper Studio it seems now that
iReport is unsupported.

http://community.jaspersoft.com/project/jaspersoft-studio


[image: Inline image 1]



regards,

Lars








On Wed, Apr 13, 2016 at 9:10 AM, Uwe Wahser  wrote:

> Dear all,
>
> the user manual mentions in "19.4.2.11. Some final guidelines" the need to
> synchronize the version of the Jasper Report Designer (iReport / Jasper
> Studio)
> to the DHIS2 Jasper engine. The information is said to be found on the
> About
> page of DHIS2. However, it does not seem to be there. Has it moved to
> somewhere
> else?
>
> BTW, what is your upgrade strategy for Jasper Reports after the support for
> iReports ran out last year?
>
> Best regards,
>
> Uwe
>
> ___
> 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
>



-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
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


Re: [Dhis2-users] Event Capture App Questions

2016-04-15 Thread Abyot Asalefew Gizaw
Hi Laura,

Regarding question #1 for the desktop version, below is what we have. Event
completion appears at the end of the form not as a button but as a
check-box.

[image: Inline image 1]

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Apr 15, 2016 at 10:31 AM, Erling Fjelstad  wrote:

> Hi Laura,
> We're currently rebuilding the Android Event Capture app*, *planning to
> release alpha version in mid/end of May.
> *1)* In the next Event Capture we will have the status complete button at
> the end.
> *2) *Not currently, and we haven't planned for this use case in the new
> version of Event Capture either. Seems like data capturing is heavily
> relies on that user remembers to press '*complete*'. Anyway, I'm open for
> a discussion here.
> *3) *It is not possible at the moment to show Event Status in the grid in
> the Android Event Capture. Good suggestion, but it would require some
> changes in the server. You can write a blueprint on this
>
> Regards,
> Erling - DHIS2 Android Team
>
>
> On Thu, Apr 14, 2016 at 8:32 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> *​DHIS*​
>>
>> Version:
>> ​ ​
>> 2.22
>> Build revision:
>> ​ ​
>> 21973
>>
>> *​DHIS2 Event Capture App*
>>
>> version: 0.3.3-2.22
>> ​
>> *Three questions about the app (*1 also about the desktop version*):*
>>
>>
>>1. Is there a way to have the *Event Status Complete* button appear
>>at the end of the ​data entry form as opposed to at the very start of the
>>entry form?
>>2. Is there a way to restrict syncing a form to the server unless it
>>is marked as *Completed*?
>>3. Is there a way to show the *Event Status Completed *column in the
>>grid of forms in the app and/or in the desktop version?
>>
>> ​Thanks.​
>>
>>
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> ___
>> 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
>>
>>
>
> ___
> 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
>
>
___
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