← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Maximum number of Constants

 

Hello easy,

sorry, I don't think there is a perfect solution to this at the moment. My
best suggestion would be to create a data set for it and a script which
populates the data based on the org unit level.

Lars


On Sun, Jul 7, 2013 at 12:29 PM, easy <lin_xd@xxxxxxx> wrote:

> Hi,all,
>
>     I have a question: I want do a evaluation about org's device
> situation, there are some standard configuration number for different level
> of org( state hospital : 5, county hospital 3,...), and the org will report
> its actual installed device. I will do a report about the gap of actual
> number of devices and standard number of its belong level.
>    how can I store the standard configuration  number of device in dhis2?
> if define a dataset and assign to org, there will be much redundency data.
>
>   standard  configuration table:
>              state         county         village
>           (A,  B, C)   (A, B, C)   (A, B, C)
> dev-a  30 20 10    15 12 10        8 4  2
> dev-b  ......
> ...
> ------------
> org's report:
> org name, state a, dev-a ,8
> org name, state a, dev-b ,4
> .......
>
> will get a gap report .
>
>
>
> --
> 此致
>
>   easy
>
> 莫愁前路无知己,天下谁人不识君。
>
> At 2013-07-06 22:31:51,"John Ojo" <jnojo@xxxxxxxxx> wrote:
>
> Thank you so much Lars. For now, I need the constants in the indicator
> numerator/denominator ui. If there's a need to have it in other places, I
> would let you know.
>
> Best regrads,
> John
>
> *John Ojo MD, FMCPH
> *
> Accra, Ghana.
> Mobile: +233 234691626
> Skype:  Johnojo
> Email: jnojo@xxxxxxxxx <jno@xxxxxxxxxxxxxxxxx>
> <http://www.corridor-sida.org/>
>
>   ------------------------------
>  *From:* Lars Helge Øverland <larshelge@xxxxxxxxx>
> *To:* John Ojo <jnojo@xxxxxxxxx>
> *Cc:* DHIS developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; dhis1-users <
> dhis2-users@xxxxxxxxxxxxxxxxxxx>
> *Sent:* Saturday, July 6, 2013 3:20 PM
> *Subject:* Re: [Dhis2-devs] Maximum number of Constants
>
> Hi John,
>
> there are no constraints on constants.
>
> At the moment constants render in a small list area in indicator
> numerator/denominator UI, might be inconvenient to work with but that can
> be fixed, let us know.
>
> regards,
>
> Lars
>
>
>
>
> On Sat, Jul 6, 2013 at 4:12 PM, John Ojo <jnojo@xxxxxxxxx> wrote:
>
> Hi,
>
> Please, is there a cap on the number of Constants that can be defined in
> DHIS2 version 2.12? If yes, then what is the maximum number of constants
> that can be defined?
>
> A design strategy I am adopting may require me to define some constants
> and this may run into a few thousands. Therefore, it is crucial for me to
> know before hand if there's a limit on the number of constants I can define
> before I embark on my design.
>
> I'm using the live version of DHIS2 on a Windows 7 platform.
>
> Thank you.
> John
>
> *John Ojo MD, FMCPH
> *
> Accra, Ghana.
> Mobile: +233 234691626
> Skype:  Johnojo
> Email: jnojo@xxxxxxxxx <jno@xxxxxxxxxxxxxxxxx>
>  <http://www.corridor-sida.org/>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
>
>

Follow ups

References