← Back to team overview

dhis2-users team mailing list archive

Re: how to design model or form to collect master-detail information?

 

Hi there Lin,

One way of modeling the data you describe below can be:
- In the programs app, make one program(with registration) and tracked entity attributes Name and Age.
- In this program, add one repeatable program stage with data elements Name, Dose, Frequency.

In the tracker data entry user interface you might want to try and add the "Tabular data entry" widget in the "show hide widgets" menu at the top right of the screen. This is an alternate way of entering data that might suit your usecase better.

Best regards,
Markus

> 21. jul. 2017 kl. 04.39 skrev 林晓东 <lin_xd@xxxxxxx>:
> 
> 
> 
>  
> hi,all
> 
>     Is DHIS2 program Track can collection data as fallowing: 
> 
> ==============(master )=================  
>     name:____
>     age:___
>     access date:____
>  ---------------dynamic list (detail) ---------------
>     drug1: name,dose,frequency
>     drug2: name,dose,frequency
>     drug3: name,dose,frequency
>     ....
> -------------------------------------------
> ================================
> 
> 
> --
> 此致
> 
>    easy
> 
> 莫愁前路无知己,天下谁人不识君。
> 
> 
>  
> 
> 
>  
> _______________________________________________
> 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


References