[Dhis2-devs] Mobile client draft

2010-09-30 Thread Asangansi
Hello,

I created a draft manual for the Mobile Client app for the IDSR weekly
reporting app by Saptarshi for Tanzania. Here is the link for the google
doc. Like to get feedback.
https://docs.google.com/document/pub?id=1L0WUq1vsHGKXS8aVSNicArWkc0qVkL7Qi6aqkKa_99k

The codes is available at
https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/tanzania

Cheers

skype: asangansi.ini
+47 48295638
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 1.4 Import

2010-11-05 Thread Asangansi
Hi All, DHIS 1.4 datafile import fails.

* ERROR 10:28:22,152 Internal process failed
DHIS14 import failed
at
org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.importData(DefaultDhis14FileImportService.java:322)
at
org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalProcess.java:89)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:91)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:40)
at
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:636)

skype: asangansi.ini
+47 48295638
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 1.4 Import

2010-11-05 Thread Asangansi
Hi Jason,

I cant seem to get the full log for now. I did it on another PC.

Will like to know what other issues and what particularly did you do for the
"On Change"


Rgrd

Ini


skype: asangansi.ini
+47 48295638



On Fri, Nov 5, 2010 at 2:09 PM, Jason Pickering  wrote:

> A bit more of the log would be useful, but I strongly suspect that
> this is because the "OnChange" period may be missing from the default
> periodtype object. I just inserted it into the table manually (At my
> own peril) and my import from 1.4 is currently chewing away.We will
> see what happens...
>
> However, there are any number of other data integrity issues that may
> be causing this.
>
> Regards,
> Jason
>
>
> On Fri, Nov 5, 2010 at 3:04 PM, Asangansi 
> wrote:
> > Hi All, DHIS 1.4 datafile import fails.
> >
> > * ERROR 10:28:22,152 Internal process failed
> > DHIS14 import failed
> > at
> >
> org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.importData(DefaultDhis14FileImportService.java:322)
> > at
> >
> org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalProcess.java:89)
> > at
> >
> org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:91)
> > at
> >
> org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:40)
> > at
> > org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
> > at java.lang.Thread.run(Thread.java:636)
> >
> > skype: asangansi.ini
> > +47 48295638
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+260968395190
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 1.4 Import

2010-11-05 Thread Asangansi
Ok thanks will look at that.

Cheers
Ini
skype: asangansi.ini
+47 48295638



On Fri, Nov 5, 2010 at 2:53 PM, Jason Pickering  wrote:

> I would like to hear the devs comment here. I sent an email earlier
> today regarding whether this periodtype is still supported. Some code
> exists in trunk, but I cannot really figure out why it is not there
> when the periodtype table is populated.
> All I did was to insert a row into the periodtype table
>
> INSERT INTO periodtype(periodtypeid, name) VALUES (8,'OnChange')
>
> or through the Postgres/MySQL gui
>
> I did this after DHIS had started up and populated periodtype table.
>
> Regards,
> Jason
>
>
> On Fri, Nov 5, 2010 at 3:43 PM, Asangansi 
> wrote:
> > Hi Jason,
> > I cant seem to get the full log for now. I did it on another PC.
> > Will like to know what other issues and what particularly did you do for
> the
> > "On Change"
> >
> > Rgrd
> > Ini
> > skype: asangansi.ini
> > +47 48295638
> >
> >
> >
> > On Fri, Nov 5, 2010 at 2:09 PM, Jason Pickering
> >  wrote:
> >>
> >> A bit more of the log would be useful, but I strongly suspect that
> >> this is because the "OnChange" period may be missing from the default
> >> periodtype object. I just inserted it into the table manually (At my
> >> own peril) and my import from 1.4 is currently chewing away.We will
> >> see what happens...
> >>
> >> However, there are any number of other data integrity issues that may
> >> be causing this.
> >>
> >> Regards,
> >> Jason
> >>
> >>
> >> On Fri, Nov 5, 2010 at 3:04 PM, Asangansi  >
> >> wrote:
> >> > Hi All, DHIS 1.4 datafile import fails.
> >> >
> >> > * ERROR 10:28:22,152 Internal process failed
> >> > DHIS14 import failed
> >> > at
> >> >
> >> >
> org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.importData(DefaultDhis14FileImportService.java:322)
> >> > at
> >> >
> >> >
> org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalProcess.java:89)
> >> > at
> >> >
> >> >
> org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:91)
> >> > at
> >> >
> >> >
> org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatementInternalProcess.java:40)
> >> > at
> >> >
> org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
> >> > at java.lang.Thread.run(Thread.java:636)
> >> >
> >> > skype: asangansi.ini
> >> > +47 48295638
> >> >
> >> >
> >> > ___
> >> > Mailing list: https://launchpad.net/~dhis2-devs
> >> > Post to : dhis2-devs@lists.launchpad.net
> >> > Unsubscribe : https://launchpad.net/~dhis2-devs
> >> > More help   : https://help.launchpad.net/ListHelp
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Jason P. Pickering
> >> email: jason.p.picker...@gmail.com
> >> tel:+260968395190
> >
> >
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+260968395190
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Deplyment failed

2010-11-10 Thread Asangansi
Hi, this time the dhis.war deployment in tomcat failed.
And this is the log.



Nov 10, 2010 4:31:53 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production
 environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.6.0_21\bin;.;C
:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft
Shared\Win
dows
Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b
in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program
 Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin\;C:\Program
Files\Java\jre6\bin;C:\Prog
ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files
(x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem\;C:\Program
Files\SlikSvn\bin\;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common
Files\Microsoft Shared\Windows
Live;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program
Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files
(x86)\SMLNJ\bin\;C:\Program F
iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files
(x86)\Bazaar;c:\cygwi
n\bin;C:\maven\bin.
Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 651 ms
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war
* INFO  16:32:03,598 System property dhis2.home not set
(DefaultLocationManager.java [main])
* INFO  16:32:03,601 Environment variable DHIS2_HOME points to
C:\DHIS\config (DefaultLocationM
anager.java [main])
* ERROR 16:33:57,614
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
'organisationunitid' in 'field list' (TableAlteror.java [main])
* ERROR 16:33:58,713 Context initialization failed (ContextLoader.java
[main])
java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersi
stenceMetadata(PersistenceAnnotationBeanPostProcessor.java:372)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProce
ssMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:320)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMe
rgedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreat
eBean(AbstractAutowireCapableBeanFactory.java:493)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createB
ean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBe
anFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(
DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBean
Factory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFa
ctory.java:190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateS
ingletons(DefaultListableBeanFactory.java:580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInit
ialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppli
cationContext.java:425)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoa
der.java:276)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoade
r.java:197)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoad
erListener.java:47)
at
or

Re: [Dhis2-devs] Deplyment failed

2010-11-11 Thread Asangansi
0:51:09,309 Internal process started
(AbstractStatementInternalProcess.java [Thread-20
])
* INFO  10:51:09,994 java.lang.RuntimeException: Query for Object failed
(DefaultDhis14FileImpo
rtService.java [Thread-20])
* ERROR 10:51:09,995 Internal process failed
(AbstractStatementInternalProcess.java [Thread-20]
)
DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
at
org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor
tData(DefaultDhis14FileImportService.java:321)
at
org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:91)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:619)
DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
at
org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor
tData(DefaultDhis14FileImportService.java:321)
at
org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:91)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:619)


Thanks.
Ini

__
skype: asangansi.ini
+47 48295638



On Wed, Nov 10, 2010 at 4:46 PM, Asangansi wrote:

> Hi, this time the dhis.war deployment in tomcat failed.
> And this is the log.
>
>
>
> Nov 10, 2010 4:31:53 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production
>  environments was not found on the java.library.path: C:\Program
> Files\Java\jdk1.6.0_21\bin;.;C
> :\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft
> Shared\Win
> dows
> Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b
>
> in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
> indowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
> (x86)\maven\bin;c:\Program
>  Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin\;C:\Program
> Files\Java\jre6\bin;C:\Prog
> ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files
> (x86)\Bazaar;C:\Program Files (x8
> 6)\QuickTime\QTSystem\;C:\Program
> Files\SlikSvn\bin\;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
> n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common
> Files\Microsoft Shared\Windows
> Live;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program
> Files
> (x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files
> (x86)\SMLNJ\bin\;C:\Program F
> iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files
> (x86)\Bazaar;c:\cygwi
> n\bin;C:\maven\bin.
> Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 651 ms
> Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
> Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor host-manager.xml
> Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor manager.xml
> Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive dhis.war
> * INFO  16:32:03,598 System property dhis2.home not set
> (DefaultLocationManager.java [main])
> * INFO  16:32:03,601 Environment variable DHIS2_HOME points to
> C:\DHIS\config (DefaultLocationM
> anager.java [main])
> * ERROR 16:33:57,614
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
> 'organisationunitid' in 'field list' (TableAlteror.java [main])
> * ERROR 16:33:58,713 Context initialization failed (ContextLoader.java
> [main])
> java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;
> at java.lang.Class.getDecl

[Dhis2-devs] CSV-JSON

2017-01-05 Thread Ime Asangansi

Good day friends,

I'm a web-api newbie here, in need a kind and quick clarification 
concerning response formats.


I'm trying to programmatically retrieve some data using CSV

Am I right to assume this?
for any data I can get in JSON format through 
api/analytics/dataValueSet.json?dimension=...
I can get the equivalent through 
api/analytics/dataValueSet.csv?dimension=...


I'm trying to switch our programmatic access to analytics to CSV, and 
want to know if this is the expected result as the manual says in 
https://ci.dhis2.org/docs/2.23/en/developer/html/ch01s32.html


But I tried it and I get a returned "statusCode: 404 Not Found" for CSV, 
and JSONP

whereas when I switch json to xml, it just works... Like
api/analytics/dataValueSet.xml?dimension=...

Or does this have to do with some configuration or the nature of the data?

Thanks so much, in anticipation.

Ime
Abuja

--
photo   
<http://twitter.com/imeasangansi> 
<http://ng.linkedin.com/company/ehealth4everyone> 
<http://twitter.com/ehealth4every1>

Ime Asangansi MD, PhD (Informatics)
Chief Excellence Officer, ehealth4everyone
Abuja, Nigeria

+2348180790150 
i...@ehealth4everyone.com <mailto:i...@ehealth4everyone.com>
Skype: asangansiime <#>
www.ehealth4everyone.com <http://www.ehealth4everyone.com>

<https://twitter.com/ehealth4every1><https://ng.linkedin.com/in/asangansi>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] CSV-JSON

2017-01-06 Thread Ime Asangansi

Thanks so much, Knut! Really appreciate your very quick reply!
Your examples work, but for some reason, I still face the problem I was 
having.


I can replicate the problem on the demo server. Please see the following:

This json below works:
https://play.dhis2.org/demo/api/25/analytics/dataValueSet.json?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

But when you switch to CSV, it gives the 404, as I had discussed in my 
initial mail.


https://play.dhis2.org/demo/api/25/analytics/dataValueSet.csv?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

As discussed earlier, XML response type works, but JSONP and CSV do not.

Really appreciate any help or clarification.
Takk!

Ime
Abuja


On 1/6/2017 12:03 PM, Knut Staring wrote:

If you want to use DataValueSet, you should use that endpoint:
https://play.dhis2.org/demo/api/dataValueSets.csv?dataSet=pBOMPrpg1QX&orgUnit=DiszpKrYNg8&period=201602


On Fri, Jan 6, 2017 at 11:50 AM, Knut Staring <mailto:knu...@gmail.com>> wrote:


Hi Ime,

This seems to work fine:

https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw

<https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw>

Knut

On Fri, Jan 6, 2017 at 7:11 AM, Ime Asangansi
mailto:imeasanga...@gmail.com>> wrote:

Good day friends,

I'm a web-api newbie here, in need a kind and quick
clarification concerning response formats.

I'm trying to programmatically retrieve some data using CSV

Am I right to assume this?
for any data I can get in JSON format through
api/analytics/dataValueSet.json?dimension=...
I can get the equivalent through
api/analytics/dataValueSet.csv?dimension=...

I'm trying to switch our programmatic access to analytics to
CSV, and want to know if this is the expected result as the
manual says in
https://ci.dhis2.org/docs/2.23/en/developer/html/ch01s32.html
<https://ci.dhis2.org/docs/2.23/en/developer/html/ch01s32.html>

But I tried it and I get a returned "statusCode: 404 Not
Found" for CSV, and JSONP
whereas when I switch json to xml, it just works... Like
api/analytics/dataValueSet.xml?dimension=...

Or does this have to do with some configuration or the nature
of the data?

Thanks so much, in anticipation.

Ime
Abuja

-- 
photo 		

<http://twitter.com/imeasangansi>
<http://ng.linkedin.com/company/ehealth4everyone>
<http://twitter.com/ehealth4every1>
Ime Asangansi MD, PhD (Informatics)
Chief Excellence Officer, ehealth4everyone
Abuja, Nigeria

+2348180790150 
i...@ehealth4everyone.com <mailto:i...@ehealth4everyone.com>
Skype: asangansiime
<#m_6862927987993447394_m_-2331909708527845880_>
www.ehealth4everyone.com <http://www.ehealth4everyone.com>


<https://twitter.com/ehealth4every1><https://ng.linkedin.com/in/asangansi>

___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] CSV-JSON

2017-01-07 Thread Ime Asangansi

Thanks so much, Lars and Knut.
Really appreciate.

Ime



On 1/6/2017 5:37 PM, Lars Helge Øverland wrote:

Hi Ime,

CSV is simply not supported. Please see the docs:

https://ci.dhis2.org/docs/master/en/developer/html/webapi_analytics.html#webapi_analytics_data_value_set_format


You can retrieve data in the raw data value set format from the 
dataValueSet resource:


/api/26/analytics/dataValueSet

The following resource representations are supported:

 *

json (application/json)

 *

xml (application/xml)



best regards,

Lars


On Fri, Jan 6, 2017 at 5:26 PM, Knut Staring <mailto:knu...@gmail.com>> wrote:


Not sure...I think you could  report it as a Jira issue.

On Jan 6, 2017 2:43 PM, "Ime Asangansi" mailto:imeasanga...@gmail.com>> wrote:

