Re: [Dhis2-users] Using Attributes for Program Rules

2015-10-10 Thread Prosper BT
Hi Nic,

There is a build that is unstable am kind forgetting it, whenever you would
save the rule, on return you dont find, try 2.20 build 19949.

Regards


On Sun, Oct 11, 2015 at 6:33 AM, Shurajit Dutta 
wrote:

> Hi everyone,
>
> I am trying to use an attribute to define a program rule. In this case I
> want to hide a "pregnant" field in data entry if the person's sex is male.
> I save the program rule, but when I go back in to edit it the attribute
> variable that I defined is no longer there as a source field. I tried to
> register some patients and I find it is still not working. The other rule I
> have made using program stage data elements is working fine. I am using
> version 2.20.
>
> [image: Inline image 1]
>
> ​Thanks
> Nick​
>
>
> --
> Shurajit Dutta
> Health Information Consultant
>
> ___
> 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
>
>


-- 
Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139
ptb3...@gmail.com | pros...@dhis2.org | Skype: prospertb
___
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] Using Attributes for Program Rules

2015-10-10 Thread Shurajit Dutta
Hi everyone,

I am trying to use an attribute to define a program rule. In this case I
want to hide a "pregnant" field in data entry if the person's sex is male.
I save the program rule, but when I go back in to edit it the attribute
variable that I defined is no longer there as a source field. I tried to
register some patients and I find it is still not working. The other rule I
have made using program stage data elements is working fine. I am using
version 2.20.

[image: Inline image 1]

​Thanks
Nick​


-- 
Shurajit Dutta
Health Information Consultant
___
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] [Dhis2-devs] sending email notification with attachment from dhis messages

2015-10-10 Thread Lars Helge Øverland
Like you suggest, an alternative is to just place a link to the favorites
in DHIS 2 inside the message. Many email clients will make that link
clickable, e.g.

https://apps.dhis2.org/demo/dhis-web-visualizer/index.html?id=hewtA7a025J

A tip is to use the "user org units" selection for org units, so that the
report adapts to the receiving users. Also make sure the report has "public
read" so that people can see it. This might actually be a better option
since you avoid sending attachments to folks.

I think an interesting idea could be to support HTML in messages, so that
one could even embed img src tags pointing to the PNG versions of charts
etc:

https://apps.dhis2.org/demo/api/charts/hewtA7a025J/data



regards,

Lars






On Sat, Oct 10, 2015 at 6:59 AM, Furqonuddin Ramdhani 
wrote:

> Okay, thx Lars.
>
> On Fri, Oct 9, 2015 at 6:17 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Furqonuddin,
>>
>> sorry at the moment this is not possible.
>>
>> We do have a blueprint for attachments in messages here:
>>
>> https://blueprints.launchpad.net/dhis2/+spec/message-attachments
>>
>> regards,
>>
>> Lars
>>
>>
>> On Fri, Oct 9, 2015 at 4:23 AM, Furqonuddin Ramdhani 
>> wrote:
>>
>>> yes, send email to users. is it possible to take our reports/charts from
>>> pivot table(xls/pdf) or data visualizer(png/jpg) as a link (url)  so we can
>>> include the url in our messages  ?
>>>
>>> Regards,
>>> Dhani
>>>
>>> On Fri, Oct 9, 2015 at 6:45 AM, Knut Staring  wrote:
>>>
 You want to send email to users? Could it be just a link (url)?

 Knut

 On Fri, Oct 9, 2015 at 1:41 AM, Furqonuddin Ramdhani <
 furqo...@gmail.com> wrote:

> Hi All,
>
> is it possible to send notification with attachment from dihis
> messages, for example I want to send output of my pivot table report in
> xls/pdf ?
> If not possible , any suggestion how to do it ?
>
> Thanks
>
> --
> Best Regards
> *Furqonuddin Ramdhani*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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

>>>
>>>
>>>
>>> --
>>> Salam
>>> *Furqonuddin Ramdhani*
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org 
>>
>>
>
>
> --
> Salam
> *Furqonuddin Ramdhani*
>



-- 
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] [Dhis2-devs] sending email notification with attachment from dhis messages

2015-10-10 Thread Alex Tumwesigye
Dear Ramdhani,

If it is very urgent, you can in the mean time use a bash script that
downloads the png/jpg (pivot table), then use the curl to send the message
with your attachment via DHIS2 messaging platform.

Alex

On Sat, Oct 10, 2015 at 7:59 AM, Furqonuddin Ramdhani 
wrote:

> Okay, thx Lars.
>
> On Fri, Oct 9, 2015 at 6:17 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Furqonuddin,
>>
>> sorry at the moment this is not possible.
>>
>> We do have a blueprint for attachments in messages here:
>>
>> https://blueprints.launchpad.net/dhis2/+spec/message-attachments
>>
>> regards,
>>
>> Lars
>>
>>
>> On Fri, Oct 9, 2015 at 4:23 AM, Furqonuddin Ramdhani 
>> wrote:
>>
>>> yes, send email to users. is it possible to take our reports/charts from
>>> pivot table(xls/pdf) or data visualizer(png/jpg) as a link (url)  so we can
>>> include the url in our messages  ?
>>>
>>> Regards,
>>> Dhani
>>>
>>> On Fri, Oct 9, 2015 at 6:45 AM, Knut Staring  wrote:
>>>
 You want to send email to users? Could it be just a link (url)?

 Knut

 On Fri, Oct 9, 2015 at 1:41 AM, Furqonuddin Ramdhani <
 furqo...@gmail.com> wrote:

> Hi All,
>
> is it possible to send notification with attachment from dihis
> messages, for example I want to send output of my pivot table report in
> xls/pdf ?
> If not possible , any suggestion how to do it ?
>
> Thanks
>
> --
> Best Regards
> *Furqonuddin Ramdhani*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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

>>>
>>>
>>>
>>> --
>>> Salam
>>> *Furqonuddin Ramdhani*
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org 
>>
>>
>
>
> --
> Salam
> *Furqonuddin Ramdhani*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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