Re: [Dhis2-users] [Dhis2-devs] Installation of dhis2 on docker

2018-09-05 Thread Alex Tumwesigye
Hello Gerald,

Look at the exec command
https://docs.docker.com/engine/reference/commandline/exec/#examples
e.g

docker exec -it container_name "psql -U postgres -d template1 -c 'drop
database dhis;create database dhis with owner dhis'"docker exec -it
container_name "psql -U dhis -d dhis -f dumpfile"

Alex

On Wed, Sep 5, 2018 at 10:27 AM Paulo Grácio  wrote:

> Hi Geral, with the current docker setup you can generate your own docker
> image and use that one instead of sierra-leone.
>
> All you need to do is:
>
> 1. comment this line
> https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60
> 2. have a file named *dhis2-db.sql.gz* that contains your database dump.
> 3. run ./docker-build.sh -v 2.30 -d my-database
> 4. update docker-compose do use the nee image.
>
> give it a try.
>
>
> On Tue, Aug 28, 2018 at 12:16 PM gerald thomas 
> wrote:
>
>> Hi all,
>> I got it docker using postgresql is fixed now but i need to drop the
>> current database and import another database. Please can anyone help?
>>
>> On Mon, Aug 27, 2018 at 2:55 PM gerald thomas 
>> wrote:
>>
>>> Dan,
>>> I am using my laptop which is mac pro where i had already installed
>>> docker and now i want to install an Ubuntu DHIS2 instance on it.
>>>
>>> On Mon, Aug 27, 2018 at 2:32 PM Dan Cocos  wrote:
>>>
>>>> Hi Gerald,
>>>>
>>>> You can also try this for local dev.
>>>> https://github.com/baosystems/dhis2-centos
>>>>
>>>> Cheers,
>>>> Dan
>>>>
>>>>
>>>> Dan Cocos
>>>> Principal, BAO Systems
>>>> dco...@baosystems.com | http://www.baosystems.com |  2900 K Street,
>>>> Suite 507, Washington D.C. 20007
>>>> <https://maps.google.com/?q=2900+K+Street,+Suite+507,+Washington+D.C.+20007=gmail=g>
>>>>
>>>>
>>>> On Aug 27, 2018, at 3:52 AM, Gerald Thomas 
>>>> wrote:
>>>>
>>>> Dear Paulo,
>>>> Can i only have mysql database for this instance?
>>>>
>>>> On Aug 27, 2018, at 5:58 AM, Paulo Grácio 
>>>> wrote:
>>>>
>>>> https://github.com/pgracio/dhis2-docker
>>>>
>>>> Hasn’t been updated for a while so not sure if there is a better way.
>>>>
>>>> On 27 Aug 2018, at 00:35, gerald thomas  wrote:
>>>>
>>>> Dear all,
>>>> I am trying to do a dhis2 instance using docker on my laptop. Please
>>>> can anyone help with the procedures; this is my first time to do it on
>>>> docker
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Gerald
>>>>
>>>> ___
>>>> 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-devs
>>>> Post to : dhis2-d...@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
> ___
> 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

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Tragic passing of Dr Dapo Adejumo

2018-08-26 Thread Alex Tumwesigye
RIP Dapo.
I cant believe you are gone.

Alex

On 8/24/18, stepho...@gmail.com  wrote:
> Sad news indeed. May his soul RIP.
>
>
> Sent from my HTC
>
> - Reply message -
> From: "Yah00!" 
> To: 
> Cc: , 
> Subject: [Dhis2-users] Tragic passing of Dr Dapo Adejumo
> Date: Fri, Aug 24, 2018 19:17
>
> May his gentle soul rest in peace.
>
> On Fri, Aug 24, 2018 at 4:38 PM riddy ndoma  wrote:
> Too bad to hear that. Rest in peace Dapo.
>
> Le ven. 24 août 2018 à 17:10, Adebusoye Anifalaje  a
> écrit :
> Dear DHIS 2 community,
> I am deeply saddened to inform you that Dapo passed away yesterday. This is
> still very shocking to us.
>
> We have set up a gofundme page where you can donate to support his wife and
> two children. Even if you are not able to give a monetary donation his
> family will appreciate if you can share messages and memories on this page.
>
> Many thanks for your support. May his soul will rest in peace
>
> Very best wishes,
>
>
> - -
>
>
> Busoye Anifalaje (PhD)
> Director of Services (Principal), BAO Systems
> UK: +44 7901-740-757 | US: +1 682-307-0986|
>  bus...@baosystems.com | http://www.baosystems.com |
> Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007
>
>
>
>
>
>
> ___
>
> 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
>
>
>
> --
> Riddy NDOMA
> Skype: riddyndoma, G+: riddyndoma, FB: riddy ndoma
> Twitter: riddyndoma, LinkedIn: riddy ndoma
> Blog: http://riddyndoma.blogspot.com/
> Vous servir est mon désire (Serving you is my desire)
>
>
>
>
>
> ___
>
> 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
>
>
>
> --
> Lawrence A. Kwaghga  Assistant Director Strategic Knowledge
> Management DepartmentNational Agency for
> the Control of AIDS (NACA)The Presidency Plot 823, Ralph Shodeinde Street,
> Central Area,
> Abuja, Nigeria L: 09-2919670 |akwag...@naca.gov.ng | www.naca.gov.ng|
>
>
>
>
>
>
>
>
>
>
>
> M: +2347030531148 |M: +2348125077849 | lawkwag...@gmail.com Skype:
> lawrence_kwaghgahttps://mybizcard.co/lawrence.kwaghga.419717


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Fwd: Difficulty editing + creating new programs

2018-07-16 Thread Alex Tumwesigye
Hi Viljar,

This issue is related to new version of tomcat (Romain reported last week)
and  is fixed in two ways.
1- DHIS2 should start encoding all api calls.
2- Add relaxedQueryChars="[]" to tomcat http connector

Alex

On Monday, July 16, 2018, Viljar Bakken  wrote:

> -- Forwarded message --
> From: Viljar Bakken 
> Date: Thu, Jul 12, 2018 at 6:21 PM
> Subject: Re: [Dhis2-users] Fwd: Difficulty editing + creating new programs
> To: Stian Sandvold 
>
>
> Hello Stian, thank you for the quick reply.
>
> The noresponse.PNG shows a screenshot of the unresponsive webpage
> after we try to edit a program.
>
> The error.PNG  shows what the console message is saying after the
> webpage fails to load.
>
>
>
> On Thu, Jul 12, 2018 at 3:33 PM, Stian Sandvold  wrote:
> > Hi Viljar,
> >
> > I am assuming your problems are related to the maintenance app in DHIS 2?
> > This is where you create or edit metadata, including programs.
> >
> > You say the form is not visible when you edit or create a program - does
> > that mean someone else have created the programs you want to edit? Could
> you
> > elaborate on what you mean the form is not visible? Screenshots would be
> > appreciated.
> >
> > When you are looking at the page where you encounter the problem, could
> you
> > open the developer tools in your browser and attach a screenshot of the
> > messages listed (if any)? Most browsers has this option, for example in
> > chrome or firefox, you can right click on the page you are on, and choose
> > "inspect". You will get a window with multiple tabs, and the information
> I
> > am interested in can be found under "console".
> >
> >
> >
> > On Thu, Jul 12, 2018 at 3:09 PM, Viljar Bakken 
> > wrote:
> >>
> >> -- Forwarded message --
> >> From: Kristina Ishimwe 
> >> Date: Thu, Jul 12, 2018 at 3:00 PM
> >> Subject: Fwd: Difficulty editing + creating new programs
> >> To: Viljar Bakken 
> >>
> >>
> >> Hi!
> >>  Trying to edit programs but forms not visible ..same effect trying to
> >> create new programs.
> >>
> >> Platform currently running on Tomcat 7 + (log attached) PostgreSQL 10
> >> + newest WAR-file on the DHIS2 website. (Using the Sierra Leone test
> >> data for now ...running on Windows 10 x64 version.)
> >>
> >> Tomcat log file:
> >>
> >>
> >> https://cdn.fbsbx.com/v/t59.2708-21/36611084_10204811029353030_
> 2000401054134435840_n.log/catalina.2018-07-10.log?_nc_cat=0=
> 6da4441a6ce1de6edd0e7df7b1831154=5B493D87=1
> >>
> >>
> >> 3 error msgs so far:
> >>
> >> Job 'File resource clean up' failed
> >> Message: could not execute statement; SQL [n/a]; constraint
> >> [fk_document_fileresourceid]; nested exception is
> >> org.hibernate.exception.ConstraintViolationException: could not
> >> execute statement
> >>
> >> Cause: org.hibernate.exception.ConstraintViolationException: could not
> >> execute statement
> >>
> >> at
> >> org.hibernate.exception.internal.SQLStateConversionDelegate.convert(
> SQLStateConversionDelegate.java:112)
> >>
> >> The error message continues with many exceptions down the line.
> >>
> >> Job 'Dataset notification' failed
> >>
> >> Job 'Data statistics' failed
> >>
> >> Any insight much appreciated.
> >> Thanks!
> >> >
> >> >
> >>
> >> Sent from my iPhone
> >>
> >> ___
> >> 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
> >
> >
> >
> >
> > --
> > Stian Sandvold
> > Software developer, DHIS2
> > University of Oslo
> > http://www.dhis2.org
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Tracker Capture User roles

2018-05-16 Thread Alex Tumwesigye
Hi Prosper,
They dont work.
I did setup one and tried to get authorities from old versions. But it does
not work.
Alex

On Wednesday, May 16, 2018, Prosper BT <ptb3...@gmail.com> wrote:

> Dear Carlos,
>
> Did you add the authority "Add/update tracked entity data value" you can
> also check the online demo of all authorities assigned to a tracker capture
> role
>
> https://play.dhis2.org/2.29/dhis-web-maintenance-user/
> showUpdateRoleForm.action?id=1150443
>
> Regards
>
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation Adviser| HISP Uganda
> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 16, 2018 at 1:21 AM, Carlos Nyembwe <nyem...@gmail.com> wrote:
>
>> Hi All,
>>
>> I set up a tracker program but, I don't know exactly which user roles is
>> usefull for tracker capture.
>>
>> I tried many but, Look the message I get:
>>
>>
>>
>>
>>
>> What can I put as user roles?
>>
>> Regards
>>
>> Carlos
>> DRC
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381*
>> *Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | 
>> **Linkedin
>> <http://www.linkedin.com/in/carloscnk> | Facebook
>> <https://www.facebook.com/carloscnksys> | Twitter
>> <https://twitter.com/Carlos_CNK> |*
>>
>> ___
>> 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
>>
>>
>

-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] structuring tracker data elements

2018-05-14 Thread Alex Tumwesigye
Hi Bret,

Tracker will do that. But for those special cases you listed here, you may
consider using a custom form liked to some metadata (sysmptoms, types of
poison, etc) defined in datastore.
Alex

On Monday, May 14, 2018, Bret Watson <b...@ticm.com> wrote:

> Hi All,
> We are hoping to use DHIS2 to collect and report on data from poison
> information centres..
>
> I'm guessing a lot fo these questions are answered in level one or
> above academies, but I'm in Australia and getting to the academies is
> pretty hard..
>
> __
>
> Tracker seems to be the best option as we want to collect
> dis-aggregated data that is connected to a case - I plan to use the
> Case as the identifier rather than the patient, as the patient details
> are not necessarily being collected in a consistent manner, but I have
> a robust case ID against each case.
>
> The challenge I have is in the details :)
>
> Enrolling a case seems logical, things like patient details, location
> of exposure, exposure details are all one time data elements, which
> might be corrected during a case, but are not going to need to be seen
>  independently.
>
> The fun part starts in two areas
> 1. A case can consist of 1 or more contacts between the Poison
> Information Centre (PIC) and other parties - each contact would record
> the caller details and location - this seems like something I can
> record as part of the "program" against the case. Is this reasonable?
>
> 2. The Symptoms and treatment for a case may be added or modified
> during the case, so might be tied to the contact form, but the
> symptoms and treatment are very long lists and may contain one or more
> items from each list  - should I keep these as lots of data boolean
> data elements, or as DEs with options?
>
> 3. The poisoning substance can be one or more "brand names" eg.
> panadol osteo, which actually consist of one or more "Centre
> Substances" - that is the actual toxic substance - I have no real idea
> how to record these against the program - help?
>
> ___
> 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
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Analytics Failure

2018-03-20 Thread Alex Tumwesigye
Check your database connection.
The web application may be failing to connecy to db.

Alex

On Tuesday, March 20, 2018, Barnabas Akumba <akumbaba...@gmail.com> wrote:

> Hello All,
>
> I've been receiving an Analytics Failure message on my DHIS2 Instance
> (version 2.27) for some days now.
> I've been looking through the Error message to try and figure out what the
> issue could be but can't pin-point it.
> Any one with a solution to this problem?
> See Error message below:
>
> Time: 2018-03-20T01:32:49.598Z
> Message: Exception during execution
>
> Cause: java.util.concurrent.ExecutionException: org.springframework.
> transaction.CannotCreateTransactionException: Could not open Hibernate
> Session for transaction; nested exception is org.hibernate.exception.
> GenericJDBCException: Unable to acquire JDBC Connection
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(
> ConcurrentUtils.java:53)
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.p
> opulateTables(DefaultAnalyticsTableService.java:210)
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.update(
> DefaultAnalyticsTableService.java:132)
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator
> .generateTables(DefaultAnalyticsTableGenerator.java:112)
> at org.hisp.dhis.analytics.table.scheduling.AnalyticsTableTask.
> call(AnalyticsTableTask.java:68)
> at org.hisp.dhis.security.NoSecurityContextRunnable.run(NoSecur
> ityContextRunnable.java:47)
> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
> at org.springframework.scheduling.support.DelegatingErrorHandlingRunnabl
> e.run(DelegatingErrorHandlingRunnable.java:54)
> at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(
> ReschedulingRunnable.java:81)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFu
> tureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFu
> tureTask.run(ScheduledThreadPoolExecutor.java:293)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.springframework.transaction.CannotCreateTransactionException:
> Could not open Hibernate Session for transaction; nested exception is
> org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC
> Connection
> at org.springframework.orm.hibernate5.HibernateTransactionManager.doBegin(
> HibernateTransactionManager.java:542)
> at org.springframework.transaction.support.AbstractPlatformTransactionMan
> ager.getTransaction(AbstractPlatformTransactionManager.java:373)
> at org.springframework.transaction.interceptor.TransactionAspectSupport.
> createTransactionIfNecessary(TransactionAspectSupport.java:447)
> at org.springframework.transaction.interceptor.TransactionAspectSupport.
> invokeWithinTransaction(TransactionAspectSupport.java:277)
> at org.springframework.transaction.interceptor.TransactionInter
> ceptor.invoke(TransactionInterceptor.java:96)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(
> ExposeInvocationInterceptor.java:92)
> at org.springframework.aop.
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Using population accross health programs

2018-03-18 Thread Alex Tumwesigye
Hi Diao,

Create an indicator using your annual data element and tick Annualized on
the indicator. Go to the pivot and choose monthly period, it should work.

Alex

On Sunday, March 18, 2018, Mamadou Diao Diallo <diao_dia...@gn.jsi.com>
wrote:

> Hi Community,
> I have a problem using population accross health programs,
>
> In fact we are collecting population annualy in a separate form, but a
> specific health program would like to see the population in their monthly
> report.
> I don't want to let them collect it monthly.
>
> Is there a technical solution to show this annual population in a monthly
> report?
> When I call the dataElement the real value is not coming.
>
> Do you have any advices about it?
>
> Hope it's clear.
>
> Thanks in advance.
>
> Diao
>
> --
> *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
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Substract Days in program Rules

2018-03-18 Thread Alex Tumwesigye
Add negative days

Alex

On Sunday, March 18, 2018, DJIBRIL Hakim <djib.ha...@gmail.com> wrote:

> Hi,
> PLEASE how to do a substract Days from a date in program Rule, The
> resultat must be a date of course , I saw in documentation a D2:addDays()
> function. is there another for substractDays. if not what is the work
> around.
> Best.
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Question on "Orgasation unit is closed for the selected period"

2018-02-28 Thread Alex Tumwesigye
Hi Perez,

Edit the opening date on the organisation unit to an earlier date or remove
the closing date if it exists.

Alex

On Wednesday, February 28, 2018, Alison Perez <perez.ali...@gmail.com>
wrote:

> Hi DHIS2 community,
>
> I just wanted seek advice on this warning message I keep on receiving
> under Data Entry. If the period is set to 2019, the form allows data entry
> on the form fields. If it is set 2018 and below, it disables the boxes and
> display the warning message "Organisation Unitis is closed for the selected
> period".
>
> Thank you very much.
>
> [image: Inline image 1]
>
> --
> Alison O. Perez
>
> Linkedin Profile: ph.linkedin.com/pub/alison-perez/56/44/a65/
> Website: http://zerepa.net
> Skype / IM: darth_ali
>
> "Daring ideas are like chessmen moved forward; they may be beaten, but
> they
> may start a winning game." -- Johann Wolfgang Goethe*
>
>
>

-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Fast/bulk delete of events

2018-01-24 Thread Alex Tumwesigye
Hi,
The easier way is to use the api/events endpoint and query for events uids
you want to delete. Once you have them, you can send http delete method via
curl or nodejs or python or php,etc and loop through each to delete them
via api/events/uid.

Alex

On Wednesday, January 24, 2018, Petar Jovanovic <pe...@essi.upc.edu> wrote:

> Hi,
>
> We want to quickly (in groups) delete events related to a specific program
> and/or to a specific org unit (or list of org units). In DHIS2, we only
> managed to go one by one in the event capture app.
>
> Can anyone recommend us any other convenient and faster way to do this, or
> if you are aware of an app that may help us?
>
> We have also checked if it is possible to do it through the database, but
> we did not find easy to locate the table where the event data are stored
> and it is safe to delete them without loosing references to other objects.
>
>
> Thank you!
>
>
> Best,
> Petar
>
> --
> _
> Petar Jovanovic
> Department of Service and Information System Engineering (ESSI)
> Universitat Politècnica de Catalunya, BarcelonaTech
> Barcelona, Spain
> _ http://www.essi.upc.edu/~petar/ ___
>
>
> ___
> 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  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [HISPUg] Passing on of DHIS2 Community Member (Solomon Kugonza)

2018-01-01 Thread Alex Tumwesigye
We have lost a friend
RIP Solomon.

Alex

On Tuesday, January 2, 2018, Pamod Amarakoon <pam...@gmail.com> wrote:

> Sad news indeed. May he rest in peace !
>
> On Tue, Jan 2, 2018 at 12:12 PM, Seth Okeyo <sok...@dndi.org> wrote:
>
>> that's sad news.
>> rest in peace Solomon and may God give his family peace and courage at
>> this time. poleni sana sana.
>>
>> Seth
>> Dndi Africa- Nairobi Kenya
>>
>> On 2 Jan 2018 9:35 am, Prosper BT <ptb3...@gmail.com> wrote:
>>
>> Dear DHIS2 Community,
>>
>>
>>
>> It is with greatest sadness that we share the heart-breaking news of the
>> death of our colleague, friend, workmate and active fellow DHIS2 community
>> member.
>>
>>
>>
>> Solomon Kugonza Kununka died on 31st December 2017 and will be laid to
>> rest on 4th January 2018 in Masindi District Uganda.
>>
>>
>>
>> Solomon has been part of the HISP Uganda DHIS2 experts supporting DATIM
>> implementations working closely with the Analytics Improvement team. He
>> worked with PEPFAR reporting in Rwanda, PEPFAR-MoH Uganda data exchange and
>> DATIM4U among the greater achievements behind his name.
>>
>>
>>
>> He will be greatly missed by his young family (a widow and his 4 lovely
>> children), HISPers and DHIS2 community.
>>
>>
>> [image: Inline image 1]
>>
>>
>>
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda
>> pros...@hispuganda.org <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
>>
>>
>
>
> --
> Regards,
> Dr. Pamod Amarakoon
> MBBS (SL)
> MSc (Biomedical Informatics), EMSc (Health Admin), PGCert (MedEd), CEH
> Medical Officer in Health Informatics
> Nutrition Coordination Division
> Ministry of Health, Nutrition and Indigenous Medicine,
> Sri Lanka
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
> --
> Regards, HISPUg
> ---
> You received this message because you are subscribed to the Google Groups
> "HISP UGANDA" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hispug+unsubscr...@googlegroups.com.
> To post to this group, send email to his...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/hispug/CAPtcyZozxY86Aaz9Z67gNfFaPg5c_Z-%3DW4cNRfma0a%2BJyyq1ew%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/hispug/CAPtcyZozxY86Aaz9Z67gNfFaPg5c_Z-%3DW4cNRfma0a%2BJyyq1ew%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] DataSet having Period Type 'Daily'

2017-11-15 Thread Alex Tumwesigye
Hi Rabbia,

Consider modelling it in tracker as a program without registration.

Alex

On Wednesday, November 15, 2017, <rab...@pace-tech.com> wrote:

> Hello,
> thank you for your time and response.Now i am able to save my dataset on
> daily basis but just one time a day.
> My dataset is actually a training form,, so it is possible to conduct
> multiple trainings on same day.So is it possible to save same dataset
> multiple time for same or different organisation unit on same date.
> Regards: Rabbia
>
>
>
>
>
>
>
>
>
> On 2017-11-13 14:05, Knut Staring wrote:
>
>> For daily, and possibly weekly, it does make sense to be able to enter
>> data before midnight of the last day, so possibly there should be a
>> JIRA issue to change the default setting.
>>
>> Knut
>>
>> On Mon, Nov 13, 2017 at 9:38 AM, Knut Staring <knu...@gmail.com>
>> wrote:
>>
>> It may be easier if we all look at the online demo:
>>>
>>> I just created a new data set called "Daily test" and assigned it to
>>> the root (Sierra Leone) and to one of the user roles of the admin
>>> user:
>>>
>>> https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/data
>> SetSection/dataSet/zi7vb2QKvg9
>>
>>> [1]
>>>
>>> I left the "Open future periods for data entry" settings at zero
>>> https://docs.dhis2.org/2.22/en/user/html/ch06.html [2]
>>>
>>> Now when I go to data entry, the dates are displayed from yesterday
>>> backwards, and dont include today.
>>> https://play.dhis2.org/demo/dhis-web-dataentry/index.action [3]
>>>
>>> This comes from the fact that you usually only enter monthly data
>>> for September after the month is over. It is a bit counterintuitive
>>> when you are talking about one day.But you can change that setting
>>> from 0 to 1.
>>>
>>> Regards,
>>> Knut
>>>
>>> On Mon, Nov 13, 2017 at 8:46 AM, <rab...@pace-tech.com> wrote:
>>> can you guide me what kind of settings i need to change.
>>>
>>> Rabbia Naz
>>>
>>> On 2017-11-13 12:17, Knut Staring wrote:
>>>
>>> Not sure, but perhaps you need to change the setting "Open future
>>> periods for data entry"
>>>
>>> Knut
>>>
>>> On Mon, Nov 13, 2017 at 7:17 AM, <rab...@pace-tech.com> wrote:
>>>
>>> hello,
>>>
>>> Actually, it is a training form that save the information of
>>> participants and the facilitator, and i am using the
>>> web API to save this data set whose period type is "Daily". when i
>>> am try to save the data set with the current date as the period it
>>> gave me an error "period is not valid". kindly guide me with this.
>>> Regards,
>>> Rabbia Naz
>>>
>>> On 2017-11-10 18:18, Knut Staring wrote:
>>> Hi there, please open your browser console (Developer Tools) and
>>> look
>>> for errors and report them here.
>>>
>>> Regards,
>>> Knut
>>>
>>> On Fri, Nov 10, 2017 at 2:12 PM, <rab...@pace-tech.com> wrote:
>>>
>>> hello,
>>>
>>> I am having a problem to save dataset having period type
>>> "Daily". Kindly tell me how can i save it?
>>> Thank You.
>>>
>>> Regards:
>>> Rabbia Naz
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users [4] [1] [1]
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users [4] [1] [1]
>>> More help : https://help.launchpad.net/ListHelp [5] [2] [2]
>>>
>>> --
>>>
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522 [6] [3]
>>>
>>> Skype: knutstar
>>> http://dhis2.org [7] [4] [3]
>>>
>>> Links:
>>> --
>>> [1] https://launchpad.net/~dhis2-users [4] [1]
>>> [2] https://help.launchpad.net/ListHelp [5] [2]
>>> [3] http://dhis2.org [7] [4]
>>>
>>> --
>>>
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522 [6]
>>>
>>> Skype: knutstar
>>> http://dhis2.org [7] [4]
>>>
>>> Links:
>>> --
>>> [1] https://launchpad.net/~dhis2-users [4]
>>> [2] https://help.launchpad.net/ListHelp [5]
>>> [3] tel