Thanks so much, Knut! Really appreciate your very quick reply!
Your examples work, but for some reason, I still face the
problem I was having.

I can replicate the problem on the demo server. Please see the
following:

This json below works:

https://play.dhis2.org/demo/api/25/analytics/dataValueSet.json?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

<https://play.dhis2.org/demo/api/25/analytics/dataValueSet.json?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME>

But when you switch to CSV, it gives the 404, as I had
discussed in my initial mail.


https://play.dhis2.org/demo/api/25/analytics/dataValueSet.csv?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

<https://play.dhis2.org/demo/api/25/analytics/dataValueSet.csv?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME>

As discussed earlier, XML response type works, but JSONP and
CSV do not.

Really appreciate any help or clarification.
Takk!

Ime
Abuja


On 1/6/2017 12:03 PM, Knut Staring wrote:

If you want to use DataValueSet, you should use that endpoint:

https://play.dhis2.org/demo/api/dataValueSets.csv?dataSet=pBOMPrpg1QX&orgUnit=DiszpKrYNg8&period=201602

<https://play.dhis2.org/demo/api/dataValueSets.csv?dataSet=pBOMPrpg1QX&orgUnit=DiszpKrYNg8&period=201602>


On Fri, Jan 6, 2017 at 11:50 AM, Knut Staring
mailto:knu...@gmail.com>> wrote:

Hi Ime,

This seems to work fine:

https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw

<https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw>

Knut

On Fri, Jan 6, 2017 at 7:11 AM, Ime Asangansi
mailto:imeasanga...@gmail.com>>
wrote:

Good day friends,

I'm a web-api newbie here, in need a kind and quick
clarification concerning response formats.

I'm trying to programmatically retrieve some data
using CSV

Am I right to assume this?
for any data I can get in JSON format through
api/analytics/dataValueSet.json?dimension=...
I can get the equivalent through
api/analytics/dataValueSet.csv?dimension=...

I'm trying to switch our programmatic access to
analytics to CSV, and want to know if this is the
expected result as the manual says in
https://ci.dhis2.org/docs/2.23/en/developer/html/ch01s32.html
<https://ci.dhis2.org/docs/2.23/en/developer/html/ch01s32.html>

But I tried it and I get a returned "statusCode: 404
Not Found" for CSV, and JSONP
whereas when I switch json to xml, it just works... Like
api/analytics/dataValueSet.xml?dimension=...

Or does this have to do with some configuration or
   

Re: [Dhis2-devs] CSV-JSON

2017-01-07 Thread Ime Asangansi

Sure, will be super useful. I'll do and post here.

Thanks

Ime
Abuja

On 1/7/2017 3:07 PM, Lars Helge Øverland wrote:
CSV would be useful though, feel free to open a Jira improvement issue 
<https://jira.dhis2.org>.




On Sat, Jan 7, 2017 at 2:36 PM, Ime Asangansi <mailto:imeasanga...@gmail.com>> wrote:


Thanks so much, Lars and Knut.
Really appreciate.

Ime



On 1/6/2017 5:37 PM, Lars Helge Øverland wrote:

Hi Ime,

CSV is simply not supported. Please see the docs:


https://ci.dhis2.org/docs/master/en/developer/html/webapi_analytics.html#webapi_analytics_data_value_set_format

<https://ci.dhis2.org/docs/master/en/developer/html/webapi_analytics.html#webapi_analytics_data_value_set_format>


You can retrieve data in the raw data value set format from the
dataValueSet resource:

/api/26/analytics/dataValueSet

The following resource representations are supported:

 *

json (application/json)

 *

xml (application/xml)



best regards,

Lars


On Fri, Jan 6, 2017 at 5:26 PM, Knut Staring mailto:knu...@gmail.com>> wrote:

Not sure...I think you could  report it as a Jira issue.

    On Jan 6, 2017 2:43 PM, "Ime Asangansi"
mailto:imeasanga...@gmail.com>> wrote:

Thanks so much, Knut! Really appreciate your very quick
reply!
Your examples work, but for some reason, I still face the
problem I was having.

I can replicate the problem on the demo server. Please
see the following:

This json below works:

https://play.dhis2.org/demo/api/25/analytics/dataValueSet.json?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

<https://play.dhis2.org/demo/api/25/analytics/dataValueSet.json?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME>

But when you switch to CSV, it gives the 404, as I had
discussed in my initial mail.


https://play.dhis2.org/demo/api/25/analytics/dataValueSet.csv?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME

<https://play.dhis2.org/demo/api/25/analytics/dataValueSet.csv?dimension=dx:gQNFkFkObU8&dimension=pe:LAST_4_QUARTERS&dimension=ou:jNb63DIHuwU;WAjjFMDJKcx;ZpE2POxvl9P;TSyzvBiovKh;azRICFoILuh;Umh4HKqqFp6;RzgSFJ9E46G;egv5Es0QlQP;pMEnu7BjqMz;EuoA3Crpqts;KfUCAQoOIae;bG0PlyD0iP3;AnXoUM1tfNT;nX05QLraDhO;LEVEL-4&displayProperty=NAME>

As discussed earlier, XML response type works, but JSONP
and CSV do not.

Really appreciate any help or clarification.
Takk!

Ime
Abuja


On 1/6/2017 12:03 PM, Knut Staring wrote:

If you want to use DataValueSet, you should use that
endpoint:

https://play.dhis2.org/demo/api/dataValueSets.csv?dataSet=pBOMPrpg1QX&orgUnit=DiszpKrYNg8&period=201602

<https://play.dhis2.org/demo/api/dataValueSets.csv?dataSet=pBOMPrpg1QX&orgUnit=DiszpKrYNg8&period=201602>


On Fri, Jan 6, 2017 at 11:50 AM, Knut Staring
mailto:knu...@gmail.com>> wrote:

Hi Ime,

This seems to work fine:

https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw

<https://play.dhis2.org/demo/api/analytics.csv?dimension=dx:fbfJHSPpUQD&dimension=pe:2016&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw>

Knut

On Fri, Jan 6, 2017 at 7:11 AM, Ime Asangansi
mailto:imeasanga...@gmail.com>> wrote:

Good day friends,

I'm a web-api newbie here, in need a kind and
quick clarification concerning response formats.

I'm trying to programmatically retrieve some
data using CSV

Am I right to assume this?
for any data I can get in JSON format through
api/analytics/dataValueSet.json?dimension=...
I can get the equivalent through
api/a

Re: [Dhis2-devs] Determining DHIS2 version in use from database instance

2017-01-12 Thread Ime Asangansi

Hi Calle,

At 2.23, our programrulevariable table got some minor change.
That may help you differentiate between 2.23 and previous.
See 
https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-223.sql


For devs, I've seen some other projects use the liquibase library 
(liquibase.org) to track their db schema - not sure if its appropriate, 
but just thought to mention.


Hope it helps

Ime
Abuja

photo   
<http://twitter.com/imeasangansi> 
<http://ng.linkedin.com/company/ehealth4everyone> 
<http://twitter.com/ehealth4every1>

Ime Asangansi MD, PhD (Informatics)
Chief Excellence Officer, ehealth4everyone
Abuja, Nigeria

+2348180790150 
i...@ehealth4everyone.com <mailto:i...@ehealth4everyone.com>
Skype: asangansiime <#>
www.ehealth4everyone.com <http://www.ehealth4everyone.com>

<https://twitter.com/ehealth4every1><https://ng.linkedin.com/in/asangansi>



On 1/13/2017 7:19 AM, Calle Hedberg wrote:

Hi

sigh - so there isn't any obvious way to do this currently.

I've written a JIRA issue for it - DHIS2-506

Best regards
Calle

On 12 January 2017 at 18:44, Lorill Crees <mailto:lcr...@2paths.com>> wrote:


+1 vote for this too!

On Thu, Jan 12, 2017 at 12:29 AM, Olav Poppe mailto:olav.po...@me.com>> wrote:

+1 vote for this. I remember it was proposed at the August
academy, but I don’t see any JIRA issue on it.

Olav



11. jan. 2017 kl. 20.05 skrev Bob Jolliffe
mailto:bobjolli...@gmail.com>>:

No I think its a good question.  I've often thought that it
would be useful for the database to get "marked" in some way
once it has been run against a particular build of war file. 
This can be useful for example when dealing with archived

backups.

But no I don't think we do this currently.

On 11 January 2017 at 17:01, Calle Hedberg
mailto:calle.hedb...@gmail.com>> wrote:

Hi,

maybe this is a bit dumb question, but:

Is there an easy method of determining which version a
specific database is using (e.g. differentiating between
2.25 and earlier versions are easy due to the new
softdelete field in the datavalue table, but it is not so
easy to differentiate between 2.21, 2.22, 2.23, and 2.24...)

Regards
Calle

***

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
<mailto:calle.hedb...@gmail.com>

Skype: calle_hedberg

***



___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>


___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>



___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>




-- 
Lorill Crees

Project Leader / Senior Developer
2Paths Solutions Ltd. <http://www.2paths.com>

lcr...@2paths.com <mailto:lcr...@2paths.com>
skype: lorill2paths
(604) 689-4123 x 15 

___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhi

[Dhis2-devs] Free DHIS2 Training for Nigeria-based NGOs - Abuja, Feb 22, 2017

2017-02-09 Thread Ime Asangansi

Dear colleague,

Nonprofit organizations in Nigeria play a major role through their 
healthcare delivery, prevention and advocacy programs.
However, they typically struggle to manage the M&E / MERL / HIS aspects 
of their projects and are generally not able to keep up with best 
practices and new appropriate technologies.
This shouldn't be, especially as program effectiveness, efficiency and 
funding often depend and need robust data for decisions and reporting - 
and there are great tools such as DHIS2 that meet these needs.


To help support the ecosystem of nonprofits in Nigeria, ehealth4everyone 
has designed a free DHIS2 Training series.
This is in keeping with our mission to make digital health tools 
available and accessible to everyone, especially those in low resource 
settings.


This activity is self-funded and as such we do not have enough room for 
more than 20 persons. Apply soon, as spaces are limited.


Apply at http://ehealth4everyone.com/dhis2-training/

Share with your colleagues working at NGOs in Nigeria.

Best regards,
Ime Asangansi MD, PhD (Informatics)
CEO, eHealth for Everyone Foundation

--
photo   
<http://twitter.com/imeasangansi> 
<http://ng.linkedin.com/company/ehealth4everyone> 
<http://twitter.com/ehealth4every1>

Ime Asangansi MD, PhD (Informatics)
Chief Excellence Officer, ehealth4everyone
Abuja, Nigeria

+2348180790150 
i...@ehealth4everyone.com <mailto:i...@ehealth4everyone.com>
Skype: asangansiime <#>
www.ehealth4everyone.com <http://www.ehealth4everyone.com>

<https://twitter.com/ehealth4every1><https://ng.linkedin.com/in/asangansi>

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] ProgramInstance + wish we had more code comments

2017-03-15 Thread Ime Asangansi

Hi Devs,

Please can anyone kindly clarify what a ProgramInstance is? I see that 
it is different from instances of Program or TEI which are quite well 
described.

I've missed where ProgramInstance is described in the manual.
For example, a new test database we've been using has 333 
ProgramInstance instances and 233 TrackedEntityInstances.
Since TEIs have a set of ProgramInstances, I am guessing that it is the 
number of enrollments by a TEI to a program or programstageinstance?


Also, I've tried to look at the javadoc and the code, but I noticed 
there's less comments these days for base domain/POJOs like these.


You can compare code comments from 
https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java 
to what we have for 
https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java
In the old part of the core, the entities have top level comments that 
one can really use to understand what is happening.


This can help a lot, since there's no dhis2 database schema document 
developed.


Would be so grateful.
Thanks so much.

Ime


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Fwd: Advanced DHIS2 Training Academy (Level 1) in Abuja, Nigeria by ehealth4everyone - March 28-30, 2017

2017-03-16 Thread Ime Asangansi



Advanced DHIS2 Training
Announcing our upcoming DHIS2 training

View this email in your browser 
 




 Announcing our upcoming advanced level 1 DHIS2 training academy

Hi,

We are pleased to inform you of the exciting opportunity to take part in 
our Advanced DHIS2 training coming up from the 28th to 30th March 
2017 in Abuja.


This training will feature setting up and customization of DHIS2, data 
entry/import and data analysis using the visualizer and pivot tables. 
More details on our site. Only 6 seats left as at today, March 16, 2017.


You can register on our website at www.ehealth4everyone.com/dhis2 
 
and http://ehealth4everyone.com/dhis2-advanced-training-1/


You can also follow us on our social media platforms; twitter 
@ehealth4every1 and LinkedIn 
https://www.linkedin.com/company/ehealth4everyone 
 
for more information on the training


Feel free to contact us through our email; ehealth4every...@gmail.com 
 or call us on; +234 9021720570.


We anticipate your response.

/Best Regards,/
/Ime, John and Chioma./

For the DHIS2 Team,
*eHealth4everyone*

Click Here for More Details 
 



 
	Share 
 



 
	Tweet 
 



 
	Share 
 



 
	Forward 
 



/Copyright © 2017 ehealth4everyone, All rights reserved./
You are receiving this email because you registered on our website. If 
you do not want to receive emails like this in the future, please 
unsubscribe.


*Our mailing address is:*
ehealth4everyone
ehealth4everyone HQ, Box Office, 215 Ademola Adetokunbo crescent
Wuse 2
Abuja 900211
Nigeria

Add us to your address book 




Want to change how you receive these emails?
You can update your preferences 
 
or unsubscribe from this list 



Email Marketing Powered by MailChimp 
 



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Web api for CSV data import for Tracker

2017-05-24 Thread Ime Asangansi

Good day everyone,

We are looking to import historical beneficiary data into 
DHIS2programmatically.
So, we have a quick question regarding the Web api for CSV data import 
for Tracker.


I couldn't find this, probably missed it.
Please can someone very kindly point to where the I can find relevant 
documentation on how to post CSV for tracker data?

Or to say if the feature doesn't exist yet?

Thanks so much.

With much appreciation,
Ime


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Web api for CSV data import for Tracker

2017-05-24 Thread Ime Asangansi

Thanks so much for your response, David.

I've seen this api, and can create beneficiaries.
But was actually referring to data - like datavalues for the beneficiaries.

