Thanks Markus, just wanted to confirm.
https://jira.dhis2.org/browse/DHIS2-3312
On Tue, Apr 3, 2018 at 2:30 AM, Markus Bekken wrote:
> Nayeem, thanks for the workaround.
>
> Nick, the proposed usage should have worked. Age should be treated as a
> normal date data type in the
Dear Markus and Nayeem,
Thanks a lot, i will test that and definitely I will share my feedback.
Thanks a lot
Regards
On Tuesday, April 3, 2018, 10:23:04 AM GMT+3, Nayeem Al Mifthah
wrote:
Hi SaleCreate a data element ie. age in yearAssign to stage.Create a
Hi Sale
Create a data element ie. age in year
Assign to stage.
Create a program rule variable with age/DoB attribute as any name ie. DOB
Create program rule to assign value to newly created data element
The calculation should be d2:yearsBetween(DoB, event_date)
*Nayeem Al Mifthah*
*Consultant
Hey Seleman,
The issue you are referring to here asks for a change in how the Age data type
functions. I think the behavior you want should already be supported, but with
the syntax that Nick provided below.
One strength of calculating the age using the d2:yearsBetween() is that you
would
Hi Nayeem, this is very useful but the statement below was not very clear at
least for me.
"Later created a data element in program stage and assign age in year as a
calculative value from program attribute 'age'."
Do you mind to elaborate a bit more, and which version of DHIS2 are
Hi Markus and the team,
I think the issue is already created on JIRA since last year. May be we should
push for it because this is stopping community from benefiting with this useful
feature. The Jira link to the link is
https://jira.dhis2.org/browse/DHIS2-1309?jql=text%20~%20%22Age%22
Issue
Nayeem, thanks for the workaround.
Nick, the proposed usage should have worked. Age should be treated as a normal
date data type in the program indicators. Can you create a bug in jira?
Markus
> 3. apr. 2018 kl. 03:41 skrev Nayeem Al Mifthah :
>
> Hi Nick
> I have also
Hi Nick
I have also notice the same problem. Later created a data element in
program stage and assign age in year as a calculative value from program
attribute 'age'.
It works!
Regards,
Nayeem Al Mifthah
Consultant for HSS, HMIS, M, GIS and Surveillance
Kindly ignore typos.
On Mon, 2 Apr 2018,
Hi
I am trying to figure out the best method to use age-type attributes in
program indicator calculations. As a simple example, let us say I want a
program indicator which displays the age in years of a person. From what I
can see, the age-type attribute stores its value as a date, according to
9 matches
Mail list logo