Re: [Dhis2-users] Issue with empty analytics for certain data elements after upgrade to 2.26

2017-10-16 Thread Alex Tumwesigye
Hi Robinson,

>From data administration,go maintainance and clear analytics. Then re-run
after running the resource tables. I might help.

Alex

On Monday, October 16, 2017, Edward Robinson <erobin...@projectbalance.com>
wrote:

> Just bumping this in case anyone has insight.
>
> After closer inspection, it seems there are approximately 426 of 674 data
> elements not being included in the analytics table after an apparently
> successful analytics run.  The data appears in the data tables and in the
> UI via the forms and looks fine but does not end up in the Analytics
> tables.  My next step is to begin with the 2.16 version DB and upgrade step
> at a time, run analytics and check the output until I find out which step
> the issue first shows up at.
>
>
>
> Regards
>
> Ed
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+erobinson
> <javascript:_e(%7B%7D,'cvml','dhis2-users-bounces%2Berobinson');>=
> projectbalance@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','projectbalance@lists.launchpad.net');>] *On
> Behalf Of *Edward Robinson
> *Sent:* Friday, 13 October 2017 2:17 PM
> *To:* DHIS 2 Users list <dhis2-users@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-users@lists.launchpad.net');>>
> *Subject:* [Dhis2-users] Issue with empty analytics for certain data
> elements after upgrade to 2.26
>
>
>
> As mentioned a few times in this forum, we recently upgraded a national
> level installation from 2.16 to 2.26 and have had a few minor issues that
> we have managed to resolve easily.  One issue that I’m struggling a little
> with is certain data elements are no longer being aggregated and included
> in the analytics table.  A look at the analytics log doesn’t appear to
> yield any clues.  It appears the issue is with a particular group of
> elements – all Lab tests (though there are over 1000 elements in total so I
> haven’t confirmed all).
>
> The element structure seems good.  There are no aggregation levels
> selected at the bottom of the element config page – this is as it was prior
> to the upgrade and other elements with the same configuration are working,
> so I assume this isn’t related to the issue.
>
> I’m about to do some low level comparisons at the table level to see if
> there’s anything obviously amiss though as you probably know, this could be
> difficult given structural changes at the table level.
>
>
>
> I have two main questions
>
>1. Is there something obvious I am missing and should be checking first
>2. For general troubleshooting, what would others suggest?
>
>
>
> Thanks!
>
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Calculation of Months of stock challenge

2017-09-23 Thread Alex Tumwesigye
Hello Peter,

Use a program rule with assign value if you are using tracker or an
indicator if you are using the aggregate. Is this logistics use case?

Alex

On Saturday, September 23, 2017, Peter D Lubambi <pluba...@gmail.com> wrote:

> Dear Team,
> Any idea on this?
> Regards,
>
> Peter Dotto Lubambi,
> Skype: plubambi
> Mobile: +255 786 087 087
>
> On Wed, Sep 13, 2017 at 1:17 PM, Peter D Lubambi <pluba...@gmail.com
> <javascript:_e(%7B%7D,'cvml','pluba...@gmail.com');>> wrote:
>
>> Dear All,
>> Has any one done something around calculating months of stock (MOS) for
>> each reporting entity.
>> I am having challenge calculating MOS indicator which is calculated as
>>
>> Stock on hand (reported monthly) / average monthly consumption (entered
>> annually - constant throughout months in the year)
>>
>>
>>- The Average monthly consumption (AMC) is constant throughout the
>>year, so i set the data set for entering AMC data annual
>>- Can not apply annualized indicator, as this different from target
>>which can be distributed in the 12 months
>>
>> Any quick guidance will be very much appreciated
>> Regards,
>>
>> Peter Dotto Lubambi,
>> Skype: plubambi
>> Mobile: +255 786 087 087 <0786%20087%20087>
>>
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Event favourites not loading

2017-09-11 Thread Alex Tumwesigye
Hi Timothy,

Im facing the same issue on 2.26. Some eventreportplugin is not defined.

Alex

On Friday, September 8, 2017, Timothy Kiyemba <tkiye...@gmail.com> wrote:

> Dear Prosper,
>
> I am using DHIS2 2.26 version 2090607. The one released on 7th September
> 2017. I have not yet upgraded to 2.27. Perhaps I should consider an
> upgrade. How stable is it now?
>
> Kind regards
>
> Timothy
>
> On Fri, Sep 8, 2017 at 1:04 PM, Prosper BT <ptb3...@gmail.com
> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');>> wrote:
>
>> Dear Timothy,
>>
>> What version are you running? We experienced the same at one point but
>> because we keep upgrading to the latest build of 2.27, it was later no
>> more. I cant remember the exact build number.
>>
>> But try upgrading to the latest build and see.
>>
>> Regards
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda
>> pros...@hispuganda.org
>> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');> | pros...@dhis2.org
>> <javascript:_e(%7B%7D,'cvml','pros...@dhis2.org');> | Skype: prospertb
>>
>> On Thu, Sep 7, 2017 at 8:55 PM, Timothy Kiyemba <tkiye...@gmail.com
>> <javascript:_e(%7B%7D,'cvml','tkiye...@gmail.com');>> wrote:
>>
>>> Anyone faced this challenge before? Please help
>>>
>>> On Thu, Sep 7, 2017 at 11:45 AM, Timothy Kiyemba <tkiye...@gmail.com
>>> <javascript:_e(%7B%7D,'cvml','tkiye...@gmail.com');>> wrote:
>>>
>>>> Dear all,
>>>>
>>>> Anyone faced this challenge before, none of my events reports can be
>>>> loaded on the dashboard. I get this error message and the favourites never
>>>> loads.
>>>>
>>>> Please help
>>>>
>>>> Timothy
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> <javascript:_e(%7B%7D,'cvml','dhis2-users@lists.launchpad.net');>
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Regarding Program Notifications in Language other than English.

2017-08-30 Thread Alex Tumwesigye
Hi Sourabh,
We reported this issue of adding % to text.Its not a sms gateway issue.

Hope it will be fixed soon.

Alex

On Wednesday, August 30, 2017, Sourabh Bhardwaj <bsourabh...@gmail.com>
wrote:

> Hi Gaurav,
>
> Gateway Actually supports Unicode format , If we are sending message
> directly using http request provides by gateway  , it is working fine
> there.
>
> Thanks for the reply.
>
> On 30-Aug-2017 1:51 PM, "Gaurav Kumar" <gkumar@
> internationalmedicalcorps.org
> <javascript:_e(%7B%7D,'cvml','gku...@internationalmedicalcorps.org');>>
> wrote:
>
> Hi Sourabh,
>
>
>
> I don’t think DHIS2 is at fault here, it should be the SMS gateway that
> should handle the decoding of the message string. You will also need to
> consider the charset of the outgoing text and parameterize it to the
> gateway (most gateways will default to UTF-8 encoding, unless specified
> otherwise).
>
>
>
> I would advise you to refer the SMS gateway documentation to sort out the
> details.
>
>
>
> Hope this helps.
>
>
>
> Regards,
>
> GAURAV
>
>
>
>
>
> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+gkumar
> <javascript:_e(%7B%7D,'cvml','dhis2-devs-bounces%2Bgkumar');>=
> internationalmedicalcorps@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','internationalmedicalcorps@lists.launchpad.net');>]
> *On Behalf Of *Sourabh Bhardwaj
> *Sent:* Wednesday, August 30, 2017 11:26 AM
> *To:* dhis2-devs <dhis2-d...@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-d...@lists.launchpad.net');>>
> *Cc:* dhis2-users <dhis2-users@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-users@lists.launchpad.net');>>
> *Subject:* [Dhis2-devs] Regarding Program Notifications in Language other
> than English.
>
>
>
> Hi All,
>
>
>
> Has anyone used the Program Notifications for any regional language.
>
>
>
> We have a Use case to send program notifications in Hindi , The gateway we
> are using supports Unicode sms service. But if we are trying to send same
> Text from Dhis2 it converts it to special characters.
>
>
>
> i.e: Unicode for नमस्ते:  %26%232344%3B%26%232350%3B%26
> %232360%3B%26%232381%3B%26%232340%3B%26%232375%3B
>
>
>
> Have tried with both normal Hindi text and Unicode Text. Both are not
> currently supported. Using version 2.26 , build revision 44ec074.
>
>
>
> Please share your experience.
>
>
>
> Thanks in advance.
>
> Sourabh Bhardwaj
>
> Hisp India
>
>
>
>
>
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Setting "zeroissignificant" column from csv file import does not work -- DHIS2 2.25

2017-05-25 Thread Alex Tumwesigye
Dear Raminosoa,

U can update the dataelement table directly and set the zeroissignificant
to true for all after update for dataelement created that day. Then go to
data administration->maintenance and the clear application cache.
That works too.
Sql script looks like

Update dataelement set zeroissignificant = true where created::date
='2017-05-25'

Note that the created helps not to update all dataelements, you can choose
any other filter e.g a starting string.

Alex


On Thursday, May 25, 2017, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Dear DHIS2 community,
>
>
> When doing data elements upload from csv file (both add new or edit
> existing) we are using the following csv file structure:
>
>
> *Name, uid, code, shortname, description, formname, domaintype, valuetype,
> aggregationtype, **zeroissignificant*
>
>
> The last field is set to *true* for numeric data element as we would like
> to store zero data values. As shown in the image below, the checkbox still
> has to be checked manually.
>
>
> Is there some step that I am missing, or should I use another syntax for
> this last column. I have to update hundreds of data elements.
>
>
> Your suggestions are welcome!
>
>
> Regards,
>
>
> Tantely.
>
>
>
> ​
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Error creation new stage on 2.26

2017-05-16 Thread Alex Tumwesigye
Dear Pepe,

Go to the Program Stage and tick repeatable so that it allows you to enter
more than one event.

Alex

On Tue, May 16, 2017 at 1:37 AM, Pepe Ken Mvulu <pepeken...@gmail.com>
wrote:

> Hi Markus,
>
> Thank you for your prompt response. The program I used involves 8 steps.
> For this example, the TEI is in the 5th step. When I click on the
> "Scheduled New" to add the stage 6, I have this screen (in appendix). Now,
> when I select the 6th stage and click on "Save", the error message appears.
>
>
>
> In principle if all the stages exist, the system signals it through the
> following message (Error : All the expected events are already present,
> cannot create more events.)
>
> Regards !
>
>
>
>
>
>
>
>
>
>
>
> *De :* Markus Bekken [mailto:mar...@dhis2.org]
> *Envoyé :* lundi 15 mai 2017 21:34
> *À :* Pepe Ken Mvulu
> *Cc :* DHIS 2 Developers list; DHIS 2 Users list
> *Objet :* Re: [Dhis2-devs] Error creation new stage on 2.26
>
>
>
> Hi There Pepe,
>
> Are you able to reproduce this issue on the demo server?
> https://play.dhis2.org/demo/
>
>
>
> How are you adding the event? The error message you are getting seems to
> indicate that you are trying to create more than one event in
> non-repeatable program stage. This should not be possible in the Tracker
> Capture user Interface, as the Tracker should make sure only one event is
> added in non-repeatable program stages.
>
>
>
> Markus
>
>
>
>
>
> 15. mai 2017 kl. 23.23 skrev Pepe Ken Mvulu <pepeken...@gmail.com>:
>
>
>
> Hi Dev team,
>
> I use version 2.26 of the DHIS2. Build 1c9a347
>
> I use a Tracker program with multiple events. When I want to add a new
> "Stage", I get this error message.
>
> Error
>
> Error in event creation
> One more conflicts encountered, please check import summary.
>
> Response from the server.
>
> [{"responseType":"ImportSummary","status":"ERROR","importOptions":{"
> idSchemes":{},"dryRun":false,"async":false,"importStrategy":
> "CREATE","mergeMode":"REPLACE","skipExistingCheck":false,"sharing":false,"
> skipNotifications":false,"datasetAllowsPeriods":false,"
> strictPeriods":false,"strictCategoryOptionCombos":false,"
> strictAttributeOptionCombos":false,"strictOrganisationUnits":false,"
> requireCategoryOptionCombo":false,"requireAttributeOptionCombo":false},"description":"Program
> stage is not repeatable and an event already exists","importCount":{"
> imported":0,"updated":0,"ignored":1,"deleted":0}}]
>
> Does anyone have an idea to help?
>
> Regards
>
>
>
> Pepe Ken Mvulu
> Responsable M
> Programme Village Assaini
> Direction de l'Hygiène
> Ministère de la Santé Publique/RDC
> Tél: +243 811515878 <+243%20811%20515%20878>
> Skype: pepe.ken.mvulu
>
> ___
> 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
>
>
>
> ___
> 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  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] User Authorities and Dashboards

2017-05-03 Thread Alex Tumwesigye
Dear Georgi,

The solution is Sharing and User Groups

Implement the same sharing on each report/chart/gis map as you did on the
dashboard.
That is Set Public to *None *and then add the Investor User Group (which is
has access) and set sharing to *View*

*Alex*

On Wed, May 3, 2017 at 7:27 PM, Georgi Chakarov <geo...@logicaloutcomes.net>
wrote:

> Hello all,
>
>
>
> I have a big problem setting up the correct authorities so that users see
> what I need them to.
>
> In brief, I am reporting on financial data. I have a few investors for
> whom I have prepared personal dashboards with pivots on how much return
> they have earned. I DO NOT want investors to be able to see each other’s
> data.
>
>
>
> This is what I have done:
>
> 1)  User Authorities:
>
> -  See dashboards
>
> -  See browser cache
>
> -  See pivot table module
>
> *IMPORTANT:* If I remove the “See pivot table module” the users are not
> able to see the saved pivot tables on their dashboard! So I need this
> authority.
>
>
>
> 2)  Dashboards
>
> -  Created personal dashboard for each investor
>
> -  Shared the dashboard only with the respective investor
>
>
>
> Every investor is able to see only their dashboard. Here comes the *BIG
> PROBLEM: *When an investor clicks “Explore” pivot table from the
> dashboard it takes him to the Pivot table app. From there, they can go to
> Favorites and open a saved report for any of the other investors and see
> data.
>
>
>
> Two questions here:
>
> 1)  Is there a way for user to see pivots on a dashboard without
> necessarily having access to the Pivot reporting module?
>
> 2)  If not, is there a way to restrict user of opening reports saved
> as favorites in the Pivot reporting module?
>
>
>
>
>
> Your comments are highly appreciated!
>
> Georgi
>
>
>
>
>
>
>
>
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-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* <i...@logicaloutcomes.net>
>
>
>
> _______
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] DHIS 2 tracker 2.25 only storing attributes

2017-04-11 Thread Alex Tumwesigye
Bridget,
Is analytics running properly?

Also check your optionsets and options.


Alex

On Monday, April 10, 2017, Bridget Magoba <bridgetmag...@mifumi.org> wrote:

> Dear all,frf 43rd eddd3
>
> Am running DHIS2 Tracker 2.25 but when I enter test data in both
> attributes and data elements, only data for attributes is stored.
>
>
>
> What could be the problem?
>
>
>
> Am also using DHIS2 mobile application but data synchronized to the server
> cannot be reflected on the web/event reports. What could be the problem?
>
>
>
> Thanks
>
>
>
> Magoba Bridget
>
> Database Manager
>
> MIFUMI
>
> Mobile: +256 774659892
>
> Tel: +256 414666946/392174242
>
> P.O Box 274, Tororo
>
> Plot 13, Martyrs’ Drive, Ntinda
>
> Kampala
>
> www.mifumi.org
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Organisational Unit Merge Function in Build 2.24

2017-01-21 Thread Alex Tumwesigye
Barnabas,
This feature was dropped.
Look at github, there are scripts you can use to achieve that.

Alex

On Saturday, January 21, 2017, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hello All,
>
> We have just updated our instance to the 2.24 build with the hope of
> getting the Merge Organisational Unit function which was removed in 2.22
> and 2.23 but not sure of where to locate it in the 2.24 build.
> The feature is very useful for merging duplicate organisational units
> (Facilities).
>
> Can any one help?
>
> Regards
>
> --
>
> Barnabas AKUMBA
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Tutorial: Create a scorecard in the Pivot Table app

2016-12-21 Thread Alex Tumwesigye
Dear Rachael,

Thanks for sharing this.

However, from our experience in Uganda, there are scenarios where indicator
max and min values are reversed e.g maternal deaths (Low values =red and
HIGH values = Green) and in some cases like C-Section indicator ( 0-5 & >15
represents Red and 5-15 = green), do you know how this can be included in
the scorecard using legends and pivot tables?


Thanks.

Alex



On Tuesday, December 20, 2016, Rachael Brooke <rach...@dhis2.org> wrote:

> Hi,
>
> In just a few steps, learn how to create a scorecard in the Pivot Table
> app. This is handy as it means you can share a scorecard on your
> DHIS2 dashboard and use it offline. It's straightforward to do!
>
> Read the tutorial here: https://ci.dhis2.org/…/ma…/en/user/html/dhis2_
> tutorials.html
> <https://ci.dhis2.org/docs/master/en/user/html/dhis2_tutorials.html>
>
> [image: Inline image 1]
>
>
> *Feedback welcome :-)*
>
> *DHIS2 Content Team*
> rach...@dhis2.org <javascript:_e(%7B%7D,'cvml','rach...@dhis2.org');>
> ceci...@dhis2.org <javascript:_e(%7B%7D,'cvml','ceci...@dhis2.org');>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Program Indicator calculations, Converting Dates in Months or Years

2016-11-04 Thread Alex Tumwesigye
Dear Andrew,

You can use (V{current_date} - A{Date of Birth UID})/30 to estimate months
or (V{current_date} - A{Date of Birth UID})/365 to get estimate years.

Alex

On Fri, Nov 4, 2016 at 3:06 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Dear Andrew,
>
> You can use (current_date - Date of Birth)/30 to estimate months or
> (current_date - Date of Birth)/365 to get estimate years.
>
> Alex
>
> On Fri, Nov 4, 2016 at 2:52 PM, Lars Helge Øverland <l...@dhis2.org>
> wrote:
>
>> Hi Andrew,
>>
>> how are you doing? First of all, would you mind asking this on the dev
>> list? There are more people who can help you there.
>>
>> Also it would be good if you could elaborate a bit about what you need to
>> do regarding date conversion. Is the problem that you are asking
>> beneficiaries about their age in months, and that you later would like to
>> do aggregation based on months/quarters in dhis analytics apps?
>>
>> best regards,
>>
>> Lars
>>
>>
>>
>>
>>
>> On Fri, Oct 28, 2016 at 12:22 PM, Muhire Andrew <muhireand...@yahoo.com>
>> wrote:
>>
>>> Dear All,
>>>
>>> We are developing the case based nutrition system [Using DHIS2] that is
>>> targeting to track Pregnant Women, Lactating and Children under 2years.What
>>> we are tracking is Attributes and tracker variables like Date of Birth,
>>> hight, weight, LMP Date and We would like to Display on our program
>>> dashboard the indicators like BMI, Height for Age, Weight for Age and also
>>> expected deliveries using the LMP dates which is our data element that is
>>> set to date type.
>>>
>>> Is there anyone who knows how to convert the dates into Months or years
>>> without use of coding, i mean during the calculation of Program indicators?
>>> . We also need users to enter the date of Birth of a Baby or Mother and the
>>> system popup the Age in months or Years.
>>>
>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://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
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET  | HISP Uganda
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information Systems
> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Program Indicator calculations, Converting Dates in Months or Years

2016-11-04 Thread Alex Tumwesigye
Dear Andrew,

You can use (current_date - Date of Birth)/30 to estimate months or
(current_date - Date of Birth)/365 to get estimate years.

Alex

On Fri, Nov 4, 2016 at 2:52 PM, Lars Helge Øverland <l...@dhis2.org> wrote:

> Hi Andrew,
>
> how are you doing? First of all, would you mind asking this on the dev
> list? There are more people who can help you there.
>
> Also it would be good if you could elaborate a bit about what you need to
> do regarding date conversion. Is the problem that you are asking
> beneficiaries about their age in months, and that you later would like to
> do aggregation based on months/quarters in dhis analytics apps?
>
> best regards,
>
> Lars
>
>
>
>
>
> On Fri, Oct 28, 2016 at 12:22 PM, Muhire Andrew <muhireand...@yahoo.com>
> wrote:
>
>> Dear All,
>>
>> We are developing the case based nutrition system [Using DHIS2] that is
>> targeting to track Pregnant Women, Lactating and Children under 2years.What
>> we are tracking is Attributes and tracker variables like Date of Birth,
>> hight, weight, LMP Date and We would like to Display on our program
>> dashboard the indicators like BMI, Height for Age, Weight for Age and also
>> expected deliveries using the LMP dates which is our data element that is
>> set to date type.
>>
>> Is there anyone who knows how to convert the dates into Months or years
>> without use of coding, i mean during the calculation of Program indicators?
>> . We also need users to enter the date of Birth of a Baby or Mother and the
>> system popup the Age in months or Years.
>>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] UID issues when loading dataentry module or user management

2016-10-21 Thread Alex Tumwesigye
This was an issue in old versions. You need to replace all uids that begin
with a number.

Alex

On Thursday, October 20, 2016, Ocaya Stephen <stepho...@gmail.com> wrote:

> Dear All,
>
> You could have noted after upgrading DHIS2 from lower version to 2.24 or
> so, the organisationunits may not load when opening data entry module or
> user managerment so you can't attach any user to any orgunit.
>
> We noted that the issue is brought about by a Token Error on uid. All the
> orgunits with uid starting with a number will cause this to fail in dhis2
> 2.24 or so. To resolve, we managed to write an SQL query to update the uids
> as below.
>
> UPDATE organisationunit SET uid = (
>  CASE
> WHEN (substring(uid FROM 1 FOR 1)) = '0'
> THEN 'o' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '1'
> THEN 'a' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '2'
> THEN 'b' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '3'
> THEN 'c' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '4'
> THEN 'd' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '5'
> THEN 'e' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '6'
> THEN 'f' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '7'
> THEN 'g' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '8'
> THEN 'h' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '9'
> THEN 'i' || substring(uid FROM 2)
> ELSE
> uid
> END
>   )
> WHERE uid ~ '^[0-9]';
>
> Replacing the starting number with a letter random.
>
> Hope this helps
>
> --
>
> *You can do anything, but not everything.*
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] dhis version 2.25 is released

2016-10-13 Thread Alex Tumwesigye
bility of the database read operation
>>> capacity. Each read replica must be specified in the dhis.conf
>>> configuration file.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_read_replica_configuration.html>
>>>
>>>
>>>
>>> WEB API FEATURES
>>>
>>> ---
>>>
>>> API versioning: The Web API is now versioned. The versioning is defined
>>> through the request URL with a version number. For example
>>> /api/25/dataElements will return version 25 of the data elements
>>> resource. If you omit the version part of the URL, the system will use the
>>> current API version. The last three versions of the API will be supported.
>>>
>>> Docs
>>> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_browsing_the_web_api.html#webapi_api_versions>
>>>
>>>
>>> Indicator analytics: The numerator, denominator and factor components
>>> of indicator values can be included separately in analytics responses by
>>> setting the includeNumDen parameter to true.
>>>
>>> Docs
>>> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_analytics.html#webapi_analytics_query_parameters>
>>>
>>>
>>> Translation in metadata export: Object translations can now be included
>>> in the metadata export payload by setting the translate parameter to
>>> true.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_export.html>
>>>
>>>
>>> Async metadata import: Metadata imports can now be performed
>>> asynchronously by setting the async parameter to true, which is useful
>>> for large metadata imports.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_import.html>
>>>
>>>
>>> Logical operators: You can now specify whether to use the AND or OR
>>> logical operators for filters while using the metadata export resources.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_object_filter.html#webapi_metadata_logical_operator>
>>>
>>>
>>>
>>>
>>> RELEASE INFO
>>>
>>> 
>>>
>>> You can download Live package, WAR file, sample data and source code
>>> here:
>>>
>>> https://www.dhis2.org/downloads
>>>
>>>
>>> You will find documentation and Javadocs here:
>>>
>>> https://www.dhis2.org/documentation
>>>
>>>
>>> You can read the upgrade notes and find upgrade script here:
>>>
>>> https://www.dhis2.org/225-upgrade
>>>
>>>
>>> You can find the *source code* on Github here:
>>>
>>> https://github.com/dhis2
>>>
>>>
>>> The demo application can be found here:
>>>
>>> https://play.dhis2.org/demo
>>>
>>>
>>> Full list of features can be found at the Launchpad page:
>>>
>>> https://launchpad.net/dhis2/+milestone/2.25
>>>
>>>
>>> Instructions for signing up for the DHIS 2 mailing lists here:
>>>
>>> https://www.dhis2.org/contact
>>>
>>>
>>>
>>> TESTIMONIALS
>>> ---
>>>
>>> Thanks goes to EyeSeeTea <http://eyeseetea.com/> for contribution to
>>> this release.
>>>
>>>
>>>
>>>
>>> best regards,
>>>
>>>
>>> the DHIS 2 development team
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] custom form in Tracker Capture