Thanks for the indication that this isn't implemented yet.

Had thought I missed it somewhere in the manual.

Cheers,

Ime


On 5/24/2017 11:10 PM, David Muturi wrote:

Hi Ime,
One way is to create a script that loops through your data and posts 
the tei via the api. The payload syntax is described here 
https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei

The CSV IMPORT/export is not yet implemented.
rgds
David

2017-05-24 14:07 GMT+03:00 Ime Asangansi <mailto:imeasanga...@gmail.com>>:


Good day everyone,

We are looking to import historical beneficiary data into
DHIS2programmatically.
So, we have a quick question regarding the Web api for CSV data
import for Tracker.

I couldn't find this, probably missed it.
Please can someone very kindly point to where the I can find
relevant documentation on how to post CSV for tracker data?
Or to say if the feature doesn't exist yet?

Thanks so much.

With much appreciation,
Ime


___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>




___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Web api for CSV data import for Tracker

2017-05-24 Thread Ime Asangansi

By the way, do you know if this is in the road-map?
Any indication this will come later in the year?

Thanks
Ime


On 5/24/2017 11:18 PM, Ime Asangansi wrote:

Thanks so much for your response, David.

I've seen this api, and can create beneficiaries.
But was actually referring to data - like datavalues for the 
beneficiaries.


Thanks for the indication that this isn't implemented yet.

Had thought I missed it somewhere in the manual.

Cheers,

Ime


On 5/24/2017 11:10 PM, David Muturi wrote:

Hi Ime,
One way is to create a script that loops through your data and posts 
the tei via the api. The payload syntax is described here 
https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei

The CSV IMPORT/export is not yet implemented.
rgds
David

2017-05-24 14:07 GMT+03:00 Ime Asangansi <mailto:imeasanga...@gmail.com>>:


Good day everyone,

We are looking to import historical beneficiary data into
DHIS2programmatically.
So, we have a quick question regarding the Web api for CSV data
import for Tracker.

I couldn't find this, probably missed it.
Please can someone very kindly point to where the I can find
relevant documentation on how to post CSV for tracker data?
Or to say if the feature doesn't exist yet?

Thanks so much.

With much appreciation,
Ime


___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>






___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Web api for CSV data import for Tracker

2017-05-24 Thread Ime Asangansi

Thanks for this, David! I hadn't seen this.
Looks more like it.

We'll take a good look at this and see if it can meet our need.

Thanks so much.
Ime



On 5/25/2017 12:39 AM, David Muturi wrote:

Hi Ime,
Do you mean program stages ? You can get the documentation here 
https://docs.dhis2.org/master/en/developer/html/webapi_events.html

rgds
David

2017-05-25 1:18 GMT+03:00 Ime Asangansi <mailto:imeasanga...@gmail.com>>:


Thanks so much for your response, David.

I've seen this api, and can create beneficiaries.
But was actually referring to data - like datavalues for the
beneficiaries.

Thanks for the indication that this isn't implemented yet.

Had thought I missed it somewhere in the manual.

Cheers,

Ime


On 5/24/2017 11:10 PM, David Muturi wrote:

Hi Ime,
One way is to create a script that loops through your data and
posts the tei via the api. The payload syntax is described here

https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei

<https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei>
The CSV IMPORT/export is not yet implemented.
rgds
David

2017-05-24 14:07 GMT+03:00 Ime Asangansi mailto:imeasanga...@gmail.com>>:

Good day everyone,

We are looking to import historical beneficiary data into
DHIS2programmatically.
So, we have a quick question regarding the Web api for CSV
data import for Tracker.

I couldn't find this, probably missed it.
Please can someone very kindly point to where the I can find
relevant documentation on how to post CSV for tracker data?
Or to say if the feature doesn't exist yet?

Thanks so much.

With much appreciation,
Ime


___
Mailing list: https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
Post to : dhis2-devs@lists.launchpad.net
<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
<https://launchpad.net/%7Edhis2-devs>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>







___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] calling datavalueservice

2009-06-16 Thread Ime Asangansi

Hi guys,

Please can someone kindly show me code that calls the datavalueservice?
(Link in launchpad).
Particularly interested in any available code (in an external module) that 
handles the import of datavalues into the database (e.g. from import).

Also, any possiblities with adding datavalues through a webservice???

TIA!

Cheers,
Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS OpenMRS integration

2009-07-27 Thread Ime Asangansi
Hi Murod,

Interesting!

I think we really need to work on webservices for DHIS...particularly CREATE, 
UPDATE and DELETE  functionalities. I know Lars has done much of RETRIEVE 
through the expoze web service. Some of the functionalities we look to build 
into the mobile project will depend on these.

Best,
Ime

--- On Mon, 7/27/09, Murodullo Latifov  wrote:

From: Murodullo Latifov 
Subject: [Dhis2-devs] DHIS OpenMRS integration
To: "DHIS 2 developers" , "Jørn Braa" 

Date: Monday, July 27, 2009, 4:33 PM


Hi people,

I have initiated creation of DHIS - OpenHealth data exchange module. The 
initial idea is to submit to OpenMRS DHIS metadat, OpenMRS will store these 
data into a table, there would be facility in OpenMRS module to map DHIS data 
into OpenMRS data and produce export data for DHIS in XML format. The entire 
module will be build for OpenMRS. 
Currently I have selected the following to be needed by OpenMRS to provide 
accurate data:
data element id
category combo id
period type
aggregation type

Any aditions suggestions are welcome. We have Paul from OpenMRS team here and 
he is eager to work on this approach.

Also I am planning to build some DHIS modules for Joomla CMS. Joomla is very 
popular open source content management system, used in many sites. Having these 
modules any site running on Joomla could easily fetch data from DHIS. This is 
very early ideas. Now we need to deside on what level to connect Joomla modules 
and DHIS: data base or web services (REST)? 

regards,
murod


      

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Linux server setups

2009-08-25 Thread Ime Asangansi
How about putting each war's hibernate.properties into its own web-inf/lib???
any disadvantages to this please?

Ime

--- On Tue, 8/25/09, Knut Staring  wrote:

> From: Knut Staring 
> Subject: [Dhis2-devs] Linux server setups
> To: "DHIS 2 developers" , "Jo Størset" 
> 
> Cc: "Jørn Braa" 
> Date: Tuesday, August 25, 2009, 2:21 PM
> Hi everyone,
> Windows servers have been used extensively, both
> in India and for the hisp.info demo server. I now
> want to improve the documentation of server setups for
> Linux, and suggest we use this wiki page:
> 
> 
> 
>  http://208.76.222.114/confluence/display/DOC/Online+server+installation
> 
> 
> 
> One particular matter is when one wants to run
> several instances of DHIS 2 in the same Tomcat instance,
> i.e. having several webapps. With virtualization, this may
> be less important, but I still see it as a common use case.
> Each webapp would naturally point to a separate database,
> thus they need separate hibernate.properties files
> 
> 
> 
> Knut 
> 
> 
> 
> 
> -Inline Attachment Follows-
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 393393] Re: SMSListener stops message processing after operator flash messages

2009-08-27 Thread Ime Asangansi
Hi Saptarshi,

Never seen a flash SMS...the operators dont use that in Nigeria.
How does it differ programmatically from a normal SMS?
You know how phones differentiate it from normal SMS?

Ime

--- On Thu, 8/27/09, Saptarshi  wrote:

> From: Saptarshi 
> Subject: [Dhis2-devs] [Bug 393393] Re: SMSListener stops message processing 
> after operator flash messages
> To: dhis2-devs@lists.launchpad.net
> Date: Thursday, August 27, 2009, 6:22 PM
> Fixed as part of rev #475
> 
> ** Changed in: dhis2
>        Status: New => Fix
> Committed
> 
> -- 
> SMSListener stops message processing after operator flash
> messages
> https://bugs.launchpad.net/bugs/393393
> You received this bug notification because you are a member
> of DHIS 2
> developers, which is subscribed to DHIS.
> 
> Status in DHIS 2: Fix Committed
> 
> Bug description:
> SMSListener throws ClassCastException and stops processing
> messages after a operator flash message is received.
> Operator flash messages are commonly sent and should be
> ignored by SMSListener.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] MEDINFO 2010 - DHIS Demonstration and Tutorials

2009-09-02 Thread Ime Asangansi
Hi all,
The MEDINFO deadline (September 30) is fast approaching and the DHIS 
development and implementer teams shouldn't miss out!
Website: www.medinfo2010.org
Medinfo 2010 is the premier international health informatics event which brings 
together world leaders in this field to share knowledge and experiences. 
Medinfo is a three-yearly unique opportunity to meet these leaders and to hear 
of, and contribute to, advances in e-health developments internationally in 
both biomedical and health informatics. Submissions are sought for papers, 
posters, panels, workshops and tutorials which embrace the conference theme and 
which relate to one of the conference topic areas
Scientific demonstrations
Demonstrations of innovative, non-commercial systems are invited. In a one page 
abstract contributors should describe the system/process to be demonstrated and 
provide a clear statement of the innovation.

Pre-Congress Tutorials and Workshops
Submissions for pre-congress tutorials and workshops should list a set of 
learning objectives and expected outcomes, as well as a description of the 
material to be covered including the interactive strategies which will be used 
during the tutorial/workshop to engage the audience. Submissions will be 
evaluated on the anticipated educational and participant benefits, presenters’ 
qualifications/credentials and on audience engagement strategies proposed.
See templates 
here: http://medinfo2010.online-registry.net/download/templates.zip
Apart from submitting papers, we plan to submit for a scientific demonstration 
of the DHIS and the mobile aspects...any other ideas?
Cheers,Ime___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Fwd: [OPENMRS-IMPLEMENTERS] OpenMRS Download Web Analytics

2009-09-19 Thread Ime Asangansi
Nice.
But using your camera analogy, you may miss out a number of installations 
(standalone)  whose cameras are not connected to the internet :)

Ime

--- On Fri, 9/18/09, Saptarshi Purkayastha  wrote:

For DHIS2 I would rather have a small part in the application that would ping 
back at our servers and we know its still live and working... but may be that's 
just me who wants to get a camera in everyone's house... ;-)

But seriously, it shouldn't be very hard to do that for DHIS2.com...  although 
we already know who will come to the dhis2.com instead of launchpad?? Or may be 
we don't?? Im confused??


---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com


You Live by CHOICE, Not by CHANCE



2009/9/18 Knut Staring 


Great plan, Saptarshi. Could we have the same for DHIS 2?

-- Forwarded message --
From: Saptarshi Purkayastha 




Date: Fri, Sep 18, 2009 at 5:10 PM
Subject: [OPENMRS-IMPLEMENTERS] OpenMRS Download Web Analytics
To: openmrs-implemen...@listserv.iupui.edu




Hey all,



It was interesting to see at the Implementers Meeting that people want to see 
places from where OpenMRS was being downloaded... It is quite trivial (instead 
of textfields on Download page) to get that kind of data using Google Analytics 
which is a free and easy-to-use service from Google. The visits can be shown on 
a map and also places from which they came and other nice stats about the 
people coming to the OpenMRS website... Now this can be specific to the 
download page or to the whole OpenMRS wiki/svn etc. This will also show some 
interesting graphs and overtime we can see how we have grown and which parts of 
openmrs's web presence has grown.







If everyone thinks its fine, I could do setting up the Analytics part and 
create another page that will share results weekly/monthly etc manually... and 
then later use this: 
http://code.google.com/apis/analytics/docs/gdata/gdataDeveloperGuide.html to 
automatically place our stats on a page.







---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com






You Live by CHOICE, Not by CHANCE



Click here to unsubscribe from OpenMRS Implementers' mailing list



-- 
Cheers,
Knut Staring


___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp





-Inline Attachment Follows-

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] dhis mobile

2010-01-10 Thread Ime Asangansi
Hi Saptarshi,

How are you doing?
Please can you point me to the location of the new mobile web module (the one 
from our last discussion with Murod)?

Thanks

Cheers,
Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DELETING FACILITIES WITH DATA FROM THE DHIS

2016-04-13 Thread Ime Asangansi

Hi devs,
In line with this, are there any plans to restore the 'organizational 
units merge' functionality that was removed in a previous version?


Thanks,
Ime


On 4/13/2016 12:39 PM, Jason Pickering wrote:

Hi there.
I have added a Postgresql function to delete a site with data here 
. 



Use at your own risk, but we have used this successfully in production 
systems.


Regards,
Jason


On Wed, Apr 13, 2016 at 8:37 PM, Calle Hedberg 
mailto:calle.hedb...@gmail.com>> wrote:


Hi,

Alex and my posts crossed: if you want to keep that historic data,
follow Alex' suggestion. But if you want to get rid of it - the
data might be irrelevant or duplicates - then using a script is
easiest.

As far as I know, there is no "Prune Organisational Units"
functionality (which would completely remove Orgunits with all
their data) in DHIS2 similar to the functionality in DHIS 1.4

Regards
Calle

On 13 April 2016 at 13:32, Alex Tumwesigye mailto:atumwesi...@gmail.com>> wrote:

Dear Mohamed,

Untag them from datasets. They will not affect your reporting
rates and completeness.

If you delete them, you will be deleting historical data
(which I think you want).
How I have solved this problem in Uganda, I always tag them as
closed or Non functional using an organisation Unit Group Set.

Alex

On Wed, Apr 13, 2016 at 2:24 PM, Mohamed Bangura
mailto:mbang...@gmail.com>> wrote:

Hi all,

We are currently trying to delete old facilities from our
main server
but nothing seems to be happening since these facilities
already have
data.Is there a way one can do this or disable the
facilities as this
is currently affecting the completeness of our data.

I need your help please.

___
Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 


***

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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




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


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Import of Events is extremely slow - any plans to improve it?

2017-06-28 Thread Ime Asangansi
Hi Calle,

