Re: [Dhis2-devs] Web API Data value

2018-11-01 Thread Carlos Nyembwe
Hi Riddy, Can you try this? /api/29/analytics/dataValueSet.json?dimension=dx:dataElementUID.CategoryOptionCombo(for Femin)=pe:201807=ou:OrgUnitUID On Thu, Nov 1, 2018 at 1:21 PM riddy ndoma wrote: > [image: Boxbe] This message is eligible > for Automatic

Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-01 Thread Kristiyan Panayotov
Dear Blake, Thank you for approaching our issue. I am afraid that the solution to the problem is not that simple. DHIS2 still doesn't recognize the Org Unit csv file, although that is a structure that has been successfully imported in previous versions. I also got the parent UID from DHIS2

Re: [Dhis2-devs] Default event report Date on DHIS2 Version 2.28

2018-11-01 Thread Calle Hedberg
Hi The short answer is NO - the event date is what I normally call an "anchor" field, similar to e.g. having to specify an orgunit for any enrollment. There is no simplistic solution to this (very common) challenge of users capturing data without actually consciously assessing the consistency

Re: [Dhis2-devs] Default event report Date on DHIS2 Version 2.28

2018-11-01 Thread Isabane Janvier
Dear Calle, Thank you so much for your quick response. Best Regards, - *ISABANE Janvier* *Junior Programmer* *HISP Rwanda.* Mobile: +250 788 286 107, address: KG 113 St, Kigali - Rwanda website: hisprwanda.org e-mail:

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-11-01 Thread Terence Scott
Dear Shurajit Thanks for the advice. This worked fantastically - however, the documentation is a little confusing with regards to the required format. Is there somewhere where I can possibly make suggestions for clarification? The string that eventually worked under the Auto-generate section is

[Dhis2-devs] Default event report Date on DHIS2 Version 2.28

2018-11-01 Thread Isabane Janvier
Hello everyone, My name is ISABANE Janvier from HISP – Rwanda. We are currently working on tracker program and we would like to know if there is a way of not prompting current date (Leave It empty) on reporting date while creating a new event. The reason is that “People tend to leave it as it

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-11-01 Thread Zubair Asghar Raja
Hi Terence, Create a JIRA issue for this enhancement (ENROLLMENT_DATE) and we will look into it. Den tor. 1. nov. 2018, 9:21 a.m. skrev Terence Scott < terence.sc...@rabiesalliance.org: > Dear Shurajit > > Thanks for the advice. This worked fantastically - however, the > documentation is a

Re: [Dhis2-devs] Default event report Date on DHIS2 Version 2.28

2018-11-01 Thread Markus Bekken
Hey there Isabane :) We do not support configuring this at the moment, and you are welcome to register a jira feature request explaining your use case: jira.dhis2.org . Do you expect most events to be back-entry you might also make a program rule that informs the user

Re: [Dhis2-devs] [Dhis2-users] Generating sequential numbers in program rule

2018-11-01 Thread Terence Scott
Dear Knut Thank you - I will update as soon as possible with some of my recommendations. Kind regards, Terence Terence Scott Global Alliance for Rabies Control (GARC) Pan-African Rabies Control Network (PARACON) Steering Committee terence.sc...@rabiesalliance.org

[Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-01 Thread Kristiyan Panayotov
Dear DHIS2 experts, I am writing to you because I have the following issue with DHIS2 METADATA IMPORT: I want to import (first) Organizational units and unfortunately I do not see the .csv import and object type in the IMPORT/EXPORT APP. I see the DHIS2 2.30 guide on importing metadata has

Re: [Dhis2-devs] [Dhis2-users] Generating sequential numbers in program rule

2018-11-01 Thread Knut Staring
Hi Terence, great to see it worked out. Just plugging the collaborative nature of the documentation effort as well ;-) https://docs.dhis2.org/master/en/implementer/html/doc_guide_chapter.html# On Thu, Nov 1, 2018 at 9:24 AM Terence Scott < terence.sc...@rabiesalliance.org> wrote: > Dear

Re: [Dhis2-devs] Generating sequential numbers in program rule

2018-11-01 Thread Terence Scott
Dear Zubair Thank you for this recommendation. I have created the JIRA issue as suggested: DHIS2-5094 Kind regards, Terence Terence Scott Global Alliance for Rabies Control (GARC) Pan-African Rabies Control Network (PARACON) Steering Committee

[Dhis2-devs] Web API Data value

2018-11-01 Thread riddy ndoma
Hello, Assuming I have a data element (Sex) exploded into two options (Male and Female). So how to point a URL via web API to recover the value of the data that concerns only the female sex. I can retrieve the sex data element globally but in a separate way I am a little lost. I need the URL

Re: [Dhis2-devs] Duplicate Key Error

2018-11-01 Thread moses mwale
Can you share the full log. On Tue, 30 Oct 2018 at 1:22 PM, gerald thomas wrote: > Dear All, > It had been awhile now that we had been noticing this error in our log: > > Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value > violates unique constraint "datavalue_pkey" >

Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-01 Thread Blake Hansen
Hi Kristiyan, DHIS2 still support this in 2.30, which you will see in the documentation. The only difference is that you no longer have to select the upload file type. DHIS2 automatically detects that it is a .csv file. Then you will be asked to choose the type of object you are creating. So

Re: [Dhis2-devs] Web API Data value

2018-11-01 Thread riddy ndoma
Thanks Carlos, I'll try it. Le jeu. 1 nov. 2018 à 16:16, Carlos Nyembwe a écrit : > Hi Riddy, > > Can you try this? > > /api/29/analytics/dataValueSet.json?dimension=dx:dataElementUID.CategoryOptionCombo(for > Femin)=pe:201807=ou:OrgUnitUID > > On Thu, Nov 1, 2018 at 1:21 PM riddy ndoma

Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-01 Thread Dan Cocos
Is it encoded as UTF-8? I noticed as few “special” charters and that might cause problems. Dan Cocos BAO Systems > On Nov 1, 2018, at 5:33 PM, Georgi Chakarov > wrote: > > Hi Blake, > > Thanks for your response! > > I am a colleague of Kristiyan. We use csv format as we have always used

[Dhis2-devs] 404 response from the API when using Event Capture

2018-11-01 Thread Kevin Bolger
Hi Folks, I've deployed 2.29 build e1c949f (full About details below) on an aws ec2 instance running Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1070-aws x86_64). When trying to use the Event Capture app to record a single event the page load stalls. In response to the api call; >

Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-01 Thread Kristiyan Panayotov
Hi Cha, Thank you for your advice – I had the same feeling that .csv integration link is not as great as the json. Cheers, Kris From: Warancha Tumtaweetikul [mailto:w...@bcchr.ca] Sent: Thursday, November 1, 2018 7:13 PM To: Kristiyan Panayotov Cc: 'DHIS 2 Users list' ; 'dhis2-devs'

[Dhis2-devs] Unable to create relationship types after upgrade

2018-11-01 Thread Abumere Ejakhegbe
Hello All, After an upgrade to 2.30, it has been impossible to create Relationship Types. it just returns a feedback of "OK" when I click save. I have looked at the logs and there are no specific errors to draw a conclusion from. [image: image.png] 127.0.0.1 - - [31/Oct/2018:10:59:11 +]