2016-10-12 Thread Alex Tumwesigye
Dear Channara,

See an example of building a custom form.

**
* $(document).ready(function(){*
* var scope = getScope('RegistrationController'); //Get scope from
registration controller*
* var orgUnitName = angular.element($("#orgUnitTree .selected")).text(); *
* if(scope.registrationMode === 'REGISTRATION'){*

* scope.$on('teienrolled',function(){*
* console.log("TEI enrolled");*
* });*
* }*
* if(scope.registrationMode === 'PROFILE'){*
* scope.$on('teiupdated',function(){*
* console.log("TEI updated");*
* });*
* } *
* //var myForm = document.querySelector('d2-custom-form');*
* //var $scope = angular.element(myForm).scope();*
* // control birth date and date of consultation*
* // Attribute Birth Date has a uid = A31FfrjPqyp*

* scope.$watch('selectedTei.A31FfrjPqyp',function(newDOBValue,oldDOBValue){*
* if(scope.interacted(scope.outerForm.A31FfrjPqyp) === true){*
* if(newDOBValue >= scope.selectedEnrollment.enrollmentDate){ *
* alert("Date of Birth should not be later than Date of Consultation,
correct the Date of Birth."); *
* scope.$applyAsync(function(){*
* scope.selectedTei.A31FfrjPqyp = ''; //Assign date to null*
* scope.outerForm.$dirty;*
* });*
* //angular.element($('[attributeid="A31FfrjPqyp"]')).focus().select(); *
* }*
* if(scope.selectedEnrollment.incidentDate <
scope.selectedTei.A31FfrjPqyp){ *
* alert("Date of onset of symptoms has to be later than or equal to Date of
Birth , correct the Date of Birth.");*
* scope.$applyAsync(function(){*
* scope.selectedTei.A31FfrjPqyp = '';  //Assign date to null*
* scope.outerForm.$dirty;*
* });*
* }*
* }*
* },true)*
* });*
**

Alex

On Sun, Oct 9, 2016 at 4:23 PM, channara rin <rin.chann...@gmail.com> wrote:

> Dear alex,
> thank you alot :-)
> But could you give example one attribute for me? i don't know how to use
> that script...
>
> On Thu, Oct 6, 2016 at 5:36 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Channara,
>>
>> Use angular $watch to watch the models changes.
>>
>>
>> Attribute model is $scope.selectedTei.uid
>> event model is $scope.currentEvent.uid
>>
>> For Jquery,
>> use $(selectedTei.uid).val("Your value").trigger('input');
>>
>> For angular,
>> This $scope.selectedTei.uid will pick your value, however, you will need
>> $watch to watch for changes.
>>
>>  Note uid is the dhis2 11 character identifier.
>>
>> Alex
>>
>> On Thu, Oct 6, 2016 at 12:47 PM, channara rin <rin.chann...@gmail.com>
>> wrote:
>>
>>> Dear all,
>>> do you know any jquery script for tracker capture custom form to catch
>>> require attributes fields and unique attribute field?
>>>
>>> for example, when i edit client's profile in tracker capture. if i do
>>> some things wrong format of attribute fields, when i click update/save. i
>>> didn't see any popup message what i did wrong. but when i look console. i
>>> saw error of jax to use "PUT" on 404 message.
>>>
>>> thank you
>>> channara
>>>
>>> ___
>>> 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  | HISP Uganda
>> Kampala
>> Uganda
>> +256 774149 775, + 256 759 800161
>> Skype ID: talexie
>>
>> IT Consultant (Servers, Networks and Security, Health Information Systems
>> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>>
>>
>> "I don't want to be anything other than what I have been - one tree hill "
>>
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] custom form in Tracker Capture

2016-10-06 Thread Alex Tumwesigye
Dear Channara,

Use angular $watch to watch the models changes.


Attribute model is $scope.selectedTei.uid
event model is $scope.currentEvent.uid

For Jquery,
use $(selectedTei.uid).val("Your value").trigger('input');

For angular,
This $scope.selectedTei.uid will pick your value, however, you will need
$watch to watch for changes.

 Note uid is the dhis2 11 character identifier.

Alex

On Thu, Oct 6, 2016 at 12:47 PM, channara rin <rin.chann...@gmail.com>
wrote:

> Dear all,
> do you know any jquery script for tracker capture custom form to catch
> require attributes fields and unique attribute field?
>
> for example, when i edit client's profile in tracker capture. if i do some
> things wrong format of attribute fields, when i click update/save. i didn't
> see any popup message what i did wrong. but when i look console. i saw
> error of jax to use "PUT" on 404 message.
>
> thank you
> channara
>
> ___
> 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  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


[Dhis2-users] Datasets for Approval in Reports Module are limited to 50 (page 1) due to the api query used

2016-10-06 Thread Alex Tumwesigye
Dear Devs,


Datasets for Approval in Reports Module are limited to 50 (page 1) due to
the api query used
"
*..api/dataSets.json?fields=id,displayName,periodType,workflow,categoryCombo[id,displayName]"*

This line needs to be changed to

".
*./api/dataSets.json?fields=id,displayName,periodType,workflow,categoryCombo[id,displayName]*
=false"

I have submitted the bug on the github.

Thanks.
-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Tacker villages

2016-09-14 Thread Alex Tumwesigye
Dear Lise,

You can create an attribute or data element of value type 'coordinate'.
This will allow  you to capture coordinates.

Alex

On Tue, Sep 13, 2016 at 5:35 PM, GROUT, Lise <gro...@who.int> wrote:

> Dear all,
>
>
>
> I am working on several Tracker programs, and we will be recording the
> village of origin.
>
>
>
> Tacker enables to captures coordinates, but they will be (most probably)
> different from one case to the other as it is designed to be able to map
> the exact location of the entity. And I know you can then use the new
> cluster  features in GIS.
>
>
>
> But I would like to aggregate the cases by villages of provenance. Having
> one free text box to indicate the village name is not useful for this. So I
> am wondering if any of you have already found wise ways of doing it.
>
>
>
> Here are my first ideas, but would like to have your opinion before
> testing them:
>
> 1)  Create org units for each village, but:
>
> a.  I fear the org unit will be very long to charge then
>
> b.  The cases are registered at health facility level in the org unit
> tree, not village level
>
> 2)  Create an option set with villages, but:
>
> a.  I fear it will be impossible to load…
>
> b.  Don’t know if it can be dynamic (if you choose a district, you
> just see the villages of this district) (I think I was told it was not
> possible to do)
>
> 3)  Create a program to register the villages, and use the
> relationship feature (my favourite idea so far, anyone tried it?)
>
> 4)  Create a program to register the villages, and use them through
> another path. I know Uganda HISP showed something in Oslo, but I imagine
> this require coding?
>
>
>
> Looking forward to reading your ideas!
>
>
>
> Lise
>
>
>
>
>
>
>
> Dr. Lise Grout
>
> *Epidemiologist*
>
>
>
> *World Health Organization*
>
> *Department of Neglected Tropical Diseases (HTM/NTD/IDM)*
> *Innovative and Intensified Disease Management Unit*
> *20, Avenue Appia; CH-1211 Geneva 27*
> *Tel. **+41 22 791 2341 <%2B41%2022%20791%202341>*
>
> *Mobile +41 79 290 68 61 <%2B41%2079%20290%2068%2061>*
>
> *Skype: tigrouveto*
>
> http://www.who.int/neglected_diseases
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] DHIS2 Network Out

2016-09-13 Thread Alex Tumwesigye
Dear Raminosoa,

I faced a similar problem sometime a year ago.
This problem is attributed to SQL queries that take long to finish.
Consider installing pgtop
You may need to increase your shared_buffers a bit and effective_cache_size
or connections parameters until you get the best optimal settings. You can
also allocate more memory (-Xmx7500m) to tomcat process if you have more.
Note that if you increase your postgres connections, pay attention to
memory settings you set as you can easily run out of memory too.

Alex


On Mon, Sep 12, 2016 at 6:13 PM, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Hi Halvdan,
>
> We have already restarted the server and it has solved temporarily the
> problem. We are going to try the command you mentioned and see what is
> happening. Thank you.
>
> Regards,
>
> Tantely.
>
> Le 12 sept. 2016 5:55 PM, "Halvdan Hoem Grelland" <halv...@dhis2.org> a
> écrit :
>
>> You should probably look into what specific processes on the server are
>> hogging the CPU. Try using 'htop' from the console (or similar). The logs
>> you've provided unfortunately do not provide any useful information.
>>
>> Also, does a simple server reboot solve the issue? If so, does it
>> re-occur?
>>
>> On Mon, Sep 12, 2016 at 4:37 PM, Raminosoa Rabemanantsoa, Tantely <
>> tramino...@mikolo.org> wrote:
>>
>>> Hi All,
>>>
>>> We are using DHIS2 2.19 and it was working really fine for several
>>> months.
>>> We have followed the HISP recommendations for the JVM parameters and the
>>> PostgreSQL memory tunning. We noticed few days ago a slow access to our
>>> DHIS2 server on Amazon from web version as well as from data capture.
>>> When
>>> checking the status, the server CPU is constantly running at 100%. We
>>> would
>>> like to have your advice on the possible sources of the errors. I note
>>> that
>>> Amazon has upgraded the Linux system to a newer version (2016.03). Does
>>> this change have impact on the installation of Tomact and postgreSQL? I
>>> am
>>> attaching the DHIS2 log file which is containing several errors.
>>>
>>> We are stuck, your help are welcome!
>>>
>>> Regards,
>>>
>>> Tantely.
>>>
>>> --
>>> *This message and its attachments are confidential and solely for the
>>> intended recipients. If received in error, please delete them and notify
>>> the sender via reply e-mail immediately.*
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Halvdan Hoem Grelland
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Program Indicator question

2016-09-08 Thread Alex Tumwesigye
Dear Luri,

There is a program rule action called 'ASSIGN' which is supported via the
Web API. You need to create program Rule in json and then use ASSIGN as
your action to have your program indicator used as a value for a
dataElement in a stage.
See this section for more info.
http://dhis2.github.io/dhis2-docs/2.23/en/developer/html/dhis2_developer_manual_full.html#d6099e4339

Alex

On Wed, Sep 7, 2016 at 5:59 PM, Iuri Fanti <iuri.fa...@gmail.com> wrote:

> I have a similar issue: I'd like to automatically fill a program field
> with the patient's age range (i.e. "from 1 to 4", "from 5 to 15", ecc)
> based on the manually filled age field.  A program indicator can only
> return numbers, and a program rule can only hide sections/fields or
> show warnings/errors (see attacched ). So, what should I do?
>
> Thank you in advance for any help,
>
> Iuri
>
> 2016-06-30 21:23 GMT+02:00 Markus Bekken <markus.bek...@gmail.com>:
> > Hi Nick!
> > (possibly wrong list?)
> >
> > Indicators should normally result in a number that can be aggregated
> > somehow. Did you want to calculate (and show) the due date to avoid that
> the
> > user has to do this himself? In that case it is probably not a program
> > indicator, but we can do it with program rules - adding 283 days to the
> LMP
> > date and either show the result on the data entry screen or assign it to
> > another data element.
> >
> > Markus
> >
> > 30. jun. 2016 kl. 11.02 skrev Shurajit Dutta <shurajitdu...@gmail.com>:
> >
> > Hi everyone
> >
> > Quick question about program indicators.
> >
> > If I want to estimate a mother's due date based on last menstrual period
> for
> > example, how does the expression for the program indicator look like?
> >
> > Thanks
> > Nick
> >
> > ___
> > 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] DHIS2: Manage data that does not change often

2016-08-30 Thread Alex Tumwesigye
Hello Martin,

This is more like an event. You can model it as a program without
registration and then create program indicators which can be used in
aggregate (more like a constant from an event). However this depends on how
creative you will be to ensure the periodicity is maintained.

Alex

On Wednesday, August 31, 2016, Martin Van Aken <mar...@joyouscoding.com>
wrote:

> Hi Propser,
> The problem is that it all depends - those are linked to changes at the
> health program manager level, and it's not a predictable variable. The
> problem is that it's stable-ish - for a given month, it will be stable for
> a most facilities, but there will probably be changes for a set of
> facilities each month or tow (in other words: at least one subset/group of
> facilities will have a change every period of two - not the same group each
> time of course).
>
> So, the dataSet frequency is not stable - can stay stable for six months,
> then change twice in the next three, etc.
>
> Thanks already for your help,
>
> Martin
>
> On Tue, Aug 30, 2016 at 10:53 AM, Prosper BT <ptb3...@gmail.com
> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');>> wrote:
>
>> Dear Martin,
>>
>> Can you share the frequency of change or required frequency that you
>> would have to maintain if you choose to create a data element and dataset
>> for this case, because its the most viable and given ability to track
>> changes over time. This could be a data set only assigned to one Orgunits.
>>
>> Also how often to use this in analysis, this can also guide on on the
>> dataset frequency.
>>
>> Regards
>>
>>
>>
>>
>> On Fri, Aug 19, 2016 at 9:46 AM, Martin Van Aken <mar...@joyouscoding.com
>> <javascript:_e(%7B%7D,'cvml','mar...@joyouscoding.com');>> wrote:
>>
>>> Hi everyone,
>>> I'm wondering about the best way to manage a use case of ours in DHIS2.
>>> We have a specific element of data (prices for services in an RBF system)
>>> which is normally the same for every org unit for a given period (and in
>>> most case stable for several periods). As an example, we could have
>>> something like:
>>>
>>> Consultation Price:
>>> - Jan-December 2016: 2.5$
>>> - Jan-June 2016: 2$
>>> - July-December 2016: 3$
>>>
>>> I'm not sure what to use to represent this kind of data in DHIS2:
>>>
>>> - Constant is not good as it can evolve
>>> - Standard Data Element means that when we make a change, we need to
>>> "apply" it to every entity for the given period (thus generating hundreds
>>> or thousand of copies of that values)
>>>
>>> Added question: if we go for a Data Element, how could we "fill it" at
>>> regular basis (like for the next period each time) - we don't want people
>>> to fill as a data entry for individual entities (it does not make any
>>> sense, and it's not something they "report" anyway).
>>>
>>> Any opinion is welcome!
>>>
>>> Martin
>>> --
>>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>>
>>> Mobile : +32 486 899 652
>>>
>>> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
>>> Call me on Skype : vanakenm
>>> Hang out with me : mar...@joyouscoding.com
>>> <javascript:_e(%7B%7D,'cvml','mar...@joyouscoding.com');>
>>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>>> Company website : www.joyouscoding.com
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> <javascript:_e(%7B%7D,'cvml','dhis2-users@lists.launchpad.net');>
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org
>> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');> | pros...@dhis2.org
>> <javascript:_e(%7B%7D,'cvml','pros...@dhis2.org');> | Skype: prospertb
>>
>
>
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
> Call me on Skype : vanakenm
> Hang out with me : mar...@joyouscoding.com
> <javascript:_e(%7B%7D,'cvml','mar...@joyouscoding.com');>
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Installing Ubuntu on HP ProLiant DL180 Gen9

2016-08-22 Thread Alex Tumwesigye
Stephen,

You can also try to use Intelligent Provisioning
http://www.hp.com/ctg/Manual/c04419967.pdf

This will help you get started easily.

Alex

On Mon, Aug 22, 2016 at 7:37 PM, Hannan Khan <hann...@gmail.com> wrote:

> Dear Stephen
>
> I am using clustered VM server from 2012, so I almost forget the physical
> server installation. From my earlier notes:
>
> Enable Hardware RAID and crate a RAID level 5 (or any desired level)
>  volume. Then Install Ubuntu again. Use volume partitioning as default if
> you don't sure what you are doing. Hope that  will solve the problem.
>
> Regards
>
> Hannan
>
> On Mon, Aug 22, 2016 at 4:40 PM, Stephen Gbanyan <mam...@gmail.com> wrote:
>
>> Hi All,
>>
>> I got a new HP ProLiant DL180 Gen9 server and I have installed Ubuntu
>> 16.04.1 but when it restart I get this message below.  Can someone help
>> guide me if I am not doing the right thing.  I need to install to be able
>> to get to the GUI to be able to navigate because I want to install DHIS2.
>>
>>
>> [image: Inline image 1]
>> Thanks
>>
>>
>> __
>> Stephen M. Gbanyan, Jr.
>> Director
>> Health Information System
>> Ministry of Health and Social Welfare
>> Republic of Liberia
>> +231-886-847-915
>> skype: mambu9
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Installing Ubuntu on HP ProLiant DL180 Gen9

2016-08-22 Thread Alex Tumwesigye
Dear Stephen,

Did you install the Grub or boot loader?

Alex

On Mon, Aug 22, 2016 at 1:40 PM, Stephen Gbanyan <mam...@gmail.com> wrote:

> Hi All,
>
> I got a new HP ProLiant DL180 Gen9 server and I have installed Ubuntu
> 16.04.1 but when it restart I get this message below.  Can someone help
> guide me if I am not doing the right thing.  I need to install to be able
> to get to the GUI to be able to navigate because I want to install DHIS2.
>
>
> [image: Inline image 1]
> Thanks
>
>
> __
> Stephen M. Gbanyan, Jr.
> Director
> Health Information System
> Ministry of Health and Social Welfare
> Republic of Liberia
> +231-886-847-915
> skype: mambu9
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Read only field on custom form

2016-08-22 Thread Alex Tumwesigye
Dear Elmarie,

Please try



Alex

On Sun, Aug 21, 2016 at 11:27 PM, Elmarie Claasen <elma...@hisp.org> wrote:

> Hi all,
>
>
>
> I am using 2.23 revision 23051 2016-08-03 17:41
>
>
>
> I have a custom form for which I want data element value to be read-only.
>
>
>
> I have tried various ways but cannot seem to find the exact fit. Current
> source code is like this:
>
>
>
>  title="HTwM8OvNS49
> - Inpatient discharges - total (finyear) - T450li7DyUU - default - NUMBER"
> value="[ Inpatient discharges - total (finyear) default ]" />
>
>  
>
>
>
> Also tried readonly=”true” which does seem to work halfway because it
> still allows the removal and editing of the value but does not store the
> changed value and then gives a “Data stored offline” message in the UI and
> asking if you want to sync the offline data. If you say yes it just runs
> and runs. Only way to clear the message is to clear browser cache. We don’t
> really want to use this option because then we need to teach them to clear
> browser cache when they still have data stored offline to get rid of that
> message which is contrary to usual training.
>
>
>
> Can anyone assist with the code to make the data element value read only
> on a custom form please?
>
>
>
> 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
> <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
> <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.*
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Overlapping text in DHIS2 UI

2016-08-11 Thread Alex Tumwesigye
>
> ***
>
>
>
>
> ___
> 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
>
>
>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] API: Getting all sub-ordinate organisationUnits from a root

2016-08-10 Thread Alex Tumwesigye
Dear Uwe,

api/organisationUnits.json?paging=false=id,name,children[id,name,children[id,name,children[id,name]]]

Note the inside children[id,name]

Alex

On Wed, Aug 10, 2016 at 4:10 PM, Uwe Wahser <u...@wahser.de> wrote:

> Dear all,
>
> is there a way to read a certain organisation with all its ancestors on
> all/specific lower levels via api? Something like the "children" parameter
> in
> the dataValueSets api for the organisationUnits api would be helpful ...
>
> The alternative would be looping down the hierarchy level by level from
> outside,
> which I'd like to avoid.
>
> Thanks a lot,
>
> Uwe (currently on 2.23, could upgrade to 2.24)
>
> ___
> 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
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] dhis version 2.24 is released

2016-07-05 Thread Alex Tumwesigye
Dear Lars,

Please add the WHO RMNCH Tracker program to the standard user role for
admin account. It will not be visible in the Tracker capture for demo
purposes.
I had to create my own user role with access to that program to see the
system generated identifiers.

Thanks.

Alex

On Tue, Jul 5, 2016 at 2:16 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Thanks Lars and Dev Team.
>
> Looking forward to test the data predictors!!
>
> Alex
>
> On Tue, Jul 5, 2016 at 12:27 PM, Elmarie Claasen <elma...@hisp.org> wrote:
>
>> HI all,
>>
>>
>>
>> This looks exciting.
>>
>> Lars, can I ask if the reporting rates based on opening and closing dates
>> is also permeated to respect opening and closing dates in other features
>> within DHIS2 e.g. if you select a orgunitgroup as a denominator in an
>> indicator does it only use open facilities for the period in the
>> calculation? If not how do we add this?
>>
>>
>>
>> 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:* Dhis2-devs [mailto:dhis2-devs-bounces+elmarie=
>> hisp@lists.launchpad.net] *On Behalf Of *Seth Okeyo
>> *Sent:* 04 July 2016 11:08 PM
>> *To:* Lars Helge Øverland; DHIS 2 Developers list; DHIS 2 Users list
>> *Subject:* Re: [Dhis2-devs] [Dhis2-users] dhis version 2.24 is released
>>
>>
>>
>> This is great!
>>
>>
>>
>>
>>
>> Sent from Samsung Mobile
>>
>>
>>
>>  Original message 
>>
>> From: Lars Helge Øverland
>>
>> Date:04/07/2016 11:34 PM (GMT+03:00)
>>
>> To: DHIS 2 Developers list , DHIS 2 Users list
>>
>> Subject: [Dhis2-users] dhis version 2.24 is released
>>
>>
>>
>> Hi all,
>>
>>
>>
>> DHIS version 2.24 is out with a lot of improvements and new features.
>>
>>
>>
>> *Log in with admin/district on the **demo* <http://play.dhis2.org/demo/>*
>> system.*
>>
>>
>>
>>
>>
>> ANALYTICS FEATURES
>>
>> ---
>>
>>
>>
>> *GIS layers for elevation, population density and nighttime lights*:
>> DHIS 2 now supports map layers from Google Earth Engine
>> <https://earthengine.google.com/>, which includes more than thirty years
>> of historical imagery and scientific datasets, updated and expanded daily.
>> So far we support three datasets, but more layers will be added in the
>> months to come. You find the Earth Engine layers in the top menu, next to
>> the boundary layers. The *elevation* layer can be used to visualise the
>> risk of Mosquito-borne disease. Select a color scale, minimum and maximum
>> elevation, and the number of steps to divide your range in. The same
>> options are available for the *population* and *nighttime lights*
>> layers, which is also an indicator of where people live.
>>
>>
>>
>> Screenshot 1 <https://www.dhis2.org/images/224/gis-ee-elevation.png> | 2
>> <https://www.dhis2.org/images/224/gis-ee-population-fic.png> | 3
>> <https://www.dhis2.org/images/224/dashboard-gis-ee.png> | 4
>> <https://www.dhis2.org/images/224/gis-ee-elevation-malaria.png> | Demo 1
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=rumxQc94V2p>
>> | 2
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=msMkiByWGeM>
>> | 3
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=AHWtSmx21sx>
>> | Docs
>> <http://dhis2.github.io/dhis2-docs/master/en/user/html/ch14s08.html>
>>
>>
>>
>> *Place search in GIS: *You can now search for places and regions on the
>> GIS app. Click on the magnifier icon and type the name of the pl

Re: [Dhis2-users] [Dhis2-devs] dhis version 2.24 is released