Thanks for your question.
Just curious (I don't have answer). As we are planning to do this soon.

Are you doing this through UI or API?
If API, which endpoint enables this?

Thanks

Ime



On Jun 28, 2017 19:15, "Calle Hedberg"  wrote:

> Hi
>
> I started importing around 700,000 events 2 days ago (about 5 mill
> individual values) - and the import is still running, 48 hours later.
> Import is slowing - it seemed to be importing around 7-8 values per second,
> now down to 2-3 per second. It looks like that import might take around 200
> hours - which makes no sense from a usability point of view. Importing
> OrgUnits used to be equally slow, but a revamp recently change a 10,000
> OrgUnit import&update from hours to something like 5 seconds.
>
> It seems obvious that event imports have been designed to import values
> one by one, which is equivalent to asking people to fetch water using a
> leaking tea-spoon.
>
> I've searched JIRA but cannot find any issue related to this, thus this
> post: Are there any plans underway to make import of Event data usable for
> larger record sets?
>
> Regards
> Calle
>
> ***
>
> 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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] ACCESS TO DATA FROM MULTIPLE STAGES IN EVENT REPORTS

2018-03-11 Thread Ime Asangansi
Stanley,

You can also have a look at this issue raised by Calle:
https://jira.dhis2.org/browse/DHIS2-2461
I think its crucial for what you want.

Not sure how the votes help but please add your vote to that issue.

Thank you

Ime


On Sat, Mar 10, 2018 at 10:48 AM, Stanley Kalyati 
wrote:

> Thank you Markus,
>
> I will add my comments.
>
> Regards
>
> Stanley
>
> On Sat, Mar 10, 2018 at 11:34 AM, Markus Bekken  wrote:
>
>> Hi Stanley,
>> this is currently not possible. It is however something that is being
>> requested, and we have created these epics to capture the functional area:
>> - https://jira.dhis2.org/browse/DHIS2-3140
>> - https://jira.dhis2.org/browse/DHIS2-2106
>>
>> Can you please have a look at the epics and possibly add more about your
>> use case in the comments?
>>
>> Markus
>>
>> > 10. mar. 2018 kl. 10:10 skrev Stanley Kalyati :
>> >
>> > Has anyone got experience with running an event report that merges data
>> from multiple stages? For example connecting the unique identifier to HIV
>> Test results and then ART Initiation Status? Three different sources of
>> data.
>> >
>> > Your assistance is appreciated always
>> >
>> > Stanley
>> >
>> > ___
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to : dhis2-devs@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] dhis installer

2010-10-04 Thread Ime Asangansi
Hello everyone,

I'm about to dabble into making an installer for a project here.
I'm a little unclear about these two folders in trunk: dhis2-live-installer and 
dhis-live. 
Does one depend on the other? Any docs?

Thanks for your quick response.

Ime
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis installer

2010-10-04 Thread Ime Asangansi
Jason,

Oh, great to hear from you.
And thanks for the speed :)

Will definitely bounce things off you as needed.

Cheers,
Ime

--- On Mon, 10/4/10, Jason Pickering  wrote:

From: Jason Pickering 
Subject: Re: dhis installer
To: "Ime Asangansi" 
Cc: dhis2-devs@lists.launchpad.net
Date: Monday, October 4, 2010, 4:27 PM

Hi Ime,

Yes, the installer depends on the dhis-live package, as well as the documents.

There is a basic readme file in the dhis2-live-installer  folder. Configure 
your environment variables correctly in the build script and just execute the 
script. It will build everything for you while you have a cup of coffee. 

I have not had any time to write better documents but just contact me if you 
have issues. I can give you a copy of the BitRock key that we got for DHIS2 
once you get everything installed. 

Regards,
Jason



On Mon, Oct 4, 2010 at 4:06 PM, Ime Asangansi  wrote:

Hello everyone,

I'm about to dabble into making an installer for a project here.
I'm a little unclear about these two folders in trunk: dhis2-live-installer and 
dhis-live. 

Does one depend on the other? Any docs?

Thanks for your quick response.

Ime



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

tel:+17069260025
sip:jason.p.picker...@ekiga.net

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] dhis2 security

2010-10-21 Thread Ime Asangansi
Hi devs,

Congrats on 2.0.5!

I have a question on security.
Please how is it implemented?
Is it based on spring security? and where are the config files?
working on allowing preferential access to a couple of resources...and also for 
authentication of web service calls.

thanks, in anticipation...

BTW: how can I search the mailing list archive?

Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Automating DHIS2

2010-11-11 Thread Ime Asangansi
Hi everyone in the discussion,

Thanks for this.
Yes, interesting to begin to look at the Data as a Service (DAAS) capabilities 
of the DHIS. Would be really useful to be able to have different clients 
handling data off DHIS, esp with this current 'enterprise architecture' craze.

But Lars, how does your expoze webservice fit into this?

Ime


--- On Mon, 11/8/10, Lars Helge Øverland  wrote:

From: Lars Helge Øverland 
Subject: Re: [Dhis2-devs] [Dhis2-users]  Automating DHIS2
To: "Jo Størset" 
Cc: dhis2-us...@lists.launchpad.net, "Ola Hodne Titlestad" , 
"dhis2-devs" 
Date: Monday, November 8, 2010, 7:13 PM





Required note: As long as we don't call it REST :) REST imples a 
hypermedia-driven application, so let's stick to calling it what it would 
probably be: a simple web api.

 Hey be a bit more visionary:) I think this is a great thought. We are getting 
more and more requests from people who want to use their own presentation layer 
(Ifakara folks in Tanzania will "make a web-based query tool on top of dhis2", 
Uganda folks are integrating dhis2 with a CMS etc). I'm envisioning methods for:

- getting all data elements/indicators with (a bit extended) DXF and HTML 
format responses with embedded links to URLs pointing to a method giving you 
the full details for each as HTML or PDF.
- getting all indicators with DXF/HTML responses with links to URLs pointing to 
a PNG chart giving the aggregated vales for the 12 last months.- getting all 
report tables as DXF/HTML with links to URLs pointing to SDMX-HD/HTML/PDF/Excel 
representations of the table.
- getting all orgunits for a given parent as DXF/HTML with links to URLs 
pointing to GIS PNG images, and so on...
There you have your hypermedia-driven application that moves from one state to 
the next by examining and choosing from among the alternative state transitions 
in the current set of representations.

This kind of stuff will give potential users an elegant way of integrating 
dhis2 data into whatever tool they prefer and avoid hacking into the database 
or fumbling with the source code. If don't want your users to leave, make it 
easy for them to do so:)


Lars
 

-Inline Attachment Follows-

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] dhis-openmrs integration

2010-04-28 Thread Ime Asangansi
Hi Bob and all,

Just a quick one, guys.
Just wondering where we are on the OpenMRS-DHIS integration.
Is work still on? Or is it complete?
Is there any place I could see code? 

Thanks :)

Warm regards,
Ime

--- On Mon, 4/26/10, Bob Jolliffe  wrote:

> From: Bob Jolliffe 
> Subject: [Dhis2-devs] Front end engineering ...
> To: "dhis2-devs" 
> Date: Monday, April 26, 2010, 1:59 PM
> Looking at our ajax stuff while
> tracking ognl issues I notice that we
> have two copies of request.js:
> 
> ./dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/request.js
> ./dhis-web-commons-resources/src/main/webapp/request.js
> 
> It looks like the dhis-web-maintenance-dataset version was
> "forked"
> off the original and a few changes made.  I noticed
> this because I was
> trying to set the content type on a request header only to
> find that
> it wasn't supported in our (two!) homegrown ajax request
> components.
> Two suggestions [which are somewhat contradictory :-) ]:
> 
> 1.  We should merge the request.js changes back into
> web-commons-resources taking care not to break the many
> dependencies
> 2.  We are already using jquery quite extensively in
> the frontend,
> which has well developed and widely used ajax
> components.  Perhaps we
> should simply retire request.js entirely.
> 
> Thoughts?
> 
> Bob.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis-openmrs integration

2010-04-28 Thread Ime Asangansi
Hi Bob,

Thanks for your quick email response.
Great to hear about the great work you've been doing and your approach to what 
has been a thorny issue.

My search for the launchpad blueprint has been futile. Please can you point me 
to that. Thanks.

BTW: Does it mean OpenMRS is able to export to sdmx? If not, how can you try 
out your dhis funtionality?

Thanks for your answers.

Cheers,
Ime

--- On Wed, 4/28/10, Bob Jolliffe  wrote:

> From: Bob Jolliffe 
> Subject: Re: dhis-openmrs integration
> To: "Ime Asangansi" 
> Cc: "Dhis2" 
> Date: Wednesday, April 28, 2010, 12:27 PM
> Hi Ime
> 
> The OpenMRS-DHIS "integration" is based around exchanging
> datasets
> using sdmx-hd.  There has been a lot of work done on
> the sdmx-hd
> standard itself recently which has required some changes to
> both the
> openmrs module and our import export module.  I hope
> to be more or
> less finished with our import module by Friday - the basics
> are
> already on launchpad, but will be more complete by then.
> 
> The import module itself is fairly generic.  The
> substance of
> importing lies in the transformation from an xml source to
> dxf for
> import.  I'm still working on an appropriate place to
> put those
> transformations (xslt style sheets) but for the moment they
> are
> externally provided on the filesystem.
> 
> So work is still on - but not complete.
> 
> Regards
> Bob
> 
> On 28 April 2010 10:55, Ime Asangansi 
> wrote:
> > Hi Bob and all,
> >
> > Just a quick one, guys.
> > Just wondering where we are on the OpenMRS-DHIS
> integration.
> > Is work still on? Or is it complete?
> > Is there any place I could see code?
> >
> > Thanks :)
> >
> > Warm regards,
> > Ime
> >
> > --- On Mon, 4/26/10, Bob Jolliffe 
> wrote:
> >
> >> From: Bob Jolliffe 
> >> Subject: [Dhis2-devs] Front end engineering ...
> >> To: "dhis2-devs" 
> >> Date: Monday, April 26, 2010, 1:59 PM
> >> Looking at our ajax stuff while
> >> tracking ognl issues I notice that we
> >> have two copies of request.js:
> >>
> >>
> ./dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/request.js
> >>
> ./dhis-web-commons-resources/src/main/webapp/request.js
> >>
> >> It looks like the dhis-web-maintenance-dataset
> version was
> >> "forked"
> >> off the original and a few changes made.  I
> noticed
> >> this because I was
> >> trying to set the content type on a request header
> only to
> >> find that
> >> it wasn't supported in our (two!) homegrown ajax
> request
> >> components.
> >> Two suggestions [which are somewhat contradictory
> :-) ]:
> >>
> >> 1.  We should merge the request.js changes back
> into
> >> web-commons-resources taking care not to break the
> many
> >> dependencies
> >> 2.  We are already using jquery quite extensively
> in
> >> the frontend,
> >> which has well developed and widely used ajax
> >> components.  Perhaps we
> >> should simply retire request.js entirely.
> >>
> >> Thoughts?
> >>
> >> Bob.
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-devs
> >> Post to     : dhis2-devs@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis-openmrs integration

2010-04-29 Thread Ime Asangansi
Hi Bob,

Great. Thanks for this.
Will go through these.

Cheers,
Ime


--- On Wed, 4/28/10, Bob Jolliffe  wrote:

> Hi Ime
> 
> https://blueprints.launchpad.net/dhis2/+spec/interoperability
> 
> Yes Ryan Crichton of jembi  has written an sdmx-hd
> parser module for
> openmrs (http://svn.openmrs.org/openmrs-contrib/sdmx-hd-parser)
> and an
> sdmx-hd reporting module which is using the new openmrs
> reporting
> framework.  So its lots of new stuff - the openmrs
> reporting framework
> is quite freshly unwrapped.  And the sdmx-hd standard
> itself is still
> on public review until the 1 May.  And the new import
> functionality of
> dhis2 is still rough around the edges but I'm working on
> polishing
> those this week.
> 
> Both openmrs and ourselves will have to make some
> adjustments to
> handle the changes to the sdmx-hd standard.
> 
> Regards
> Bob
> 
> On 28 April 2010 18:32, Ime Asangansi 
> wrote:
> > Hi Bob,
> >
> > Thanks for your quick email response.
> > Great to hear about the great work you've been doing
> and your approach to what has been a thorny issue.
> >
> > My search for the launchpad blueprint has been futile.
> Please can you point me to that. Thanks.
> >
> > BTW: Does it mean OpenMRS is able to export to sdmx?
> If not, how can you try out your dhis funtionality?
> >
> > Thanks for your answers.
> >
> > Cheers,
> > Ime
> >
> > --- On Wed, 4/28/10, Bob Jolliffe 
> wrote:
> >
> >> From: Bob Jolliffe 
> >> Subject: Re: dhis-openmrs integration
> >> To: "Ime Asangansi" 
> >> Cc: "Dhis2" 
> >> Date: Wednesday, April 28, 2010, 12:27 PM
> >> Hi Ime
> >>
> >> The OpenMRS-DHIS "integration" is based around
> exchanging
> >> datasets
> >> using sdmx-hd.  There has been a lot of work done
> on
> >> the sdmx-hd
> >> standard itself recently which has required some
> changes to
> >> both the
> >> openmrs module and our import export module.  I
> hope
> >> to be more or
> >> less finished with our import module by Friday -
> the basics
> >> are
> >> already on launchpad, but will be more complete by
> then.
> >>
> >> The import module itself is fairly generic.  The
> >> substance of
> >> importing lies in the transformation from an xml
> source to
> >> dxf for
> >> import.  I'm still working on an appropriate
> place to
> >> put those
> >> transformations (xslt style sheets) but for the
> moment they
> >> are
> >> externally provided on the filesystem.
> >>
> >> So work is still on - but not complete.
> >>
> >> Regards
> >> Bob
> >>
> >> On 28 April 2010 10:55, Ime Asangansi 
> >> wrote:
> >> > Hi Bob and all,
> >> >
> >> > Just a quick one, guys.
> >> > Just wondering where we are on the
> OpenMRS-DHIS
> >> integration.
> >> > Is work still on? Or is it complete?
> >> > Is there any place I could see code?
> >> >
> >> > Thanks :)
> >> >
> >> > Warm regards,
> >> > Ime
> >> >
> >> > --- On Mon, 4/26/10, Bob Jolliffe 
> >> wrote:
> >> >
> >> >> From: Bob Jolliffe 
> >> >> Subject: [Dhis2-devs] Front end
> engineering ...
> >> >> To: "dhis2-devs" 
> >> >> Date: Monday, April 26, 2010, 1:59 PM
> >> >> Looking at our ajax stuff while
> >> >> tracking ognl issues I notice that we
> >> >> have two copies of request.js:
> >> >>
> >> >>
> >>
> ./dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/request.js
> >> >>
> >>
> ./dhis-web-commons-resources/src/main/webapp/request.js
> >> >>
> >> >> It looks like the
> dhis-web-maintenance-dataset
> >> version was
> >> >> "forked"
> >> >> off the original and a few changes
> made.  I
> >> noticed
> >> >> this because I was
> >> >> trying to set the content type on a
> request header
> >> only to
> >> >> find that
> >> >> it wasn't supported in our (two!)
> homegrown ajax
> >> request
> >> >> components.
> >> >> Two suggestions [which are somewhat
> contradictory
> >> :-) ]:
> >> >>
> >> >> 1.  We should merge the request.js
> changes back
> >> into
> >> >> web-commons-resources taking care not to
> break the
> >> many
> >> >> dependencies
> >> >> 2.  We are already using jquery quite
> extensively
> >> in
> >> >> the frontend,
> >> >> which has well developed and widely used
> ajax
> >> >> components.  Perhaps we
> >> >> should simply retire request.js
> entirely.
> >> >>
> >> >> Thoughts?
> >> >>
> >> >> Bob.
> >> >>
> >> >>
> ___
> >> >> Mailing list: https://launchpad.net/~dhis2-devs
> >> >> Post to     : dhis2-devs@lists.launchpad.net
> >> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >> >> More help   : https://help.launchpad.net/ListHelp
> >> >>
> >> >
> >>
> >
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis14 import

