Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Knut Staring
If however you want to use the analytical output and visualization in DHIS2, there is now an app available that allows you to map the spreadsheet to data elements, periods and orgunits in DHIS2 - in other words, there is a way to import from Excel provided it the structure is relatively straightfor

Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Knut Staring
Hi Jerome, not yet, I think. I will check the status of it and get back to you. Knut On Tue, Jul 26, 2016 at 12:59 PM, Jerome Shaguy wrote: > Hi Knut, > > Is this app available on the playstore? > > On Tue, Jul 26, 2016 at 11:26 AM, Knut Staring wrote: > >> If however you want to use the anal

Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Jerome Shaguy
Hi Knut, Is this app available on the playstore? On Tue, Jul 26, 2016 at 11:26 AM, Knut Staring wrote: > If however you want to use the analytical output and visualization in > DHIS2, there is now an app available that allows you to map the spreadsheet > to data elements, periods and orgunits i

[Dhis2-devs] Extract Individual data from Web API

2016-07-25 Thread Muhammad Masud Parvez
Dear All, Greetings from Bangladesh. I am trying to extract individual patient data (Age, Sex) and his/her encounter data by DHIS2 web API. When I am extracting data using api/events I am getting lot more data. Any help on this regards is highly appreciated. Best Regards Masud Parvez CEH, MCI