2016-07-05 Thread Alex Tumwesigye
nd more.
> We will provide a UI for this and more info in version 2.25.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s73.html>
>
>
>
> *Program messages:* The Web API now features a new concept for program
> messages, which allows you to send messages to tracked entity instances,
> emails and SMS. This can be useful e.g. in order to send reminders about
> upcoming visits and notifications for awareness programs to people.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s46.html>
>
>
>
>
>
> RELEASE INFO
>
> 
>
>
>
> You can *download* Live package, WAR file, sample data and source code
> here:
>
>
>
> https://www.dhis2.org/downloads
>
>
>
> You will find *documentation* and Javadocs here:
>
>
>
> https://www.dhis2.org/documentation
>
>
>
> You can read the *upgrade notes* and find upgrade script here:
>
>
>
> https://www.dhis2.org/224-upgrade
>
>
>
> The *demo* application can be found here:
>
>
>
> https://play.dhis2.org/demo
>
>
>
> Full list of features can be found at the *Launchpad* page:
>
>
>
> https://launchpad.net/dhis2/+milestone/2.24
>
>
>
> Instructions for signing up for the DHIS 2 *mailing lists* here:
>
>
>
> https://www.dhis2.org/contact
>
>
>
>
>
> TESTIMONIALS
>
> ---
>
>
>
> A big thanks goes to MSF <http://www.msf.org/> and Thoughtworks
> <https://www.thoughtworks.com/> for contribution to this release.
>
>
>
>
>
>
> Enjoy the new features.
>
>
>
> best regards,
>
>
>
>
>
> the DHIS 2 development team
>
>
>
>
>
>
>
>
>
> --
>
> Lars Helge Øverland
>
> Lead developer, DHIS 2
>
> University of Oslo
>
> Skype: larshelgeoverland
>
> l...@dhis2.org
>
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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.*
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] Tracker capture app not loading on dhis2.23

2016-06-17 Thread Alex Tumwesigye
Dear Ant/Adolphe,

There is a known issue which stops the upgrade to work well. It results in
the systemsSettings not loading.

The fix is to directly remove SMS_CONFIG row or any similar rows from the
systemsetting table by issuing
delete from systemsetting where name='SMS_CONFIG';

NB: Do the above query with care and first backup your SMS configurations
as they will be deleted.
You may need to crosscheck the Apps->Settings is loading well. Once it
loads, the app will load well.

Alex

On Fri, Jun 17, 2016 at 9:30 AM, Ant Snyman <a...@hisp.org> wrote:

> Dear Adolphe,
> We have the same issue and I have reported a bug - 1593574. The problem
> can be replicated in play.dhis2.org and Markus Bekken is aware of the
> issue and attending to it.
> Regards
> Ant
>
> On 16 June 2016 at 19:21, Kamugunga Adolphe <kaa...@gmail.com> wrote:
>
>> Dear all,
>>
>> I am upgrading my local instance on ubuntu 14.04LTS from dhis2.22 to
>> 2.23. The server seems to start correctly , i can use other apps  but when
>> i  tried to access tracker capture app it stops and doesn't show anything
>> up.
>>
>> Checking from Developer tools  here is what it displays this error
>> message from console:
>>
>> angular.js:35 Uncaught Error: [$injector:modulerr]
>> http://errors.angularjs.org/1.3.15/$injector/modulerr?p0=trackerCapture=
>> …divid23%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A17%3A381)
>>
>> could you advise on what went wrong and how i can go about it?
>>
>>
>> *Adolphe Kamugunga*
>> *MIS Technical Advisor*
>> Mobile: +250 788 740 578
>> Email:kaa...@gmail.com
>> Skype: ka.adolphe
>>
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
>
> *Ant Snyman*
>
> *Cell: 0824910449*
>
> *Landline: 028 2713242*
>
>
> Health Information Systems Program - SA
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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.*
>
> ___
> 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  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Tracker for surveillance events

2016-06-08 Thread Alex Tumwesigye
Dear Nils,

Thanks.

I would suggest that you use an Event with registration if you are going to
achieve this "A multi step workflow would be helpful, for example to track
the deployment of a field investigation team or the confirmation of a
sample at a lab". Otherwise an event with out registration would be
sufficient though it will not support multiple stages.

This requirement is more similar to the Rwanda IDSR use case where cases
are tracked, status of case is updated (referrals, died, etc), lab and lab
results are also managed and tracked. The use case is implemented using the
events with registration (multiple stages) for all notifiable diseases.
There have been discussions with the DHIS2 core team to integrate most of
the functionality within the core DHIS2 (thresholds, etc) and this is
ongoing. Also there is an ongoing testing of reference metadata for Rwanda
and other reference IDSR use cases which will be implemented on the
reference system (similar to DHIS2 demo) for other IDSR implementations.

Thanks.

Alex

On Wed, May 25, 2016 at 10:51 AM, Nils Kaiser <nils.kai...@ehealthafrica.org
> wrote:

> Hi,
>
> We would like to use the tracker to register disease surveillance events.
> Those will be events about a particular case happening (example Measles),
> which is reported from a health facility. The form contains information
> about the case (patient information, demographics, date, location).
>
> Registration management is not be needed since those are one time events.
>
> A multi step workflow would be helpful, for example to track the
> deployment of a field investigation team or the confirmation of a sample at
> a lab.
>
> According to the documentation in
> http://dhis2.github.io/dhis2-docs/master/en/user/html/ch29s02.html#program
> I am not sure it is even possible to use tracker with no registration but
> have multiple stages.
>
> Any ideas if tracker is the right approach? Alternatively we could use the
> events module, but I am not sure whether it is recommended at this stage.
> We will most likely use the Android apps as well.
>
> Best,
>
> Nils
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Error Deleting TEI with WebAPI in 2.22

2016-05-06 Thread Alex Tumwesigye
Dear Sam,

Please specify  trackedEntity in your json.

Alex

On Fri, May 6, 2016 at 5:49 PM, Sam Kasozi <kaso...@gmail.com> wrote:

> I want to delete a TEI in 2.22 with the following details
> (trackedEntity="XV3kldsZq0H" & trackedEntityInstance="an1MP0brTkC") using
>
> curl -X POST -d "{\"trackedEntityInstances\":
> [{\"trackedEntityInstance\":\"an1MP0brTkC\"}]}" -H "Content-Type:
> application/json" -u sam:*** "https:// ...
> /api/trackedEntityInstances?importStrategy=DELETE"
>
> However it returns the following Error message:
>
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An
> error occurred, please check import summary.",
>
> "response":{"responseType":"ImportSummary","status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},
> "conflicts":[{"object":"TrackedEntityInstance.trackedEntity","value":"Missing
> required property trackedEntity"}]}
>
> Is something wrong in the Json syntax?
>
> Regards,
>
> Sam Kasozi
> +256 788 993565 | Skype: sam.kasoziug
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Realtime Analytics

2016-04-22 Thread Alex Tumwesigye
Dear Jason,

I agree to not complicating things but as we look at IDSR module as a
generic module with DHIS2. We may need to think twice about the whole
process unless we want to keep it as a separate piece managed outside the
main DHIS2.
Scripts can be written, I have no problem with that by the way but how many
(of those using DHIS2) can write or manage simple scripts? If we make this
complicated, we run a risk of people not using some of the modules.

Alex

On Fri, Apr 22, 2016 at 3:49 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Thing is, how long does it take for the event to actually get reported?
>
> If it shows up on a person's dashboard in ten minutes, but they are out
> having lunch, or it has taken 3 days for the event to be reported, what's
> the use? Its no longer real time. Not even close to it.
>
> I agree there are use cases where things needs to be sped up, and it can
> be very simply with a very small curl script. You can even check and see if
> analytics is running first just to be sure you do not trigger it again.
>
> But lets not over-complicate things, and think about how real-time the
> data is which is actually being aggregated.
>
> Regards,
> Jason
>
>
> On Fri, Apr 22, 2016 at 2:43 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Hi Knut,
>>
>> We are not talking of hours here, dashboards needs to be updated in
>> almost real time and outbreaks needed to be detected as data is entered
>> (once thresholds are met). So 10 minutes as an option in the dropdown for
>> analytics is ok for me and I would consider it ok. Adding it would make the
>> system almost real time and this would cater for the IDSR requirement. A
>> lag of 10 minutes for an update of dashboard on screen is ok.
>> I wish, it could be added to the system than doing it using the API given
>> the reasons above.
>>
>> Alex
>>
>> On Fri, Apr 22, 2016 at 3:27 PM, Knut Staring <knu...@gmail.com> wrote:
>>
>>> Hi Alex - I agree that IDSR requires "immediate" response - but I we are
>>> usually talking hours, not minutes, right?
>>>
>>> Knut
>>>
>>> On Fri, Apr 22, 2016 at 2:23 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>>> wrote:
>>>
>>>> Jason/Morten,
>>>>
>>>> I agree that real time analytics would not be easily implemented. May
>>>> be it is time to separate Aggregate and Tracker analytics as a start but it
>>>> also depends on what the tracker is being used for e.g surveys may require
>>>> no immediate analytics but IDSR/outbreaks may require instant update of
>>>> analytics. We are looking at IDSR features and as I see, real time
>>>> analytics will be a requirement. The IDSR requires real time analytics
>>>> since people need to respond to outbreaks and handle outbreak responses and
>>>> management in real time so that you can intervene and stop the outbreak.
>>>>
>>>> Here is what I propose (just a thought from my discussion with Calle)
>>>>   We set a configurable (checked) variable/attribute that indicates
>>>> that if this variable is changed, the analytics process is started for
>>>> example changing population data has a very big impact on indicators that
>>>> depend on population,entering lab results or requests or patient updates
>>>> for IDSR requires immediate analytics, etc. If we had this
>>>> attribute/variable, then we would use it to identify the corresponding meta
>>>> data that might need to be / may have changed and update (through temp
>>>> tables) the only affected analytics tables. This way we can control the
>>>> load required to run analytics in realtime since the system  will only be
>>>> updating affected changes.
>>>> Using the API to trigger analytics every after X minutes may be
>>>> feasible but not sustainable as we do not control how many threads may be
>>>> running as the API call through curl does not easily get feedback/update if
>>>> the previous analytics process has been completed for the new one to start
>>>> otherwise we can end up in a forever loop if the server resources are not
>>>> enough.
>>>>
>>>> Alex
>>>>
>>>>
>>>>
>>>> On Fri, Apr 22, 2016 at 2:50 PM, Morten Olav Hansen <mor...@dhis2.org>
>>>> wrote:
>>>>
>>>>> 1 ns is fine... but i depends on what the ramifications are.. what if
>>>>> you start a new job every 1 ms? is t

Re: [Dhis2-users] Realtime Analytics

2016-04-22 Thread Alex Tumwesigye
Hi Knut,

We are not talking of hours here, dashboards needs to be updated in almost
real time and outbreaks needed to be detected as data is entered (once
thresholds are met). So 10 minutes as an option in the dropdown for
analytics is ok for me and I would consider it ok. Adding it would make the
system almost real time and this would cater for the IDSR requirement. A
lag of 10 minutes for an update of dashboard on screen is ok.
I wish, it could be added to the system than doing it using the API given
the reasons above.

Alex

On Fri, Apr 22, 2016 at 3:27 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Alex - I agree that IDSR requires "immediate" response - but I we are
> usually talking hours, not minutes, right?
>
> Knut
>
> On Fri, Apr 22, 2016 at 2:23 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Jason/Morten,
>>
>> I agree that real time analytics would not be easily implemented. May be
>> it is time to separate Aggregate and Tracker analytics as a start but it
>> also depends on what the tracker is being used for e.g surveys may require
>> no immediate analytics but IDSR/outbreaks may require instant update of
>> analytics. We are looking at IDSR features and as I see, real time
>> analytics will be a requirement. The IDSR requires real time analytics
>> since people need to respond to outbreaks and handle outbreak responses and
>> management in real time so that you can intervene and stop the outbreak.
>>
>> Here is what I propose (just a thought from my discussion with Calle)
>>   We set a configurable (checked) variable/attribute that indicates that
>> if this variable is changed, the analytics process is started for example
>> changing population data has a very big impact on indicators that depend on
>> population,entering lab results or requests or patient updates for IDSR
>> requires immediate analytics, etc. If we had this attribute/variable, then
>> we would use it to identify the corresponding meta data that might need to
>> be / may have changed and update (through temp tables) the only affected
>> analytics tables. This way we can control the load required to run
>> analytics in realtime since the system  will only be updating affected
>> changes.
>> Using the API to trigger analytics every after X minutes may be feasible
>> but not sustainable as we do not control how many threads may be running as
>> the API call through curl does not easily get feedback/update if the
>> previous analytics process has been completed for the new one to start
>> otherwise we can end up in a forever loop if the server resources are not
>> enough.
>>
>> Alex
>>
>>
>>
>> On Fri, Apr 22, 2016 at 2:50 PM, Morten Olav Hansen <mor...@dhis2.org>
>> wrote:
>>
>>> 1 ns is fine... but i depends on what the ramifications are.. what if
>>> you start a new job every 1 ms? is that ok? what happens during table swap?
>>> is analytic blocked?
>>>
>>> Maybe this is already documented.. just curious :)
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Fri, Apr 22, 2016 at 6:48 PM, Jason Pickering <
>>> jason.p.picker...@gmail.com> wrote:
>>>
>>>> Why not ever 1 nanosecond? Its always going to take some amount of
>>>> time, question is what is reasonable.
>>>>
>>>> One could argue that real-time analytics in an aggregate data system is
>>>> not needed. This is not real time data. Its not even close to it.
>>>> Look at Google Analytics. They provide reports once a day, and you do
>>>> not see a whole lot of people complaning. Yes, you can get some limited
>>>> real time information from this as well, but its limited. The data must be
>>>> processed first, and that takes computational time. Same with DHIS2.
>>>>
>>>> From my experience, people think they need "real time analytics" when
>>>> they really are just in a rush.  Data takes time to review and analayze and
>>>> whether its available now, 1 nanosecond from now, or 10 minutes from now,
>>>> makes no difference in the end, as the amount of time which is required to
>>>> digest that information is on a totally different time scale (hours days or
>>>> weeks). Once an hour is probably easily achievable depending on the scale
>>>> of the system however.
>>>>
>>>> As for the call to the API, just create a Bash script and call it as
>>>> freque

Re: [Dhis2-users] Realtime Analytics

2016-04-22 Thread Alex Tumwesigye
preciated.
>>>>
>>>> Thanks.
>>>>
>>>> On Fri, Apr 22, 2016 at 11:23 AM, Jason Pickering <
>>>> jason.p.picker...@gmail.com> wrote:
>>>>
>>>>> No they are swapped now, so first they are built as temp tables, then
>>>>> swapped. So, this is the brief point in time in which things may not be
>>>>> available.
>>>>>
>>>>> Every 10 minutes might be OK, depending on your server, loading, and
>>>>> amount of data. It just requires some experimentation.
>>>>>
>>>>> Point is, "real time" analytics is not possible. Near-real time may
>>>>> be.
>>>>>
>>>>> On Fri, Apr 22, 2016 at 1:03 PM, Morten Olav Hansen <mor...@dhis2.org>
>>>>> wrote:
>>>>>
>>>>>> But I thought all analytic tables was cleared out during
>>>>>> re-generation? is this not true?
>>>>>>
>>>>>> --
>>>>>> Morten Olav Hansen
>>>>>> Senior Engineer, DHIS 2
>>>>>> University of Oslo
>>>>>> http://www.dhis2.org
>>>>>>
>>>>>> On Fri, Apr 22, 2016 at 6:00 PM, Knut Staring <knu...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Depends on the data. I trigger analytics every 10 min.
>>>>>>> Hi All,
>>>>>>> Initially i thought DHIS2 had fully or out-of-the-box  realtime
>>>>>>> analytics and Dashboards. But after further inspection i realized that
>>>>>>> current data entry will not available for analysis or dashboards until 
>>>>>>> the
>>>>>>> next day or by manually doing export tables.  This is a real bottle 
>>>>>>> neck to
>>>>>>> the intended implementation am working on. I have looked at Scheduling, 
>>>>>>> but
>>>>>>> the options for analytics table is not ideal in my case. *Is there
>>>>>>> way this can be reduced or removed to gain real-time dashboards and
>>>>>>> analytics?*
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Bayoh.
>>>>>>>
>>>>>>> --
>>>>>>> Ibrahim Rashid Bayoh
>>>>>>> Information Systems Coordinator,
>>>>>>> eHealth Africa(Sierra Leone)
>>>>>>> *117 Wilkinson Rd, Freetown, Sierra Leone*
>>>>>>> Mobile: +232 88-765-638
>>>>>>> ibrahim.ba...@sl.ehealthafrica.org
>>>>>>> http://ehealthafrica.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
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jason P. Pickering
>>>>> email: jason.p.picker...@gmail.com
>>>>> tel:+46764147049
>>>>>
>>>>> ___
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ibrahim Rashid Bayoh
>>>> Information Systems Coordinator,
>>>> eHealth Africa(Sierra Leone)
>>>> *117 Wilkinson Rd, Freetown, Sierra Leone*
>>>> Mobile: +232 88-765-638
>>>> ibrahim.ba...@sl.ehealthafrica.org
>>>> http://ehealthafrica.org/
>>>>
>>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Fwd: [Dhis2-devs] [Bug 1568472] [NEW] Epidemiological weekly periods [other than ISO weeks]

2016-04-11 Thread Alex Tumwesigye
Dear Padam,

Thanks Calle, Jason and Knut for clarifying on this.

I am using DHIS2 for outbreak detection algorithms and I have not seen much
difference if you stick to the ISO weeks which is standard. The only thing
you need to keep in mind is for cases which occur daily, you must always
aggregate them daily and must fall in that ISO week until Sunday at
Midnight.

Alex

On Sun, Apr 10, 2016 at 8:51 PM, Knut Staring <knu...@gmail.com> wrote:

> Thanks for clarifying, Padam.
>
> Could you ask them to just change to ISO weeks?
>
> Knut
>
> -- Forwarded message --
> From: Padam Dahal <dahal0...@gmail.com>
> Date: Sun, Apr 10, 2016 at 1:07 PM
> Subject: Re: [Dhis2-devs] [Bug 1568472] [NEW] Epidemiological weekly
> periods [other than ISO weeks]
> To: Knut Staring <knu...@gmail.com>
>
>
> Hi Knut,
>
> Thanks for the quick reply.
>
> Actually Epi weeks are Sunday-Saturday, 7 days week system.
> Week 1 starts on the first Sunday of January of each year. If 1st January
> is Monday to Wednesday, then week 1 includes 1-3 days of December of last
> year. For example, looking at 2016 calandar, week 1 is 3 to 9 January. For
> 2013, week 1 is Dec 30 2012 to 5 January 2013.
>
> I Hope I am able to make you clear.
>
> Thanks,
> Padam
>
> On Sun, Apr 10, 2016 at 4:35 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Padam,
>>
>> This is not actually a bug, but a feature request (blueprint).
>>
>> Can you provide some more info about these weekly periods - how do they
>> differ from ISO weeks, and why?
>>
>> Regards,
>> Knut
>>
>> On Sun, Apr 10, 2016 at 11:22 AM, Padam Dahal <dahal0...@gmail.com>
>> wrote:
>>
>>> Public bug reported:
>>>
>>> Customizing DHIS for Early Warning and Reporting System for Nepal. We
>>> are using automatic aggregation to weekly dataset from event data items.
>>> For the dataset, we need to use epidemiological weeks, which differs
>>> from ISO weeks. So I am looking for some ways to fix the issue with the
>>> week system.
>>>
>>> Padam
>>>
>>> ** Affects: dhis2
>>>  Importance: Undecided
>>>  Status: New
>>>
>>> --
>>> You received this bug notification because you are a member of DHIS 2
>>> developers, which is subscribed to DHIS.
>>> https://bugs.launchpad.net/bugs/1568472
>>>
>>> Title:
>>>   Epidemiological weekly periods [other than ISO weeks]
>>>
>>> Status in DHIS:
>>>   New
>>>
>>> Bug description:
>>>   Customizing DHIS for Early Warning and Reporting System for Nepal. We
>>>   are using automatic aggregation to weekly dataset from event data
>>>   items. For the dataset, we need to use epidemiological weeks, which
>>>   differs from ISO weeks. So I am looking for some ways to fix the issue
>>>   with the week system.
>>>
>>>   Padam
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1568472/+subscriptions
>>>
>>> ___
>>> 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
>>
>
>
>
>
> --
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Channara,

The issue is related to timezone and was fixed. Upgrade to at least 2.20 or
2.21 but you have to first remove the duplicate period.

Alex

On Thu, Apr 7, 2016 at 7:08 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Channara,
>
> It seems to me that the problem is that the _dateperiodstructure table
> has not been dropped (not sure why).
>
> Then when you try to regenerate it, it tries to insert the same values,
> starting from 1975-01-01 (which is the first row in the table)
>
> On Thu, Apr 7, 2016 at 6:01 PM, channara rin <rin.chann...@gmail.com>
> wrote:
>
>> dear Alex,
>> what you mean was fixed? i currently using:
>> Version:2.19Build revision:19251Build date:2015-07-01 02:04
>>
>> On Thu, Apr 7, 2016 at 10:46 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>> wrote:
>>
>>> Dear Channara,
>>>
>>> I think this bug was fixed.
>>> The date "1975-01-01" is duplicated.
>>> check your period table for any anomaly for that date.
>>>
>>> Alex
>>>
>>> On Thu, Apr 7, 2016 at 6:02 PM, channara rin <rin.chann...@gmail.com>
>>> wrote:
>>>
>>>> Dear friend,
>>>> when i run analytic, i always got error like below. how to fix this
>>>> problem?
>>>>
>>>> ==
>>>> Resource table process failed
>>>> Resource table process failed, please check the logs. Time:
>>>> 2016-04-07T21:45:16.145+07:00. Message: PreparedStatementCallback; SQL
>>>> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
>>>> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
>>>> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>>> unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
>>>> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>>> unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists.
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>>>>
>>>> at
>>>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>>>>
>>>> at
>>>> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>>>>
>>>> at
>>>> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>>>>
>>>> at
>>>> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>>>>
>>>> at sun.reflect.GeneratedMethodAccessor906.invoke(Unknown Source)
>>>>
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>
>>>> at java.lang.reflect.Method.invoke(Unknown Sourc

Re: [Dhis2-users] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Dear Channara,

I think this bug was fixed.
The date "1975-01-01" is duplicated.
check your period table for any anomaly for that date.

Alex

On Thu, Apr 7, 2016 at 6:02 PM, channara rin <rin.chann...@gmail.com> wrote:

> Dear friend,
> when i run analytic, i always got error like below. how to fix this
> problem?
>
> ==
> Resource table process failed
> Resource table process failed, please check the logs. Time:
> 2016-04-07T21:45:16.145+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception is
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>
> at
> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>
> at
> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>
> at
> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>
> at
> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>
> at sun.reflect.GeneratedMethodAccessor906.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
>
> at com.sun.proxy.$Proxy262.generateDatePeriodTable(Unknown Source)
>
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
>
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
>
> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
>
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
>
> at
> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
>
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
>
> at java.util.concurrent.FutureTask.run(Unknown Source)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
> Source)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>
> at java.lang.Thread.run(Unknown Source)
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT

Re: [Dhis2-users] resource table process failed

2016-03-30 Thread Alex Tumwesigye
Dear Channara,

This date is '1975-01-01' duplicated in your period table.
Look out for the same date from the period table with wrong (or mutliple)
periodTypeId e.g 1975-01-01 as startdate and 1975-01-01 as enddate with
periodTypeId of 3 (yet 3 is monthly).

Alex

On Wed, Mar 30, 2016 at 11:07 AM, channara rin <rin.chann...@gmail.com>
wrote:

> Dear all,
> I got this error in console. Could you help me how to fix this problem?
>
> Thank you
> Channara
>
> ::Console
> > Resource table process failed, please check the logs. Time:
> 2016-03-30T07:30:17.405+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists.
> > at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2198)
> > at org.postgresql.core.v3.QueryExecutorImpl.processResults(
> QueryExecutorImpl.java:1927)
> > at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(
> QueryExecutorImpl.java:1130)
> > at org.postgresql.core.v3.QueryExecutorImpl.execute(
> QueryExecutorImpl.java:396)
> > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(
> AbstractJdbc2Statement.java:2892)
> > at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(
> NewProxyPreparedStatement.java:1723)
> > at org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(
> JdbcTemplate.java:1005)
> > at org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(
> JdbcTemplate.java:989)
> > at org.springframework.jdbc.core.JdbcTemplate.execute(
> JdbcTemplate.java:644)
> > at org.springframework.jdbc.core.JdbcTemplate.execute(
> JdbcTemplate.java:673)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:989)
> > at org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(
> BatchUpdateUtils.java:32)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:1039)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:1034)
> > at org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(
> JdbcResourceTableStore.java:101)
> > at org.hisp.dhis.resourcetable.DefaultResourceTableService.
> generateDatePeriodTable(DefaultResourceTableService.java:456)
> > at sun.reflect.GeneratedMethodAccessor903.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:317)
> > at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:201)
> > at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
> > at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.
> generateAll(ResourceTableTask.java:121)
> > at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.
> run(ResourceTableTask.java:85)
> > at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
> > at org.springframework.scheduling.support.DelegatingErrorHandlingRunnabl
> e.run(DelegatingErrorHandlingRunnable.java:54)
> > at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(
> ReschedulingRunnable.java:81)
> > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> > at java.util.concurrent.FutureTask.run(Unknown Source)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$201(Unknown Source)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> > at java.lang.Thread.run(Unknown Source)
> >
> >
> >
>
> ___
> 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
>
>