2010-07-20 Thread Ime Asangansi
Impressive!
First time seeing that clean functionality!
I see potential there to move data between both systems :)

Ime


--- On Tue, 7/20/10, Knut Staring  wrote:

> From: Knut Staring 
> Subject: Re: [Dhis2-devs] dhis14 import
> To: "Bob Jolliffe" 
> Cc: "dhis2-devs" 
> Date: Tuesday, July 20, 2010, 3:32 PM
> That sounds really great - it has
> been problematic to require Windows for this.
> 
> k
> 
> On Tue, Jul 20, 2010 at 3:23 PM, Bob Jolliffe 
> wrote:
> > Just some throwaway code testing out jackcess for
> reading dhis14 (and
> > potentially modulo basico files):
> >
> > http://pastebin.com/wMv1SZqq
> >
> > I'm pretty impressed.  It works well and I suspect
> also much faster
> > than accessing via odbc/ibatis or whatever it is.
>  Never mind the
> > nonsense of what this code actually does - the point
> is that it can
> > iterate over access tables using java (on ubuntu).
>  Kind of nice.
> >
> > Cheers
> > Bob
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to     : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
> 
> 
> 
> -- 
> Cheers,
> Knut Staring
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis14 import

2010-07-23 Thread Ime Asangansi
Hi Bob,

Mmmm..interesting.

Just to be sure.
Were you reading from 1.4 and writing to 2.0? mysql or postgres?

Were you writing the other way (to access)?

Thanks.

Ime


--- On Fri, 7/23/10, Bob Jolliffe  wrote:

> From: Bob Jolliffe 
> Subject: Re: [Dhis2-devs] dhis14 import
> To: "Lars Helge Øverland" 
> Cc: "Ime Asangansi" , "Knut Staring" , 
> "dhis2-devs" 
> Date: Friday, July 23, 2010, 3:53 PM
> Alright writing is pretty slow. 
> Writing 10million records take two hours.
> 
> But reading is pretty darn quick.  Iterating through
> 10million rows
> and dumping each row to stdout (redirected to /dev/null)
> takes about 1
> minute +- 5 seconds.   Throughout which
> memory use is constant and
> low: less than 1.5%.  That's got to be quicker than
> anything using
> jdbc which is obliged to push everything up and down the
> tcp/ip stack.
> 
> Not looking any more at this now - just wanted to see the
> numbers.
> Looks like a good addition to Knut's student project
> list.  Refactor
> dhis14 file import to inject a jackcess backend in place of
> the
> hibernate one.
> 
> Cheers
> Bob
> 
> 2010/7/23 Bob Jolliffe :
> > 2010/7/22 Lars Helge Øverland :
> >>
> >> No doubt this looks much simpler.
> >> Would be interesting to do a test with a large
> table (>10 mill) and see how
> >> it performs in terms of memory usage.
> >
> > 10 million records is a lot of records!  I have it
> whirring away in
> > the background as I get on with other stuff.  Started
> 1.5 hours ago
> > and still writing records ... db file up to 250M ...
> hasn't started
> > reading back yet but thus far memory usage is low and
> constant.  I'll
> > let you know when/if it finishes :-)
> >
> >> Lars
> >> On Wed, Jul 21, 2010 at 3:42 AM, Ime Asangansi
> 
> wrote:
> >>>
> >>> Impressive!
> >>> First time seeing that clean functionality!
> >>> I see potential there to move data between
> both systems :)
> >>>
> >>> Ime
> >>>
> >>>
> >>> --- On Tue, 7/20/10, Knut Staring 
> wrote:
> >>>
> >>> > From: Knut Staring 
> >>> > Subject: Re: [Dhis2-devs] dhis14 import
> >>> > To: "Bob Jolliffe" 
> >>> > Cc: "dhis2-devs" 
> >>> > Date: Tuesday, July 20, 2010, 3:32 PM
> >>> > That sounds really great - it has
> >>> > been problematic to require Windows for
> this.
> >>> >
> >>> > k
> >>> >
> >>> > On Tue, Jul 20, 2010 at 3:23 PM, Bob
> Jolliffe 
> >>> > wrote:
> >>> > > Just some throwaway code testing out
> jackcess for
> >>> > reading dhis14 (and
> >>> > > potentially modulo basico files):
> >>> > >
> >>> > > http://pastebin.com/wMv1SZqq
> >>> > >
> >>> > > I'm pretty impressed.  It works
> well and I suspect
> >>> > also much faster
> >>> > > than accessing via odbc/ibatis or
> whatever it is.
> >>> >  Never mind the
> >>> > > nonsense of what this code actually
> does - the point
> >>> > is that it can
> >>> > > iterate over access tables using
> java (on ubuntu).
> >>> >  Kind of nice.
> >>> > >
> >>> > > Cheers
> >>> > > Bob
> >>> > >
> >>> > >
> ___
> >>> > > Mailing list: https://launchpad.net/~dhis2-devs
> >>> > > Post to     : dhis2-devs@lists.launchpad.net
> >>> > > Unsubscribe : https://launchpad.net/~dhis2-devs
> >>> > > More help   : https://help.launchpad.net/ListHelp
> >>> > >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Cheers,
> >>> > Knut Staring
> >>> >
> >>> >
> ___
> >>> > Mailing list: https://launchpad.net/~dhis2-devs
> >>> > Post to     : dhis2-devs@lists.launchpad.net
> >>> > Unsubscribe : https://launchpad.net/~dhis2-devs
> >>> > More help   : https://help.launchpad.net/ListHelp
> >>> >
> >>>
> >>>
> ___
> >>> Mailing list: https://launchpad.net/~dhis2-devs
> >>> Post to     : dhis2-devs@lists.launchpad.net
> >>> Unsubscribe : https://launchpad.net/~dhis2-devs
> >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] dhis-web-excel-reporting behaving

2010-07-26 Thread Ime Asangansi
Hi good people,

Have you guys noticed that dhis-web doesn't build unless you change the 
packaging of dhis-web-excel-reporting from jar to war?
Or was it my environment behaving?
Well, I changed it and I moved on...

Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis-web-excel-reporting behaving

2010-07-27 Thread Ime Asangansi

lol...
I see...I'm on a new system, so its a fresh build.
I didn't check in that one-letter change (so please someone else should).

I get to change systems much these days so I'm wondering whats the best way of 
handling commits with all these authentication stuff (tired of setting up my 
SSH so often...unlike in other repos where all you need is your password :))

any alternatives :)

thanks

Ime


--- On Tue, 7/27/10, Jo Størset  wrote:

> From: Jo Størset 
> Subject: Re: [Dhis2-devs] dhis-web-excel-reporting behaving
> To: "Ime Asangansi" 
> Cc: dhis2-devs@lists.launchpad.net
> Date: Tuesday, July 27, 2010, 12:25 PM
> 
> Den 26. juli 2010 kl. 23.21 skrev Ime Asangansi:
> 
> > Hi good people,
> > 
> > Have you guys noticed that dhis-web doesn't build
> unless you change the packaging of dhis-web-excel-reporting
> from jar to war?
> > Or was it my environment behaving?
> > Well, I changed it and I moved on...
> 
> There has been a problem with people accidentally checking
> in this change, for some reason of how they deploy when
> developing..
> 
> Most people won't notice because there will be an older
> war-version of this module in their maven repo, so I guess
> it's been a while since your last build :)
> 
> 
> The guilty party seems to have been
> 
> revno: 1868
> committer: Tran Thanh Tri 
> 
> Please, check what you commit.
> 
> Jo

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Alternative names

2011-04-28 Thread Ime Asangansi
Interesting...
My experience is that the same data element can be called different things by 
different installations e.g. in different states or projects - for example, 
"Malaria cases in children under five" and "Malaria - under five", etc. 
Sometimes the range of synonyms becomes so large between databases that 
importing for cross-database analysis becomes so difficult and a tiring 
process. 
At other times there are just two synonyms. In this case having an "alternative 
name" or "old name" seems to be useful.

This "match-making" process during import is one requirement for an 
"alternative name" or "old name" or whatever it wants to be called...but 
perhaps there is a better way of solving this?

Ime

--- On Thu, 4/28/11, Bob Jolliffe  wrote:

> From: Bob Jolliffe 
> Subject: Re: [Dhis2-devs] Alternative names
> To: "Hieu Dang Duy" 
> Cc: "Ola Hodne Titlestad" , "DHIS 2 developers" 
> 
> Date: Thursday, April 28, 2011, 12:18 PM
> On 28 April 2011 10:09, Hieu Dang Duy
> 
> wrote:
> > Hi,
> >
> > We have to be careful in misunderstanding of the
> meaning of alternative
> > name. The I18n translation functionality which is only
> the support one for
> > Multilingual. But in this case alternative name which
> could understand that
> > a another name of a specified object. One data
> element, ie. it could be
> > having many other alternative name. I'm not familiar
> with the health words.
> >
> > But for example in Chemical field, if you say CH3-OH
> so everyone would know
> > that is Methanol or Metilic alcohol.
> >
> > Just a small comment.
> 
> Fair point.  AlternativeName does invite the user to
> use it like this
> in the absence of any other guideline.
> 
> In general many things do have many names (I am Bob, my
> passport says
> Robert and the University of Oslo has me as Bo).  What
> is important on
> the output side is to know the context in which a
> particular name is
> appropriate.  In the I18n case, the context is
> determined by locale
> which seems to me to be the right way of determining which
> alternative
> name to use (assuming, as Ola says, that it works).
> 
> I am not sure if there is really a requirement for
> supporting other
> sorts of naming contexts - I haven't seen one, but there
> might be.
> For example different programs might have different names
> for the same
> indicator.  Facilities are perhaps an interesting case
> because they do
> occasionally get renamed so you might have current name and
> old name.
> Which is not a very serious problem when we don't use the
> name as the
> primary identifier.
> 
> It would be easy enough to have a table for alternative
> names of any
> and all identifiable objects.  In fact it might even
> be a good idea.
> What would be more complicated is to decide the context in
> which to
> use which name.  The simplest approach would be to not
> try and be too
> artificailly intelligent about it and provide the report
> designer with
> the set of alternative names to pick from if he/she so
> chose.
> 
> But without a clear requirement there's no need to make our
> lives
> complicated.  So to go back to my original question,
> do we have an
> existing use case (outside of I18n) where people are using
> alternativename differently?  eg synonymns for
> methanol.  My guess is
> that this is more a requirement in clinical systems than in
> aggregate
> reporting of datelements and indicators.  Except
> perhaps facilities
> ...
> 
> Cheers
> Bob
> 
> >
> > On Thu, Apr 28, 2011 at 1:37 PM, Ola Hodne Titlestad
> 
> > wrote:
> >>
> >> Not 100% sure, but I think Alternative Name is
> used to store the English
> >> translations of the Swahili data elements in the
> Tanzanian databases, as an
> >> ad-hoc i18n approach. This can of course be
> replaced by a using the i18n
> >> functionality (given that it works properly, and
> that it is also possible to
> >> show lists/reports etc. showing both languages).
> >>
> >> Ola
> >> 
> >> --
> >> Ola Hodne Titlestad (Mr)
> >> HISP
> >> Department of Informatics
> >> University of Oslo
> >>
> >> Mobile: +47 48069736
> >> Home address: Vetlandsvn. 95B, 0685 Oslo, Norway.
> Googlemaps link
> >>
> >>
> >> On 27 April 2011 17:04, Bob Jolliffe 
> wrote:
> >>>
> >>> On 27 April 2011 15:24, Jason Pickering 
> >>> wrote:
> >>> > +1 from me as well, assuming that we can
> migrate the existing
> >>> > alternative names to whatever object
> replaces it.
> >>>
> >>> To what extent to we have existing alternative
> names?
> >>>
> >>> >Also, if you can
> >>> > look into how  we can match on these
> names during import, similar to
> >>> > DHIS 1.4, this would be very useful in
> hetereogeneous, data
> >>> > warehousing situations where multiple
> data bases feed DHIS2, but which
> >>> > may have slightly different names of the
> same data element.
> >>> >
> >>> >
> >>> >
> >>> > On 4/27/11, Bob Jolliffe 
> wrote:
> >>> >> 2011/4/27 Saptarshi Purkayastha
> :
> >>> >>> I would actually sugge

[Dhis2-devs] dxf2

2011-05-16 Thread Ime Asangansi
Hi devs,

I'm helping to migrate user-specified aggregate data from an external j2ee 
system to dhis2 by transforming their data to dxf since it looks like these 
transfers would happen very frequently.

I'm writing in to check if the new dxf, dxf2?, has taken off. Is there a 
description?

And come to think of it, will (or is) the old dxf be deprecated? 

thanks 

Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dxf2

2011-05-17 Thread Ime Asangansi
Hi Bob, Jason et al,

