← Back to team overview

dhis2-devs team mailing list archive

Fwd: [Dhis2-users] Storing value type 'Age' in numeric form

 

Hi

I am facing the same issue. I could enter age of a patient in Tracker form
( in a attribute type of Age) , but not able to create any indicators based
on it , for example 'No. of events where Age is less than 1 year'.

Does it work yet?

Thank you in advance
Deepali



---------- Forwarded message ----------
From: Archana Chillala <archanac@xxxxxxxxxxxxxxxx>
Date: Thu, Mar 23, 2017 at 2:03 PM
Subject: Re: [Dhis2-users] Storing value type 'Age' in numeric form
To: dhis2-devs <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Cc: dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>, Jane GREIG <
jane.greig@xxxxxxxxxxxxxx>, Theo Krommydakis <
theo.krommydakis@xxxxxxxxxxxxxx>, twoca <twoca@xxxxxxxxxxxxxxxx>,
carolyn.tauro@xxxxxxxxxxxxxx


adding dhis-users list

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>

[image: www.thoughtworks.com] <http://www.thoughtworks.com>

On Thu, Mar 23, 2017 at 1:57 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx
> wrote:

> Hi
>
> We are using DHIS version 2.26. We are exploring the new value type "*Age*"
> that has been introduced with this release. On the UI, when we enter a
> date, it calculates the age in years, months and days perfectly. But we
> observe that the calculated age in years is not stored in the DB. The value
> of an Age type data element is stored only as a date (YYYY-MM-DD) in the
> database. We would like to use the age in years in analytics on the
> visualisation apps. We have tried using program indicators for the same,
> but that did not work as expected.
>
> Could you please suggest how we could leverage the use of age in years,
> given the existing functionality.
>
>
>
> *Cheers*,
>
> Archana Chillala
> Application Developer
> Email archanac@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
>
> [image: www.thoughtworks.com] <http://www.thoughtworks.com>
>


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

PNG image


Follow ups

References