-- 
Alex Tumwes

Re: [Dhis2-users] Scripting in Custom forms for Tracker Capture

2016-03-21 Thread Alex Tumwesigye
Dear Sam,

The  custom forms are working well with my IDSR instance. I recently
upgraded from individual records to Tracker capture and everything works
well.

You need to think 'AngularJS' not JQuery/JavaScript otherwise the
developers enabled it.

Alex

On Mon, Mar 21, 2016 at 1:36 PM, Sam Kasozi <kaso...@gmail.com> wrote:

> Dear developers,
>
> JavaScript that used to work in the custom form with Individual Records
> fails to work in the Tracker capture. I have been wondering if the
> environment has been enabled for Tracker capture with different syntax
> convention as it is with the aggregate custom forms. And also whether there
> is documentation to refer too.
>
> http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch06s02.html#d5e1369
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] [Dhis2-devs] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Alex Tumwesigye
org/sendsms.php?UserName=MyUser=**=MyUser=%2B467=DHIS%3A+No+command+found
> PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])
> * ERROR 2016-02-02 20:07:25,680 Batch update returned unexpected row count
> from update [0]; actual row count: 0; expected: 1; nested exception is
> org.hibernate.StaleStateException: Batch update returned unexpected row
> count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java
> [Thread-26])
> * INFO  2016-02-02 20:07:35,680 Received SMS: SMS testing.
> (SmsPublisher.java [Thread-26])
>
>
> Sincerely,
>
> =
> EKANI Guy
>
>
>
>
>
>
>
> Le Lundi 14 mars 2016 13h31, Zubair Asghar Raja <zub...@dhis2.org> a
> écrit :
>
>
> Hi Guy,
> I am responsible for SMS related stuff. Can you share the logs ?
>
> Regards
> Zubair
>
>
>
> On 14 Mar 2016, at 1:14 PM, "Lars Helge Øverland" <l...@dhis2.org> wrote:
>
> Thanks Guy. We will have a developer reach out to you.
>
> Since nobody have reported to be using the local SMS gateway modem, we
> will remove it for version 2.23.
>
> regards,
>
> Lars
>
>
> On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani <constyek...@yahoo.fr> wrote:
>
> Hello Lars,
>
> Thank's for information,
>
> We are trying to use SMS funtionnality with  a SMS gateway provided by an
> external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision:
> 20998
>
> But we have two problems :
> - The received SMS are not imported automatically,
> - When we manually import a received SMS, it's make a loop that send a
> thousand of SMS to a specific Phone number
>
> Please, could you help us to solve this issue that's drained our SMS
> Credit ?
>
> Sincerely
>
> =
> EKANI Guy
>
>
>
>
>
>
>
> Le Mardi 8 mars 2016 11h22, Lars Helge Øverland <l...@dhis2.org> a écrit :
>
>
> Hi all,
>
> we are rewriting much of the functionality for sending outgoing SMS in
> DHIS 2. In that regard we were wondering if anyone is using the current
> function for sending SMS using a local SMS modem / gateway?
>
> In production setups one should in any case use a network-based SMS
> gateway provided by an external operator (bulksms, clickatell).
>
> The library we use (smslib <http://smslib.org/>) is deprected as well. We
> were thinking to end support for local SMS modems in 2.23.
>
> regards,
>
> Lars
>
>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://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
>
>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org/>
>
> --
>
> 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
>
>
>
>
> ___
> 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
+256 774149 775, + 256 759 800161
Skype ID: talexie

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


"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


Re: [Dhis2-users] Any experience of DHIS2 in Agriculture?

2016-02-08 Thread Alex Tumwesigye
Dear Deepali,

Thanks. Now I see the complexity. Even if you used relationship in programs
e.g program is related to a goal, a goal program is related objectives and
objective program is related to outcome and so on would be complex to
implement.

However, I had tried to use this relationship thing in programs for
tracking projects where a project has consultants and consultants have
tasks and tasks have resources attached to them ... but I didnt finish
with since it was a concept for demonstrating a use case. May be I should
touch base on it and we share experiences.

Alex

On Mon, Feb 8, 2016 at 7:30 PM, Dipali Sahu <dipali.s...@gmail.com> wrote:

> Hi Alex
>
> We did consider using the Tracker. I am sure there must be a way, 2
> important challenges we faced were:
>
>- We can set up a project as a program in Tracker. But, how do we get
>the levels in the results framework, for example a project logframe has
>Goal, Each goal can have multiple objectives under it, and each Objective
>can have multiple outcomes, Outcome can have multiple outputs and Output
>can have multiple indicators. Logframe structure is flexible and different
>for different donor/project.
>- Calculating achievement, where achievement= indicator value/Target
>*100. We made targets as datasets. There fore, if we use tracker, the
>numerator can come from Program indicator but denominator is in Aggregated
>part (in datasets).
>
> Thank you
> Deepali
> International Medical Corps
>
> On Mon, Feb 8, 2016 at 9:33 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Dipali,
>>
>> Thanks for sharing.It looks like you tried out the Aggregate module, did
>> you attempt to see if the tracker could do this? If a project is seen as a
>> program, then you track it, just thinking...
>>
>> Alex
>>
>> On Mon, Feb 8, 2016 at 6:51 PM, Dipali Sahu <dipali.s...@gmail.com>
>> wrote:
>>
>>> Two questions:
>>>
>>> 1. If one is to take a simplified view and prefer to implement the thing
>>> through meta-data definition, how would you advise the community? I
>>> would say it will be challenging, because typically Results framework can
>>> have multiple levels and typically are flexible in design unless the user
>>> is deciding on a fixed format.. We actually faced issues with this, some of
>>> them given below:
>>>
>>>- Project was created as "Org unit group" >> this led to projects
>>>list show up in pivot table and other places within org unit.
>>>- Outcomes and objectives which are levels of the results framework
>>>and have group of indicators under them were made as Data indicator 
>>> groups.
>>>Again these started showing up in pivot tables etc.
>>>- Major issue was, one indicator can be mapped to multiple projects.
>>>For example, Number of consultations provided is an indicator under all
>>>projects. Therefore, one indicator has multiple targets, baselines, 
>>> source
>>>of verification etc (for different projects).Creating new indicator for
>>>each new project was a complete no-no for us.
>>>- Handling targets was difficult because, target for a certain
>>>indicator and certain project is valid for the project lifetime. Now,
>>>projects can have any start and end dates, therefore, target datasets had
>>>to me made monthly.
>>>- generating a valid logframe report, when different indicators
>>>belonged to different org unit. We had logframe where different levels
>>>belonged to different org units. for example, Objective A is for Org unit
>>>A, and Objectve B is for org unit 2.Here, the user had no options other
>>>than choosing the right org unit from a selection window, again and again
>>>for different indicators.
>>>
>>>
>>> 2. If the app you are is in some sort of working state, is is something
>>> that you could share to the community? I am not sure at this moment,
>>> but ours is very specific to our needs and is not generic.
>>>
>>>
>>>
>>> On Mon, Feb 8, 2016 at 8:59 PM, Abyot Asalefew Gizaw <ab...@dhis2.org>
>>> wrote:
>>>
>>>> Hi Depali,
>>>>
>>>> Thank you for sharing your experience.
>>>>
>>>> Two questions:
>>>>
>>>> 1. If one is to take a simplified view and prefer to implement the
>>>> thing through meta-data definition, how would you advise the community?
>&g

Re: [Dhis2-users] dhis version 2.22 is released

2016-01-17 Thread Alex Tumwesigye
or deleting data values
> is supported in order to make it easier to delete bulks of data.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
> | Screenshot
> <https://www.dhis2.org/images/222/data-value-delete-strategy.png>
>
>
>
> *Analytical object deletion handling:* Associations to pivots, charts and
> maps will be removed when deleting data elements, indicators, data sets and
> organisation units.
>
>
>
> Screenshot
> <https://www.dhis2.org/images/222/analytical-object-deletion-handling.png>
>
>
>
> *User replication authority:* The ability to replicate users can be
> granted through a new authority “Replicate user”.
>
>
>
> Screenshot <https://www.dhis2.org/images/222/user-replication.png>
>
>
>
>
> WEB API FEATURES
>
> --
>
>
>
> *ADX data export:* You can now export data in the ADX format natively
> using the *dataValueSets* Web API resource with content type
> *application/xml+adx*.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s14.html#d5e1781>
>
>
>
> *Dynamic identifier schemes:* For data imports you can now specify unique
> meta-data attributes as identifier schemes. This implies that DHIS 2 can be
> used to store any number of sets of identifiers and map data to those
> during import. This is useful when DHIS 2 is used to integrate data from a
> large number of systems and each have their own sets of identifiers.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> *SMS:* SMS can now be completely managed through the Web API, with new
> resources for sending and receiving SMS, starting and stopping the SMS
> service and configuration of SMS gateways. The system has now built-in
> support for five popular SMS gateway providers. The SMS services have been
> revamped and made more scalable.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s38.html>
>
>
>
> *App store:* The contents of the DHIS 2 app store is available at the
> *appStore* resource, which also allows you to install apps from the app
> store with a POST request.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s61.html>
>
>
>
> *Field filter operators:* A range of new field filter operators has been
> added, such as *^(like/ilike)* to match from start of string and
> *$(like/ilike)* to match from end.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s08.html>
>
>
>
> *Tracker bulk deletion:* Bulk deletion of events, enrollments and tracked
> entity instances are now supported through a new *delete* import strategy.
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s53.html>
>
>
>
> *Async data value import:* Data values can now be imported asynchronously
> through a new *async* parameter, meaning you can post a large import file
> and poll for the results rather than having the response block until the
> process is done.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> *Data pruning by org unit:* Data, complete data set registrations and
> approvals can be removed by organisation unit through the
> *maintenance/dataPruning* resource.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s34.html>
>
>
>
> *Typed user settings:* You can now set all user settings through the
> userSettings resource, including those of complex types.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s42.html>
>
>
>
> *Data value deletion:* Data values can now more easily be deleted through
> a new *delete* import strategy, which lets you indicate explicitly that
> the posted data values should be deleted.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> SERVER MANAGEMENT FEATURES
>
> --
>
>
>
> *System read-only mode:* You can now set the system to start in read-only
> mode which means that no database write-operations will be executed when
> the system starts and when people are loggging in. This is useful in order
> to run DHIS 2 on read-only database replicas for horizontal scaling
> purposes.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s07.html>
>
>
>
> *General configuration file:* The DHIS 2 config

Re: [Dhis2-users] Changed CSV-Format for OrgUnits

2015-12-17 Thread Alex Tumwesigye
Dear Uwe,

See the documentation on github.
http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual_full.html#d4934e800

Alex



On Thu, Dec 17, 2015 at 8:23 AM, Uwe Wahser <u...@wahser.de> wrote:

> Dear all,
>
> according to a previous post on the users list there have obviously been
> changes
> in the CSV-format for importing OrgUnits. Some have been documented,
> others not
> (or might be bugs):
>
> - feature format seems to be mandatory now. I don't know whether that makes
> sense, if it does, please indicate that in the docs, too.
> - If you decide to change the docs on that, please also add a column with
> the
> technical names to be included in the header line of the csv - the names
> in the
> example differ from the names in the format specification. (or indicate,
> whether
> the header line is optional)
> - the import summary records a funny error message. Don't know whether
> it's new,
> but it seems to be wrong: Validation Violations:
> [ValidationViolation{property='id', message='Allowed range for length [11,
> 11],
> length is 7', value=NAIROBI}]
>
> I could have posted this as bug-report, but I wasn't sure, whether those
> are
> bugs or features ...
>
> 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
>



-- 
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


Re: [Dhis2-users] Web API Complete data set registrations

2015-12-16 Thread Alex Tumwesigye
Dear Pedro,

If you are running 2.21 or higher,  try this link (I have not tried it).
http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual_full.html#d4934e2217

Querying the below endpoints might be better and more secure than SQL Views.

/api/completeDataSetRegistrations

Alex


On Wed, Dec 16, 2015 at 5:01 PM, Knut Staring <knu...@gmail.com> wrote:

> I think you can POST it to the metadata endpoint:
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s06.html
>
> Knut
>
> On Wed, Dec 16, 2015 at 2:54 PM, Pedro Vasconcelos Maciel De Lima <
> pedr...@ifi.uio.no> wrote:
>
>> Hi Bharath​ and All,
>>
>>
>> Is there a way I can create a SQL view with a Web API call (instead of
>> creating it in apps -> data administration)?
>>
>>
>> Best regards,
>>
>> Pedro
>>
>>
>> --
>> *De:* Dhis2-users <dhis2-users-bounces+pedrova=
>> ifi.uio...@lists.launchpad.net> em nome de Pedro Vasconcelos Maciel De
>> Lima <pedr...@ifi.uio.no>
>> *Enviado:* 9 de dezembro de 2015 09:37
>> *Para:* Bharath
>> *Cc:* dhis2-users@lists.launchpad.net
>> *Assunto:* Re: [Dhis2-users] Web API Complete data set registrations
>>
>> Thanks, I'll give this a try!
>>
>> Best regards,
>> Pedro
>>
>>
>> No dia 07/12/2015, às 06:08, Bharath <chbhara...@gmail.com> escreveu:
>>
>>
>> One option is you can create sql view (apps -> data administration) and
>> make webapi call to that sql view. doc here
>> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s25.html>
>>
>> On Sun, Dec 6, 2015 at 9:51 PM, Pedro Vasconcelos Maciel De Lima <
>> pedr...@ifi.uio.no> wrote:
>>
>>> Hi All,
>>>
>>>
>>> I'm trying to get all complete data set registrations for a particular
>>> user after a particular date. Something along the lines of:
>>>
>>>
>>> *SELECT * FROM completedatasetregistration WHERE date>'2015-11-01' and
>>> storedby='admin';*
>>>
>>>
>>> How can I achieve this through the Web API?
>>>
>>>
>>> Best regards,
>>>
>>> Pedro Lima
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>>
>> ___
>> 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
>
>


-- 
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


Re: [Dhis2-users] How to best implement registries

2015-11-24 Thread Alex Tumwesigye
t;>>>>
>>>>>>
>>>>>> On Mon, Nov 23, 2015 at 10:37 AM, Kamugunga Adolphe <kaa...@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Dear Knut,
>>>>>>> The program without registration could fit in case they simply want
>>>>>>> to record cases/services provided on daily basis.  Name should be 
>>>>>>> dropped
>>>>>>> for ethical issues and rely only on the Reg. But if database could 
>>>>>>> support
>>>>>>>  data quality audit exercises, serial number could help to locate 
>>>>>>> patients
>>>>>>> files, and selection boxes should the best to minimize typing/spelling
>>>>>>> errors
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> *Adolphe Kamugunga*
>>>>>>> *MIS Technical Advisor*
>>>>>>> *Knowledge Management, Data Use and Research*
>>>>>>> Rwanda Health System Strengthening Activity
>>>>>>> Management Sciences for Health
>>>>>>> Rwanda-Kigali
>>>>>>> Mobile: +250 788 740 578
>>>>>>> Email:kaa...@gmail.com
>>>>>>> Skype: ka.adolphe
>>>>>>> <http://www.msh.org/>
>>>>>>> Stronger health systems. Greater health impact.
>>>>>>>
>>>>>>>
>>>>>>> On 22 November 2015 at 06:34, Prosper BT <ptb3...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Dear Knut,
>>>>>>>>
>>>>>>>> If the purpose of data collection is for reporting through counts
>>>>>>>> of number visiting and services in a given period and no interest in
>>>>>>>> longitudinal follow up then they can go without registration.
>>>>>>>>
>>>>>>>> And as you suggest for non numeric data elements (findings,
>>>>>>>> medicine) need option sets, to build program indicators to be used 
>>>>>>>> on
>>>>>>>> dashboard.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Nov 22, 2015 at 3:27 AM, Knut Staring <knu...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> Please see the attached "line listing" case registry form for
>>>>>>>>> outpatients at frontline clinics. Typically, this is the layout of big
>>>>>>>>> registry books located at rural health centres and sub-centres. I 
>>>>>>>>> suppose
>>>>>>>>> the date and serial number would not be needed when moving from paper 
>>>>>>>>> to
>>>>>>>>> tablets.
>>>>>>>>>
>>>>>>>>> My intuitive sense is that this should be implemented as a program
>>>>>>>>> without registration, and just one single stage. Most of the fields 
>>>>>>>>> should
>>>>>>>>> be free text or option sets (in the case of Yes/No that is a data 
>>>>>>>>> type).
>>>>>>>>>
>>>>>>>>> Then it will be important to generate aggregate data based on
>>>>>>>>> this, which I assume means we do need drop down lists/option sets for 
>>>>>>>>> all
>>>>>>>>> diseases and treatments.
>>>>>>>>>
>>>>>>>>> Just wanted to see if people had different ideas and suggestions,
>>>>>>>>> as this is becoming a pretty typical use case for Tracker.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Knut Staring
>>>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>>>> Norway: +4791880522
>>>>>>>>> Skype: knutstar
>>>>>>>>> http://dhis2.org
>>>>>>>>>
>>>>>>>>> ___
>>>

Re: [Dhis2-users] Problem Install DHIS2

2015-11-22 Thread Alex Tumwesigye
Dear Ali,

Please use the dhis2-tools package if you are running Linux/Unix.

They are much easy to use.

Alex

On Mon, Nov 23, 2015 at 9:32 AM, Knut Staring <knu...@gmail.com> wrote:

> Do you have Java 8?
> On Nov 23, 2015 10:05 AM, "ali murtaza" <aliphysic2...@gmail.com> wrote:
>
>> regards
>> I am ali from Aceh
>> I've tried the steps for installation as below dhis28.3. Server setup
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html>8.3.1.
>> Creating a user to run DHIS2
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e433>8.3.2.
>> Setting server time zone and locale (optional)
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e443>8.3.3.
>> PostgreSQL installation
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e449>8.3.4.
>> PostgreSQL performance tuning
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e464>8.3.5.
>> Database configuration
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e500>8.3.6.
>> File store configuration (optional)
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e510>8.3.7.
>> Java installation
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e523>8.3.8.
>> Install Tomcat and DHIS2
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e531>8.3.9.
>> Running DHIS2
>> <https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e555>
>> but I'm still having problems
>> can you help me please..
>>
>
> _______
> 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
>
>


-- 
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


Re: [Dhis2-users] [Dhis2-devs] Org Unit count

2015-11-10 Thread Alex Tumwesigye
Dear Harold,

Sounds like it counts the root/parent organisation unit.

Alex

On Tue, Nov 10, 2015 at 12:31 PM, Mugeni Harold <hmug...@gmail.com> wrote:

> Hallo everyone,
>
>
>
> I am working on some indicators that require number of org units under a
> given org unit e.g. number of health facilities under a district. I am
> using the org unit count under the indicator numerator or denominator
> section, but I have noticed that the count returned is always with an extra
> one i.e. where I expect 22 facilities, it is giving me 23. Is this a bug or
> something to do with the hierarchy?
>
>
>
> Thank you,
>
> Harold
>
>
>
> ___
> 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


Re: [Dhis2-users] [Dhis2-devs] We have developed Logistics System and MiddleWare Application in DHIS2

2015-11-08 Thread Alex Tumwesigye
gt; exporting and external dashboard development.
>>
>> But we have a little bit of problem on calculating AMC and MNC in client
>> side. We have overcome this constraint by exporting data and calculating it
>> in the server side and showing dashboard.
>>
>> For logistics calculation, I have developed a middle ware application
>> named "DHIS2 MiddleWare Application". Features of this apps:
>>
>> 1. Exporting all dataset values of a specific dataset or all dataset.
>> 2. Exporting all Organization Units/ Datasets/ Dataset elements group/
>> Dataset elements.
>> 3. All kinds of Logistics  calculations like AMC, MNC, Stock etc.
>> 4. Raw data analysis and data presentation both tabular and graphical
>> 4. Lots of Reports like:
>> a. National Stock Status of Priority MNCH Medicines
>> b. Consumption History of Priorty MNCH Medicines
>> c. Stockout Status By Facilities
>> d. Medicines Availability By Facility
>> e. Stock Status at Different Levels
>> f. Non Reported Facilitates
>> g. Timeliness Status By Health Facility
>> h. Data Upload Statistics
>> i. Health Facility's Performance
>> j. Percent of Facilitie's that have All Medicines
>> 5. Calculated data pushing in DHIS2 specific dataset and generate
>> dashboard
>> 6. Modules of this apps:
>> a. System Admin Management
>> b. Organization/Facility Managemment
>> c. Data Management
>> d. Medicine Management
>> e. Complain Management
>> f. Entered Data Analysis(Reports)
>> g. Dashboard
>> 7. Easy plug in with other software.
>>
>> Technology:
>>
>> In version-1: I have used PHP Laravel Framework and PostGreSQL Database
>> In version-2: Java and PostgreSQl database(Under Development)
>>
>> Here I have attached DHIS2 LMIS Data Entry Screen and "DHIS2 MiddleWare
>> Application" layout. You may visit our dashboard that generated by this
>> application: http://69.39.239.111/~scipmp/index.php/elmis-dashboard
>>
>> If you need any kind of support or suggestion about LMIS implementation
>> in DHIS2 please let me know.
>>
>> Best Regrds
>> Julhas Sujan
>> Java Consultant
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>>
>>
>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to: dhis2-users@lists.launchpad.net
>> <javascript:_e(%7B%7D,'cvml','dhis2-users@lists.launchpad.net');>
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> 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


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 <furqo...@gmail.com>
wrote:

> Okay, thx Lars.
>
> On Fri, Oct 9, 2015 at 6:17 PM, Lars Helge Øverland <larshe...@gmail.com>
> 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 <furqo...@gmail.com>
>> 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 <knu...@gmail.com> 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 <https://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


Re: [Dhis2-users] DHIS2 in Lebanon

2015-10-05 Thread Alex Tumwesigye
;
>>> _
>>>
>>> *IT Specialist*
>>>
>>> *World Health Organization*
>>>
>>> *Lebanese University Bldg. (Glass Bldg.)*
>>>
>>> *Museum Square - P.O. Box 11-5391*
>>>
>>> *Beirut – Lebanon*
>>>
>>> *___*
>>>
>>> *Tel. +961 1 612970 <%2B961%201%20612970>/1/2 ext 61809*
>>>
>>> *Fax. +961 1 612973 <%2B961%201%20612973>*
>>>
>>> *Mobile +961 70 111285 <%2B961%2070%20111285>*
>>>
>>> *Email. chamm...@who.int <chamm...@who.int>*
>>>
>>>
>>>
>>>
>>>
>>> http://www.emro.who.int/countries/lbn/index.html
>>>
>>> [image: Description: Facebook-logo-ICON-02]
>>> <https://www.facebook.com/pages/World-Health-Organization-Lebanon-Office/683820358325938>
>>>  <https://twitter.com/WHOLebanon>
>>> <https://www.youtube.com/channel/UCjSuROz6yO6rgXrEqryu1HA/feed?view_as=public>[image:
>>> UN70]
>>>
>>>  *Keep it green; leave it on the screen*
>>>
>>>
>>>
>>> *From:* Knut Staring [mailto:knu...@gmail.com]
>>> *Sent:* Tuesday, September 29, 2015 12:42 PM
>>>
>>>
>>> *To:* CHAMMAA, Houssam Mahmoud
>>> *Subject:* Re: DHIS2 in Lebanon
>>>
>>>
>>>
>>> Good. The name of the file is typically catalina.out, but I advise you
>>> to copy the whole "logs" folder and share it.
>>>
>>>
>>>
>>> Knut
>>>
>>>
>>>
>>> On Tue, Sep 29, 2015 at 11:31 AM, CHAMMAA, Houssam Mahmoud <
>>> chamm...@who.int> wrote:
>>>
>>> Dear Knut
>>>
>>> I am using Windows server
>>>
>>> Tomorrow I will go to the remote site where the server is installed ( in
>>> a Government hospital) and retrieve for you the Tomcat log file
>>>
>>>
>>>
>>> Thank You
>>>
>>>
>>>
>>> *B. Regards*
>>>
>>>
>>>
>>> *Houssam Chammaa, Engr*
>>>
>>> _
>>>
>>> *IT Specialist*
>>>
>>> *World Health Organization*
>>>
>>> *Lebanese University Bldg. (Glass Bldg.)*
>>>
>>> *Museum Square - P.O. Box 11-5391*
>>>
>>> *Beirut – Lebanon*
>>>
>>> *___*
>>>
>>> *Tel. +961 1 612970 <%2B961%201%20612970>/1/2 ext 61809*
>>>
>>> *Fax. +961 1 612973 <%2B961%201%20612973>*
>>>
>>> *Mobile +961 70 111285 <%2B961%2070%20111285>*
>>>
>>> *Email. chamm...@who.int <chamm...@who.int>*
>>>
>>>
>>>
>>>
>>>
>>> http://www.emro.who.int/countries/lbn/index.html
>>>
>>> [image: Description: Facebook-logo-ICON-02]
>>> <https://www.facebook.com/pages/World-Health-Organization-Lebanon-Office/683820358325938>
>>>  <https://twitter.com/WHOLebanon>
>>> <https://www.youtube.com/channel/UCjSuROz6yO6rgXrEqryu1HA/feed?view_as=public>
>>>
>>>
>>>
>>> *From:* Knut Staring [mailto:knu...@gmail.com]
>>> *Sent:* Tuesday, September 29, 2015 12:28 PM
>>> *To:* CHAMMAA, Houssam Mahmoud
>>> *Subject:* Re: DHIS2 in Lebanon
>>>
>>>
>>>
>>> Hi Houssam,
>>>
>>>
>>>
>>> Sorry for the lack of response - in fact, it is usually better to send
>>> technical questions to dhis2-users@lists.launchpad.net, where you will
>>> get quick replies. But let me try and help: Is your server Windows or
>>> Linux? Are you running Tomcat? Typically, the log file will be the latest
>>> file available under the logs folder inside the tomcat folder.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Knut
>>>
>>>
>>>
>>> On Tue, Sep 29, 2015 at 7:59 AM, CHAMMAA, Houssam Mahmoud <
>>> chamm...@who.int> wrote:
>>>
>>> Dear Knut
>>>
>>> Please advise for the location of the Tomcat log file so I can send it
>>> to you.
>>>
>>>
>>>
>>> Thank you in advance
>>>
>>>
>>>
>>> *B. Regards*
>>>
>>>
>>>
>>> *Houssam Chammaa, Engr*
>>>
>>> _
>>>
>>> *IT Specialist*
>>>
>>> *World Health Organization*
>>>
>>> *Lebanese University Bldg. (Glass Bldg.)*
>>>
>>> *Museum Square - P.O. Box 11-5391*
>>>
>>> *Beirut – Lebanon*
>>>
>>> *___*
>>>
>>> *Tel. +961 1 612970 <%2B961%201%20612970>/1/2 ext 61809*
>>>
>>> *Fax. +961 1 612973 <%2B961%201%20612973>*
>>>
>>> *Mobile +961 70 111285 <%2B961%2070%20111285>*
>>>
>>> *Email. chamm...@who.int <chamm...@who.int>*
>>>
>>>
>>>
>>>
>>>
>>> http://www.emro.who.int/countries/lbn/index.html
>>>
>>> [image: Description: Facebook-logo-ICON-02]
>>> <https://www.facebook.com/pages/World-Health-Organization-Lebanon-Office/683820358325938>
>>>  <https://twitter.com/WHOLebanon>
>>> <https://www.youtube.com/channel/UCjSuROz6yO6rgXrEqryu1HA/feed?view_as=public>[image:
>>> UN70]
>>>
>>>  *Keep it green; leave it on the screen*
>>>
>>>
>>>
>>> *From:* Knut Staring [mailto:knu...@gmail.com]
>>> *Sent:* Tuesday, September 22, 2015 11:02 AM
>>> *To:* CHAMMAA, Houssam Mahmoud
>>> *Subject:* Out of office RE: DHIS2 in Lebanon
>>>
>>>
>>>
>>> Thank you for your message.
>>> I am currently on a mission to Liberia and will be back in office on Sep
>>> 28.
>>>
>>>
>>> Knut
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Knut Staring
>>>
>>> Dept. of Informatics, University of Oslo
>>>
>>> Norway: +4791880522
>>>
>>> Skype: knutstar
>>>
>>> http://dhis2.org
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>
> ___
> 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
>
>