Thanks.
I've been testing Jo's work and since it uses the new format I thought that we 
had moved to dxf2.

Bob,
where is the interface for sdmx import pls?
And please can you send or direct me to a sample of sdmx-hd?

Thanks

Ime

--- On Tue, 5/17/11, Bob Jolliffe  wrote:

From: Bob Jolliffe 
Subject: Re: [Dhis2-devs] dxf2
To: "Jason Pickering" 
Cc: "Ime Asangansi" , dhis2-devs@lists.launchpad.net
Date: Tuesday, May 17, 2011, 9:35 AM

Hi Ime

For the moment dxfv1 remains what there is and support for it will remain.  I 
have had some discussion with Jo regarding the new web api he is building.  It 
is my hope that the xml which we use with that will in effect be dxf2 but I 
think it is currently too much in flux to target.     


How "dimensional" is the data?  It might also be that it makes better sense to 
transform to sdmx-hd which we can also import.  We import this by transforming 
internally to dxf, so even if we change dxf we would still support sdmx.


The schemas in the doc branch were speculative - Jo has taken some ideas from 
there but also adds some flexibility of representation as well as taking 
advantage of the drive to stabilize our identifiers,  

Bob


On 17 May 2011 06:57, Jason Pickering  wrote:

Hi Ime,



I think Bob is the one who can answer this authoritatively, but there

are some schemas here in the documentation branch.



\dhis2-docbook-docs\src\schemas



Regards,

Jason





On Mon, May 16, 2011 at 10:45 PM, Ime Asangansi  wrote:

> Hi devs,

>

> I'm helping to migrate user-specified aggregate data from an external j2ee 
> system to dhis2 by transforming their data to dxf since it looks like these 
> transfers would happen very frequently.

>

> I'm writing in to check if the new dxf, dxf2?, has taken off. Is there a 
> description?

>

> And come to think of it, will (or is) the old dxf be deprecated?

>

> thanks

>

> Ime

>

> ___

> Mailing list: https://launchpad.net/~dhis2-devs

> Post to     : dhis2-devs@lists.launchpad.net

> Unsubscribe : https://launchpad.net/~dhis2-devs

> More help   : https://help.launchpad.net/ListHelp

>







--

Jason P. Pickering

email: jason.p.picker...@gmail.com

tel:+260974901293



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Ime Asangansi
Thanks for these answers.

Please, is there a way one can put the hibernate.properties in the war file 
itself?
This used to workout in 2.0 by just putting into WEB-INF/classes but now it 
just doesn't work

I'm in a PaaS offering where I don't get access to the OS but just tomcat 
deploy. So, I'm unable to set the env variables.

Thanks

Ime




From: Knut Staring 
To: Bob Jolliffe 
Cc: dhis2-devs 
Sent: Thursday, August 18, 2011 7:47 AM
Subject: Re: [Dhis2-devs] Multiple DHIS2 instances on Windows


Thanks guys, running multiple instances of DHIS2 Live is definitely the easiest 
to set up and teach. In fact, I think there may be quite few instances where 
Tomcat is needed on Windows. And I don't even think I need to worry 
about dhis2.home - since everything is confined to the folder where 
dhis2-live.exe resides. 

As Ola pointed out, the remaining and important issue is the automated startup 
after a power cut. Found some info here, grateful for further ideas.
http://vlaurie.com/computers2/Articles/startup.htm 

Knut


On Thu, Aug 18, 2011 at 12:12 PM, Bob Jolliffe  wrote:

On 18 August 2011 10:29, Jason Pickering  wrote:
>> In Nigeria, we have two completely separate instance of Tomcat with
>> two environment variables
>>
>> DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf"
>>
>> DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng"
>>
>> The reason for the separate instances was really just to be able to allocate
>> more CPU resources to a single Tomcat instance.
>>
>> You them modify /WEB-INF/lib/dhis-support-external-2.1-SNAPSHOT.jar
>>
>> Open up "mc" (or some other tool which can manipulate inside of a jar file)
>> and navigate within the JAR file to META-INF/dhis/beans.xml
>>
>> and modify DHIS2_HOME to DHIS2_HOME_NG and then exit mc. This instance will
>> read from the DHIS2_HOME_NG environment.
>>
>>  On Windows, two separate DHIS2 Live directories configured for different
>> ports would seem to be a better solution. Then you do not need to worry
>> about this hack.
>
>That's right.  dhis live doesn't use the environment variable -
>adopting instead the approach of "wherever I lay my hat, that's my
>home" :-)
>
>But it does this by using (and automatically configuring) a system
>property which takes precedence over the environment variable.  That
>system property is called dhis2.home.
>
>You should be able to set this in a variety of ways in your automatic
>startup scripts eg. by adding "-Ddhis2.home=c:/mydhis" to
>CATALINA_OPTS in tomcat startup script.  It's an alternative approach
>which might suit you.
>
>Bob
>
>
>>
>> Regards,
>>
>> Jason
>>
>> On Thu, Aug 18, 2011 at 11:18 AM, Knut Staring  wrote:
>>>
>>> Hello all,
>>> It has been a while since I last ran multiple DHIS2 instances (each with
>>> its own database) on the same Windows server. Not sure if we have reached a
>>> consensus as to best practice on this (I actually think the best practice
>>> would be to run a Ubuntu server, but in many cases people find a change of
>>> OS an additional burden when there is so much knowledge to absorb about
>>> DHIS2 itself)
>>> I see the following options:
>>> 1) Multiple war files in the same Tomcat or multiple Tomcats on different
>>> ports. If so, just download the Tomcat zip file, not installer, and
>>> configure for different ports.
>>> 2) Each dhis.war needs a separate hibernate.properties. Is this best done
>>> inside the (exploded) war file, or is it best to create multiple environment
>>> variables?
>>> How to set the JAVA_OPTS? The server has only 3GB RAM...
>>> If this has already been documented, I would be grateful for just a
>>> pointer.
>>> Thanks,
>>> Knut
>>>
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>___
>Mailing list: https://launchpad.net/~dhis2-devs
>Post to     : dhis2-devs@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~dhis2-devs
>More help   : https://help.launchpad.net/ListHelp
>


-- 
Cheers,
Knut Staring

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis2 dxf data import

2011-09-14 Thread Ime Asangansi
Hi Bob,

This is super neat, and its a use case that is very useful.
I've had to generate all that extra stuff I didnt 'need'.

This will also streamline metedata generation because one will only need to 
generate and pass metadata for only de/ou/period.

But I wonder; what's the difference between orgunitId and orgunit in your 
example.
Also, some elements don't use any categories, but the model references a 
default categorycombo. How will that look in your proposed schema?

Would you branch Jo's code in a way we could use easily test yours as a module? 
or...

Thanks

Ime

--- On Thu, 9/1/11, Bob Jolliffe  wrote:
The implication of adding all the above will be that whereas the
datavalueset above will remain valid (except perhaps shifting to
storedBy), the following would also be valid:


    
    
    
    
  


I am pretty sure I can implement the above without breaking what is
currently there.  One possible but minor breaking change I would
suggest to improving parsing of very large datasets might be to
abbreviate some well known element names to dv, de and v for
compactness.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis2 dxf data import

2011-09-15 Thread Ime Asangansi
Thanks Bob, the pdf is useful.

When you mean codes, you mean the unique id for the record?

Secondly, +1 for an internal routine to assign ids

Thirdly, please how are you generating the dxf for ihris? 

Thanks

Ime


--- On Thu, 9/15/11, Bob Jolliffe  wrote:



This will also streamline metedata generation because one will only need to 
generate and pass metadata for only de/ou/period.

But I wonder; what's the difference between orgunitId and orgunit in your 
example.



That's a typo.  Please take a look at the pdf file I sent out earlier this week 
as that is more correct.
 

Also, some elements don't use any categories, but the model references a 
default categorycombo. How will that look in your proposed schema?


The default categorycombo is just that - default.  So in the absence of any 
categories the categorycombo is automatically set to default when saving 
datavalues. 


Would you branch Jo's code in a way we could use easily test yours as a module? 
or...


The reading of this format is already implemented in the import/export module.  
It is tightly coupled with Jo's code in the sense of making use of the same 
element/attribute name strings defined in his beans.  So you can already use it 
by just importing the xml file.  To test you should ideally set up some codes 
in your database.  We should try and do this in the demo instance so people can 
try it there.  Meanwhile I would suggest to test:


(i) pick an orgunit and assign it a code if it does not already have one (eg 
ou1)
(ii) pick a small dataset and assign it a code (eg dataset1)
(iii) assign codes to the dataelements within the dataset
(iv) assign the dataset to the orgunit


Then you should be able to import datavaluesets according to the examples given.

Alternatively you can use the existing uuids instead of the codes.

(It might be worth having a startup routine which automatically assigns codes 
based on the existing internal ids where they do not already exist.)


Regards
Bob
 


Thanks

Ime

--- On Thu, 9/1/11, Bob Jolliffe  wrote:

The implication of adding all the above will be that whereas
 the
datavalueset above will remain valid (except perhaps shifting to
storedBy), the following would also be valid:



    
    
    

    
  


I am pretty sure I can implement the above without breaking what is

currently there.  One possible but minor breaking change I would
suggest to improving parsing of very large datasets might be to
abbreviate some well known element names to dv, de and v
 for
compactness.


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dhis2 dxf data import

2011-09-15 Thread Ime Asangansi
Hi Bob,
Thanks for this.
This will be very useful.

what do you think about openmrs generating dxf like ihris?

Ime

--- On Thu, 9/15/11, Bob Jolliffe  wrote:

From: Bob Jolliffe 
Subject: Re: [Dhis2-devs] dhis2 dxf data import
To: "Ime Asangansi" 
Cc: "dhis2-devs" 
Date: Thursday, September 15, 2011, 11:36 AM

On 15 September 2011 10:01, Ime Asangansi  wrote:

Thanks Bob, the pdf is useful.

When you mean codes, you mean the unique id for the record?


I wish life were so simple :-)  There are quite a few ways that an identifiable 
object (eg Orgunit) can be judged unique:

1.  the primary database key 
2.  the name
3.  the uuid
4.  the code


1 and 2 are not good for a number of reasons.

3 is quite ok except that (a) its a bit long and (b) we might have to map to 
data from elsewhere which doesn't use a uuid.

This latter case is quite common - if dhis was the central authority in the 
world for assigning metadata (sometimes it feels like it is designed as if it 
is :-) life might be better - but the reality is that sometimes there are other 
authorities and it is good that there are.  The case we have been dealing with 
in Kenya for example - where they have an official Master Facility List which 
is responsible for registering facilities and assigning codes.  In which case 
we use these official codes in the code field of orgunit.  



Secondly, +1 for an internal routine to assign ids

I'm in two minds about this.   For sure it might be better to have generated 
codes ou23, de456 etc rather than leave the field blank.  But codes generally 
work best when assigned, such as the MFL case above.



Thirdly, please how are you generating the dxf for ihris? 

iHRIS is doing the generating the dxf for us ie. they are generating HR 
dataelement values (number of docs, nurses etc) 


Bob


Thanks

Ime


--- On Thu, 9/15/11, Bob Jolliffe  wrote:





This will also streamline metedata generation because one will only need to 
generate and pass metadata for only de/ou/period.

But I wonder; what's the difference between orgunitId and orgunit in your 
example.




That's a typo.  Please take a look at the pdf file I sent out earlier this week 
as that is more correct.
 


Also, some elements don't use any categories, but the model references a 
default categorycombo. How will that look in your proposed schema?



The default categorycombo is just that - default.  So in the absence of any 
categories the categorycombo is automatically set to default when saving 
datavalues. 



Would you branch Jo's code in a way we could use easily test yours as a module? 
or...



The reading of this format is already implemented in the import/export module.  
It is tightly coupled with Jo's code in the sense of making use of the same 
element/attribute name strings defined in his beans.  So you can already use it 
by just importing the xml file.  To test you should ideally set up some codes 
in your database.  We should try and do this in the demo instance so people can 
try it there.  Meanwhile I would suggest to test:



(i) pick an orgunit and assign it a code if it does not already have one (eg 
ou1)
(ii) pick a small dataset and assign it a code (eg dataset1)
(iii) assign codes to the dataelements within the dataset
(iv) assign the dataset to the orgunit



Then you should be able to import datavaluesets according to the examples given.

Alternatively you can use the existing uuids instead of the codes.

(It might be worth having a startup routine which automatically assigns codes 
based on the existing internal ids where they do not already exist.)



Regards
Bob
 


Thanks

Ime

--- On Thu, 9/1/11, Bob Jolliffe  wrote:


The implication of adding all the above will be that whereas
 the
datavalueset above will remain valid (except perhaps shifting to
storedBy), the following would also be valid:




    
    
    


    
  


I am pretty sure I can implement the above without breaking what is


currently there.  One possible but minor breaking change I would
suggest to improving parsing of very large datasets might be to
abbreviate some well known element names to dv, de and v
 for
compactness.




___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] mobile solutions

2009-03-21 Thread Ime Asangansi

Hi guys,

Please, is anyone using mobile solutions with the DHIS? And is this linked with 
1.4 and/or 2.0?

Is there any url i can get more information about this from?

It would be really great to spin some discussions around this, and possibly 
have some skype calls around this, for everyone interested.

We're  preparing for the mobile track of the HELINA conference next month and 
for pilot deployments here in Nigeria in the coming months.

Cheers,
Ime



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] mobile solutions

2009-03-23 Thread Ime Asangansi
Hi Yusuph,
Thanks for your mail!Interesting. Looking forward to hearing more on the pilot 
in India.
Cheers,Ime

--- On Sat, 3/21/09, Yusuph Kassim  wrote:

From: Yusuph Kassim 
Subject: Re: [Dhis2-devs] mobile solutions
To: "Ime Asangansi" 
Cc: dhis2-devs@lists.launchpad.net, "dhis dev" 
Date: Saturday, March 21, 2009, 4:22 PM

Hello Ime,
currently the India are piloting the mobile solution, only that it has to be 
modified for general use. So far the data element are kind of hard coded, 
probably Saptashi can modify the system after piloting it. and I will be glad 
to help.

cheers- Show quoted text --- 
Yusuph Kassim Kulindwa,
University of Dar Es Salaam,