Re: [Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-25 Thread Aamer Mohammed
Thanks Morten. We will do the bugfixes and other changes related to metadata sync feature in our 2.24 branch(it is branched from DHIS 2.24 branch). https://code.launchpad.net/~twoca-devs/dhis2/twoca_2.24 Once the patches are ready we will pr

[Dhis2-devs] Send message based on incidence date

2016-07-25 Thread Nayeem Al Mifthah
Dear All Is it possible to add this functionality? I would like to add a reminder message after certain date from incident date. *Nayeem Al Mifthah* *Consultant for HSS, Health MIS, M&E* Email: n.mift...@gmail.com Cell:+8801914030574 Skype: nayeem.a.m ___

[Dhis2-devs] [Bug 1606380] [NEW] Pie Charts do not display

2016-07-25 Thread Tom Zemp
Public bug reported: Hi. I'm having trouble visualizing pie charts for use in reports. The legend for the chart displays, but none of the data. I've replicated this problem in the demo instance. For instance: https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data. I've also observed this issue

[Dhis2-devs] [Bug 1606383] [NEW] Maps-Cannot generate view with new date

2016-07-25 Thread Tom Zemp
Public bug reported: Hi. According to the documentation, it's possible to generate views of maps with different dates (http://dhis2.github.io/dhis2-docs/2.23/en/developer/html/dhis2_developer_manual_full.html#d6099e6057). However, this seems not to work when I try it. I have replicated this in d

Re: [Dhis2-devs] [Dhis2-users] Default Dashboard map providers

2016-07-25 Thread Bjørn Sandvik
Hi Frank, I've now made "OSM Light" the default basemap for both DHIS 2.23 and 2.24, and named it "OpenStreetMap". For 2.25 we'll look for an additional basemap provider with a more detailed look (maybe Stamen Terrain which is not yet launched globally

[Dhis2-devs] 2 CatCombos for every 1

2016-07-25 Thread Timothy Harding
Hello Devs, This has happened for 2.21, 2.22, 2.23, I haven't tested it in 2.24 yet though. When I export a catcombo with dependencies from the metadata detailed exporter, it exports each catcombo twice (duplicates them): [image: Inline image 1] * INFO 2016-07-25 15:33:02,890 *Exporting 2 Cate

Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Raminosoa Rabemanantsoa, Tantely
Hi Jason, Thank you for your suggestions. This is helpful. Regards Tantely Le 25 juil. 2016 18:34, "Jason Pickering" a écrit : Hi Tantely, Please have a look here http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html for how DHIS2 can be used to store file resources. Data

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Halvdan Hoem Grelland
To update everyone: this is definitely a bug with this stuff when using FileResource with Tracker (2.23 -> ). I'm currently working on a fix, but it will take some time. It hopefully won't take long, but as it's a pretty critical issue to have in production you will need to work around it in the m

Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Jason Pickering
Hi Tantely, Please have a look here http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html for how DHIS2 can be used to store file resources. Data stored there however will not be available for visualization or other analytics. Regards, Jason On Mon, Jul 25, 2016 at 4:43 PM,

[Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-25 Thread Raminosoa Rabemanantsoa, Tantely
Dear Community, I would like to use DHIS2, in addition to its classic uses (data capture, data analysis and reporting,...), to store a tabular data that is sourced from MS Excel spreadsheet (or probably from another database) without any link to organization unit, period or dataset. Would it be po

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Halvdan Hoem Grelland
Ok. That task *should* detect *unreferenced* fileResource objects and delete them. If they are referenced, however (i.e. there is a data value referencing their UID) they should not be deleted. If the uid in your example is in fact stored in a data value with a FR data element there is a bug, if n

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Mike Nelushi
Hi Halvdan, We want the user to upload the file and be able to retrieve it but the files are deleted(purged) at 2AM everyday. * INFO 2016-07-25 02:00:00,072 'system-process' delete org.hisp.dhis.fileresource.FileResource, name: PERSONAL_CONSIDERATION_SUBMISSION. Samuel Mur 7910025121081.pdf, uid:

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Halvdan Hoem Grelland
This should be fine. Are you experiencing that it doesn't work as expected? (I didn't consider the tracker use case when I wrote 'dataset'. My bad...) Calle: your assumptions are correct. DV to FR is one-to-one. You would need a DE per specific file for your event/dataset, or alternately package m

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Mike Nelushi
Hi Halvdan, The following are the steps I'm using: 1. Save the file on the api/fileResource endpoint, get the UID back, then save the uid as of a dataValue on the event. Example: POST to api/fileResources, get id: “a1” back. 2. PUT the event: { "event" : "", "dataValues" : [

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Calle Hedberg
Hi, To be 100% clear: If a standard set of documents are to be uploaded - as is the case here - we simply need to create one text data element for each type of document to store the UID returned with the response field? There is no need for any other data values to reference the stored file? If

Re: [Dhis2-devs] FileResources CleanUp Task

2016-07-25 Thread Halvdan Hoem Grelland
Hi Mike, As is explained in the docs, the FR must be referenced by a data value. If the FR is referenced it will not be deleted. The FR object is not usable by itself, so the upload to the api/*/fileResources is step 1 of 2 in the process of uploading a file (it needs to be tied to a DV afterward

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-25 Thread Aamer Mohammed
Hi Jan, This endpoint https://play.dhis2.org/demo/api/svg.png running Batik is able to convert svg to png images. We are getting inclined towards using this endpoint in our custom apps. Few questions here: - Can we specify the size of png image to be ge

Re: [Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-25 Thread Morten Olav Hansen
Hi Aamer What happens when we release a new version of DHIS 2 is that we branch of <2.XX> version (2.24 now latest) and then continue doing development in trunk branch, mainly this means that bugfixes goes into trunk/2,XX and new features into trunk only. Probably it would be wise to follow this

Re: [Dhis2-devs] Program export

2016-07-25 Thread Morten Olav Hansen
The 2 issues should now be fixed and backported -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Jul 25, 2016 at 10:02 AM, Morten Olav Hansen wrote: > - is it intentional that optionSets are included, but not the options? >> > > No, I will have a lo

Re: [Dhis2-devs] Program export

2016-07-25 Thread Morten Olav Hansen
> > - is it intentional that optionSets are included, but not the options? > No, I will have a look and fix/backport > - is it intentional that custom forms are not included? > No, I will have a look and fix/backport > - even if the import succeeded (apart from missing options and custom > fo

Re: [Dhis2-devs] Connect to DHIS2 with slow internet connection

2016-07-25 Thread Araz Abishov
Hi Tantely, We are minimizing amount of internet traffic used both for downloads and uploads in android apps (so there is no need to have special parameters). However, problems with logging-in and getting datasets from server, can be related to configuration on the server side: - Please, check i