-- 
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


Re: [Dhis2-users] [Dhis2-devs] error after run analystic

2015-10-05 Thread Alex Tumwesigye
Dear Channara,

Which version are you running? This bug was fixed. It is related to
timezone I f I remember very well.
If you check your period table, there are invalid ranges for 1975-01-01.
Just delete the invalid ranges and you will be fine.


Alex

On Mon, Oct 5, 2015 at 12:14 PM, channara rin <rin.chann...@gmail.com>
wrote:

> Hi DHIS2 member,
> i got the message from DHIS2 system like below. can you help me how to fix
> this problem?
>
> =
> Resource table process failed, please check the logs. Time:
> 2015-10-05T00:00:08.388+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception is
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
> at
> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
> at
> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
> at
> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
> at
> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
> at
> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
> at sun.reflect.GeneratedMethodAccessor2260.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
> at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
> at
> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
> Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> ___
> 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

Re: [Dhis2-users] [Dhis2-devs] error after run analystic

2015-10-05 Thread Alex Tumwesigye
period table but make sure you delete only that row.

Alex

On Mon, Oct 5, 2015 at 12:33 PM, channara rin <rin.chann...@gmail.com>
wrote:

> so you mean, i can delete row from table? which table should i can delete
> that row?
>
> On Mon, Oct 5, 2015 at 4:20 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Channara,
>>
>> Which version are you running? This bug was fixed. It is related to
>> timezone I f I remember very well.
>> If you check your period table, there are invalid ranges for 1975-01-01.
>> Just delete the invalid ranges and you will be fine.
>>
>>
>> Alex
>>
>> On Mon, Oct 5, 2015 at 12:14 PM, channara rin <rin.chann...@gmail.com>
>> wrote:
>>
>>> Hi DHIS2 member,
>>> i got the message from DHIS2 system like below. can you help me how to
>>> fix this problem?
>>>
>>> =
>>> Resource table process failed, please check the logs. Time:
>>> 2015-10-05T00:00:08.388+07:00. Message: PreparedStatementCallback; SQL
>>> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
>>> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
>>> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>> unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
>>> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>> unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists.
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>>> at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>>> at
>>> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>>> at
>>> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>>> at
>>> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>>> at
>>> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>>> at sun.reflect.GeneratedMethodAccessor2260.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at
>>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>>> at
>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
>>> at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
>>> at
>>> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
>>> at
>>> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
>>> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
>>> at
>>> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
>>> at
>>> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
>>> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown S

Re: [Dhis2-users] [Dhis2-devs] Upgrading from 2.5 to 2.20 using dhis-live

2015-10-02 Thread Alex Tumwesigye
Dear Gerald,

Please see this link http://dhis2.org/download/releases/2.X/dhis.war where
X is the version.

I managed to get from 2.7 onwards.

Alex

On Sat, Sep 26, 2015 at 11:29 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Dear All,
> Where can i download old DHIS 2 live (2.7 or 2.9 or
> 2.102.19). I am trying to see if that will help me analyze
> my issues properly.
>
> Please help me.
>
> On 9/26/15, gerald thomas <gerald17...@gmail.com> wrote:
> > Dear Alex,
> > From the link you shared i am only seeing 2.10 to 2.20. I can't find
> > 2.6 to 2.9. Please help me and don't forget i am using dhis2-live for
> > my test case.
> >
> > On 9/26/15, Alex Tumwesigye <atumwesi...@gmail.com> wrote:
> >> Dear Thomas,
> >>
> >> 2.5 is a very old version. There has been many changes till 2.20.
> >> I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to
> >> 2.8..2.20.
> >> It is a simple process you need to stop the tomcat server, then dump the
> >> war file and start the server again for each version.for version 2.13 to
> >> 2.20.you may need to run upgrade scripts before dumping the war file.
> >>
> >> You can get war files from https://apps.dhis2.org/ci
> >>
> >> Good luck.
> >>
> >> Alex
> >>
> >> On Friday, September 25, 2015, gerald thomas <gerald17...@gmail.com>
> >> wrote:
> >>
> >>> Dear All,
> >>> I am trying to upgrade one of our local (standalone server) instances
> >>> of dhis2 which was running on version 2.5. I exported the database and
> >>> import  the database into a dhis2-live version 2.20.
> >>> The application is running on windows and my database is PostgreSQL
> >>> 9.3.9. The upgrade was successful but when i ran "Data Set Report" for
> >>> a particular Data Set; i am getting a blank report.
> >>>
> >>> I tried to do "Analytic and Data Mart" but i am getting error. Please
> >>> find the attached log files.
> >>>
> >>>
> >>> Please can someone help?
> >>>
> >>> --
> >>> Regards,
> >>>
> >>> Gerald
> >>>
> >>
> >>
> >> --
> >> 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
> >> "
> >>
> >
> >
> > --
> > Regards,
> >
> > Gerald
> >
>
>
> --
> Regards,
>
> Gerald
>



-- 
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


Re: [Dhis2-users] [Dhis2-devs] data mart deprecation - 2.21

2015-08-26 Thread Alex Tumwesigye
Thanks Lars.

I was the biggest user of the datamart until last year and I agree to your
suggestion of using the webapi. The webapi is better in performance and
ideally it can do almost everything with addition of a few SQLviews in case
of too specific requirements.

Thanks for the great work Dev team.

Alex

On Wed, Aug 26, 2015 at 2:27 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hi,

 we are thinking of removing the data mart functionality in DHIS 2. This
 refers to the ability to populate the aggregateddatavalue and
 aggregatedindicatorvalue tables with pre-aggregated data.

 The data mart is no longer in use by DHIS 2. There might be third-party
 report tools out there that connects directly to the data mart tables.

 We recommend that you connect reporting tools to the analytics web api
 https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s26.html for
 the sake of  performance, accessibility and security. If you need to
 connect with JDBC it is possible to create a SQL view to combine all
 analytics partitions and perform aggregation using group by statements.

 If we do not hear strong objections within a week we will remove data mart
 for version 2.21.


 regards,

 Lars




 --
 Lars Helge Øverland
 Lead developer, DHIS 2
 University of Oslo
 Skype: larshelgeoverland
 http://www.dhis2.org https://www.dhis2.org


 ___
 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


Re: [Dhis2-users] Can we select a date range through the Web API

2015-08-25 Thread Alex Tumwesigye
Dear Randy,

Please you may need to encode the space as %20 so that Health Center
becomes Health%20Center

The quick fix is to write a simple script (php since iHRIS is based on it
or bash or node.js) that filters only those that are lastupdatedVARIABLE,
then regenerate the xml or deal with every processed entry independently.

Alex