Department of Computer Science,
System Developer/ Research Assistant.

Cell: +255 713 535648
On Sat, Mar 21, 2009 at 2:45 PM, Ime Asangansi  wrote:



Hi guys,



Please, is anyone using mobile solutions with the DHIS? And is this linked with 
1.4 and/or 2.0?



Is there any url i can get more information about this from?



It would be really great to spin some discussions around this, and possibly 
have some skype calls around this, for everyone interested.



We're  preparing for the mobile track of the HELINA conference next month and 
for pilot deployments here in Nigeria in the coming months.



Cheers,

Ime







___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 
Yusuph Kassim Kulindwa,
University of Dar Es Salaam,
Department of Computer Science,
System Developer/ Research Assistant.

Cell: +255 713 535648

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Rhomobile

2009-03-26 Thread Ime Asangansi

Interesting stuff for folks interested in mobiles!!!
See below!




A new startup called Rhomobile has come out with a GPL licensed software 
tool called Rhodes.

Rhomobile claims that applications written using the Rhodes development 
framework for HTML or Ruby can be run natively on iPhone, Blackberry, 
Windows Mobile, Symbian, and Android smartphones.

http://www.rhomobile.com/

It will be interesting to see how Rhodes based applications compare to 
truly native applications and the other cross platform tools (Flash 
Lite, J2ME, PhoneGap, QT, et al.)

Scott
-- 
Scott McNeil
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] 2.0 to 1.4

2009-05-16 Thread Ime Asangansi

Hi people,

Please does anyone have suggestions for getting data from dhis 2.0 into dhis 
1.4?

Thanks, in anticipation.

Cheers,
Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 2.0 to 1.4

2009-05-17 Thread Ime Asangansi
Hi,

Thanks Knut.

I am not sure if DHIS1.4 imports IXF as it currently doesn't support pure xml - 
a feature to be implemented when support for Acess 2000 is dropped.
But I am not really sure - I have copied Calle here - Pls, is it supported?

The second (ODBC) option is something to consider really.
But there is a third option one may want to look into before that - importing 
data formatted in excel.
It would be nice...this two-way data interchange. 

Thanks.

Best regards,
Ime

--- On Sun, 5/17/09, Knut Staring  wrote:

From: Knut Staring 
Subject: Re: [Dhis2-devs] 2.0 to 1.4
To: "Ime Asangansi" 
Cc: "Dhis2" 
Date: Sunday, May 17, 2009, 9:32 AM

On Sun, May 17, 2009 at 1:12 AM, Ime Asangansi  wrote:




Hi people,



Please does anyone have suggestions for getting data from dhis 2.0 into dhis 
1.4?

Off the top of my head:
1) If 1.4 can import from IXF, you can do an export to IXF from DHIS 2.


2) Create an ODBC connection to DHIS 2 (for Postgres or Mysql), and link the 
handful of key tables into Access, then create some append queries to move the 
data.
Knut

 


Thanks, in anticipation.



Cheers,

Ime



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 
Cheers,
Knut Staring

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 2.0 to 1.4

2009-05-18 Thread Ime Asangansi

Hi,

I thought of that - import xml plus RoutineData.txt csv - then zip
but there's one more
the OrgUnitDataElementParameter.txt which is also csv with 
OrgUnitDataElementParameterID and other IDs.

I doubt if one can do without this third file. Well, I don't know now...will 
try it out.

I guess if we can do it manually then, we'll automate by linking the different 
processes.

TIA

Cheers,
Ime


--- On Mon, 5/18/09, Ola Hod
ne Titlestad  wrote:

> From: Ola Hodne Titlestad 
> Subject: Re: [Dhis2-devs] 2.0 to 1.4
> To: "Knut Staring" 
> Cc: chedb...@telkomsa.net, "Dhis2" 
> Date: Monday, May 18, 2009, 10:43 AM
> On Sun, May 17,
> 2009 at 8:43 PM, Knut Staring 
> wrote:
> 
> On Sun, May 17, 2009 at 8:35 PM,
> Calle Hedberg 
> wrote:
> 
> 
> 
> 
> 
> 1.4 can import various types of Excel data.
> 
> 
> 
> Off the top of my head - 2.0 can export data in 1.4 format,
> right? 
> You're right, we can export many types of
> metadata to 1.4. And we can export data values to
> Excel 
> 
> 
> 
> For metadata, go to the Import - Export module and
> have a look at the options for DHIS 1.4 export under
> "Export to other systems"
> For datavalues, go to Reports -> Report Table
> and select the data you want. Save your selection, then
> click on the Excel icon in the list of Report tables.
> 
> 
> 
> And it should be small job to modify report tables to also
> support data values to csv with internal IDs in stead of the
> names (like we have today).
> Then we would have what you need for a standard 1.4 import,
> 1 XML file with metadata in 14 format, and 1 csv file with
> data and internal identifiers referencing metadata in the
> XML file.
> 
> If we zip these two together with 7zip we have a standard
> 1.4 export file.
> 
> Ola
> ---
> 
> 
>  
> 
> Knut
> 
> ___
> 
> Mailing list: https://launchpad.net/~dhis2-devs
> 
> Post to     : dhis2-devs@lists.launchpad.net
> 
> Unsubscribe : https://launchpad.net/~dhis2-devs
> 
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
> 
> -Inline Attachment Follows-
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 2.0 to 1.4

2009-05-18 Thread Ime Asangansi

Hi,

Oh! Good to know that thats all it does!!!
Thanks for the contributions, Calle , Knut, Ola, others!!!

Best regards,
Ime

--- On Mon, 5/18/09, Calle Hedberg  wrote:

> From: Calle Hedberg 
> Subject: Re: [Dhis2-devs] 2.0 to 1.4
> To: "Ime Asangansi" 
> Cc: "Knut Staring" , "Ola Hodne Titlestad" 
> , "Dhis2" 
> Date: Monday, May 18, 2009, 9:17 PM
> Ime,
> 
> OrgUnitDataElementparameter records are min/max records -
> they can be
> auto-generated in 1.4 (using
> maintenance->housekeeping->add missing
> min/max records) if you don't have all of them. So that
> should not be
> a problem.
> 
> Regards
> calle
> 
> 
> 2009/5/18 Ime Asangansi :
> >
> > Hi,
> >
> > I thought of that - import xml plus RoutineData.txt
> csv - then zip
> > but there's one more
> > the OrgUnitDataElementParameter.txt which is also csv
> with OrgUnitDataElementParameterID and other IDs.
> >
> > I doubt if one can do without this third file. Well, I
> don't know now...will try it out.
> >
> > I guess if we can do it manually then, we'll automate
> by linking the different processes.
> >
> > TIA
> >
> > Cheers,
> > Ime
> >
> >
> > --- On Mon, 5/18/09, Ola Hod
> > ne Titlestad 
> wrote:
> >
> >> From: Ola Hodne Titlestad 
> >> Subject: Re: [Dhis2-devs] 2.0 to 1.4
> >> To: "Knut Staring" 
> >> Cc: chedb...@telkomsa.net,
> "Dhis2" 
> >> Date: Monday, May 18, 2009, 10:43 AM
> >> On Sun, May 17,
> >> 2009 at 8:43 PM, Knut Staring 
> >> wrote:
> >>
> >> On Sun, May 17, 2009 at 8:35 PM,
> >> Calle Hedberg 
> >> wrote:
> >>
> >>
> >>
> >>
> >>
> >> 1.4 can import various types of Excel data.
> >>
> >>
> >>
> >> Off the top of my head - 2.0 can export data in
> 1.4 format,
> >> right?
> >> You're right, we can export many types of
> >> metadata to 1.4. And we can export data values to
> >> Excel
> >>
> >>
> >>
> >> For metadata, go to the Import - Export module
> and
> >> have a look at the options for DHIS 1.4 export
> under
> >> "Export to other systems"
> >> For datavalues, go to Reports -> Report Table
> >> and select the data you want. Save your selection,
> then
> >> click on the Excel icon in the list of Report
> tables.
> >>
> >>
> >>
> >> And it should be small job to modify report tables
> to also
> >> support data values to csv with internal IDs in
> stead of the
> >> names (like we have today).
> >> Then we would have what you need for a standard
> 1.4 import,
> >> 1 XML file with metadata in 14 format, and 1 csv
> file with
> >> data and internal identifiers referencing metadata
> in the
> >> XML file.
> >>
> >> If we zip these two together with 7zip we have a
> standard
> >> 1.4 export file.
> >>
> >> Ola
> >> ---
> >>
> >>
> >>
> >>
> >> Knut
> >>
> >> ___
> >>
> >> Mailing list: https://launchpad.net/~dhis2-devs
> >>
> >> Post to     : dhis2-devs@lists.launchpad.net
> >>
> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >>
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >>
> >>
> >>
> >> -Inline Attachment Follows-
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-devs
> >> Post to     : dhis2-devs@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] what do you guys think of a duplicate function

2012-04-25 Thread Ime Asangansi
Hi,

Just a thought about making creating data elements, indicators, categories, etc 
faster.
Would it be cool to have a new 'create xxx' form that is auto-filled when we 
hit duplicate on an existing element/orgunit/category etc

Just for convenience, especially when one wants to create a hundred things with 
just a small difference btw.

(As a fall back I'm having to do it with csv and loading up at the backend, cos 
its just faster to make so many from a sheet than from the interface)

Just a quick thot...

Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] what do you guys think of a duplicate function

2012-04-26 Thread Ime Asangansi
Thanks Roshan,
Yes, looks like Ola's blueprint has been there since 2009 so its probably not 
that important. Its really easy doing from the back-end though, good to know 
for those moving from 1.4
Ime


--- On Thu, 4/26/12, Roshan Hewapathirana  wrote:

From: Roshan Hewapathirana 
Subject: Re: [Dhis2-devs] what do you guys think of a duplicate function
To: "Ime Asangansi" 
Cc: dhis2-devs@lists.launchpad.net
Date: Thursday, April 26, 2012, 10:37 AM

Hi Ime,
I think it is a useful function (even though it might not be used frequently).

Ola has submitted this blue print on Data Elements,
https://blueprints.launchpad.net/dhis2/+spec/data-element-cloning



I was wondering whether it is worth submitting a similar blue print for 
Indicators too.
For Indicators, 'Replicate' function is there in DHIS1.4, which basically allow 
you to create an Indicator by different names, with more or less similar 
numerators, denominators and Indicator types.




Roshan




On 25 April 2012 22:24, Ime Asangansi  wrote:


Hi,



Just a thought about making creating data elements, indicators, categories, etc 
faster.

Would it be cool to have a new 'create xxx' form that is auto-filled when we 
hit duplicate on an existing element/orgunit/category etc



Just for convenience, especially when one wants to create a hundred things with 
just a small difference btw.



(As a fall back I'm having to do it with csv and loading up at the backend, cos 
its just faster to make so many from a sheet than from the interface)



Just a quick thot...



Ime



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [dhis-mobile] DHISMobile 2.8 release

2012-05-10 Thread Ime Asangansi
Thanks for this, Long.Does this correspond to the Facility Reporter 
on http://dhis2.org/downloads?
Ime
--- On Tue, 5/8/12, Ngo Thanh Long  wrote:

From: Ngo Thanh Long 
Subject: [dhis-mobile] DHISMobile 2.8 release
To: "DHIS Mobile" 
Cc: "dhis2-devs" 
Date: Tuesday, May 8, 2012, 11:07 AM


  


  
  
Hi everyone,



The DHISMobile J2ME application is release version 2.8. 



*Release note:

- Bug fix

- Improve performance

- Compatible with DHIS version 2.6, 2.7 and 2.8.



*Known issue:

- Huawei (G6603) phone auto remove the Period from the Period list
after user send report. This issue make it impossible to review the
data.



*Where to get the code

https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/2.8



From now on, we will make a release for DHISMobile along with each
release of the DHIS2 web application.



Best regards,

Long

  

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] OpenHDS

2011-10-13 Thread Ime Asangansi
Hi Tran and Greg,

My suspicion is that its a connection pooling issue for the JDBC connection.


Apparently, the db is timing out after a set 
period but the connection pool library is not reconnecting them until an
 error occurs.

What could be called a Monday morning sickness, cos it happens in our 
deployment on Mondays, when the system hasn't been used after a long weekend :)

will hopefully commit a simple fix

Ime

--- On Thu, 10/13/11, Chau Thu Tran  wrote:

From: Chau Thu Tran 
Subject: Re: [Dhis2-devs] OpenHDS
To: "Greg Rowles" 
Cc: "DHIS 2 developers" 
Date: Thursday, October 13, 2011, 7:51 AM

When logging fail, I clicked Back button on browser ... and logged successfully.
After, I click AMENDMENTS menu, select Individual, an exception is thrown. I 
tried clicking Back button again, and select it again. It runs.

I tested on chrome and Firefox 7.0.1 to test.
Best regards,

Châu Thu Trân                                
HISP Viet Nam

Email: tran.hispviet...@gmail.com



On Thu, Oct 13, 2011 at 12:39 PM, Greg Rowles  wrote:

See: 
http://openhds.rcg.usm.maine.edu/wiki/display/openhds/OpenHDS+Quickstart+Guide

it has some screenshots of the system...



On Thu, Oct 13, 2011 at 3:44 AM, Chau Thu Tran  
wrote:


Hi all,
I logged by account admin/test. But the exception is 
thrown:org.springframework.transaction.CannotCreateTransactionException: Could 
not open Hibernate Session for transaction; nested exception is 
org.hibernate.TransactionException: JDBC begin failed: 

org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:596)

org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)

org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:316)

org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:105)

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
$Proxy62.loadUserByUsername(Unknown Source)

org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:82)

org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:124)

org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:130)
Best regards,




Châu Thu Trân                                
HISP Viet Nam
Email: tran.hispviet...@gmail.com



On Thu, Oct 13, 2011 at 1:37 AM, Greg Rowles  wrote:



Does anyone know what login details to use for the demo?

On Wed, Oct 12, 2011 at 6:31 PM, Knut Staring  wrote:




We should all be aware of OpenHDS, an open source health and

demographics system for developing countrie  It is based on Spring and

Hibernate, and has adopted many ideas from OpenMRS, including

authentication schemes and database structure:



http://openhds.rcg.usm.maine.edu/



