← Back to team overview

dhis2-users team mailing list archive

Re: Calculated elements and reuse of elements

 

The two forms are attached; the first is in DHIS form generator without totals, the second is from their current system.  I take it from your answer that we can't display calculated data elements in read-only mode.

Some miscellaneous questions:
1.  Is there a way of developing forms and reports on one machine and transferring them to another?
2.  What is the status of individual patient entry?  Could there be a combo data type that displayed a list of category combo values in a combo box?  I couldn't quite tell from the Case Aggregation Mapping form what was going on.  Is there a roadmap or tickets to follow to see where this is going?
3.  As I understand it, at this time text fields don't roll up.  Could they roll up as counts (null v. populated)?  How about yes/no fields, do they roll up as counts of yes?  Think of 2 questions like "Did x occur?  If yes, how much y was involved?"  What you'd like to roll up is sum/average of y for x=yes, could be done with SQL if y=0 can be distinguished from y=null, but safer to do sum(y) where x=true for sum, sum(y)/count(x=true) for average.  [In my case, x=had a stockout of 1 week or more, y=days of stockout.]

Thanks, Roger


-----Original Message-----
From: Ola Hodne Titlestad [mailto:olatitle@xxxxxxxxx] 
Sent: Friday, September 03, 2010 2:22 AM
To: Friedman, Roger (CDC/CGH/DGHA) (CTR); DHIS 2 developers; dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] Calculated elements and reuse of elements

Hi Roger, any chance you could share these form layouts with us? The
quick answer is that your totals can be retrieved using the dimension
report tables and you can set up standard reports on top of that for
your totals form. If you decide to key in the totals directly in
addition to the breakdowns you need to use separate data elements for
that. Then you can use validation rules to compare the two sets. More
later. Ola

2010/9/2, Friedman, Roger (CDC/CGH/DGHA) (CTR) <rdf4@xxxxxxx>:
> List --
>     We have a form that has outpatient visits disaggregated by sex, age (11
> categories including 0-1 and 1-5), new/returning patient, and insurance
> yes/no.  Can I display calculated data elements for the totals?  Can I
> validate keyed totals against calculated data elements?
>     At the bottom of that form is a small table with total malaria cases
> disaggregated by age under and over 5.
>     We have a second form that has several aspects of malaria treatment
> (means of diagnosis, adverse reactions, adverse reactions with
> hospitalization).  These are disaggregated into age under 5, pregnant, and
> all others, which is a degenerate way of disaggregating by age under and
> over 5 and pregnancy status with under 5 pregnant=0.
>     The second form is arranged for doing rates against all malaria cases
> and all outpatient cases, the totals are copied in from the first form.  Can
> I do total calculations on the first dataset and display them on the second
> dataset?
> Thanks, Roger
>
> PS -- Turns out the team lead or deputy spent 6 years in Norway, hope y'all
> get to meet him in Accra.
>
>

-- 
Sendt fra min mobile enhet

----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Vetlandsvn. 95B, 0685 Oslo, Norway. Googlemaps
link<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Vetlandsvn.+95B,+0685+Oslo,+Norway>

Attachment: Malaria Forms.pdf
Description: Adobe PDF document


Follow ups