On Tue, Aug 25, 2015 at 7:39 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 To answer your question, in

 criteria=Type:Health

 Type refers to the column  name, and Health to the filter value. So you
 need to make sure that the column name in the URL matches exactly the
 column name in the SQL view response. You can find the name in the headers
 part of the response.

 regards,

 Lars




 On Tue, Aug 25, 2015 at 6:02 PM, Lars Helge Øverland larshe...@gmail.com
 wrote:

 Hi Randy,

 this sounds like a good fit for the new sql view variables feature in
 2.20:

 https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s24.html#d5e3146

 You can also use criteria (slightly less performant), see documentation
 on how to define the query + url parameters in the docs:

 https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s24.html#d5e3139


 regards,

 Lars




 On Tue, Aug 25, 2015 at 5:56 PM, Wilson, Randy rwil...@msh.org wrote:

 Hi All,

 We're trying to synch facility data between DHIS-2 and a new Provider
 Registry linked to iHRIS using the API.  I've created a SQL view that works
 nicely to pull all of the data and I am able to filter for exact matches
 (e.g.).  (I can't seem to get the FRED API to work in version 2.20).


 https://hmis.moh.gov.rw/hmis/api/sqlViews/LQ83r2JDHKw/data.xml?criteria=Type:Health
 Center

 but we would also like to filter by a date range fore example:
 lastupdated2015-01-01.  This does not seem to work  not even sure
 where to put the  sign, should it be criterialastupudated:2015-01-01?

 Also, have we fixed the issue where Analytics tries to drop and rebuild
 all resource tables and SQL views before running.  My SQL view refers to
 _orgunitstructure in order to select only level 6 facilities.  In the past
 it could not drop _orgunitstructure because it was referred to in a view
 and analytics failed.

 Any suggestions?

 --
 *Randy Wilson*
 *Team Leader: **Knowledge Management, Data Use and Research*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
 http://www.msh.org/
 Stronger health systems. Greater health impact.
 https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*
 ___
 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 https://www.dhis2.org




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




-- 
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


Re: [Dhis2-users] Visualizer,even visualizer, pivot table

2015-08-21 Thread Alex Tumwesigye
In case, you are using nginx, please clear nginx cache too.

Alex

On Fri, Aug 21, 2015 at 2:12 PM, Morten Olav Hansen morte...@gmail.com
wrote:

 Also, please make sure your browser cache is cleared. The easier would be
 to try it out in a chrome incognito window.

 --
 Morten

 On Fri, Aug 21, 2015 at 6:07 PM, Jan Henrik Øverland 
 janhenrik.overl...@gmail.com wrote:

 Hi Nami,

 Please use Google Chrome, press Ctrl + Shift + j to open the console,
 reload the app and check if there are any error messages.

 Jan

 On Fri, Aug 21, 2015 at 12:50 PM, Nami ghadri nami_gha...@hotmail.com
 wrote:



 *hello dears,*


 *i am testing 2.20 with postgres 9.4 *


 * data visulizer or event visulizer or pvot table wont load when i press
 one of them *


 they all frezz on intilizing


 any ideas or guid lines


 thanks in advance




 ___
 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




-- 
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


Re: [Dhis2-users] Two way Data Synchronisation?

2015-08-14 Thread Alex Tumwesigye
Morina,

Not sure about that. Why don't you introduce in the third node and still do
one way synchronization (its just a suggestion for trial).

Primary  Mirror  Node 3  Primary

Alex


On Fri, Aug 14, 2015 at 3:53 PM, Morina Matasi morena.motsi...@gmail.com
wrote:

 Is two way data synchronisation possible? I have two servers, Primary and
 Mirror. Primary data capturing is done on the primary but when the primary
 is slow or not available, I would like users to capture on the mirror.

 I currently have one way synchronisation, whereby the Primary sends data
 to the mirror. I would want the Mirror to also synchronise with the
 primary. Is this possible? Are there any possible downsides to this setup?

 Regards,

 Morena

 ___
 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




-- 
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


Re: [Dhis2-users] Illegal Data element identifier on 2 data elements in a Dataset (DHIS 2.18)

2015-08-03 Thread Alex Tumwesigye
Dear Sam,

That's sometimes happens. I have experienced it very many times on multiple
datasets, elements, etc.

You should always check public access permission if you are not restricting
anything. The public access sometimes resets to none by itself. However, I
have not been able to replicated it by testing.

Alex

On Mon, Aug 3, 2015 at 1:25 PM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Lars,
 Setting the public to read/write solves the problem, however setting the
 Usergroup read/ write sharing setting was not changing anything.

 The confusing bit was that I had not explicitly set the sharing
 permissions for any of the other data elements and yet they seemed to be
 okay; Unless the default was read/write for public even if it is not
 showing in my user interface.

 I will just go ahead set them for the rest.


 thanks.

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | MOH - Public Health Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Mon, Aug 3, 2015 at 12:46 PM, Lars Helge Øverland larshe...@gmail.com
 wrote:

 Hi Sam,

 this may mean that you have restricted sharing on those data elements.
 Please check that the data elements have public read/write or that your
 user has read access to those data elements under data elements  sharing.

 regards,

 Lars


 On Mon, Aug 3, 2015 at 11:34 AM, Sam Kasozi kaso...@gmail.com wrote:

 There seems to be a problem that has persisted.


 I have 2 data elements in a dataset of 22 data elements that give me the
 error message 'Illegal data element identifier: ' during data entry
 when the user does not have the 'All' user role permission as shown below.



 WITHOUT the ‘All’ user role permission - Zero is an exception {Though
 not Saved}


  [image: Inline image 1]


 However after adding the ALL permission, the error message doesn't
 appear and the value is saved successfully.



 regards,



 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | MOH - Public Health Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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 https://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




-- 
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


Re: [Dhis2-users] Importing data from 2.16 to 2.19

2015-07-22 Thread Alex Tumwesigye
Dear Bridget,

Please find the versions here:
https://apps.dhis2.org/ci/

Alex

On Thu, Jul 23, 2015 at 1:04 AM, Bridget Magoba bridgetmag...@mifumi.org
wrote:

 Dear all,

 Is it possible to import data from 2.16 to 2.19? Am also trying to search
 for 2.16 from the website but cannot find it. Please help.



 Thanks



 Magoba Bridget

 Database Manager

 MIFUMI

 Mobile: +256 774659892

 Tel: +256 414666946/392174242

 P.O Box 274, Tororo

 Plot 13, Martyrs’ Drive, Ntinda

 Kampala

 www.mifumi.org




 --
   [image: Avast logo] https://www.avast.com/antivirus

 This email has been checked for viruses by Avast antivirus software.
 www.avast.com https://www.avast.com/antivirus


 ___
 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




-- 
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


[Dhis2-users] Import error

2015-07-21 Thread Alex Tumwesigye
Dear DHIS2 Users,

I managed to import datasets into ver 2.18 without any issues.
When I upgrade the server to version 2.19 and export, it works.
The imported datasets from 2.19 fails with the error below when you try to
import it to a 2.19 server.






*Validation Violations: [ValidationViolation{property='version',
message='Invalid range for value [0, 255], value is 422', value=422}]The
version 2.19 build revision is:*19265

-- 
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


Re: [Dhis2-users] Failed Import for received Messages/ Successful when Manually Imported [Re-Import]

2015-07-15 Thread Alex Tumwesigye
Dear Sam,

According to the log extraction below, it shows redirection (302)

216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET
/dhis/dhis-web-maintenance-mobile/checkNewMessage.action HTTP/1.1 302
-

216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET
/dhis/dhis-web-commons/security/login.action HTTP/1.1 200 4110
10.0.0.25 - - [15/Jul/2015:12:05:56 +0300] POST /dhis/sms/smsinput.action?


Alex


On Wed, Jul 15, 2015 at 4:35 PM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Dapo,

 I have been trying to look through but have not been able to put a finger
 on anything.

 I have attached them in case someone else can find something.


 regards,


 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Wed, Jul 15, 2015 at 4:22 PM, Dapo Adejumo dapsyjo...@gmail.com
 wrote:

 Hi Sam….from experience, this is usually a little difficult to put a
 finger on the cause. What you can do is to check the logs for details
 related to the failed messages and see if that can help?



 ………

 *Regards,*

 *Dapo Adejumo*

 *+2348033683677 %2B2348033683677*

 *Skype : dapojorge*



 *From:* Dhis2-users [mailto:dhis2-users-bounces+dapsyjorge=
 gmail@lists.launchpad.net] *On Behalf Of *Sam Kasozi
 *Sent:* 15 July, 2015 12:31 PM
 *To:* dhis2-users@lists.launchpad.net
 *Subject:* [Dhis2-users] Failed Import for received Messages/ Successful
 when Manually Imported [Re-Import]



 I if any of you has experience this problem with especially version 2.18



 All incoming messages Fail. However when manually imported using the
 [Re-Import], they are successfully processed and sent to the DHIS2 Inbox.



 P.s I have attached a screen shot.





 regards,




 *Sam Kasozi*
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752

 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug



 ___
 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




-- 
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


Re: [Dhis2-users] How to save data from read only filed?/ calculative filed

2015-06-21 Thread Alex Tumwesigye
Dear Fatema,

You can use the Web Api (json) to help you get the value which you then
send to your opening balance field.
In the API url, the period should be set to current period - 1 (previous
month).

Alex

On Sun, Jun 21, 2015 at 10:25 AM, Jason Pickering 
jason.p.picker...@gmail.com wrote:

 Yeah, that is a bit trickier, and it is not directly supported in DHIS2 at
 the moment. What we have done in other logistics systems with DHIS2 is to
 calculate (automatically) the closing balance from the previous month using
 a script on the server, and import this into the next month as a data
 element for the opening balance . That is a somewhat complex approach than
 just making the opening balance a normal data element and having people
 report it as part of the form. So, I guess it really depends on how you
 actually get the opening balance. Script could be used to calculate it for
 you, but there are many gotchas such as missing data, etc which need to
 be taken into account.

 Regards,
 Jason


 On Sun, Jun 21, 2015 at 9:14 AM, Knut Staring knu...@gmail.com wrote:

 Custom form to allow data from two periods in one form?
 On Jun 21, 2015 8:07 AM, Uddin Fatema fatema...@gmail.com wrote:

 Thanks Jason, yes it can be good idea but what should i do with opening
 Balance. Any good idea?

 On Sun, Jun 21, 2015 at 12:45 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Fatema,

 Why don't you just use an indicator? It will not be saved in the
 database, but will be calculated and available in the data entry form as
 well as the analytics.

 Regards,
 Jason


 On Sun, Jun 21, 2015 at 8:14 AM, Uddin Fatema fatema...@gmail.com
 wrote:


 Dear All,

 I am creating a data entry screen which  screen short is given bellow.
 [image: Inline image 1]

 Opening Balance = Previous Month Closing Balance   and Opening Balance
 is read only field.


 How to bring Opening Balance in data entry form Previous Month


 Closing Balance = Opening Balance +Receipts this Months –
 Distribution/Consumption

 Closing Balance is read only filed.


 We calculate the filed by Json but Closing Balance cannot save in
 dhis2.

 Have Anyone work on it.

 Please help on it.

 Thanks

 Regards,
 *Fatema Uddin*

 Technical Advisor (HIS)-Support to the Health Sector Program II
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 German House
 House 10/A-2, Road 90
 Gulshan 2, Dhaka 1212, Bangladesh

 T  +880 9666701000
 F  +880 28823099
 M +880 19 6206 4721
 I   www.giz.de
 https://owa.giz.de/owa/redir.aspx?C=mPQMujasE0-yL6Aa4ocPcnkcfUThJNEIi4h1DwsYjO3Ua20UR_COt6aTH1s4JIdR4p-jCoFsP6A.URL=http%3a%2f%2fwww.giz.de%2f


 ___
 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




 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049




 --
 Regards,
 *Fatema Uddin*

 Technical Advisor (HIS)-Support to the Health Sector Program II
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 German House
 House 10/A-2, Road 90
 Gulshan 2, Dhaka 1212, Bangladesh

 T  +880 9666701000
 F  +880 28823099
 M +880 19 6206 4721
 I   www.giz.de
 https://owa.giz.de/owa/redir.aspx?C=mPQMujasE0-yL6Aa4ocPcnkcfUThJNEIi4h1DwsYjO3Ua20UR_COt6aTH1s4JIdR4p-jCoFsP6A.URL=http%3a%2f%2fwww.giz.de%2f


 ___
 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




 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049

 ___
 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




-- 
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


Re: [Dhis2-users] [Dhis2-devs] [Bug 1467115] [NEW] Data values not found

2015-06-20 Thread Alex Tumwesigye
Dear Lionel,

please change your timezone and try to re-run analytics.

Attempt to check the period table and see if there are periods with wrong
periodtypeids and if they exist delete them and re-run analytics.

Alex

On Sat, Jun 20, 2015 at 6:47 PM, Knut Staring knu...@gmail.com wrote:

 Please send to the list instead
 On Jun 20, 2015 3:25 PM, lionel ruberintwari ruber...@gmail.com wrote:

 Public bug reported:

 Hi all,

 We installed a fresh DHIS 2 (2.18) instance and we have imported our
 postgres dump, the problem we face is we are not abble to vizualise any
 data however if you go through data entry and choose org unit and
 period, we are able to view data but not possible through report module
 and dashboard. We have tried to do analytic and we got error as attached
 in the snapshot. Thanks in advance for your help

 Regards,

 ** Affects: dhis2
  Importance: Undecided
  Status: New

 ** Attachment added: Analytique.JPG

 https://bugs.launchpad.net/bugs/1467115/+attachment/4417600/+files/Analytique.JPG

 --
 You received this bug notification because you are a member of DHIS 2
 developers, which is subscribed to DHIS.
 https://bugs.launchpad.net/bugs/1467115

 Title:
   Data values not found

 Status in DHIS 2:
   New

 Bug description:
   Hi all,

   We installed a fresh DHIS 2 (2.18) instance and we have imported our
   postgres dump, the problem we face is we are not abble to vizualise
   any data however if you go through data entry and choose org unit and
   period, we are able to view data but not possible through report
   module and dashboard. We have tried to do analytic and we got error as
   attached in the snapshot. Thanks in advance for your help

   Regards,

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/dhis2/+bug/1467115/+subscriptions

 ___
 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


 ___
 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




-- 
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


Re: [Dhis2-users] indicator for outbreak detection and notification

2015-06-16 Thread Alex Tumwesigye
Dear Henri,

HISP Uganda actually implemented the Outbreak system for Rwanda eIDSR. It
does three things:
Compare data collected daily and aggregates it for a week and if it exceeds
a threshold, it sends an SMS/email to national iDSR group, district and sub
district users and it stores the values of the outbreak for that
facility/district as an event.
It also does that for seasonal and non seasonal diseases where you look
back in time.

The implementation was done using scripts in the background. If you are
interested, we can assist to look into your implementation and generate
scripts for you.

Alex





On Tue, Jun 16, 2015 at 5:51 PM, henri claude moungui henrimoun...@yahoo.fr
 wrote:

 Thank you Alex.
 I have the impression that the surveillance option does not respond to
 what I expect.
 It compares the current value (i.e the number of measles cases of the
 current week  - week 31) with the average number of measles cases of the
 previous weeks (week 30, week 29, week 28).
 In the surveillance of measles, if the number of cases of weeks
 w28+w29+w30+w31 is equal of more than 3 in one district, then this district
 is in alert of measles.

 Maybe there is a way to implement this in DHIS2, or to configure the
 surveillance rule to do this?





   Le Lundi 15 juin 2015 13h51, Alex Tumwesigye atumwesi...@gmail.com a
 écrit :


 Dear Claude,

 if data is entered at district level, that will be easy with a
 surveillance rule.
 Please see this for more information.
 https://www.dhis2.org/doc/snapshot/en/user/html/ch12s05.html

 Alex



 On Mon, Jun 15, 2015 at 11:25 AM, henri claude moungui 
 henrimoun...@yahoo.fr wrote:

  Hi to all.

 In disease surveillance, if a district reports 3 measles cases in 4 weeks,
 this district is in alert of a possible measles outbreak. I want to
 automatically be notified if a district reaches the alert threshold.
 One way could be that the control is done in data entry form.

 I am thinking on an indicator that could get the value yes/no if a
 district reaches the alert thereshold in DHIS2.
 I wrote this code hoping this would help but I don't know how to implement
 it. In fact, this code is just the way I see the procedure.

 Read week x ;
 Read District1;
 Write week x ;
 Write number_measles_cases (week  x);
 If   number_measles_cases (week x) + number_measles_cases (week x-1) +
 number_measles_cases (week  x-2) + number_measles_cases (week  x-3)=3
 Then District1.MeaslesEpiStatus= « yes » ;
 End



 Week x is the current week for which data are being entered.
 District1 is the district for which data are being entered.
 MeaslesEpiStatus is an indicator which value could be yes/no.

 A warmly mercy for all the DHIS2 support  team and users all around the
 world!

 Henri.




 ___
 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




 --
 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 





-- 
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


Re: [Dhis2-users] indicator for outbreak detection and notification

2015-06-15 Thread Alex Tumwesigye
Dear Claude,

if data is entered at district level, that will be easy with a surveillance
rule.
Please see this for more information.
https://www.dhis2.org/doc/snapshot/en/user/html/ch12s05.html

Alex



On Mon, Jun 15, 2015 at 11:25 AM, henri claude moungui 
henrimoun...@yahoo.fr wrote:

  Hi to all.

 In disease surveillance, if a district reports 3 measles cases in 4 weeks,
 this district is in alert of a possible measles outbreak. I want to
 automatically be notified if a district reaches the alert threshold.
 One way could be that the control is done in data entry form.

 I am thinking on an indicator that could get the value yes/no if a
 district reaches the alert thereshold in DHIS2.
 I wrote this code hoping this would help but I don't know how to implement
 it. In fact, this code is just the way I see the procedure.

 Read week x ;
 Read District1;
 Write week x ;
 Write number_measles_cases (week  x);
 If   number_measles_cases (week x) + number_measles_cases (week x-1) +
 number_measles_cases (week  x-2) + number_measles_cases (week  x-3)=3
 Then District1.MeaslesEpiStatus= « yes » ;
 End



 Week x is the current week for which data are being entered.
 District1 is the district for which data are being entered.
 MeaslesEpiStatus is an indicator which value could be yes/no.

 A warmly mercy for all the DHIS2 support  team and users all around the
 world!

 Henri.




 ___
 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




-- 
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


Re: [Dhis2-users] List of permission in DHIS2

2015-06-09 Thread Alex Tumwesigye
Dear Elmarie,

They are hard coded using spring security.
see an extract from the code.

action name=alluser class=org.hisp.dhis.user.action.GetUserListAction
  result name=success type=velocity/main.vm/result
  param name=page/dhis-web-maintenance-user/allUser.vm/param
  param name=menu/dhis-web-maintenance-user/menu.vm/param
  param 
name=javascriptsjavascript/user.js,javascript/filterTable.js/param
  param name=requiredAuthoritiesF_USER_VIEW/param
/action

action name=getUser class=org.hisp.dhis.user.action.GetUserAction
  result name=success
type=velocity-json/dhis-web-commons/ajax/jsonUser.vm/result
  param name=onExceptionReturnplainTextError/param
/action

action name=removeUser
class=org.hisp.dhis.user.action.RemoveUserAction
  result name=success
type=velocity-json/dhis-web-commons/ajax/jsonResponseSuccess.vm/result
  result name=logout
type=redirect/dhis-web-commons-security/logout.action/result
  result name=error
type=velocity-json/dhis-web-commons/ajax/jsonResponseError.vm/result
  param name=requiredAuthoritiesF_USER_DELETE/param
  param name=onExceptionReturnplainTextError/param
/action

action name=showAddUserForm
class=org.hisp.dhis.user.action.SetupTreeAction
  result name=success type=velocity/main.vm/result
  param name=page/dhis-web-maintenance-user/addUserForm.vm/param
  param 
name=javascripts../dhis-web-commons/oust/oust.js,../dhis-web-commons/ouwt/ouwt.js,javascript/user.js/param
  *param name=requiredAuthoritiesF_USER_ADD/param*
/action

action name=addUser class=org.hisp.dhis.user.action.AddUserAction
  result name=success
type=redirectuser.action?currentPage=${keyCurrentPage}amp;key=${keyCurrentKey}/result
  result name=error
type=velocity-json/dhis-web-commons/ajax/jsonResponseError.vm/result
  param name=javascriptsjavascript/user.js/param
  param name=requiredAuthoritiesF_USER_ADD/param
/action

Also follow these link.
http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.19/view/head:/dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties

Alex

On Tue, Jun 9, 2015 at 9:19 PM, Elmarie Claasen elma...@hisp.org wrote:

 Hi all,



 Can anyone provide me with a complete list of available userrole
 authorities which appears on the left side when you create a user role?



 I don’t see any table with that information in dhis2.



 Much appreciated - thanks



 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.



 ___
 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




-- 
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


Re: [Dhis2-users] List of permission in DHIS2

2015-06-09 Thread Alex Tumwesigye
Dapo,

You are right!!! the userrole table is referenced by that table.

Alex

On Tue, Jun 9, 2015 at 10:51 PM, Alex Tumwesigye atumwesi...@gmail.com
wrote:

 Dear Elmarie,

 They are hard coded using spring security.
 see an extract from the code.

 action name=alluser class=org.hisp.dhis.user.action.GetUserListAction
   result name=success type=velocity/main.vm/result
   param name=page/dhis-web-maintenance-user/allUser.vm/param
   param name=menu/dhis-web-maintenance-user/menu.vm/param
   param 
 name=javascriptsjavascript/user.js,javascript/filterTable.js/param
   param name=requiredAuthoritiesF_USER_VIEW/param
 /action

 action name=getUser class=org.hisp.dhis.user.action.GetUserAction
   result name=success 
 type=velocity-json/dhis-web-commons/ajax/jsonUser.vm/result
   param name=onExceptionReturnplainTextError/param
 /action

 action name=removeUser 
 class=org.hisp.dhis.user.action.RemoveUserAction
   result name=success 
 type=velocity-json/dhis-web-commons/ajax/jsonResponseSuccess.vm/result
   result name=logout 
 type=redirect/dhis-web-commons-security/logout.action/result
   result name=error 
 type=velocity-json/dhis-web-commons/ajax/jsonResponseError.vm/result
   param name=requiredAuthoritiesF_USER_DELETE/param
   param name=onExceptionReturnplainTextError/param
 /action

 action name=showAddUserForm 
 class=org.hisp.dhis.user.action.SetupTreeAction
   result name=success type=velocity/main.vm/result
   param name=page/dhis-web-maintenance-user/addUserForm.vm/param
   param 
 name=javascripts../dhis-web-commons/oust/oust.js,../dhis-web-commons/ouwt/ouwt.js,javascript/user.js/param
   *param name=requiredAuthoritiesF_USER_ADD/param*
 /action

 action name=addUser class=org.hisp.dhis.user.action.AddUserAction
   result name=success 
 type=redirectuser.action?currentPage=${keyCurrentPage}amp;key=${keyCurrentKey}/result
   result name=error 
 type=velocity-json/dhis-web-commons/ajax/jsonResponseError.vm/result
   param name=javascriptsjavascript/user.js/param
   param name=requiredAuthoritiesF_USER_ADD/param
 /action

 Also follow these link.

 http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.19/view/head:/dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties

 Alex

 On Tue, Jun 9, 2015 at 9:19 PM, Elmarie Claasen elma...@hisp.org wrote:

 Hi all,



 Can anyone provide me with a complete list of available userrole
 authorities which appears on the left side when you create a user role?



 I don’t see any table with that information in dhis2.



 Much appreciated - thanks



 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.



 ___
 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




 --
 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 




-- 
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


Re: [Dhis2-users] FW: Configuring SMS Gateway on DHIS2

2015-05-22 Thread Alex Tumwesigye
Dear Elmarie,

I can surely assure you that you will not achieve that from the DHIS2
interface. I tried it for eIDSR purposes in Rwanda and it never worked.

This is a quick fix:
You need to configure your own HTTP SMS gateway (kannel) using your
provided SMPP credentials.
Then use the created HTTP SMS gateway as your gateway for DHIS2.
I think, SMPP is not well tested in DHIS2.

Alex

On Thu, May 14, 2015 at 9:13 AM, Elmarie Claasen elma...@hisp.org wrote:

 Hi all,

 We are experiencing some challenges in configuring our instance of the
 DHIS(version:2.19) to send text messages to users.

 We have been in contact with a local WASP who provided us with
 configuration settings which we have applied for the SMS Service
 Configuration:

 Gateway Type: SMPP

 User Name: xx

 Password: xx

 Address: x

 Port: 2775

 The issue is when starting the SMS service it produces an error , but when
 you clicking on Reload Configuration it starts up and terminates the moment
 you navigate away from the SMS Service Configuration screen.

 We have recorded a narrated video (5MB) further explaining the problem
 for clarification please use the link to download:

 https://www.dropbox.com/s/4q8znay23l7i7n7/SMPP%20Gateway_Problem.mp4?dl=0

 Should you not be able to view the video due to a codec compatibility
 please download VideoLan: http://www.videolan.org/vlc/index.html

 Can anyone assist with advice on why this would not work properly – not
 sure if it is a bug as we cannot test on SL Demo or if the error is on our
 side.



 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.







 ___
 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




-- 
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


Re: [Dhis2-users] [Dhis2-devs] DHIS2 404 error

2015-05-18 Thread Alex Tumwesigye
Dear Gerald,

Please visit this link
https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s02.html#d5e505

Also ensure that only one tomcat instance is running on the port.


Alex

On Mon, May 18, 2015 at 8:13 PM, Dan Cocos d...@dancocos.com wrote:

 Hi Gerald,

 I looks like it is unable to connect to the database. Is your database
 started and your connection info properly set in hibernate.properties?


 *Dan Cocos*
 BAO Systems
 www.baosystems.com
 T: +1 202-352-2671 | skype: dancocos

 On May 18, 2015, at 12:46 PM, gerald thomas gerald17...@gmail.com wrote:

 Dear All,
 Why i am getting Error 404 most of the time? What am I doing wrong
 that is creating this error?
 Please help me.
 Attached are my log files.

 --
 Regards,

 Gerald
 catalina.2015-05-18.loglocalhost.2015-05-18.log
 ___
 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



 ___
 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




-- 
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


Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-23 Thread Alex Tumwesigye
Hi Liem,

Try adjusting the effective_cache_size and shared buffers and see.

Alex

On Thu, Apr 23, 2015 at 12:06 PM, Liem Le Duy liem.le...@pkgdvietuc.com
wrote:

 Hi Alex,

 I already followed that this my  morning but still problem. The attachment
 here is my configuration file

 It run fine in 30 minutes practicing continuously then the new problem
 relating to database connection performance issue I already sent in another
 mail thread. Please have a look on it and help me so

 Thank you


 On Thu, Apr 23, 2015 at 3:29 PM, Alex Tumwesigye atumwesi...@gmail.com
 wrote:

 Dear Liem,

 I have encountered such scenarios before. You may need to optimize your
 database.
 Go to postgresql conf and optimize it as per guidelines in
 https://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s02.html#d5e469

 It seems your queries are taking long to get processed. Increasing
 buffers may assist.

 Alex




 On Thu, Apr 23, 2015 at 5:07 AM, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

 Thank you for your kindness, Thuy!. I am happy and will remember that

 @Alex, I tried your option with Serra Leon database, at the first time
 it more quicker and can do some actions. However, after several actions,
 may be 2-3, I just navigated to dashboard, messages then moved to profile,
 the response become slowly as so far. Seem the system hang up

 And the Tomcat still take a lot of PC time about more 80% although my
 Tomcat is fresh with only DHIS2 web

 Best regards

 On Wed, Apr 22, 2015 at 5:19 PM, Thuy Nguyen thuy.hispviet...@gmail.com
  wrote:

 I am happy that you can run the DHIS in your computer now. I am Thuy
 from HISP Vietnam. If you need more support in learning DHIS 2 function and
 build database in it. I will be happy to help you.
 Vào 22-04-2015 17:05, Michael Mwebaze michael.mweb...@gmail.com đã
 viết:

 Hi Liem,

 I am glad I was of help.

 Cheers

 On 22 April 2015 at 06:01, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

 Hi Michael  Alex,

 It's MAGIC!, the DHIS2 support to generate new database from hql
 schema?

 I tried with new database and it run more faster, some actions can be
 tested as first time I see

 I also will try the option as Alex suggested by tomorrow and report
 you. I have to leave now

 I am very appreciated to your help!

 Thank you all a lot!
 Best regards
 Liem




 On Wed, Apr 22, 2015 at 4:47 PM, Alex Tumwesigye 
 atumwesi...@gmail.com wrote:

 Hi Liem,

 Please try this tomcat setting.

 JAVA_OPTS=-Xmx2000m -XX:MaxPermSize=800m

 Alex

 On Wed, Apr 22, 2015 at 12:45 PM, Liem Le Duy 
 liem.le...@pkgdvietuc.com wrote:

 Hi Nieker,

 Could you please create another thread for your issue? :)

 Thank you
 Liem

 On Wed, Apr 22, 2015 at 4:41 PM, Alex Tumwesigye 
 atumwesi...@gmail.com wrote:

 Dear Niekerk,

 Please visit https://www.dhis2.org/downloads for DHIS2 software.
 For documentation, please visit
 https://www.dhis2.org/documentation


 Alex

 On Wed, Apr 22, 2015 at 12:36 PM, Niekerk, AK, Mnr 
 akniek...@sun.ac.za akniek...@sun.ac.za wrote:

  Good Day All,



 I am new to the forum and I have identified that DHIS2 is a tool
 that could be used to monitor patient outcome indicators but I have 
 no idea
 how to go about requesting access to it. I know where to download 
 the tool
 and the resource documents but creating or requesting access is what 
 I seem
 to be having difficulty with.



 Is anyone able to direct/assist me?



 Kind Regards,



 *Ashley Niekerk*

 Programme Data Manager

 *South to South Program for Comprehensive Family HIV Care 
 Treatment *

 Department of Paediatrics and Child Health, Faculty of Medicine
 and Health Sciences, Stellenbosch University | 3rd Floor, Teaching 
 Block,
 Tygerberg Campus , Francie van Zyl Drive, Tygerberg 7505 | Tel +27
 021 938 9972 | Fax +27  021 938 9972 |

 Toll free 0800 050 050 | Email: akniek...@sun.ac.za |
 www.sun.ac.za/southtosouth

 [image: cid:image002.jpg@01CE98CD.649BE8E0]



 *From:* Dhis2-users [mailto:dhis2-users-bounces+akniekerk=
 sun.ac...@lists.launchpad.net] *On Behalf Of *Liem Le Duy
 *Sent:* 22 April 2015 11:34 AM
 *To:* Michael Mwebaze
 *Cc:* dhis2-users
 *Subject:* Re: [Dhis2-users] Please help me for a blank run-able
 DHIS2 database



 Hi Michael,

 I downloaded version 2.18 from this site
 https://www.dhis2.org/downloads. I just a newbie in this domain
 for 2 days and don't know where is better resource

 Best

 Liem



 On Wed, Apr 22, 2015 at 4:29 PM, Michael Mwebaze 
 michael.mweb...@gmail.com wrote:

   Liem,

 are you using the war downloaded from the dhis portal? I remember
 having issues with it so I had to checkout the source code and do a 
 fresh
 maven build and was then able to deploy it. I am hoping you don't 
 have to
 go that far.



 Regards,

 Michael



 On 22 April 2015 at 05:23, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

Hi Michael,

 Thank for your response

 Here below is my pc information

 RAM: 8gb
 JAVA_OPTS='-Xmx1024m -Xms1024m -XX:PermSize=512m
 -XX:MaxPermSize

Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-22 Thread Alex Tumwesigye
 example, the web
 site work but the performance is trouble. I can only log-in, any action
 after log-in successful take long time, I did some actions such as kick
 profile button.. then waited but the browser always in progress of
 connecting and return nothing for us

 I worry about of Serra Leon example data is huge, so that it cause
 performance

 Actually I hope to have a blank database version that come up with a lit
 bit data such as user, role,..but can be run-able however with more than
 320 tables I still not clarified on so I dont know what first point to
 start to have it

 So I think to you!, I will be very appreciated if you can send me a blank
 run-able data or suggest me some clues so I can easy to create it

 Thank you so much, for reading  understand my condition

 I am looking forward to your response

 Best regards



 ___
 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




-- 
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


Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-22 Thread Alex Tumwesigye
Hi Liem,

Please try this tomcat setting.

JAVA_OPTS=-Xmx2000m -XX:MaxPermSize=800m

Alex

On Wed, Apr 22, 2015 at 12:45 PM, Liem Le Duy liem.le...@pkgdvietuc.com
wrote:

 Hi Nieker,

 Could you please create another thread for your issue? :)

 Thank you
 Liem

 On Wed, Apr 22, 2015 at 4:41 PM, Alex Tumwesigye atumwesi...@gmail.com
 wrote:

 Dear Niekerk,

 Please visit https://www.dhis2.org/downloads for DHIS2 software.
 For documentation, please visit https://www.dhis2.org/documentation


 Alex

 On Wed, Apr 22, 2015 at 12:36 PM, Niekerk, AK, Mnr akniek...@sun.ac.za
 akniek...@sun.ac.za wrote:

  Good Day All,



 I am new to the forum and I have identified that DHIS2 is a tool that
 could be used to monitor patient outcome indicators but I have no idea how
 to go about requesting access to it. I know where to download the tool and
 the resource documents but creating or requesting access is what I seem to
 be having difficulty with.



 Is anyone able to direct/assist me?



 Kind Regards,



 *Ashley Niekerk*

 Programme Data Manager

 *South to South Program for Comprehensive Family HIV Care  Treatment *

 Department of Paediatrics and Child Health, Faculty of Medicine and
 Health Sciences, Stellenbosch University | 3rd Floor, Teaching Block,
 Tygerberg Campus , Francie van Zyl Drive, Tygerberg 7505 | Tel +27 021
 938 9972 | Fax +27  021 938 9972 |

 Toll free 0800 050 050 | Email: akniek...@sun.ac.za |
 www.sun.ac.za/southtosouth

 [image: cid:image002.jpg@01CE98CD.649BE8E0]



 *From:* Dhis2-users [mailto:dhis2-users-bounces+akniekerk=
 sun.ac...@lists.launchpad.net] *On Behalf Of *Liem Le Duy
 *Sent:* 22 April 2015 11:34 AM
 *To:* Michael Mwebaze
 *Cc:* dhis2-users
 *Subject:* Re: [Dhis2-users] Please help me for a blank run-able DHIS2
 database



 Hi Michael,

 I downloaded version 2.18 from this site https://www.dhis2.org/downloads.
 I just a newbie in this domain for 2 days and don't know where is better
 resource

 Best

 Liem



 On Wed, Apr 22, 2015 at 4:29 PM, Michael Mwebaze 
 michael.mweb...@gmail.com wrote:

   Liem,

 are you using the war downloaded from the dhis portal? I remember having
 issues with it so I had to checkout the source code and do a fresh maven
 build and was then able to deploy it. I am hoping you don't have to go that
 far.



 Regards,

 Michael



 On 22 April 2015 at 05:23, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

Hi Michael,

 Thank for your response

 Here below is my pc information

 RAM: 8gb
 JAVA_OPTS='-Xmx1024m -Xms1024m -XX:PermSize=512m -XX:MaxPermSize=1024m'

 TOMCAT: 8.0.21

 Java 7

 DHIS 2.18

 Psql 9.4

 If you want I will start TeamViewer so you can remote access

 Thank you a lot

 Liem





 On Wed, Apr 22, 2015 at 4:18 PM, Michael Mwebaze 
 michael.mweb...@gmail.com wrote:

Hi Liem,

 How much RAM does your system have? My laptop has 4GB of RAM and I am
 able to run the DHIS2 (with Sierra Leone DB) without any problem with the
 following settings:

 JAVA_OPTS  -Xmx512m -XX:MaxPermSize=256m

 Tomcat : 8.0.15

 Java 7

 DHIS 2.18

 Psql 9.3



 What version of the DHIS2 have you deployed?

 Regards,

 Michael



 On 22 April 2015 at 04:59, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

  Hi everyone,

   1. Using command-line to start Tomcat to see error, I can not see any
 error thrown out on screen. But I see into the log file, there is a message
 No Spring WebApplicationInitializer types detected on classpath

 2. To change JAVA_OPTS

 I already try some values, you can see some values in the SEV image
 below that start by REM. But performance still slow

 3. In the performance image, I captured the %CPU that Tomcat process
 take (at the first line)



 Please correct me if any my mistake of configuration





 On Wed, Apr 22, 2015 at 3:44 PM, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

   It's very slow on my pc now, I will try to follow all your suggest
 and report later

 thank you all a lot

 Best



 On Wed, Apr 22, 2015 at 3:24 PM, John Lewis johnlewis.h...@gmail.com
 wrote:

  Hi Liem,

 you need to set memory for tomcat.

 JAVA_OPTS=-Xmx1024m -Xms1024m -XX:PermSize=512m -XX:MaxPermSize=1024m



 On Wed, Apr 22, 2015 at 3:19 PM, Liem Le Duy liem.le...@pkgdvietuc.com
 wrote:

Hi Michael,

 Yes, correctly, I have checked the Tomcat process always take more than
 80% CPU

 I will try to start manually to see what happened

 Thank you a lot

 Liem





 On Wed, Apr 22, 2015 at 3:09 PM, Michael Mwebaze 
 michael.mweb...@gmail.com wrote:

   Hi Liem,

 if you deployed the war into tomcat, you might also want to increase the
 memory allocation to your tomcat. This will help significantly. Also if
 possible, start Tomcat from the command line so you are able to see if any
 exceptions are being thrown so you can troubleshoot. I hope this helps.

 Regards,

 Michael



 On 22 April 2015 at 04:03, John Lewis johnlewis.h...@gmail.com wrote:

  Hi Liem,

 How have you installed dhis2 using dhis2 live or individual component.

 you

Re: [Dhis2-users] System broken after upgrade to dhis2.18

2015-04-12 Thread Alex Tumwesigye
Dear Ese,

Please drop the column 'active' on table organisationunit. It was dropped
in 2.18. See upgrade notes: https://www.dhis2.org/218-upgrade

Alex