Ime has built a a demographic rates and reports module for use in

Nigeria, as well as a DHIS2 integration module for OpenHDS, and is

planning to simplify it with the new DXF format.



Events include pregnancies, births, deaths, in and out migration, and

marital status change. Events can also change social group membership

or relationships according to fixed rules.

Longitudinal events occur to individuals at risk (i.e. active members)

and must follow simple logical relationships.



Knut



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 
Mobile  :   073 246 2992
Landline:   021 554 3130
Fax:          086 663 3812
Skype:      gregory_rowles
 
HISP-SA: Software Development



www.hisp.org



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp







-- 
Mobile  :   073 246 2992
Landline:   021 554 3130
Fax:          086 663 3812
Skype:      gregory_rowles
 
HISP-SA: Software Development

www.hisp.org





-Inline Attachment Follows-

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
_

[Dhis2-devs] schema - anyone?

2011-12-12 Thread Ime Asangansi
Hi,

Good day everyone.

Please does anyone have a schema diagram of our latest version of the dhis db?

Would be very appreciated. 

thanks

Ime

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] schema - anyone?

2011-12-12 Thread Ime Asangansi
Oh, okay.There used to be one on our wiki those days.
Thanks.
Ime

--- On Mon, 12/12/11, Knut Staring  wrote:

From: Knut Staring 
Subject: Re: [Dhis2-devs] schema - anyone?
To: "Ime Asangansi" 
Cc: "Dhis2" 
Date: Monday, December 12, 2011, 4:17 PM

Hi Ime,
Not that I'm aware of, but perhaps you could have a go at SchemaSpy or one of 
the other tools linked to 
below?http://stackoverflow.com/questions/3223770/tools-to-generate-database-tables-diagram-with-postgresql



Please let us know if you get it to work well.
Knut

On Mon, Dec 12, 2011 at 2:56 PM, Ime Asangansi  wrote:


Hi,



Good day everyone.



Please does anyone have a schema diagram of our latest version of the dhis db?



Would be very appreciated.



thanks



Ime



___

Mailing list: https://launchpad.net/~dhis2-devs

Post to     : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help   : https://help.launchpad.net/ListHelp




-- 
Knut StaringInformatics, U. of Oslohttp://hisp.uio.no+4791880522




___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DXF Imports in 2.6 (Concepts and Constants)

2012-02-03 Thread Ime Asangansi
Thanks Jason for this.There are other issues with dxf import in 2.6.We just 
reported an issue...
Ime

--- On Fri, 2/3/12, Jason Pickering  wrote:

From: Jason Pickering 
Subject: [Dhis2-devs] DXF Imports in 2.6 (Concepts and Constants)
To: "dhis2-devs" 
Date: Friday, February 3, 2012, 9:34 AM

Hi there. I am having big problems importing from 2.6 to 2.6 systems. Importing 
from 2.5 to 2.6 seems to work OK, with some caveats. However, import between 
2.6 systems is broken . There seem to be several issues which I have discussed 
off list with both Bob and Hieu, but there are some design issues around these 
objects which I wanted to raise to the group. First, there are a number of 
objects which thrown UnsupportedOperationExceptions if there is a match

    @Override    protected void importMatching( Concept object, Concept match 
)    {        throw new UnsupportedOperationException( "Concept can only be 
unique or duplicate" );
    }
for instance. 
What is the intention with this? If the concept matches, shouldn't we simply 
ignore it? Perhaps I am misunderstanding something here. 

Regardless, for the case of constants, I am of the opinion that once they have 
been added to the system they should essentially by inviolable, meaning they 
should not be able to be updated from a DXF import. Otherwise, they are not 
really a constant. 

The workaround which I have for the moment is to change the minor version to 
1.2 and remove the entire block of DXF which contains the constants. 
Thoughts?

Regards,Jason



-Inline Attachment Follows-

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] question on dxf2 schema

2012-02-09 Thread Ime Asangansi
Hi devs,

Please kindly assist with a basic question on dxf schema here;

1. I'll like to confirm that something like this will work



According to the schema, it should but it seems not to work until I add 
categorycombo (a default one)?

And the sample_dxf2 there says;







Is the schema up to date?

2. an import of Bob's sample_dxf2 doesn't seem to work.

Also, is there a place to find previous dhis-live versions?

Thanks.

Ime



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] question on dxf2 schema

2012-02-10 Thread Ime Asangansi
Thanks Bob.
Will be very appreciated.

Ime


--- On Thu, 2/9/12, Bob Jolliffe  wrote:

> From: Bob Jolliffe 
> Subject: Re: [Dhis2-devs] question on dxf2 schema
> To: "Ime Asangansi" 
> Cc: dhis2-devs@lists.launchpad.net
> Date: Thursday, February 9, 2012, 10:44 PM
> Hi Ime
> 
> This looks like it is taken from an old schema Jo and I were
> working
> on 2 years ago which was never implemented.  I think it
> is still in
> the documentation branch - I should remove it or at least
> mark it as
> deprecated.
> 
> The current dxf2 data import is much more similar to the pdf
> which I
> posted to this list earlier.  Again there has been some
> minor
> modification since - eg the use of uids instead of uuid -
> which I
> should still document.
> 
> I'll try and post some working samples tomorrow.
> 
> Regards
> Bob
> 
> On 9 February 2012 19:32, Ime Asangansi 
> wrote:
> > Hi devs,
> >
> > Please kindly assist with a basic question on dxf
> schema here;
> >
> > 1. I'll like to confirm that something like this will
> work
> >
> >  value="9" />
> >
> > According to the schema, it should but it seems not to
> work until I add categorycombo (a default one)?
> >
> > And the sample_dxf2 there says;
> >
> >    
> >        
> >         source="1" value="23" categoryOptionCombo="3"/>
> >         source="1" value="23" categoryOptionCombo="2"/>
> >    
> >
> > Is the schema up to date?
> >
> > 2. an import of Bob's sample_dxf2 doesn't seem to
> work.
> >
> > Also, is there a place to find previous dhis-live
> versions?
> >
> > Thanks.
> >
> > Ime
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to     : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] question on dxf2 schema

2012-02-10 Thread Ime Asangansi
Thanks for this Lars.

Somehow I couldn't locate that page on my instance (based on downloaded war) 
like /api/dataValueSets

Thanks

Ime


--- On Fri, 2/10/12, Lars Helge Øverland  wrote:

> Hi Ime, the format for data value
> sets is described directly in the API here:
> 
> http://apps.dhis2.org/demo/api/dataValueSets
> 
> 
> Lars
> 
> 
> On Fri, Feb 10, 2012 at 11:46 AM, Ime Asangansi 
> wrote:
> > Thanks Bob.
> > Will be very appreciated.
> >
> > Ime
> >
> >
> > --- On Thu, 2/9/12, Bob Jolliffe 
> wrote:
> >
> >> From: Bob Jolliffe 
> >> Subject: Re: [Dhis2-devs] question on dxf2 schema
> >> To: "Ime Asangansi" 
> >> Cc: dhis2-devs@lists.launchpad.net
> >> Date: Thursday, February 9, 2012, 10:44 PM
> >> Hi Ime
> >>
> >> This looks like it is taken from an old schema Jo
> and I were
> >> working
> >> on 2 years ago which was never implemented.  I
> think it
> >> is still in
> >> the documentation branch - I should remove it or at
> least
> >> mark it as
> >> deprecated.
> >>
> >> The current dxf2 data import is much more similar
> to the pdf
> >> which I
> >> posted to this list earlier.  Again there has been
> some
> >> minor
> >> modification since - eg the use of uids instead of
> uuid -
> >> which I
> >> should still document.
> >>
> >> I'll try and post some working samples tomorrow.
> >>
> >> Regards
> >> Bob
> >>
> >> On 9 February 2012 19:32, Ime Asangansi 
> >> wrote:
> >> > Hi devs,
> >> >
> >> > Please kindly assist with a basic question on
> dxf
> >> schema here;
> >> >
> >> > 1. I'll like to confirm that something like
> this will
> >> work
> >> >
> >> >  source="5"
> >> value="9" />
> >> >
> >> > According to the schema, it should but it
> seems not to
> >> work until I add categorycombo (a default one)?
> >> >
> >> > And the sample_dxf2 there says;
> >> >
> >> >    
> >> >        
> >> >         period="1"
> >> source="1" value="23" categoryOptionCombo="3"/>
> >> >         period="1"
> >> source="1" value="23" categoryOptionCombo="2"/>
> >> >    
> >> >
> >> > Is the schema up to date?
> >> >
> >> > 2. an import of Bob's sample_dxf2 doesn't seem
> to
> >> work.
> >> >
> >> > Also, is there a place to find previous
> dhis-live
> >> versions?
> >> >
> >> > Thanks.
> >> >
> >> > Ime
> >> >
> >> >
> >> >
> >> >
> ___
> >> > Mailing list: https://launchpad.net/~dhis2-devs
> >> > Post to     : dhis2-devs@lists.launchpad.net
> >> > Unsubscribe : https://launchpad.net/~dhis2-devs
> >> > More help   : https://help.launchpad.net/ListHelp
> >>
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to     : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Organisation unit group

2012-02-21 Thread Ime Asangansi
I think this is an interesting use case.
Perhaps in the future we could create functionality for "Dynamic Orgnit Groups" 
and maybe a utility to 'rearrange' the groupings based on indicator values?

Ime


--- On Wed, 2/22/12, Jason Pickering  wrote:

> From: Jason Pickering 
> Subject: Re: [Dhis2-devs] Organisation unit group
> To: "Thuy Nguyen" 
> Cc: "dhis2-devs" 
> Date: Wednesday, February 22, 2012, 5:51 AM
> Hi Thuy
> 
> It is an interesting requirement ( transient orgunit group
> assignment
> based on a data element), but it would seem to be much more
> easily
> accomplished just with the use of a simple indicator.
> 
> Instead of using the orgunit group assignment to determine
> the type of
> report to be generated, you could use the indicator value to
> make this
> determination instead.
> 
> Regards,
> Jason
> 
> 
> 
> 
> On Tue, Feb 21, 2012 at 8:41 PM, Thuy Nguyen 
> wrote:
> > Dear all,
> > In Sri Lanka, I have created organisation units as
> schools. Schools are
> > classified to some types based on the total students
> available in the year.
> > Example in some values are aggregated from the schools
> which are grouped to
> > 4 school types : <200 students, 201 to 1000
> students, 1001 to 2000 students,
> > 2001 to 3000 students and >3000 students.
> > while other values are aggregated from 2 schools type
> <200 students and
> >>=200 students.
> > Each type of school will get different way of health
> service. So it is
> > needed to classify these school and generate report for
> each type.
> > I grouped these schools as organisation unit groups as
> above school types.
> > However, there is a problem, the number of students in
> each school are
> > changed in every year. In this case, the school will be
> assigned to another
> > group according to its number of students data elements
> collected yearly.
> > Is it possible to group the organisation units
> according to the data element
> > value?
> > I wonder if anyone has any experience from this. and
> have solution to
> > consult me.
> > Thank you
> > Thủy
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to     : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS API

2012-03-18 Thread Ime Asangansi
Couldn't agree more.
Keep up the good job with the api and keep improving it, guys.
We look forward to the web-api in 2.8... would be very useful for integration 
with mobile back-ends.

Ime


--- On Sat, 3/17/12, Lars Kristian Roland  wrote:

> From: Lars Kristian Roland 
> Subject: Re: [Dhis2-devs] DHIS API
> To: "Lars Helge Øverland" 
> Cc: dhis2-devs@lists.launchpad.net
> Date: Saturday, March 17, 2012, 7:49 PM
> Thanks,
> 
> good stuff. This API will really open up for some great
> possibilities.
> 
> Lars
> 
> On 17.03.2012 19:38, Lars Helge Øverland wrote:
> > 2012/3/17 Jason Pickering:
> >> Could you also describe how to delete existing
> values through the api?
> >>
> > Not possible at the moment I'm afraid, definitely
> should be done, will
> > fix for 2.8.
> >
> >
> > Lars: I have improved the description at
> /api/dataValueSets with some
> > more info on the period formats.
> 
> 
> -- 
> Lars Kristian Roland
> l...@roland.bz
> +47 90733036
> www.apus.no - lars.roland.bz
> 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Getting timeliness rates?

2015-11-04 Thread Ime Asangansi
My +1 for this as well.

 

Thanks,

Ime

 

 

From: Dhis2-devs 
[mailto:dhis2-devs-bounces+imeasangansi=gmail@lists.launchpad.net] On 
Behalf Of Greg Rowles
Sent: Wednesday, November 4, 2015 9:10 AM
To: Olav Poppe
Cc: Jens Johan Kaasbøll; dhis2-devs@lists.launchpad.net
Subject: Re: [Dhis2-devs] Getting timeliness rates?

 

Hi All

 

We are relying more and more on these DQ metrics in South Africa (for providing 
feedback to health on policy adherence). Having access to DQ data under 
analytics is super important for us too! But I know this is a massive piece of 
work so we are waiting patiently :)

 

 

On Wed, Nov 4, 2015 at 11:01 AM, Olav Poppe mailto:olav.po...@me.com> > wrote:

Hi Johan,
I don’t have a solution for you, since as you have noticed timeliness is not 
available through the analytics API (and thus not in pivot tables etc).

I’m not sure if the data is really available anywhere through the API, but 
hopefully some of the developers can answer to that. I just wanted to add that 
I really think adding support for timeliness in analytics is important (and it 
has been requested several time before). Same for exposing the raw data 
("actual reports" and "expected reports"), which together with "count of 
datavalues" aggregation would let you do a lot of interesting completeness 
analysis.

Olav





> 4. nov. 2015 kl. 09.49 skrev Johan Ivar Sæbø   >:
>
> Hi,
>
> we are working on a league table/scorecard app, and manage to get indicators 
> and completeness rates into it. However, users also want to be able to use 
> the timeliness rates. We don't see them in the pivot tables either, so not 
> much help in looking at how that is done there. How can we get this 
> information?
>
> Johan
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net 
>  
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net 
 
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp





 

-- 

Health Information Systems Program - South Africa

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Mobile  :073 246 2992
Landline:   021 554 3130

Fax:  086 733 8432 

Skype:  gregory_rowles

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp