Re: [Dhis2-devs] [Dhis2-users] Error message : Form is invalid. Please checkforrequired fields.

2017-02-10 Thread Abyot Asalefew Gizaw
Hi Timothy,

Are you sure all the required data elements are part of the custom form?
That was not the case with the db you sent to me.

Can you check this without the custom form?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Feb 10, 2017 at 6:46 AM, Timothy Kiyemba  wrote:

> Dear Abyot,
>
> Just to replicate the steps a bit, I have removed my declarations for
> required fields from program rules then I have maintained it only under the
> set up of the program stage for Form 1 - training and sensitisation. I have
> declared the 9 fields as compulsory under the set up of the variables for
> the stage.  When I get back to data entry and click save, it highlights all
> required fields, I fill each of them up (all 9) but the red error message 
> "Form
> is invalid. Please check for required fields" still remains at the bottom
> of the form. I really can't figure out what I am missing.
>
> Timothy
>
> On Thu, Feb 9, 2017 at 8:09 PM, Timothy Kiyemba 
> wrote:
>
>> Could it be because I declared them both as program rules and also as
>> required fields under the program?. Is it enough for me to declare them as
>> required fields under the program stage? Just thinking
>>
>> On Thu, Feb 9, 2017 at 7:44 PM, timothy kiyemba 
>> wrote:
>>
>>> Dear Abyot,
>>>
>>> The custom form has distributed IECs variable as well. However its a
>>> yes/no field. Could it be that its not recognising it?
>>>
>>> Timothy
>>> --
>>> From: Abyot Asalefew Gizaw 
>>> Sent: ‎09/‎02/‎2017 18:13
>>> To: timothy kiyemba 
>>> Cc: dhis2-devs ; DHIS 2 Users list
>>> 
>>> Subject: Re: [Dhis2-users] Error message : Form is invalid. Please
>>> checkforrequired fields.
>>>
>>> Hi Timothy,
>>>
>>> I just checked your system - specifically program "Form 01 - Training
>>> and Sensitisation".
>>>
>>> You have *NINE* compulsory data elements, however your custom form
>>> contains only *EIGHT* of them. I think the missing data element is
>>> "Distributed IECs". Please check your custom form.
>>>
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Wed, Feb 8, 2017 at 7:03 PM, timothy kiyemba 
>>> wrote:
>>>
 Dear Abyot,

 I have cross checked. I do not have any hidden fields on the form.
 Tried filling up all of them but this message continues to persist at the
 bottom of the entry form.

 Timothy
 --
 From: Abyot Gizaw 
 Sent: ‎08/‎02/‎2017 20:33
 To: Timothy Kiyemba 
 Cc: dhis2-devs ; DHIS 2 Users list
 
 Subject: Re: [Dhis2-users] Error message : Form is invalid. Please
 check forrequired fields.

 See if a required field is hidden by a program rule.

 ---

 Thank you,
 Abyot.
 (sent from mobile)

 On Feb 8, 2017 18:25, "Timothy Kiyemba"  wrote:

 Dear all,

 I am trying to create program rules but on trying to perform trial
 entries I get the error message ;

 "Form is invalid. Please check for required fields."

 Is this a bug? or is there something I am missing.

 I have gone through all the fields and I have performed entry for all
 the required fields.

 Please help. I am working with DHIS2 2.25.

 Kind regards

 Timothy

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



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


Re: [Dhis2-devs] Tracker Design - why are there no COMMENT field for TEIattributeValue and TEIdataValue?

2017-02-10 Thread Abyot Asalefew Gizaw
Hi Calle,

Though not per data value, we do have support for comment per event and
also per enrollment.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Feb 9, 2017 at 5:01 PM, Calle Hedberg 
wrote:

> Hi
>
> One design feature for DHIS aggregated data that has been there since 1997
> is the COMMENT field - which is used to support a "rich picture" by
> enabling users to add explanatory comments or additional info linked
> directly to a specific data value.
>
> Why are there no comment fields within Events and Tracker? It's of course
> possible to add additional attributes or data elements to store the "richer
> picture" but it would be preferable to have the COMMENT option as an
> alternative.
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> 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] Tracker Design - why are there no COMMENT field for TEIattributeValue and TEIdataValue?

2017-02-10 Thread Calle Hedberg
Abyot,

Sure, I know that - I'm just interested in why the comment field wasn't
included per data value as it is for aggregated data. Was it a deliberate
choice? Or simply that nobody thought about it at the time? I'm thinking of
writing a JIRA issue for it, but would like to know if there are/were
specific considerations against a data value comment field (and if yes,
what they were).

Regards
calle

On 10 February 2017 at 10:25, Abyot Asalefew Gizaw  wrote:

> Hi Calle,
>
> Though not per data value, we do have support for comment per event and
> also per enrollment.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Feb 9, 2017 at 5:01 PM, Calle Hedberg 
> wrote:
>
>> Hi
>>
>> One design feature for DHIS aggregated data that has been there since
>> 1997 is the COMMENT field - which is used to support a "rich picture" by
>> enabling users to add explanatory comments or additional info linked
>> directly to a specific data value.
>>
>> Why are there no comment fields within Events and Tracker? It's of course
>> possible to add additional attributes or data elements to store the "richer
>> picture" but it would be preferable to have the COMMENT option as an
>> alternative.
>>
>> Regards
>> Calle
>>
>> ***
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>>
>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>
>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>
>> 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
>>
>>
>


-- 

***

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


Re: [Dhis2-devs] Tracker Design - why are there no COMMENT field for TEIattributeValue and TEIdataValue?

2017-02-10 Thread Abyot Asalefew Gizaw
We have thought about that. The argument back then was, the atomicity in
tracker is not data value rather the event / visit.

Not sure how it makes sense to comment and latter interpret the age,
gender, address,... (and of course other services provided) of an
individual. The assumption is to have a general observation about the event
(at the visit level) and also long term observation (at the enrollment
level).

Also, it is not possible to edit comment. If a need to amend arises, one
has to write another comment - this is more like a log book.



--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Feb 10, 2017 at 10:03 AM, Calle Hedberg 
wrote:

> Abyot,
>
> Sure, I know that - I'm just interested in why the comment field wasn't
> included per data value as it is for aggregated data. Was it a deliberate
> choice? Or simply that nobody thought about it at the time? I'm thinking of
> writing a JIRA issue for it, but would like to know if there are/were
> specific considerations against a data value comment field (and if yes,
> what they were).
>
> Regards
> calle
>
> On 10 February 2017 at 10:25, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Calle,
>>
>> Though not per data value, we do have support for comment per event and
>> also per enrollment.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Feb 9, 2017 at 5:01 PM, Calle Hedberg 
>> wrote:
>>
>>> Hi
>>>
>>> One design feature for DHIS aggregated data that has been there since
>>> 1997 is the COMMENT field - which is used to support a "rich picture" by
>>> enabling users to add explanatory comments or additional info linked
>>> directly to a specific data value.
>>>
>>> Why are there no comment fields within Events and Tracker? It's of
>>> course possible to add additional attributes or data elements to store the
>>> "richer picture" but it would be preferable to have the COMMENT option as
>>> an alternative.
>>>
>>> Regards
>>> Calle
>>>
>>> ***
>>>
>>> Calle Hedberg
>>>
>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>
>>> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>>>
>>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>>
>>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>>
>>> 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
>>>
>>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> 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


[Dhis2-devs] Block a dataset just same period

2017-02-10 Thread Carlos Nyembwe
Dear all

Hello, I have a problem in our process for implementing a new system but, a
problem is, we need to block the period after 2016 to give just access for
2017

Is it possible to do that?

Thanks

-- 
*Carlos Nyembwe*
*I'm just a Computer Scientist*

*Skype: carloscnk1*
*Cell: (+243)813166381*
*Find me in: | Google Plus  |
**Linkedin
 | Facebook
 | Twitter
 |*
___
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] View Access to Tracker Capture

2017-02-10 Thread Pamod Amarakoon
Hi,

Is it possible to only provide a user role view access to tracker capture
without providing the ability to edit or delete event data. It seems that
Add/Update Tracked Entity Data Value access has to be provided to view the
tracked entity dash board on 2.24

-- 
Regards,
Pamod

Confidentiality Notice: the information contained in this email and any
attachments may be legally privileged and confidential. If you are not an
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you have
received this e-mail in error, please notify the sender and permanently
delete the e-mail and any attachments immediately. You should not retain,
copy or use this e-mail or any attachments for any purpose, nor disclose
all or any part of the contents to any other person.
___
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] Block a dataset just same period

2017-02-10 Thread JM Alcantara
Hello Carlos
Can you provide a little more information?
Is this for a data set? Is the period annual? In that case you can the value of 
expiry days and open future periods for data entry to 1.

JM

> El 10/02/2017, a las 08:41, Carlos Nyembwe  escribió:
> 
> Dear all
> 
> Hello, I have a problem in our process for implementing a new system but, a 
> problem is, we need to block the period after 2016 to give just access for 
> 2017
> 
> Is it possible to do that?
> 
> Thanks
> 
> -- 
> Carlos Nyembwe
> I'm just a Computer Scientist
> 
> Skype: carloscnk1
> Cell: (+243)813166381
> Find me in: | Google Plus  | Linkedin 
>  | Facebook 
>  | Twitter 
>  |
> ___
> 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] How to find all Indicators that use a specific DataElement via the API?

2017-02-10 Thread Lorill Crees
Hi,

What is the best way to find all Indicators that use a specific
DataElement? Do I have to search for the id in the numerator and
denominator strings like this, or is there a better way?

/api/25/indicators?filter=numerator:like:HifxrAyx4sO
/api/25/indicators?filter=denominator:like:HifxrAyx4sO

DHIS 2 Version:
2.25
Build revision:
a143100
Build date:
2017-02-07 14:28

Thanks,

Lorill

-- 
Lorill Crees
Project Leader / Senior Developer
2Paths Solutions Ltd. 

lcr...@2paths.com
skype: lorill2paths
(604) 689-4123 x 15
___
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