On Sun, Apr 12, 2015 at 7:17 PM, Ese Egerega e...@cis.com.ng wrote:

 Dear All,

 Am having trouble with my dhis2 instance after upgrading from dhis2.17 to
 2.18. After loading the 2.18 war file, I no longer have access to the
 system. The home page loads quite alright but when I try to login I get the
 following error message:
 An exception occurred

 Sorry! The system failed to execute the operation. Usually, no data is
 lost and you can continue working by going back to the previous page.
 My tomcat error log shows something like column organisati1_.active does
 not exist.

 See details below:

 * WARN  2015-04-12 15:39:57,998 SQL Error: 0, SQLState: 42703
 (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
 * ERROR 2015-04-12 15:39:57,998 ERROR: column organisati1_.active does not
 exist
   Position: 608 (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
 * ERROR 2015-04-12 15:39:57,998 Error while executing action
 (ExceptionInterceptor.java [ajp-bio-8009-exec-18])
 org.hibernate.exception.SQLGrammarException: could not extract ResultSet

 I will appreciate any advice
 .

 Thanks,
 Ese

 ___
 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




-- 
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


Re: [Dhis2-users] Print Comment in dataset

2015-04-09 Thread Alex Tumwesigye
Dear Channara,

May be write an sqview that extracts all the comments per data element and
the print them from there.

Alex

On Thu, Apr 9, 2015 at 9:16 AM, channara rin rin.chann...@gmail.com wrote:

 Hi All,
 Do you know how can i print out the comment of each data element in
 dataset?

 Thanks

 ___
 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




-- 
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


Re: [Dhis2-users] Indicators or Validations when using Combination of categories on DataSet

2015-03-31 Thread Alex Tumwesigye
Dear Rodolfo,

How about using a custom form with some jquery enforcing whatever you need?


Alex

On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia rme...@knowming.com wrote:

 Continuation of my question:

 Is it possible to write Indicator/ Validation expressions using a syntax
 that can refer to the DataSet Attribute, even if the UI doesn't expose it?

 Can I refer to a particular DataValue as [DataElement UID].[CatCombo
 UID].[DataSetAttribute] ?

 Otherwise I cannot use DataSetAttributes in my design: they are visible on
 analytics, but there are not exposed on Validations or Indicators, making
 them difficult (sometimes impossible) to use.

 R

 *Rodolfo Meliá*
 *Principal  |  *rme...@knowming.com
 Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
 www.knowming.com

 On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia rme...@knowming.com
 wrote:

 When using a combination of Categories on a Data Set - how can I write a
 validation rule that compares values between the categories used by the
 DataSet, rather than the total?

 Similarly, how can I define an Indicator that uses for the numerator one
 Combination of Category of the data set, and then a different one for the
 denominator?

 In neither case the category combination is exposed on the User
 Interface: only the DataElements and related CatCombos are exposed.


 Rodolfo



 ___
 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




-- 
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


[Dhis2-users] Using radio buttons in custom forms

2015-03-26 Thread Alex Tumwesigye
Dear DHIS2 users/Developers,

Has anyone used radio/checkbox buttons in custom forms for datasets? When I
add them and save, the value resets itself to .
How can I achieve the same functionality of checkboxes?


I know they are used in case based entry.
-- 
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


Re: [Dhis2-users] Html report

2015-03-22 Thread Alex Tumwesigye
Dear Ngoni,


I recently developed some standard report similiar to your scenario which
displays an RMNCH Score card. It takes the ranges of data (from analytics)
and changes the color codes depending on the range.If the increment is more
than five or less than five, it shows an UP /down arrow respectively.It
compares data for period in question with previous period.
Please find attached example for changing color codes I used.

Alex

On Sun, Mar 22, 2015 at 2:01 PM, Ngoni Manika nman...@hotmail.com wrote:

 Hi guys

 I'm trying to create an html report using js, I want to check a value then
 change the CSS color. Example

 //get data from analytics

 If  ($(#bcg).html.json())  50)
 {
 //change background color for the span bcg to green
 }

 The point is i want to check if an indicator is in a certain range set the
 background color of the  span/div to say green.

 Any help is appreciated
 Regards

 Ngoni Windows Phone

 ___
 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




-- 
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 
 text/html; charset=US-ASCII; name="ColorChange example.html": Unrecognized 
___
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 2,18 resource table generate Bugs

2015-03-20 Thread Alex Tumwesigye
Dear Fatema,

If I remember correctly, this used to be an issue in 2.16. I guess, it has
been carried to 2.18.

The problem was that, two similar dates were created and when you try to
run the resource table, that range is already created.
Query the period table directly for this date 2009-12-31, two duplicates
may exist.Please try to attempt to compare ranges for different period
types, this is where the problem is (You will encounter a range that is
meant to be for a week, yet it is assigned to daily or monthly)
If so, you may need drop it manually for the resource tables to be
generated.
Let me look for the script

Thanks.

Alex


On Fri, Mar 20, 2015 at 2:06 PM, Uddin Fatema fatema...@gmail.com wrote:

 Dear All,

 I have upgrade our application from 2.16 to 2.18.
 However, when we generate Resource table,we have get error. the error
 short note given in bellow.

  ERROR, category: RESOURCETABLE_UPDATE, t
 ime: Fri Mar 20 16:52:29 BDT 2015, message: Process failed:
 PreparedStatementCal
 lback; SQL [insert into _dateperiodstructure values
 (?,?,?,?,?,?,?,?,?,?,?,?)];
 ERROR: duplicate key value violates unique constraint
 _dateperiodstructure_pkey
 
   Detail: Key (dateperiod)=(2009-12-31) already exists.; nested exception
 is org
 .postgresql.util.PSQLException: ERROR: duplicate key value violates unique
 const
 raint _dateperiodstructure_pkey
   Detail: Key (dateperiod)=(2009-12-31) already exists.]
 (InMemoryNotifier.java
 [taskScheduler-1])
 * ERROR 2015-03-20 16:52:29,445 Unexpected error occurred in scheduled
 task. (Ta
 skUtils.java [taskScheduler-1])

 Additionally, here i attached the bug file.

 Could anyone please help us.
 --
 Regards,
 *Fatema Uddin*

 Technical Advisor (HIS)-Support to the Health Sector Program II
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 German House
 House 10/A-2, Road 90
 Gulshan 2, Dhaka 1212, Bangladesh

 T  +880 9666701000
 F  +880 28823099
 M +880 19 6206 4721
 I   www.giz.de
 https://owa.giz.de/owa/redir.aspx?C=mPQMujasE0-yL6Aa4ocPcnkcfUThJNEIi4h1DwsYjO3Ua20UR_COt6aTH1s4JIdR4p-jCoFsP6A.URL=http%3a%2f%2fwww.giz.de%2f


 ___
 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




-- 
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


Re: [Dhis2-users] [Dhis2-devs] dhis2 2, 18 resource table generate Bugs

2015-03-20 Thread Alex Tumwesigye
Dear Fatema,

All looks good and no duplicates.
The only odd stuff is this: Note the years (2063 and 2140)
811017,1,2063-03-11,2063-03-11
811018,1,2063-03-12,2063-03-12
811019,1,2063-03-13,2063-03-13
811020,1,2063-03-14,2063-03-14
811021,1,2063-03-15,2063-03-15
811022,1,2063-03-16,2063-03-16
811023,1,2063-03-17,2063-03-17
811024,1,2063-03-18,2063-03-18
811025,1,2063-03-19,2063-03-19
811026,1,2063-03-20,2063-03-20
811027,1,2063-03-21,2063-03-21
811028,1,2063-03-22,2063-03-22
811029,1,2063-03-23,2063-03-23
811030,1,2063-03-24,2063-03-24
811031,1,2063-03-25,2063-03-25
1555,1,2140-09-03,2140-09-03
1554,1,2140-09-04,2140-09-04
1550,1,2140-09-05,2140-09-05
1551,1,2140-09-06,2140-09-06
1552,1,2140-09-07,2140-09-07
1553,1,2140-09-08,2140-09-08

can you try this query on period table?
delete from period where enddate is null  or startdate is null;

After running this query, go to resource table and regenerate them.

Thanks.

Alex

On Fri, Mar 20, 2015 at 3:52 PM, Uddin Fatema fatema...@gmail.com wrote:

 Dear Alex,

 I have run this query and get two result.

 select enddate,startdate,periodtypeid from period where enddate =
 '2009-12-31' or startdate = '2009-12-31'

 Result is

 2009-12-31;2009-12-01;3
 2009-12-31;2009-01-01;6

 here i attached the file too.

 Thanks a lot


 On Fri, Mar 20, 2015 at 6:37 PM, Alex Tumwesigye atumwesi...@gmail.com
 wrote:

 Fatema,

 Can you dump for me the enddate, startdate and periodtype from period
 table for that date '2009-12-31'

 I need to see the output of select enddate,startdate,periodtypeid from
 period where enddate like '2009-12-31' or startdate like '2009-12-31' 

 Thanks.

 Alex

 On Fri, Mar 20, 2015 at 3:20 PM, Calle Hedberg calle.hedb...@gmail.com
 wrote:

 Did you verify that all three constraints are in place on the period
 table?

 If they are and you are 100% sure there are no duplicates, then I don't
 know - I've had similar error messages a couple of times, but removing the
 duplicates and re-inserting the constraint have always sorted it out.

 Clear cache (DHIS and browser), empty resource tables, re-start tomcat -
 I'm not aware of any other tricks

 Regards
 Calle

 On 20 March 2015 at 14:15, Uddin Fatema fatema...@gmail.com wrote:

 Thanks Calle,

 I have already checked all part and this period is daily, so startdate
 and enddate is same 2009-12-31

 However, my problem is remains same

 What can i do.


 On Fri, Mar 20, 2015 at 6:11 PM, Calle Hedberg calle.hedb...@gmail.com
  wrote:

 Fatema,

 note that 2009-12-31 looks like an ENDdate, not a startdate.

 Regards
 Calle

 On 20 March 2015 at 14:09, Uddin Fatema fatema...@gmail.com wrote:

 Thanks Bharath Anna and Alex.

 Actually i checked period table with this( 2009-12-31) startdate and
 there is no duplicate period with same startdate.

 Additionally, for test purpose i deleted this period from period
 table and from other related table with this periodid.

 Several time restart the tomcat and clear the cash.

 Although, problem remain same.

 Process failed: PreparedStatementCallback; SQL [insert into
 _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR: duplicate
 key value violates unique constraint _dateperiodstructure_pkey Detail:
 Key (dateperiod)=(2009-12-31) already exists.; nested exception is
 org.postgresql.util.PSQLException: ERROR: duplicate key value violates
 unique constraint _dateperiodstructure_pkey Detail: Key
 (dateperiod)=(2009-12-31) already exists.
 2015-03-20 12:03:45 Generating resource tables  

 What can i do now?

 On Fri, Mar 20, 2015 at 5:22 PM, Alex Tumwesigye 
 atumwesi...@gmail.com wrote:

 Dear Fatema,

 If I remember correctly, this used to be an issue in 2.16. I guess,
 it has been carried to 2.18.

 The problem was that, two similar dates were created and when you
 try to run the resource table, that range is already created.
 Query the period table directly for this date 2009-12-31, two
 duplicates may exist.Please try to attempt to compare ranges for 
 different
 period types, this is where the problem is (You will encounter a range 
 that
 is meant to be for a week, yet it is assigned to daily or monthly)
 If so, you may need drop it manually for the resource tables to be
 generated.
 Let me look for the script

 Thanks.

 Alex


 On Fri, Mar 20, 2015 at 2:06 PM, Uddin Fatema fatema...@gmail.com
 wrote:

 Dear All,

 I have upgrade our application from 2.16 to 2.18.
 However, when we generate Resource table,we have get error. the
 error short note given in bellow.

  ERROR, category: RESOURCETABLE_UPDATE, t
 ime: Fri Mar 20 16:52:29 BDT 2015, message: Process failed:
 PreparedStatementCal
 lback; SQL [insert into _dateperiodstructure values
 (?,?,?,?,?,?,?,?,?,?,?,?)];
 ERROR: duplicate key value violates unique constraint
 _dateperiodstructure_pkey
 
   Detail: Key (dateperiod)=(2009-12-31) already exists.; nested
 exception is org
 .postgresql.util.PSQLException: ERROR: duplicate key value violates
 unique const
 raint

Re: [Dhis2-users] Problem with tracker module

2015-03-19 Thread Alex Tumwesigye
.

 On Wed, Mar 18, 2015 at 1:48 PM, Bob Jolliffe 
 bobjolli...@gmail.com wrote:

 Hi Abyot

 I just had a quick look at the tracker app on one of the Rwanda
 dhis2 instances (it is running 2.17 built on  2015-01-21 02:05
 - strange I don't see the build revision)

 The form has some attributes and the Enrollment date and
 Reporting date at the bottom.  When I try to save I see that the 
 following
 is POSTed.


 {trackedEntity:BQu4uXKyrRE,orgUnit:BPZcHDS6OO0,attributes:[{attribute:xyp3l9obelI,value:55654},{attribute:ul7UIuUoP1Z,value:5654},{attribute:rOwntnIQh2P,value:56546},{attribute:QnwIsiKw2NF,value:5654},{attribute:SZ05eUTBMEN,value:6546},{attribute:tNGC3SeoHbb,value:5656},{attribute:FQGMFSwKUkB,value:56546},{attribute:VsUAhCcttyf,value:56546}]}

 Note there are no dates in this even though they were entered
 on the form.  This seems wrong,  I guess this is what causes the 
 sql to
 fail.

 Regards
 Bob

 On 17 March 2015 at 14:26, Abyot Gizaw aby...@gmail.com
 wrote:

 Hello Randy,

 Are you using the individual records module?

 Can you try tracker capture app?

 -
 Thank you,
 Abyot.

 (sent from mobile)
 On Mar 17, 2015 3:15 PM, Wilson, Randy rwil...@msh.org
 wrote:

 We're setting up a tracker module to capture data from
 individual community health workers using Multiple events with 
 registration.

 We have the program and stage as well as attributes and data
 elements - using 3 different instances of DHIS-2.

 When we try to create a new instance we fill in the form, but
 when we click on Add, the screen freezes.  The instance is not 
 saved so we
 can't enter any data.

 We are using version 2.18 build 18143

 Any guidance would be much appreciated we're stuck.

 Here is the log:
 * INFO  2015-03-17 16:08:42,610 'randy' create
 org.hisp.dhis.trackedentity.Track
 edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
 [http-bio-8080-exec-6])
 * INFO  2015-03-17 16:08:42,650 'randy' update
 org.hisp.dhis.trackedentity.Track
 edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
 [http-bio-8080-exec-6])
 * WARN  2015-03-17 16:08:42,650 SQL Error: 0, SQLState: 23502
 (SqlExceptionHelpe
 r.java [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,650 ERROR: null value in column
 registrationdate v
 iolates not-null constraint
   Detail: Failing row contains (19556, null, null, null,
 null, null, null, null,
  null, 872, null, null, S4SGPUtDl0o, null, 2015-03-17
 16:08:42.61, 2015-03-17 16
 :08:42.61, null, 17032). (SqlExceptionHelper.java
 [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,660 HHH000352: Unable to release
 batch statement...
 (AbstractBatchImpl.java [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,670 HHH000246: SQLException
 escaped proxy (AbstractB
 atchImpl.java [http-bio-8080-exec-6])
 java.sql.SQLException: You can't operate on a closed
 Statement!!!

 --
 *Randy Wilson*
 *Team Leader: **Knowledge Management, Data Use and Research*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
  http://www.msh.org/
 Stronger health systems. Greater health impact.
  https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely
 for the intended recipients. If received in error, please delete 
 them and
 notify the sender via reply e-mail immediately.*
 ___
 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











 --
 *Randy Wilson*
 *Team Leader: **Knowledge Management, Data Use and Research*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
  http://www.msh.org/
 Stronger health systems. Greater health impact.
  https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*






 ___
 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




-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Alex Tumwesigye
://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*
 ___
 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




-- 
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


Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Alex Tumwesigye
 immediately.*
 ___
 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




-- 
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


Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Alex Tumwesigye
*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
  http://www.msh.org/
 Stronger health systems. Greater health impact.
  https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*
 ___
 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




-- 
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


Re: [Dhis2-users] Problem with tracker module

2015-03-17 Thread Alex Tumwesigye
Dear Randy,
If you look at this line: ERROR 2015-03-17 16:08:42,650 ERROR: null value
in column registrationdate violates not-null constraint,
the  registrationdate can not be null, check that. Investigate around that.

Alex



On Tue, Mar 17, 2015 at 5:46 PM, Wilson, Randy rwil...@msh.org wrote:

 Works fine when we recreated all the same attributes data elements and
 program/stages in 2.17 must be a bug in 2.18.  We've also tried a very
 recent build (from last week)... and get the same error.

 On Tue, Mar 17, 2015 at 4:26 PM, Abyot Gizaw aby...@gmail.com wrote:

 Hello Randy,

 Are you using the individual records module?

 Can you try tracker capture app?

 -
 Thank you,
 Abyot.

 (sent from mobile)
 On Mar 17, 2015 3:15 PM, Wilson, Randy rwil...@msh.org wrote:

 We're setting up a tracker module to capture data from individual
 community health workers using Multiple events with registration.

 We have the program and stage as well as attributes and data elements -
 using 3 different instances of DHIS-2.

 When we try to create a new instance we fill in the form, but when we
 click on Add, the screen freezes.  The instance is not saved so we can't
 enter any data.

 We are using version 2.18 build 18143

 Any guidance would be much appreciated we're stuck.

 Here is the log:
 * INFO  2015-03-17 16:08:42,610 'randy' create
 org.hisp.dhis.trackedentity.Track
 edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
 [http-bio-8080-exec-6])
 * INFO  2015-03-17 16:08:42,650 'randy' update
 org.hisp.dhis.trackedentity.Track
 edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
 [http-bio-8080-exec-6])
 * WARN  2015-03-17 16:08:42,650 SQL Error: 0, SQLState: 23502
 (SqlExceptionHelpe
 r.java [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,650 ERROR: null value in column
 registrationdate v
 iolates not-null constraint
   Detail: Failing row contains (19556, null, null, null, null, null,
 null, null,
  null, 872, null, null, S4SGPUtDl0o, null, 2015-03-17 16:08:42.61,
 2015-03-17 16
 :08:42.61, null, 17032). (SqlExceptionHelper.java [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,660 HHH000352: Unable to release batch
 statement...
 (AbstractBatchImpl.java [http-bio-8080-exec-6])
 * ERROR 2015-03-17 16:08:42,670 HHH000246: SQLException escaped proxy
 (AbstractB
 atchImpl.java [http-bio-8080-exec-6])
 java.sql.SQLException: You can't operate on a closed Statement!!!

 --
 *Randy Wilson*
 *Team Leader: **Knowledge Management, Data Use and Research*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
  http://www.msh.org/
 Stronger health systems. Greater health impact.
  https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*
 ___
 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




 --
 *Randy Wilson*
 *Team Leader: **Knowledge Management, Data Use and Research*
 Rwanda Health System Strengthening Activity
 Management Sciences for Health
 Rwanda-Kigali
 Direct: +250 788308835
 E-mail: rwil...@msh.org
 Skype: wilsonrandy_us
  http://www.msh.org/
 Stronger health systems. Greater health impact.
  https://www.facebook.com/ManagementSciencesForHealth
 https://twitter.com/MSHHealthImpact
 https://www.youtube.com/user/MSHHealthImpact
 www.msh.org

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*

 ___
 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




-- 
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


Re: [Dhis2-users] [Dhis2-devs] How to change the financial year from a default (OctYYYY-SepYYYY) to another one

2015-03-17 Thread Alex Tumwesigye
Dear Lars,

Thanks for sharing this blueprint.Once implemented, it will take care of
the issue.
In the mean time, let me find a way to hard code the results within the
report using JQuery.

Thanks.

Alex

On Mon, Mar 16, 2015 at 7:21 PM, Bob Jolliffe bobjolli...@gmail.com wrote:

 SDMX 2.1 has the concept of a REPORTING_YEAR_START_DAY.  See

 http://sdmx.org/wp-content/uploads/2011/04/SDMX_2-1_SECTION_6_TechnicalNotes.pdf
 .

 Thus you can have PERIOD=2010  REPORTING_YEAR_START_DAY=--07-01
 which would indicate the year running from 01-July-2010 to 31 Aug
 2011.

 Not sure if this concept is useful in implementing the blueprint,
 though it would certainly be useful to follow a standard.  Note the
 same mechanism can be used for months, quarters, weeks etc.  So:

 PERIOD=2010Q2  REPORTING_YEAR_START_DAY=--10-01

 would indicate the second quarter in the USG financial year of 2010.

 On 16 March 2015 at 15:48, Lars Helge Øverland larshe...@gmail.com
 wrote:
  Hi Alex,
 
  sorry at the moment the last financial year relative period is locked
 to
  the october-based financial year. We have a blueprint for making this a
  system setting here:
 
 
 https://blueprints.launchpad.net/dhis2/+spec/configurable-financial-year-relative-period
 
  regards,
 
  Lars
 
 
  On Sat, Mar 14, 2015 at 10:49 AM, Alex Tumwesigye atumwesi...@gmail.com
 
  wrote:
 
 
  Dear DHIS2 users/Dev Team,
 
  How can I change the financial year from a default (Oct-Sep) to
  another one e.g Jul to Jun in the standard reports.
  When you choose financial year as your period while creating standard
  reports, there is no way to adjust the defaulted one when you try to
  generate the report.
 
  In the documention, under period formats, the different financial years
  are supported. How can I activate them.
  Also in dataset and reporting rate reports, different financial years
 are
  supported.
 
  Thanks.
 
  --
  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-devs
  Post to : dhis2-d...@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-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


Re: [Dhis2-users] Validation rules [with type Surveillance]

2015-03-17 Thread Alex Tumwesigye
Dear Emmanuel,

Is Data Monitoring Strategy turned in Data Administration - Scheduling?
Ask Venuste to turn it on.

Thanks.


Alex

On Tue, Mar 17, 2015 at 7:04 PM, Ntawuyirusha Emmanuel ntawe...@gmail.com
wrote:

 Dear All,

 I am creating a validation rule with type surveillance, i wanted the
 system to send me an email or a notification if there is any maternal death
 reported unfortunately the email testing is working well but these
 surveillance alerts are not coming?

 Anyone experienced the same problem?

 --
 **Mr. Emmanuel NTAWUYIRUSHA**

 *HMIS/MOHTelephone: *+250 788408772 %2B250%20788408772**

 *Email: ntawe...@gmail.com ntawe...@gmail.com**Do Good. Do It Well.***


 ___
 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




-- 
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


Re: [Dhis2-users] Total Field on a Section Form?

2015-02-27 Thread Alex Tumwesigye
Dear Morina,

You can use an indicator which sums all your data as you type.

Thanks.

Alex

On Fri, Feb 27, 2015 at 11:10 AM, Morina Matasi morena.motsi...@gmail.com
wrote:

 Can you put a TOTAL field on a Section form, so that as I am typing, the
 total updates at the bottom? If possible, how can I do this?

 ___
 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




-- 
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


Re: [Dhis2-users] Issue with events import via Web API with json format

2015-02-18 Thread Alex Tumwesigye
Dear Dev Team,

I managed to fix the issue on my database, I cant figure out how it
happened some programinstance row was deleted that was required for
reference in programstageinstance table.

Alex

On Tue, Feb 17, 2015 at 4:48 PM, Alex Tumwesigye atumwesi...@gmail.com
wrote:

 Dear Dev Team,

 I am trying to import events using the Web API (via curl).

 However, this is the response I get.
  * Connection #0 to host localhost left intact
 {imported:0,updated:0,ignored:0,importSummaries:[{status:ERROR,description:There
 is no program instance for program
 y9LMXyKYXSI,dataValueCount:{imported:0,updated:0,ignored:0,deleted:0},importCount:{imported:0,updated:0,ignored:0,deleted:0}}]}Done

 Here is the structure of my json. It is a single event with no
 registration created in 2.16. (tried with programStage too but still failed)

 {program:y9LMXyKYXSI,storedBy:System,orgUnit:o5Gxx8zOilJ,eventDate:2015-02-16,status:ACTIVE,dataValues:[{dataElement:AV9WEhlUhX3,value:0},{dataElement:Ut0gvAjKAVN,value:1900-01-01},{dataElement:J3eoixEr9qu,value:2015-02-16},{dataElement:b3pUScaaxK9,value:Byumba
 DH},{dataElement:KrZZcRgZFZ3,value:Rabies},{dataElement:QeU5nY1HhXz,value:2015W713022210},{dataElement:s9HlcTDBHQw,value:Probable},{dataElement:Gqprct6P5as,value:1
 Cases
 Threshold},{dataElement:DwUPWwOebPX,value:0},{dataElement:qa2bWueSi3x,value:System},{dataElement:KHCEtIgAK4z,value:2}]}


 I am using ver 2.17 build 17754

 --
 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 




-- 
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


  1   2   >