[Dhis2-devs] SMS command periods

2017-09-21 Thread George Gelaga-King
Hi all,

Is the period year supported when submitting data values via sms commands? If 
so, what’s the format?

Thanks,
George.



___
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


Re: [Dhis2-devs] [Dhis2-users] Using DHIS2 API

2017-09-21 Thread Michael Mwebaze
Hi Diallo,

from the developer's guide it doesn't look like dataelement group is a
supported query parameter for dataValues end point. See link below

https://docs.dhis2.org/2.23/en/developer/html/ch01s15.html

You should however have more success with the analytics end point see link
below

https://docs.dhis2.org/2.23/en/developer/html/ch01s32.html

Michael



On 21 September 2017 at 06:37, Mamadou Diao Diallo 
wrote:

> Hello dhis2 API users,
>
> I have some troubles to have dataValues, dataElements(Name and Id) and
> dataElementGroups(Name and Id) in the same query instead of doing two
> different queries.
>
> Is it possible? if yes thank you for any information.
>
> Thank you in advance
>
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
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


Re: [Dhis2-devs] [Dhis2-users] One-time referrals

2017-09-21 Thread Prosper BT
Dear George,

I guess by one-time you mean, the ability for a user to search across all
orgunitss, select the tracked entity in different orgunits and enter stage
data.

You can achieve this by giving all tracker capture entry users the
authority "Search TEI in all Orgunits"
[image: Inline image 1]

Then in the user names; assign the users from where to search

[image: Inline image 2]



NOTE: If you do the above all users will access to other partners entries
all the time and can search them across especially if you allow them to
search the entire tree. So if you implementation is where you dont want
partners to see the others entries, this will not be possible.

Regards



Prosper Behumbiize, MPH
DHIS2 Implementation| HISP Uganda
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb

On Wed, Sep 20, 2017 at 4:47 PM, Georgi Chakarov  wrote:

> Hello,
>
>
>
> Can someone explain how one-time referrals in DHIS2 work?
>
>
>
> I have two partners working in different districts providing different
> services. None of the partners has access for data entry to the other
> partner’s district.
>
> I would like to refer a client of one partner for services to the other
> partner, which means that the referred partner should be able to also
> record the services provided and the results. How is this achieved in DHIS2?
>
>
>
> Regards,
>
>
>
> Georgi
>
>
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <+1%20647-478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
> receiving commercial electronic messages from LogicalOutcomes by emailing *
> *i...@logicaloutcomes.net* 
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
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


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-09-21 Thread Knut Staring
Hi Ramon, does your setup involve nginx? Have you tried disabling the nginx
cache?

Knut

On Fri, Sep 1, 2017 at 12:15 PM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> Hello, Thank you both for the answers :
>
> Knut:
> 1. SJ has not been logged in my computer at all. This is the frightening
> part of the issue.
> 2. Clearing browser cache does not resolve the issue. Sometimes when going
> to account and doing Ctrl+F5 that works but creates the problem for the
> others. (this time with my name RJ instead SJ).
>
> Bob:
> 1. Thank you for your suggestion. We are going to analyze with the system
> administrators.
> 2. I've tryied to disable apache cache but nothing changed.
>
> I've found an interesting thing:
>
> DHIS2 retrieves the correct user information through these four paths:
> /api/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%
> 2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D
> /api/me
> /api/me/user-account.json?_=1504260368320
> /api/23/me/user-account.json
>
>
> at the same time (I mean, *in the same page load*) DHIS2 retrieves the
> other user information through these two urls:
>
> /api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,
> userCredentials%5B:all,!user,userRoles%5Bid%5D
> /api/26/me.json (4 times)
> but
>
> Thank you ! I'm updating the JIRa ticket.
>
> 2017-08-28 17:24 GMT+02:00 Bob Jolliffe :
>
>> If you are getting remnants of SJ's session appearing on your computer
>> it might mean some stuff is being (incorrectly) cached on the server
>> side.  Do you have nginx or apache cache enabled.  If so try disabling
>> that.
>>
>> On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
>>  wrote:
>> > I think that can be useful:
>> > Usually SJ is an user has been recently or is currently logged on
>> another
>> > computer.
>> >
>> >
>> > 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <
>> dh...@pomareta.ch>:
>> >>
>> >> Hello,
>> >>
>> >>
>> >> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> >> another user on the top right corner instead of mine (RJ and Ramon
>> Jimenez).
>> >> The apps I can see are the apps allowed for SJ. I am not able to see
>> mines.
>> >> On the server log, I am logged correctly and there's no trace about SJ.
>> >>
>> >> When I go to Account I see my real username and if I do Control+F5 all
>> >> becomes OK.
>> >>
>> >> I can live with that bug, but not all the non-IT users using the
>> platform:
>> >> that's very confusing for them, and very risky if they could use other
>> apps
>> >> they should not use.
>> >>
>> >>
>> >> I've open a ticket on JIRA
>> >> https://jira.dhis2.org/browse/DHIS2-2102
>> >>
>> >> Thank you !
>> >
>> >
>> >
>> > ___
>> > 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
>> >
>>
>
>
> ___
> 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
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
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


[Dhis2-devs] Using DHIS2 API

2017-09-21 Thread Mamadou Diao Diallo
Hello dhis2 API users,

I have some troubles to have dataValues, dataElements(Name and Id) and
dataElementGroups(Name and Id) in the same query instead of doing two
different queries.

Is it possible? if yes thank you for any information.

Thank you in advance

*DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
Health Information Software )*


*Projet de Renforcement du Système d'Information Sanitaire en Guinée*
*Phone : 623909413 | 662256106*
*Skype : diawwdiallo*
www.jsi.com
___
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