Re: [Dhis2-devs] DHIS2 version 2.22 installation : SEVERE: Error listenerStart

2016-02-06 Thread Bharath
>From version 2.21, java 8 is required, please refer:
https://www.dhis2.org/221-upgrade

On Sat, Feb 6, 2016 at 1:51 PM, Muyepa A.  wrote:

> Am making a fresh deployment of Dhis2.22 on my ubuntu test server.
> I get the SEVERE: Error listenerStart, I can't understand why am getting
> the error. I can run dhis2.18 straight up, no glitches on the same server.
>
> The release not doesn't say much, except using dhis.conf instead of
> the hibernate.properties.
>
> I suspect it's the version of java am running, (java version "1.7.0_79")
> OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
> OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
>
> postgres@dhis:/home/dhis$ psql --version
> psql (PostgreSQL) 9.3.9
>
> This is what comes in the logs:
>
> dhis@dhis:~$ tail -f tomcat-dhis/logs/catalina.out
> Feb 06, 2016 10:12:43 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Feb 06, 2016 10:12:43 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 572 ms
> Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Feb 06, 2016 10:12:44 AM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
> Feb 06, 2016 10:12:44 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> /home/dhis/tomcat-dhis/webapps/dhis.war
> Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext
> startInternal
> SEVERE: Error listenerStart
> Feb 06, 2016 10:12:53 AM org.apache.catalina.core.StandardContext
> startInternal
> SEVERE: Context [/dhis] startup failed due to previous errors
> Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
> Feb 06, 2016 10:12:53 AM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> Feb 06, 2016 10:12:53 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 9654 ms
>
> Any leads?
>
> Anthony
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Information about Metadata Sync

2015-12-21 Thread Bharath
Requirement is sync meta-data between different DHIS2 instances to maintain
data-dictionary at central place. At National level there will be one DHIS2
instance (DataDictionary) which contains only meta-data, any province /
state wants to create/update any metadata they will create/update at this
National instance and then from there this meta-data will be pushed into
province/state instance by admin level user at National instance. This
requirement is from HISP SA.

Initially, HISP India has developed this meta-data sync as java module, but
now we are exploring the possibilities to have it as an app.

We will be happy to have call with you, Thanks.


On Mon, Dec 21, 2015 at 2:20 PM, Vanya Seth  wrote:

> Hi dhis-devs
>
> I am from ThoughtWorks India and we are working for MSF (OCA). There is a
> requirement to synchronize data/metadata across multiple dhis instances.
> The deployment strategy that we have is: A central instance called as
> Headquarters(HQ) and multiple field level instances for data collection.
> The central instance is
> responsible for creation of the metadata and do data analysis(data
> collected from fields get synced to the HQ instance). So, this essentially
> is a classical case of a distributed setting.
>
> Data Sync functionality is built into the system. But for metadata sync
> there is no direct or consolidated functionality implemented. We explored
> the Metadata Export and Import functionality as a probable solution.
>
> But then I stumbled upon this mail thread
> https://lists.launchpad.net/dhis2-users/msg05889.html and there is a
> mention of some synchronization tool under development with support coming
> in from HISP India developers.
> I had a look at the branches and this is what I think is their development
> branch:
> https://code.launchpad.net/~dhis2-devs-core/dhis2/synchmanager_2.20
>
> So, I wanted to understand a couple of things here:
>
> 1. Actual requirements/ blue print of the feature under development.
> 2. If we could get a high level solution approach that has been followed.
> 3. The roadmap in terms of feature release and also what all has been
> implemented so far.
>
> Also, would it be possible to have it all discussed over a call?
>
> Thanks in advance for all the help.
>
>
> --
> With Regards
> Vanya
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Use Capture option Visualiser, Pivot Table and GIS

2015-10-12 Thread Bharath
Hi,

We have one usecase where we should able to get both entered data and
aggregate data of it's children. For instance:

One PHC called PHC-X has 4 Subcenters below it SC1, SC2, SC3 and SC4

ANC Registered is the dataelement collected at both PHC-X and SC1,2,3,4

In Visualiser, PivotTable and GIS, how can I view both just PHC-X captured
data and PHCX+its SC aggregated data? I remember earlier we were having
"Use Capture" option.

Can you please point me how can i get this information. Thanks.



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Bharath
Thanks Lars, I am updating my local 2.20 copy, will test it.

On Tue, Sep 15, 2015 at 3:15 PM, Lars Helge Øverland 
wrote:

> Hi Bharath,
>
> sorry I know this is a bit unclear. For security purposes we have strict
> checks on the URL variables to prevent malicious values from being executed
> as SQL. We are currently only allowing alphanumeric values so it stopped
> your dates since they have dashes inside. I have made two changes and
> backported them to 2.20 now:
>
> - For variable values we now allow characters, numbers, dash, underscore
> and space.
>
> - I have implemented better feedback so that the API will tell you which
> variables are invalid in the response.
>
> - I have also updated the docs to reflect this.
>
> Please try again with latest 2.20.
>
> regards,
>
> Lars
>
>
> On Tue, Sep 15, 2015 at 11:10 AM, Bharath  wrote:
>
>> Thanks Knut. without dashes I am able to get the data.
>>
>> On Tue, Sep 15, 2015 at 1:18 PM, Knut Staring  wrote:
>>
>>> The dates should be like this: 20150101 and 20151231. Actually, the
>>> manual is confusing on this point, as it starts with dashes:
>>>
>>> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s04.html
>>>
>>> On Tue, Sep 15, 2015 at 8:26 AM, Bharath  wrote:
>>>
>>>> Hi,
>>>>
>>>> I have created a sample sql view which has 2 variable parameters namely
>>>> startDate and endDate. My sql view looks like:
>>>>
>>>>
>>>> *SELECT dv.* from datavalue dv inner join period p on dv.periodid =
>>>> p.periodid where p.periodtypeid = 8 and p.startdate >= '${startDate}' and
>>>> p.enddate <='${endDate}' limit 500;*
>>>>
>>>> I am trying to pass these 2 date values from api url, but getting below
>>>> error message:
>>>>
>>>> URI:
>>>>
>>>> https://apps.dhis2.org/demo/api/sqlViews/Eod3B6ET3dw/data.json?var=startDate:2015-01-01&var=endDate:2015-03-31
>>>>
>>>> Response:
>>>> {
>>>>
>>>>- httpStatus: "Conflict",
>>>>- httpStatusCode: 409,
>>>>- status: "ERROR",
>>>>- message: "SQL query contains variables which were not supplied in
>>>>request: [endDate, startDate]"
>>>>
>>>> }
>>>>
>>>> If I place these date values inside sqlview then I am able to get the
>>>> result.
>>>>
>>>> Can you please help me to find where I am doing mistake. Thanks.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Bharath Kumar. Ch
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org>
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Bharath
Thanks Knut. without dashes I am able to get the data.

On Tue, Sep 15, 2015 at 1:18 PM, Knut Staring  wrote:

> The dates should be like this: 20150101 and 20151231. Actually, the manual
> is confusing on this point, as it starts with dashes:
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s04.html
>
> On Tue, Sep 15, 2015 at 8:26 AM, Bharath  wrote:
>
>> Hi,
>>
>> I have created a sample sql view which has 2 variable parameters namely
>> startDate and endDate. My sql view looks like:
>>
>>
>> *SELECT dv.* from datavalue dv inner join period p on dv.periodid =
>> p.periodid where p.periodtypeid = 8 and p.startdate >= '${startDate}' and
>> p.enddate <='${endDate}' limit 500;*
>>
>> I am trying to pass these 2 date values from api url, but getting below
>> error message:
>>
>> URI:
>>
>> https://apps.dhis2.org/demo/api/sqlViews/Eod3B6ET3dw/data.json?var=startDate:2015-01-01&var=endDate:2015-03-31
>>
>> Response:
>> {
>>
>>- httpStatus: "Conflict",
>>- httpStatusCode: 409,
>>- status: "ERROR",
>>- message: "SQL query contains variables which were not supplied in
>>request: [endDate, startDate]"
>>
>> }
>>
>> If I place these date values inside sqlview then I am able to get the
>> result.
>>
>> Can you please help me to find where I am doing mistake. Thanks.
>>
>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-14 Thread Bharath
Hi,

I have created a sample sql view which has 2 variable parameters namely
startDate and endDate. My sql view looks like:


*SELECT dv.* from datavalue dv inner join period p on dv.periodid =
p.periodid where p.periodtypeid = 8 and p.startdate >= '${startDate}' and
p.enddate <='${endDate}' limit 500;*

I am trying to pass these 2 date values from api url, but getting below
error message:

URI:
https://apps.dhis2.org/demo/api/sqlViews/Eod3B6ET3dw/data.json?var=startDate:2015-01-01&var=endDate:2015-03-31

Response:
{

   - httpStatus: "Conflict",
   - httpStatusCode: 409,
   - status: "ERROR",
   - message: "SQL query contains variables which were not supplied in
   request: [endDate, startDate]"

}

If I place these date values inside sqlview then I am able to get the
result.

Can you please help me to find where I am doing mistake. Thanks.




-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Webapi result with orgunit type along with orgunit

2015-08-26 Thread Bharath
any guidance is much appreciated.

On Tue, Aug 25, 2015 at 1:07 PM, Bharath  wrote:

>
> Hi All,
>
> In India, one of the state is having multiple applications in which DHIS2.
> Now they are trying to pull and push data into these applications. One of
> the requirement is they want to pull data from DHIS2 without user
> credentials for a set of indicators and all orgunits in the system for a
> selected month.
>
> I have created a favorite in pivot table and given public access, this is
> working fine, but now state is asking to have Facility Type
> (District/PHC/CHC/Clinic etc) along with the orgunit.
> Lets say we have a orgunit groupset Type in whcih we have all the above
> orgunit groups (District/PHC/CHC/Clinic etc).
>
> Using analytics api is it is possible to get this information, please
> guide.
>
> --
>
> Regards,
> Bharath Kumar. Ch
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Extending Complete DataSet Registration

2015-08-25 Thread Bharath
Have created blueprint:
https://blueprints.launchpad.net/dhis2/+spec/extension-of-analytics-for-completeness-based-on-captured-values-vs-compulsory-fields

We work on this and send you patch, thanks.


On Tue, Aug 25, 2015 at 12:43 PM, Lars Helge Øverland 
wrote:

> Hi,
>
> On Tue, Aug 25, 2015 at 9:07 AM, Bharath  wrote:
>
>> Thanks Lars, this is perfect.
>> Shall I create blueprint for this?
>>
>
> Yes that would be good.
>
>
>> Also any chance that we can include in this version? Thanks
>>
>>
> That depends on how fast you work ;)
>
> cheers
>
> Lars
>
>
>> On Tue, Aug 25, 2015 at 12:21 PM, Lars Helge Øverland <
>> larshe...@gmail.com> wrote:
>>
>>> Hi Bharath,
>>>
>>> agree with what Calle says above about simply doing values / fields for
>>> completeness - might not be very meaningful.
>>>
>>> Also, the approach of storing the value count I don't think will be
>>> robust since in many implementations the forms are not locked after
>>> completion, meaning the count will be off if additional data is entered or
>>> removed.
>>>
>>> To me, the ideal solution here is to implement this in analytics and
>>> base it on compulsory data elements. We already have reporting rates based
>>> on completeness registrations in analytics. We could extend this with
>>> completeness based on captured values vs compulsory fields (like we do for
>>> the "reporting rate summary" under reports).
>>>
>>> That way, you can now take advantage of the flexibility of analytics in
>>> terms of dimensions (rows, columns, filters), relative periods, org units
>>> etc, without having to re-implement all that. You could then build your app
>>> on top of the analytics api.
>>>
>>> Let me know what you think.
>>>
>>> best regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Aug 24, 2015 at 4:52 AM, Bharath  wrote:
>>>
>>>>
>>>> Hi Calle & Adedapo,
>>>>
>>>> Thanks for your views.
>>>>
>>>> @Calle, currently in India we are following the first option entering
>>>> Zeros for the services that are not applicable though personally I wont
>>>> recommend it as it tremendously increases database size. I can see 70% of
>>>> data is zeros in many of the state applications. The second option can
>>>> workout for instances where we have some legacy but not for newly started
>>>> ones.
>>>>
>>>> I agree with Adedapo to start with calculating coverage for compulsory
>>>> dataelements.
>>>>
>>>>
>>>>
>>>> On Mon, Aug 24, 2015 at 4:50 AM, Adedapo Adejumo 
>>>> wrote:
>>>>
>>>>> Hi
>>>>> Thanks Calle for bringing in the data management dimension.....
>>>>> Definitely a tricky issue with no easy solution.
>>>>> As a start, it will be a great idea to actually get the current
>>>>> functionality of tagging "compulsory data elements" for datasets and
>>>>> assessing completeness based on that selection to work and then work on
>>>>> making this smarter - the ability to define compulsory data elements for
>>>>> organisation unit groups .
>>>>> The customization of data entry forms along the lines of service
>>>>> availability/provision will be the gold standard but implementation may be
>>>>> tricky in some circumstances and environments.
>>>>>
>>>>> On Sat, Aug 22, 2015 at 11:06 AM, Calle Hedberg <
>>>>> calle.hedb...@gmail.com> wrote:
>>>>>
>>>>>> Bharath,
>>>>>>
>>>>>> The exact method for calculating this aside - it seems to me that a
>>>>>> fundamental limitation in your coverage definition is that it does not
>>>>>> consider whether the data set is an accurate representation of the 
>>>>>> services
>>>>>> each facility provide. Or in other words, you might have a data set of 
>>>>>> 100
>>>>>> data elements used for let us day 200 facilities - in many/most 
>>>>>> countries,
>>>>>> it would be uncommon for all 200 facilities to provide ALL the services
>>>>>> represented in those 100 data elements.
>>

[Dhis2-devs] Webapi result with orgunit type along with orgunit

2015-08-25 Thread Bharath
Hi All,

In India, one of the state is having multiple applications in which DHIS2.
Now they are trying to pull and push data into these applications. One of
the requirement is they want to pull data from DHIS2 without user
credentials for a set of indicators and all orgunits in the system for a
selected month.

I have created a favorite in pivot table and given public access, this is
working fine, but now state is asking to have Facility Type
(District/PHC/CHC/Clinic etc) along with the orgunit.
Lets say we have a orgunit groupset Type in whcih we have all the above
orgunit groups (District/PHC/CHC/Clinic etc).

Using analytics api is it is possible to get this information, please guide.

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Extending Complete DataSet Registration

2015-08-25 Thread Bharath
Thanks Lars, this is perfect.
Shall I create blueprint for this? Also any chance that we can include in
this version? Thanks

On Tue, Aug 25, 2015 at 12:21 PM, Lars Helge Øverland 
wrote:

> Hi Bharath,
>
> agree with what Calle says above about simply doing values / fields for
> completeness - might not be very meaningful.
>
> Also, the approach of storing the value count I don't think will be robust
> since in many implementations the forms are not locked after completion,
> meaning the count will be off if additional data is entered or removed.
>
> To me, the ideal solution here is to implement this in analytics and base
> it on compulsory data elements. We already have reporting rates based on
> completeness registrations in analytics. We could extend this with
> completeness based on captured values vs compulsory fields (like we do for
> the "reporting rate summary" under reports).
>
> That way, you can now take advantage of the flexibility of analytics in
> terms of dimensions (rows, columns, filters), relative periods, org units
> etc, without having to re-implement all that. You could then build your app
> on top of the analytics api.
>
> Let me know what you think.
>
> best regards,
>
> Lars
>
>
>
>
>
>
>
>
> On Mon, Aug 24, 2015 at 4:52 AM, Bharath  wrote:
>
>>
>> Hi Calle & Adedapo,
>>
>> Thanks for your views.
>>
>> @Calle, currently in India we are following the first option entering
>> Zeros for the services that are not applicable though personally I wont
>> recommend it as it tremendously increases database size. I can see 70% of
>> data is zeros in many of the state applications. The second option can
>> workout for instances where we have some legacy but not for newly started
>> ones.
>>
>> I agree with Adedapo to start with calculating coverage for compulsory
>> dataelements.
>>
>>
>>
>> On Mon, Aug 24, 2015 at 4:50 AM, Adedapo Adejumo 
>> wrote:
>>
>>> Hi
>>> Thanks Calle for bringing in the data management dimension.
>>> Definitely a tricky issue with no easy solution.
>>> As a start, it will be a great idea to actually get the current
>>> functionality of tagging "compulsory data elements" for datasets and
>>> assessing completeness based on that selection to work and then work on
>>> making this smarter - the ability to define compulsory data elements for
>>> organisation unit groups .
>>> The customization of data entry forms along the lines of service
>>> availability/provision will be the gold standard but implementation may be
>>> tricky in some circumstances and environments.
>>>
>>> On Sat, Aug 22, 2015 at 11:06 AM, Calle Hedberg >> > wrote:
>>>
>>>> Bharath,
>>>>
>>>> The exact method for calculating this aside - it seems to me that a
>>>> fundamental limitation in your coverage definition is that it does not
>>>> consider whether the data set is an accurate representation of the services
>>>> each facility provide. Or in other words, you might have a data set of 100
>>>> data elements used for let us day 200 facilities - in many/most countries,
>>>> it would be uncommon for all 200 facilities to provide ALL the services
>>>> represented in those 100 data elements.
>>>>
>>>> The net result is that you data entry coverage status will most likely
>>>> always be well under 100% - even if every single facility report fully for
>>>> every data element covering services that they DO provide.
>>>>
>>>> There are at least two options for dealing with this:
>>>>
>>>> 1. You can enforce the capture of a zero for all services a facility do
>>>> not provide.
>>>> 2. You generate the data entry coverage rate based on Filled data items
>>>> divided by "Actual" data items - the latter derived from a longer term
>>>> (12-18 months) pattern analysis, where you can set a threshold for when a
>>>> data item is regarded as "active" (meaning that service is actually
>>>> regularly provided) for a specific facility.
>>>>
>>>> The main disadvantage of the first method is that managers will not
>>>> know whether a 0 means that service is not provided at all, or whether it
>>>> IS available but that there were no cases for that month.
>>>>
>>>> We (South Africa) are currently discussing a related method for the
>>>> customisation of the d

Re: [Dhis2-devs] Extending Complete DataSet Registration

2015-08-23 Thread Bharath
Hi Calle & Adedapo,

Thanks for your views.

@Calle, currently in India we are following the first option entering Zeros
for the services that are not applicable though personally I wont recommend
it as it tremendously increases database size. I can see 70% of data is
zeros in many of the state applications. The second option can workout for
instances where we have some legacy but not for newly started ones.

I agree with Adedapo to start with calculating coverage for compulsory
dataelements.



On Mon, Aug 24, 2015 at 4:50 AM, Adedapo Adejumo 
wrote:

> Hi
> Thanks Calle for bringing in the data management dimension.
> Definitely a tricky issue with no easy solution.
> As a start, it will be a great idea to actually get the current
> functionality of tagging "compulsory data elements" for datasets and
> assessing completeness based on that selection to work and then work on
> making this smarter - the ability to define compulsory data elements for
> organisation unit groups .
> The customization of data entry forms along the lines of service
> availability/provision will be the gold standard but implementation may be
> tricky in some circumstances and environments.
>
> On Sat, Aug 22, 2015 at 11:06 AM, Calle Hedberg 
> wrote:
>
>> Bharath,
>>
>> The exact method for calculating this aside - it seems to me that a
>> fundamental limitation in your coverage definition is that it does not
>> consider whether the data set is an accurate representation of the services
>> each facility provide. Or in other words, you might have a data set of 100
>> data elements used for let us day 200 facilities - in many/most countries,
>> it would be uncommon for all 200 facilities to provide ALL the services
>> represented in those 100 data elements.
>>
>> The net result is that you data entry coverage status will most likely
>> always be well under 100% - even if every single facility report fully for
>> every data element covering services that they DO provide.
>>
>> There are at least two options for dealing with this:
>>
>> 1. You can enforce the capture of a zero for all services a facility do
>> not provide.
>> 2. You generate the data entry coverage rate based on Filled data items
>> divided by "Actual" data items - the latter derived from a longer term
>> (12-18 months) pattern analysis, where you can set a threshold for when a
>> data item is regarded as "active" (meaning that service is actually
>> regularly provided) for a specific facility.
>>
>> The main disadvantage of the first method is that managers will not know
>> whether a 0 means that service is not provided at all, or whether it IS
>> available but that there were no cases for that month.
>>
>> We (South Africa) are currently discussing a related method for the
>> customisation of the data entry form itself. SA is using relatively
>> standardised data sets across a large variety of facilities (e.g. a
>> "Clinic" might vary from a single-nurse facility doing basic preventative
>> care only to a large one-stop facility with 10-20 nurses and a few doctors
>> providing a nearly full range of PHC services). Users would like to have a
>> way of automatically reducing the size of the data entry form to only show
>> data elements relevant for each facility - and one suggestion has been to
>> only display data elements that have actual data stored for the previous
>> 12-18 months (with a "More" button to display additional data elements when
>> required).
>>
>> We should work towards a more uniform model for handling these data entry
>> and coverage aspects - a model that BOTH provide feedback on data entry
>> completeness AND feedback to managers on what services are actually
>> provided at which facilities. The first aspect is primarily an HMIS issue -
>> the second aspect is the more fundamental service delivery issue.
>>
>> Regards
>> Call
>>
>>
>>
>> On 21 August 2015 at 23:51, Bharath  wrote:
>>
>>> Hi All,
>>>
>>> In India, we have a functionality called Data Entry Status which is to
>>> calculate the coverage of dataentry. For instance a health clinic /
>>> facility which has a monthly dataset of 100 dataelements in which 70
>>> dataelements have been filled then we show 70% as data entry status for
>>> that clinic. Data entry status coverage can be calculated for multiple
>>> orgunits and for multiple periods for a selected dataset. This
>>> functionality was developed as a Java module. Now we are working on
>>> converting this functionality into an

[Dhis2-devs] Extending Complete DataSet Registration

2015-08-21 Thread Bharath
Hi All,

In India, we have a functionality called Data Entry Status which is to
calculate the coverage of dataentry. For instance a health clinic /
facility which has a monthly dataset of 100 dataelements in which 70
dataelements have been filled then we show 70% as data entry status for
that clinic. Data entry status coverage can be calculated for multiple
orgunits and for multiple periods for a selected dataset. This
functionality was developed as a Java module. Now we are working on
converting this functionality into an App.

While working on App we had thought of 2 options to get this functionality
working:

Option 1 is getting all data for each clinic and each period using webapi
request and divide by number of dataelements (including category option
combos) and mulitplying with 100 to get percentage for each clinic and for
each period. Formula is

Filled Data Items
-   X 100
Total Data Items

But making webapi request to get all data seems expensive as we really
don't need data we just need the count.

So another option (Option2) is extending Complete Data Set Registration
functionality, when user clicks on complete button we can also calculate
how many items are filled and we can store in the same object. Meaning we
can add one more property / column to Complete DataSet Registration say
filledDataItemCount.

We would prefer this option, please let us know if this extension is
agreeable to be part of core, if yes we can work on this and can send patch
file.

If there are any other solutions please share, Thanks




-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Using OrgUnit short names in charts, pivots, maps

2015-07-21 Thread Bharath
In user settings we have option to set "Property to display in analysis
modules", may be this is what you are looking?

https://apps.dhis2.org/demo/dhis-web-commons-about/userSettings.action

On Wed, Jul 22, 2015 at 4:45 AM, Calle Hedberg 
wrote:

> Hi
>
> I've got a bit of a dumb question - WHERE in the menu system can I specify
> that short names are to be used for OrgUnits, data elements, or indicators
> in charts, pivots, maps, etc?
>
> It has to be there somewhere, but as is typically the case when you are
> looking for a really basic/simple function it's elusive. I've searched the
> various manuals but not found anything - short names are mainly just
> referenced as fields in the resource tables and not how/when to use them.
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19274
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Detailed Import Summary message

2015-06-16 Thread Bharath
Thanks Jason, let me try this.

On Wed, Jun 17, 2015 at 11:03 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Bharath,
>
> I poll the api/system/tasks/DATAMART endpoint with the import script every
> few seconds after initiating the end point and retrieve the JSON response.
> When the detects that the import has completed, you can then get the
> detailed summary
> from/dhis-web-importexport/getDataValueImportSummary.action. So, not
> directly through the WebAPI,but maybe this will help. If there are better
> approaches, it would be good to know.
>
> Regards,
> Jason
>
>
> On Wed, Jun 17, 2015 at 7:24 AM, Bharath  wrote:
>
>>
>> Can you please confirm is there any possibility to get the detailed
>> import result as web-api response. Thanks
>>
>> On Fri, Jun 12, 2015 at 12:35 PM, Bharath  wrote:
>>
>>> Hi All,
>>>
>>>
>>> We are trying to push bulk data using web-api (using datavalueset). User
>>> will click SAVE button after filling the form instead filed saving it will
>>> be form saving. When user clicks save button we push data using web-api and
>>> the response after importing that we are getting is summary count meaning
>>>
>>> imported: X, updated: Y, ignored: Z,
>>>
>>>
>>> Is it possible to get the detailed summary list of dataelements data is
>>> imported, list of des updated and list of des ignored. This will help us to
>>> mark the text fields with colors (green/red) which ones are saved and which
>>> ones are ignored.
>>>
>>> Thanks.
>>>
>>> --
>>>
>>> Regards,
>>> Bharath Kumar. Ch
>>>
>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>> _______
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Detailed Import Summary message

2015-06-16 Thread Bharath
Can you please confirm is there any possibility to get the detailed import
result as web-api response. Thanks

On Fri, Jun 12, 2015 at 12:35 PM, Bharath  wrote:

> Hi All,
>
>
> We are trying to push bulk data using web-api (using datavalueset). User
> will click SAVE button after filling the form instead filed saving it will
> be form saving. When user clicks save button we push data using web-api and
> the response after importing that we are getting is summary count meaning
>
> imported: X, updated: Y, ignored: Z,
>
>
> Is it possible to get the detailed summary list of dataelements data is
> imported, list of des updated and list of des ignored. This will help us to
> mark the text fields with colors (green/red) which ones are saved and which
> ones are ignored.
>
> Thanks.
>
> --
>
> Regards,
> Bharath Kumar. Ch
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Value not showing in Data Visualizer

2015-06-12 Thread Bharath
Hi Ola, thanks for the clarification, we checked in demo it is working as
expected. We will cross check in our application. Thanks

On Fri, Jun 12, 2015 at 1:05 PM, Ola Hodne Titlestad 
wrote:

> I see you mention 2.20 snapshot. Please try on https://apps.dhis2.org/dev
> and see there. You can replace "demo" with "dev" in my example URLs below.
>
> Ola
> ---
>
>
> On Fri, 12 Jun 2015 at 09:32 Ola Hodne Titlestad  wrote:
>
>> Hi Harsh,
>>
>> Your approach to annualised monthly indicator values seem correct, but
>> hard to say why it doesn't work without seeing the whole indicator.
>> Can you paste in the full indicator formula, incl. information about your
>> numerator, is it collected monthly?
>>
>> I've been using indicators of that type without any problems in the
>> latest 2.19 release (and earlier versions), so doubt there is a bug there.
>>
>> There are many examples of such indicators on the demo, e.g. ANC 1
>> coverage:
>>
>> https://apps.dhis2.org/demo/dhis-web-maintenance-datadictionary/showUpdateIndicatorForm.action?id=52486
>>
>> Denominator data element:
>>
>> https://apps.dhis2.org/demo/dhis-web-maintenance-datadictionary/showUpdateDataElementForm.action?id=20899&update=true
>>
>> Numerator data element:
>>
>> https://apps.dhis2.org/demo/dhis-web-maintenance-datadictionary/showUpdateDataElementForm.action?id=359596&update=true
>>
>>
>> Ola
>> --
>>
>>
>>
>>
>> On Fri, 12 Jun 2015 at 09:23 Bharath  wrote:
>>
>>> Hi All, Can you please tell us if we are making any mistake while
>>> defining indicators or is it a bug? Thanks in advance.
>>>
>>> On Wed, Jun 10, 2015 at 6:05 PM, Harsh Atal 
>>> wrote:
>>>
>>>> Hi All
>>>>
>>>> Forwarding this issue reported by Gitika from HISP India Delhi Office
>>>> :-
>>>>
>>>>
>>>>
>>>>
>>>> * I am using 2.20 snapshot and have created one data element
>>>> 'Population' with aggregation operator as 'Average (sum in orgunit
>>>> hierarchy)' which is used for annual data entry.Similarly have created an
>>>> indicator using this data element as denominator and Is annualised set to
>>>> 'Yes'.*
>>>> *While using this data element or indicator in data visualiser for
>>>> analysis, the monthly values are not shown, whereas the annual values are
>>>> shown.*
>>>>
>>>> *Would like to know if some other users are facing this issue? It was
>>>> working fine in the earlier version 2.17.*
>>>>
>>>>
>>>> Every Help is Appreciated.
>>>>
>>>> Regards
>>>> harsh
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Regards,
>>> Bharath Kumar. Ch
>>>  ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Value not showing in Data Visualizer

2015-06-12 Thread Bharath
Hi All, Can you please tell us if we are making any mistake while defining
indicators or is it a bug? Thanks in advance.

On Wed, Jun 10, 2015 at 6:05 PM, Harsh Atal  wrote:

> Hi All
>
> Forwarding this issue reported by Gitika from HISP India Delhi Office :-
>
>
>
>
> * I am using 2.20 snapshot and have created one data element 'Population'
> with aggregation operator as 'Average (sum in orgunit hierarchy)' which is
> used for annual data entry.Similarly have created an indicator using this
> data element as denominator and Is annualised set to 'Yes'.*
> *While using this data element or indicator in data visualiser for
> analysis, the monthly values are not shown, whereas the annual values are
> shown.*
>
> *Would like to know if some other users are facing this issue? It was
> working fine in the earlier version 2.17.*
>
>
> Every Help is Appreciated.
>
> Regards
> harsh
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Detailed Import Summary message

2015-06-12 Thread Bharath
Hi All,


We are trying to push bulk data using web-api (using datavalueset). User
will click SAVE button after filling the form instead filed saving it will
be form saving. When user clicks save button we push data using web-api and
the response after importing that we are getting is summary count meaning

imported: X, updated: Y, ignored: Z,


Is it possible to get the detailed summary list of dataelements data is
imported, list of des updated and list of des ignored. This will help us to
mark the text fields with colors (green/red) which ones are saved and which
ones are ignored.

Thanks.

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-23 Thread Bharath
Have checked with Visualiser plugin, working perfectly fine. Thank you so
much for continuous support.

On Thu, Apr 23, 2015 at 9:51 PM, Bharath  wrote:

> Thank you so much Jan, will try this option and get back to you.
> On Apr 23, 2015 5:56 PM, "Jan Henrik Øverland" <
> janhenrik.overl...@gmail.com> wrote:
>
>> For now you can of course update to the latest 2.18 and include the
>> plugin from /dhis-web-commons/javascripts/plugin/chart.js
>>
>> Jan
>>
>> On Thu, Apr 23, 2015 at 3:44 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Just updated the 2.18 plugin with a new config option "displayProperty"
>>> which could be set to "shortname" (case insensitive).
>>>
>>> I can see that the cdn has not yet been updated. Guess we just have to
>>> wait. Will let you know.
>>>
>>> On Wed, Apr 22, 2015 at 7:02 PM, Bharath  wrote:
>>>
>>>> Sorry for many questions...but functionality is very nice and very much
>>>> useful for apps and even HTML reports.
>>>>
>>>> One more question :-)
>>>>
>>>> In charts we are displaying names as rows / columns ( categories /
>>>> series). Is is possible to display shortnames by setting any parameter
>>>> because some dataelements are having very longish names especially if it
>>>> includes catecory option combo name.
>>>>
>>>> Thanks for you support.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Apr 22, 2015 at 1:46 AM, Bharath  wrote:
>>>>
>>>>> Thanks for the Tip.  looked into Embed option, worked smoothly,
>>>>>
>>>>> Parameter changes are:
>>>>>   -Dimension is dc instead de and
>>>>>   - iteams are dataelementuid#cocuid instead dataelementuid
>>>>>
>>>>> Thanks Jan.
>>>>>
>>>>>
>>>>> On Wed, Apr 22, 2015 at 1:35 AM, Jan Henrik Øverland <
>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>
>>>>>> Will look at it tomorrow, but a trick is to open the DV, create the
>>>>>> chart you want to see and select Share -> Embed in web page from the
>>>>>> toolbar to see the config.
>>>>>> On Apr 21, 2015 9:57 PM, "Bharath"  wrote:
>>>>>>
>>>>>>> Hi Jan,
>>>>>>>
>>>>>>> Charts for the dataelements which are of type default categorycombo
>>>>>>> are working fine. How can I embed chart for the dataelements which are
>>>>>>> having categories, for ex:- chart for dataelement Number of fever cases
>>>>>>> which is having Male and Female as category combo options. Can you 
>>>>>>> please
>>>>>>> help on which parameters to pass for category option combos.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Apr 20, 2015 at 6:49 PM, Jan Henrik Øverland <
>>>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Great. I just updated the CDN (2.18) so "legendStyle" and
>>>>>>>> "hideEmptyRows" shoud be unnecessary by now.
>>>>>>>>
>>>>>>>> On Mon, Apr 20, 2015 at 3:10 PM, Bharath 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you so much Jan, it worked perfectly. Thanks
>>>>>>>>>
>>>>>>>>> On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
>>>>>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Bharath,
>>>>>>>>>>
>>>>>>>>>> 1) I don't think this is affected by the "hideLegend" option.
>>>>>>>>>> Please add the "legendStyle" object I mentioned ealier for now until 
>>>>>>>>>> the
>>>>>>>>>> plugin is updated.
>>>>>>>>>>
>>>>>>>>>> 2) This is behind the scenes the same option as in pivot table:
>>>>>>>>>> "hideEmptyRows". This option should be false by default, but I can 
>>>>&g

[Dhis2-devs] Id attribute for back button in standard reports

2015-04-23 Thread Bharath
Hi all, lately have been working on html reports. I have created custom
home page as a standard html report in which I have categorized the reports
as per user needs. When user selects any report from this page
corresponding html report will be generated. After generation of the report
when user clicks on BACK button it will take us to dhis default reports
page. To fix that in my html report I looked for second button (which is
back) and overwrote onclick event. This is working fine but if we add more
buttons or if button order changes then it won't work.

The easy and doable solution could be having id for button tag like the way
we have for print button.

If there is any other option please let me know. Thanks
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-23 Thread Bharath
Thank you so much Jan, will try this option and get back to you.
On Apr 23, 2015 5:56 PM, "Jan Henrik Øverland" 
wrote:

> For now you can of course update to the latest 2.18 and include the plugin
> from /dhis-web-commons/javascripts/plugin/chart.js
>
> Jan
>
> On Thu, Apr 23, 2015 at 3:44 PM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Just updated the 2.18 plugin with a new config option "displayProperty"
>> which could be set to "shortname" (case insensitive).
>>
>> I can see that the cdn has not yet been updated. Guess we just have to
>> wait. Will let you know.
>>
>> On Wed, Apr 22, 2015 at 7:02 PM, Bharath  wrote:
>>
>>> Sorry for many questions...but functionality is very nice and very much
>>> useful for apps and even HTML reports.
>>>
>>> One more question :-)
>>>
>>> In charts we are displaying names as rows / columns ( categories /
>>> series). Is is possible to display shortnames by setting any parameter
>>> because some dataelements are having very longish names especially if it
>>> includes catecory option combo name.
>>>
>>> Thanks for you support.
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Apr 22, 2015 at 1:46 AM, Bharath  wrote:
>>>
>>>> Thanks for the Tip.  looked into Embed option, worked smoothly,
>>>>
>>>> Parameter changes are:
>>>>   -Dimension is dc instead de and
>>>>   - iteams are dataelementuid#cocuid instead dataelementuid
>>>>
>>>> Thanks Jan.
>>>>
>>>>
>>>> On Wed, Apr 22, 2015 at 1:35 AM, Jan Henrik Øverland <
>>>> janhenrik.overl...@gmail.com> wrote:
>>>>
>>>>> Will look at it tomorrow, but a trick is to open the DV, create the
>>>>> chart you want to see and select Share -> Embed in web page from the
>>>>> toolbar to see the config.
>>>>> On Apr 21, 2015 9:57 PM, "Bharath"  wrote:
>>>>>
>>>>>> Hi Jan,
>>>>>>
>>>>>> Charts for the dataelements which are of type default categorycombo
>>>>>> are working fine. How can I embed chart for the dataelements which are
>>>>>> having categories, for ex:- chart for dataelement Number of fever cases
>>>>>> which is having Male and Female as category combo options. Can you please
>>>>>> help on which parameters to pass for category option combos.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Apr 20, 2015 at 6:49 PM, Jan Henrik Øverland <
>>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>>
>>>>>>> Great. I just updated the CDN (2.18) so "legendStyle" and
>>>>>>> "hideEmptyRows" shoud be unnecessary by now.
>>>>>>>
>>>>>>> On Mon, Apr 20, 2015 at 3:10 PM, Bharath 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thank you so much Jan, it worked perfectly. Thanks
>>>>>>>>
>>>>>>>> On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
>>>>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Bharath,
>>>>>>>>>
>>>>>>>>> 1) I don't think this is affected by the "hideLegend" option.
>>>>>>>>> Please add the "legendStyle" object I mentioned ealier for now until 
>>>>>>>>> the
>>>>>>>>> plugin is updated.
>>>>>>>>>
>>>>>>>>> 2) This is behind the scenes the same option as in pivot table:
>>>>>>>>> "hideEmptyRows". This option should be false by default, but I can 
>>>>>>>>> see that
>>>>>>>>> it is not in the 2.18 plugin for some reason. I will fix this, but 
>>>>>>>>> for now
>>>>>>>>> you can add "hideEmptyRows": false to your chart config to show empty
>>>>>>>>> categories in the chart.
>>>>>>>>>
>>>>>>>>> 3) You can override anything in a favorite by adding it to the
>>>>>>>>> config object. If you have periods as 

Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-22 Thread Bharath
Sorry for many questions...but functionality is very nice and very much
useful for apps and even HTML reports.

One more question :-)

In charts we are displaying names as rows / columns ( categories / series).
Is is possible to display shortnames by setting any parameter because some
dataelements are having very longish names especially if it includes
catecory option combo name.

Thanks for you support.





On Wed, Apr 22, 2015 at 1:46 AM, Bharath  wrote:

> Thanks for the Tip.  looked into Embed option, worked smoothly,
>
> Parameter changes are:
>   -Dimension is dc instead de and
>   - iteams are dataelementuid#cocuid instead dataelementuid
>
> Thanks Jan.
>
>
> On Wed, Apr 22, 2015 at 1:35 AM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Will look at it tomorrow, but a trick is to open the DV, create the chart
>> you want to see and select Share -> Embed in web page from the toolbar to
>> see the config.
>> On Apr 21, 2015 9:57 PM, "Bharath"  wrote:
>>
>>> Hi Jan,
>>>
>>> Charts for the dataelements which are of type default categorycombo are
>>> working fine. How can I embed chart for the dataelements which are having
>>> categories, for ex:- chart for dataelement Number of fever cases which is
>>> having Male and Female as category combo options. Can you please help on
>>> which parameters to pass for category option combos.
>>>
>>>
>>>
>>>
>>> On Mon, Apr 20, 2015 at 6:49 PM, Jan Henrik Øverland <
>>> janhenrik.overl...@gmail.com> wrote:
>>>
>>>> Great. I just updated the CDN (2.18) so "legendStyle" and
>>>> "hideEmptyRows" shoud be unnecessary by now.
>>>>
>>>> On Mon, Apr 20, 2015 at 3:10 PM, Bharath  wrote:
>>>>
>>>>> Thank you so much Jan, it worked perfectly. Thanks
>>>>>
>>>>> On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>
>>>>>> Hi Bharath,
>>>>>>
>>>>>> 1) I don't think this is affected by the "hideLegend" option. Please
>>>>>> add the "legendStyle" object I mentioned ealier for now until the plugin 
>>>>>> is
>>>>>> updated.
>>>>>>
>>>>>> 2) This is behind the scenes the same option as in pivot table:
>>>>>> "hideEmptyRows". This option should be false by default, but I can see 
>>>>>> that
>>>>>> it is not in the 2.18 plugin for some reason. I will fix this, but for 
>>>>>> now
>>>>>> you can add "hideEmptyRows": false to your chart config to show empty
>>>>>> categories in the chart.
>>>>>>
>>>>>> 3) You can override anything in a favorite by adding it to the config
>>>>>> object. If you have periods as categories you can do e.g.:
>>>>>>
>>>>>> DHIS.getChart({
>>>>>> url: base,
>>>>>> el: "chart1",
>>>>>> id: "R0DVGvXDUNP",
>>>>>>
>>>>>> legendStyle: {},
>>>>>> hideEmptyRows: false,
>>>>>> rows: [
>>>>>> {
>>>>>> dimension: "pe",
>>>>>> items: [
>>>>>> {id: "2012"}, // Iso code for years. If you want
>>>>>> months e.g. January 2015 would be "201501".
>>>>>> {id: "2013"},
>>>>>> {id: "2014"},
>>>>>> {id: "2015"}
>>>>>> ]
>>>>>> }
>>>>>> ]
>>>>>> }
>>>>>>
>>>>>> Hope this helps. Let me know if there is anything else. The plugins
>>>>>> have a lot more options than you will find in DV so I will document it as
>>>>>> soon as possible.
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>>
>>>>>> On Mon, Apr 20, 2015 at 9:45 AM, Bharath 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Have been trying to embed charts in HTML report using Visualiser
>>>

Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-21 Thread Bharath
Thanks for the Tip.  looked into Embed option, worked smoothly,

Parameter changes are:
  -Dimension is dc instead de and
  - iteams are dataelementuid#cocuid instead dataelementuid

Thanks Jan.


On Wed, Apr 22, 2015 at 1:35 AM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Will look at it tomorrow, but a trick is to open the DV, create the chart
> you want to see and select Share -> Embed in web page from the toolbar to
> see the config.
> On Apr 21, 2015 9:57 PM, "Bharath"  wrote:
>
>> Hi Jan,
>>
>> Charts for the dataelements which are of type default categorycombo are
>> working fine. How can I embed chart for the dataelements which are having
>> categories, for ex:- chart for dataelement Number of fever cases which is
>> having Male and Female as category combo options. Can you please help on
>> which parameters to pass for category option combos.
>>
>>
>>
>>
>> On Mon, Apr 20, 2015 at 6:49 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Great. I just updated the CDN (2.18) so "legendStyle" and
>>> "hideEmptyRows" shoud be unnecessary by now.
>>>
>>> On Mon, Apr 20, 2015 at 3:10 PM, Bharath  wrote:
>>>
>>>> Thank you so much Jan, it worked perfectly. Thanks
>>>>
>>>> On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
>>>> janhenrik.overl...@gmail.com> wrote:
>>>>
>>>>> Hi Bharath,
>>>>>
>>>>> 1) I don't think this is affected by the "hideLegend" option. Please
>>>>> add the "legendStyle" object I mentioned ealier for now until the plugin 
>>>>> is
>>>>> updated.
>>>>>
>>>>> 2) This is behind the scenes the same option as in pivot table:
>>>>> "hideEmptyRows". This option should be false by default, but I can see 
>>>>> that
>>>>> it is not in the 2.18 plugin for some reason. I will fix this, but for now
>>>>> you can add "hideEmptyRows": false to your chart config to show empty
>>>>> categories in the chart.
>>>>>
>>>>> 3) You can override anything in a favorite by adding it to the config
>>>>> object. If you have periods as categories you can do e.g.:
>>>>>
>>>>> DHIS.getChart({
>>>>> url: base,
>>>>> el: "chart1",
>>>>> id: "R0DVGvXDUNP",
>>>>>
>>>>> legendStyle: {},
>>>>> hideEmptyRows: false,
>>>>> rows: [
>>>>> {
>>>>> dimension: "pe",
>>>>> items: [
>>>>> {id: "2012"}, // Iso code for years. If you want
>>>>> months e.g. January 2015 would be "201501".
>>>>> {id: "2013"},
>>>>> {id: "2014"},
>>>>> {id: "2015"}
>>>>> ]
>>>>> }
>>>>> ]
>>>>> }
>>>>>
>>>>> Hope this helps. Let me know if there is anything else. The plugins
>>>>> have a lot more options than you will find in DV so I will document it as
>>>>> soon as possible.
>>>>>
>>>>> Jan
>>>>>
>>>>>
>>>>> On Mon, Apr 20, 2015 at 9:45 AM, Bharath  wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Have been trying to embed charts in HTML report using Visualiser
>>>>>> chart Plug-in. I am facing below issues, could you please help: I am 
>>>>>> using
>>>>>> 2.18 version.
>>>>>>
>>>>>>
>>>>>> 1. When I set *hideLegend *attribute value to *false* then I am
>>>>>> getting the below error at browser console: *Uncaught TypeError:
>>>>>> Cannot read property 'labelMarkerSize' of undefined*
>>>>>>
>>>>>> 2. In my chart I am passing periods 2007 to 2015 where I have data
>>>>>> for 2 years only, in my chart I am getting chart for those 2 years only,
>>>>>> where as I would like chart for all years. Can you please help if I can 
>>>>>> set
>>>>>> any parameter to get this. If I am generating the chart in Visualiser 
>>>>>> there
>>>>>> I have the option *Hide empty categories, *do we have similar option
>>>>>> in plug-in.
>>>>>>
>>>>>> 3. I created a chart and saved as a favourite. I am able to embed
>>>>>> this chart using plug-in
>>>>>>
>>>>>>  DHIS.getChart({ url: base, el: "chart1", id: "R0DVGvXDUNP" });
>>>>>>
>>>>>> I need to pass Period as parameter to this chart, can you please
>>>>>> suggest how can I do that.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Regards,
>>>>>> Bharath Kumar. Ch
>>>>>>
>>>>>> ___
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Bharath Kumar. Ch
>>>>
>>>
>>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-21 Thread Bharath
Hi Jan,

Charts for the dataelements which are of type default categorycombo are
working fine. How can I embed chart for the dataelements which are having
categories, for ex:- chart for dataelement Number of fever cases which is
having Male and Female as category combo options. Can you please help on
which parameters to pass for category option combos.




On Mon, Apr 20, 2015 at 6:49 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Great. I just updated the CDN (2.18) so "legendStyle" and "hideEmptyRows"
> shoud be unnecessary by now.
>
> On Mon, Apr 20, 2015 at 3:10 PM, Bharath  wrote:
>
>> Thank you so much Jan, it worked perfectly. Thanks
>>
>> On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Hi Bharath,
>>>
>>> 1) I don't think this is affected by the "hideLegend" option. Please add
>>> the "legendStyle" object I mentioned ealier for now until the plugin is
>>> updated.
>>>
>>> 2) This is behind the scenes the same option as in pivot table:
>>> "hideEmptyRows". This option should be false by default, but I can see that
>>> it is not in the 2.18 plugin for some reason. I will fix this, but for now
>>> you can add "hideEmptyRows": false to your chart config to show empty
>>> categories in the chart.
>>>
>>> 3) You can override anything in a favorite by adding it to the config
>>> object. If you have periods as categories you can do e.g.:
>>>
>>> DHIS.getChart({
>>> url: base,
>>> el: "chart1",
>>> id: "R0DVGvXDUNP",
>>>
>>> legendStyle: {},
>>> hideEmptyRows: false,
>>> rows: [
>>> {
>>> dimension: "pe",
>>> items: [
>>> {id: "2012"}, // Iso code for years. If you want months
>>> e.g. January 2015 would be "201501".
>>> {id: "2013"},
>>> {id: "2014"},
>>> {id: "2015"}
>>> ]
>>> }
>>> ]
>>> }
>>>
>>> Hope this helps. Let me know if there is anything else. The plugins have
>>> a lot more options than you will find in DV so I will document it as soon
>>> as possible.
>>>
>>> Jan
>>>
>>>
>>> On Mon, Apr 20, 2015 at 9:45 AM, Bharath  wrote:
>>>
>>>> Hi All,
>>>>
>>>> Have been trying to embed charts in HTML report using Visualiser chart
>>>> Plug-in. I am facing below issues, could you please help: I am using 2.18
>>>> version.
>>>>
>>>>
>>>> 1. When I set *hideLegend *attribute value to *false* then I am
>>>> getting the below error at browser console: *Uncaught TypeError:
>>>> Cannot read property 'labelMarkerSize' of undefined*
>>>>
>>>> 2. In my chart I am passing periods 2007 to 2015 where I have data for
>>>> 2 years only, in my chart I am getting chart for those 2 years only, where
>>>> as I would like chart for all years. Can you please help if I can set any
>>>> parameter to get this. If I am generating the chart in Visualiser there I
>>>> have the option *Hide empty categories, *do we have similar option in
>>>> plug-in.
>>>>
>>>> 3. I created a chart and saved as a favourite. I am able to embed this
>>>> chart using plug-in
>>>>
>>>>  DHIS.getChart({ url: base, el: "chart1", id: "R0DVGvXDUNP" });
>>>>
>>>> I need to pass Period as parameter to this chart, can you please
>>>> suggest how can I do that.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Bharath Kumar. Ch
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-20 Thread Bharath
Thank you so much Jan, it worked perfectly. Thanks

On Mon, Apr 20, 2015 at 6:28 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Hi Bharath,
>
> 1) I don't think this is affected by the "hideLegend" option. Please add
> the "legendStyle" object I mentioned ealier for now until the plugin is
> updated.
>
> 2) This is behind the scenes the same option as in pivot table:
> "hideEmptyRows". This option should be false by default, but I can see that
> it is not in the 2.18 plugin for some reason. I will fix this, but for now
> you can add "hideEmptyRows": false to your chart config to show empty
> categories in the chart.
>
> 3) You can override anything in a favorite by adding it to the config
> object. If you have periods as categories you can do e.g.:
>
> DHIS.getChart({
> url: base,
> el: "chart1",
> id: "R0DVGvXDUNP",
>
> legendStyle: {},
> hideEmptyRows: false,
> rows: [
> {
> dimension: "pe",
> items: [
> {id: "2012"}, // Iso code for years. If you want months
> e.g. January 2015 would be "201501".
> {id: "2013"},
> {id: "2014"},
> {id: "2015"}
> ]
> }
> ]
> }
>
> Hope this helps. Let me know if there is anything else. The plugins have a
> lot more options than you will find in DV so I will document it as soon as
> possible.
>
> Jan
>
>
> On Mon, Apr 20, 2015 at 9:45 AM, Bharath  wrote:
>
>> Hi All,
>>
>> Have been trying to embed charts in HTML report using Visualiser chart
>> Plug-in. I am facing below issues, could you please help: I am using 2.18
>> version.
>>
>>
>> 1. When I set *hideLegend *attribute value to *false* then I am getting
>> the below error at browser console: *Uncaught TypeError: Cannot read
>> property 'labelMarkerSize' of undefined*
>>
>> 2. In my chart I am passing periods 2007 to 2015 where I have data for 2
>> years only, in my chart I am getting chart for those 2 years only, where as
>> I would like chart for all years. Can you please help if I can set any
>> parameter to get this. If I am generating the chart in Visualiser there I
>> have the option *Hide empty categories, *do we have similar option in
>> plug-in.
>>
>> 3. I created a chart and saved as a favourite. I am able to embed this
>> chart using plug-in
>>
>>  DHIS.getChart({ url: base, el: "chart1", id: "R0DVGvXDUNP" });
>>
>> I need to pass Period as parameter to this chart, can you please suggest
>> how can I do that.
>>
>> Thanks
>>
>>
>>
>> --
>>
>> Regards,
>> Bharath Kumar. Ch
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Creation of new UIDs while overwriting the favorite

2015-04-20 Thread Bharath
Hi All,

Have created a chart and saved as a Favorite. After that, I have made some
changes to the same chart and overwritten the same Favorite to reflect
those changes. Then for this favorite new UID has been created and old one
has been removed.

If I embed the charts using the UIDs then when I make some modifications to
the chart and overwrite it then again I have to go all the places and
replace with new UID.

I think it is bug? please help me if I am understanding wrongly.

Thanks.


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Questions regarding Embedding charts with the Visualizer chart plug-in

2015-04-20 Thread Bharath
Hi All,

Have been trying to embed charts in HTML report using Visualiser chart
Plug-in. I am facing below issues, could you please help: I am using 2.18
version.


1. When I set *hideLegend *attribute value to *false* then I am getting the
below error at browser console: *Uncaught TypeError: Cannot read property
'labelMarkerSize' of undefined*

2. In my chart I am passing periods 2007 to 2015 where I have data for 2
years only, in my chart I am getting chart for those 2 years only, where as
I would like chart for all years. Can you please help if I can set any
parameter to get this. If I am generating the chart in Visualiser there I
have the option *Hide empty categories, *do we have similar option in
plug-in.

3. I created a chart and saved as a favourite. I am able to embed this
chart using plug-in

 DHIS.getChart({ url: base, el: "chart1", id: "R0DVGvXDUNP" });

I need to pass Period as parameter to this chart, can you please suggest
how can I do that.

Thanks



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Help with DSH2 config.

2014-12-05 Thread Bharath
Hi, I think the issue that Norberto Banze mentioned is exists when building
first time maven is failed to download the smslib jar.

On Fri, Dec 5, 2014 at 7:35 PM, Jason Pickering  wrote:

> Are you sure you are connected to the Internet? maven needs to download a
> lot of components, so be sure you are on a fast line. Alternatively, you
> can always get the latest build from https://apps.dhis2.org/ci/.
>
> Regards
> Jason
> On Dec 5, 2014 2:58 PM, "Norberto Banze"  wrote:
>
>> I am following the steps that come here https://www.dhis2.org/development
>>
>> --
>> From: norbertoba...@live.com
>> To: knu...@gmail.com
>> CC: dhis2-us...@lists.launchpad.net
>> Subject: RE: [Dhis2-users] Help with DSH2 config.
>> Date: Fri, 5 Dec 2014 15:56:54 +0200
>>
>> How should I proceed
>>
>> --
>> Date: Fri, 5 Dec 2014 21:53:47 +0800
>> Subject: Re: [Dhis2-users] Help with DSH2 config.
>> From: knu...@gmail.com
>> To: norbertoba...@live.com
>> CC: dhis2-us...@lists.launchpad.net
>>
>> No need to use Maven
>> On 5 Dec 2014 21:36, "Norberto Banze"  wrote:
>>
>> Hi everyone,
>>
>> Can somebody PLEASE  help me with this error. I am trying to install
>> dhis2. When I invoked mvn install I got this error
>>
>>
>>
>>
>>
>> --
>> From: norbertoba...@live.com
>> To: dhis2-us...@lists.launchpad.net
>> Subject: Help with DSH2 config.
>> Date: Fri, 5 Dec 2014 12:17:15 +0200
>>
>>
>> Hi guys,
>>
>> I am new in this group and still learning about dhis2.
>> I have downloaded and installed Dhis2 and linked it with Postgresql on my
>> laptop. How can I do to make it available to other users that I have
>> created, I want them to access the database over the internet.
>>
>> If anyone can help I would be grateful
>>
>> best regards,
>> Norberto Banze
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] using the dhis OpenID problem

2014-08-31 Thread Bharath
Hi Thanh,

We are using OpenId feature in DHIS, it is working fine for us.

- To enable OpenID, first you have to setup in Settings -> Access which
seems you already done.

- Then you need to specify your OpenId user for corresponding DHIS2 user
for OpenID property. I am guessing the openid user that user setting may be
wrongly, usually we set just openid user say some thing like chbharathk,
but it should be openid uri something like
https://aa.xx.cc/ads/openid/chbharathk or chbharathk.aa.xx.com, please
check that part.


I just tested with demo application (https://apps.dhis2.org/demo) it is
working fine.



On Mon, Sep 1, 2014 at 7:00 AM, Ngoc Thanh Nguyen <
thanh.hispviet...@gmail.com> wrote:

> Anyone use OpenID features in dhis?  I tried it but it didn't work. I
> always see the login screen after I have successfully logged in via the
> openid provider. Is there a bug on dhis?
>
> any one who have experience on this please share with me.
>
> Thanks
> Thanh
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] DHIS version 2.16 released

2014-07-25 Thread Bharath
> discrete numbers between 0 and 100 in data entry.
>
> Demo
> <https://apps.dhis2.org/demo/dhis-web-maintenance-datadictionary/showAddDataElementForm.action>
> | Docs
> <https://www.dhis2.org/doc/snapshot/en/user/html/ch04.html#dataElement>
>
>
> *- Data approval:* Approval can now be done for a longer period type than
> the reporting period type for the data set. This makes it simpler to
> approve multiple form submissions at the time.
>
> Docs <https://www.dhis2.org/doc/snapshot/en/user/html/ch06.html>
>
>
> *- Myanmar font support:* There is now a new style called "Myanmar" which
> features the Padauk font designed for the Myanmar character set. Style can
> be defined for the system under Settings > Appearance, and per user under
> Profile > Settings.
>
> Demo
> <https://apps.dhis2.org/demo/dhis-web-maintenance-settings/systemAppearanceSettings.action>
>
>
> *Various technical stuff:* The custom data entry form editor is upgraded
> and is easier to use. Data entry has much more capacity for storing data
> entry forms offline. Data value table has a "lastupdated" column. Attribute
> option combos are supported in data value import
> <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s09.html#d5e8096>.
> The category option object is associated with organisation units and
> start/end dates.
>
>
> The *Web API* as received a range of improvements (this part is mainly
> for developers / technical people):
>
>
> *- Tracker meta-data support:* The tracker-related entities, such as
> /program and /programStages, are now supported in the Web API with CRUD
> operations. This means that you can develop clients that can read and
> create tracker meta-data.
>
> Docs <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s05.html>
>
>
> *- JSON data value sets:* The data value set generator now supports JSON
> response format, making it simple to create templates used for data import.
>
> Docs
> <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s09.html#d5e8206>
>
>
> *- User account invites:* The user account invitation feature has now
> been exposed in the API. This makes it possible to create scripts that can
> automate sending out invitations to a large number of users e.g. off an
> excel sheet - useful when bootstrapping systems.
>
> Docs <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s36.html>
>
>
> *- Custom script and style:* You can now upload custom Javascript and CSS
> files through the API. These will be rendered through the application and
> allows you to customize the look and feel of the custom data entry forms,
> HTML reports and the system in general. The advantage is that you avoid
> changing the system source code or custom deployments, as the customization
> will be stored in the database.
>
> Docs <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s38.html>
>
>
> *- Event charts:* The event charts (from event visualizer) can be
> rendered in PNG image format from the /eventCharts resource.
>
> Demo <https://apps.dhis2.org/demo/api/eventCharts/qd2jBEvoRPx/data.png> |
> Docs <https://www.dhis2.org/doc/snapshot/en/user/html/ch32s17.html>
>
>
>
> ---
>
> You can *download* Live package, WAR file, sample data and source code
> here:
>
> http://www.dhis2.org/downloads
>
>
> You will find *documentation* and javadocs here:
>
> http://www.dhis2.org/documentation
>
>
> The *demo* application can be found here:
>
> http://apps.dhis2.org/demo
>
>
> Full list of features can be found at the *Launchpad* page:
>
> https://launchpad.net/dhis2/+milestone/2.16
>
>
>
> Enjoy the new features. Feedback is much appreciated.
>
>
> best regards,
>
> the DHIS 2 development team
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 Cold Chain Equipment Inventory System is Released

2014-07-04 Thread Bharath
Dear All,


We are pleased to announce the availability of the Cold Chain Equipment
Inventory (CCEI) module in DHIS2 and welcome interested individuals to visit
<https://www.dhis2.org/downloads> and evaluate this new asset-tracking
application.


*Background *


The CCEI module in DHIS2 is designed to support immunization programs to
track core health facilities and cold chain equipments data to enable
strategic (planning) and tactical (management) decision-making on the basis
of key functional requirements identified by PATH while working for over
five years with national immunization programs and their partners to use
cold chain equipment inventory data and develop evidence-based multiyear
equipment plans.


The module adheres to the draft CCEI Data Standard vetted globally in 2013
with cold chain experts through the UNICEF Cold Chain and Logistics
Taskforce. Development of this module was led by the Cold Chain Equipment
Inventories project at PATH in collaboration with University of Washington
and with the generous support of the American people through the United
States Agency for International Development (USAID) under the terms of the
HealthTech Cooperative Agreement # AID-OAA-A-11-00051.


CCEI module can be configured for other classes of fixed assets and is a
flexible tool that can make collection, update and use of data easy which
makes it ideal for monitoring, reporting, compiling and presenting
information on cold chain functioning and vaccine stocks at service
delivery points.


*Key Features:*


*EquipmentTypes*: User can define different asset types and the information
that want to be collected such as Refrigerators, ColdBox, Mobiles etc


*Model*: User can also define common information of specific model for
equipment, so that same information can be applicable for same type of
equipments


*Equipments*: Equipments for different equipment types can be registered
for particular facility/ Clinic


*Repair/Maintenance*: For each equipment user can keep track of equipment
status information


*AggregationBuilder*: Equipment data can be converted into aggregated
numbers using aggregation builder. Once the data is converted into
aggregated numbers then we can use all DHIS analysis tools - Visualiser,
GIS, Pivot Tables etc



*Build Model:*

CCEI is created as a separate project which is dependent on dhis core
stable (2.14) and can be built separately. CCEI project is located at
https://launchpad.net/dhis2-ccei.


*Resources:*

You may download latest CCEI war file from downloads
<https://www.dhis2.org/downloads>, also for quick start you may download
demo postgres backup file. You can find documentation for CCEI here
<https://www.dhis2.org/documentation>.

You may join CCEI Launchpad group <https://launchpad.net/~dhis2-ccei-devs> and
subscribe to dhis2-ccei-d...@lists.launchpad.net mailing list to discuss in
the forum.



We appreciate feedback and active participation from all of our DHIS users.


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] halvdan grelland joins as developer

2014-06-20 Thread Bharath
Welcome Halvdan


On Fri, Jun 20, 2014 at 3:40 PM, Abyot Gizaw  wrote:

> Welcome Halvdan.
>
>
> On Fri, Jun 20, 2014 at 12:08 PM, Bob Jolliffe 
> wrote:
>
>> Welcome Halvdan.  Lars keep up the good work attracting talent away from
>> the industrial-military complex :-)
>>
>>
>> On 20 June 2014 10:55, Lars Helge Øverland  wrote:
>>
>>> Hi all,
>>>
>>> I have the pleasure to announce that Halvdan Grelland has joined the
>>> team as software developer on a 30% basis.
>>>
>>> Halvdan is currently a student at University of Oslo and has
>>> demonstrated solid skills during the dhis-related course. He has previously
>>> worked for the norwegian defence research establishment
>>> <http://www.ffi.no/en/Sider/default.aspx>.
>>>
>>> We are happy to get you on the team. Welcome!
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Migration from 2.11 to 2.14

2014-03-27 Thread Bharath
yes in mysql when we converted from 2.12 to 2.14 it doesn't work, I
manually executed update query.


On Thu, Mar 27, 2014 at 2:13 PM, Lars Helge Øverland wrote:

>
> On Mar 27, 2014 7:41 AM, "Bharath"  wrote:
> >
> > One thing you can check is datavalue  table.
> > When you upgrade to 2.14, new column with the
> name attributeoptioncomboid will be created in datavalue table and it will
> populated with 0 by default. So you may run query to change this value from
> 0 to default categoryoptioncomboid (most of the cases it will be 1).
> >
> > query will be some thing similar to: update datavalue
> set attributeoptioncomboid = 1 (here 1 is default categoryoptioncomboid)
>
> Hi, this should happen automatically. Works on postgres, I guess what you
> are saying is that it does not work on mysql?
>
> >
> >
> >
> >
> >
> > On Wed, Mar 26, 2014 at 8:25 PM, Marcio Thome 
> wrote:
> >>
> >> Hi all
> >>
> >>
> >>
> >> Is anyone out there that could help us in using DHIS2 2.14?
> >>
> >>
> >>
> >> I am not being able to migrate from 2.11 to 2.14. I run DHIS2 2.14 with
> the old MySQL database but cannot visualize the data in data entry or in
> the reports. It is fine in 2.11. When I attempt to run Analytics I am
> confronted with an exception error. All the screen shots are attached. I am
> running on Apache Tomcat, MySQL, DHIS2 version 2.14 build 13815 and Version
> 2.11 build 10550.
> >>
> >>
> >>
> >> Thank you for assisting. We are resisting in giving up on version 2.14
> and hoping someone already had similar issues already resolved.
> >>
> >>
> >>
> >> Best
> >>
> >>
> >>
> >> Marcio
> >>
> >>
> >>
> >> --
> >> Márcio Thomé
> >>
> >> Coordenador
> >> Departamento de Avaliação e Estatísticas
> >> BEMFAM - Bem Estar Familiar no Brasil
> >> Avenida Carlos Chagas Filho, 791. Ilha do Fundão.
> >> Rio de Janeiro. 21941-599
> >> Tel.: 55-21-30057207 R. 2408
> >> Skype: Marcio-Deav
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-devs
> >> Post to : dhis2-devs@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> >
> >
> > --
> >
> > Regards,
> > Bharath Kumar. Ch
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Migration from 2.11 to 2.14

2014-03-26 Thread Bharath
One thing you can check is datavalue  table.
When you upgrade to 2.14, new column with the name
*attributeoptioncomboid *will
be created in datavalue table and it will populated with 0 by default. So
you may run query to change this value from 0 to default
categoryoptioncomboid (most of the cases it will be 1).

query will be some thing similar to: update datavalue
set attributeoptioncomboid = 1 (here 1 is default categoryoptioncomboid)





On Wed, Mar 26, 2014 at 8:25 PM, Marcio Thome  wrote:

> Hi all
>
>
>
> Is anyone out there that could help us in using DHIS2 2.14?
>
>
>
> I am not being able to migrate from 2.11 to 2.14. I run DHIS2 2.14 with
> the old MySQL database but cannot visualize the data in data entry or in
> the reports. It is fine in 2.11. When I attempt to run Analytics I am
> confronted with an exception error. All the screen shots are attached. I am
> running on Apache Tomcat, MySQL, DHIS2 version 2.14 build 13815 and Version
> 2.11 build 10550.
>
>
>
> Thank you for assisting. We are resisting in giving up on version 2.14 and
> hoping someone already had similar issues already resolved.
>
>
>
> Best
>
>
>
> Marcio
>
>
> --
> Márcio Thomé
>
> Coordenador
> Departamento de Avaliação e Estatísticas
> BEMFAM - Bem Estar Familiar no Brasil
> Avenida Carlos Chagas Filho, 791. Ilha do Fundão.
> Rio de Janeiro. 21941-599
> Tel.: 55-21-30057207 R. 2408
> Skype: Marcio-Deav
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1263077] [NEW] Date Validation is not working in Dataentry

2013-12-20 Thread Bharath
Public bug reported:

Validation for dataelements with DATE datatype seems not working
properly. For instance, created a date dataelement called Data De1, in
dataentry, calender is coming for that field but at the same time it is
allowing user to enter number.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1263077

Title:
  Date Validation is not working in Dataentry

Status in DHIS 2:
  New

Bug description:
  Validation for dataelements with DATE datatype seems not working
  properly. For instance, created a date dataelement called Data De1, in
  dataentry, calender is coming for that field but at the same time it
  is allowing user to enter number.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1263077/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1260258] [NEW] OrgunitTreeNotExpanding-Dataset(OUST)-IE8

2013-12-12 Thread Bharath
Public bug reported:

While assigning dataset to organisationunits in the tree when we click
on + symbol in IE8 it is not expanding.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1260258

Title:
  OrgunitTreeNotExpanding-Dataset(OUST)-IE8

Status in DHIS 2:
  New

Bug description:
  While assigning dataset to organisationunits in the tree when we click
  on + symbol in IE8 it is not expanding.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1260258/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Organisaitonunit Tree error in IE8

2013-12-11 Thread Bharath
In IE8, organisaitonunit tree is not working properly, for instance in
dataset management -> assign orgunits -> when we click on + symbol not
expanding.

http://apps.dhis2.org/demo/dhis-web-maintenance-dataset/defineDataSetAssociationsForm.action?dataSetId=394131


About DHIS 2 Current user:adminVersion:2.13Build revision:12921Build
date:2013-12-11
02:04User agent:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)Server date:2013-12-11
12:09Environment variable:DHIS2_HOME

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1212992] [NEW] Dropdowns disabled in lockexception

2013-08-16 Thread Bharath
Public bug reported:

While creating LockExceptions when we select orgunits using OrganisationUnit 
Level, below dropdowns (datasets&periods) are not enabled.
For ex:- on demo instance selected PHU Level.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1212992

Title:
  Dropdowns disabled in lockexception

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  While creating LockExceptions when we select orgunits using OrganisationUnit 
Level, below dropdowns (datasets&periods) are not enabled.
  For ex:- on demo instance selected PHU Level.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1212992/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] new web site

2013-05-31 Thread Bharath
looking nice


On Fri, May 31, 2013 at 2:27 PM, Lars Helge Øverland wrote:

> Hi all,
>
> we have a new web site today. We have tried to present DHIS 2 and the
> community in a more comprehensive way, give the site a modern look and have
> it scale well on mobile devices.
>
> The site is built on a zen-based drupal theme and runs on nginx/php.
>
> http://dhis2.org
>
>
>
> regards,
>
> Lars
>
>
>
> PS use http://178.79.191.67 if you are still seeing the old site.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Migrating from MySQL to PostgreSQL

2013-05-07 Thread Bharath
Thanks Saptarshi, this is very helpful.


On Tue, May 7, 2013 at 6:23 PM, Saptarshi Purkayastha wrote:

> Hello DHIS users and devs,
>
> Apologies for the long email... Should have probably been multiple
> blogpost to reduce its length...
>
> I recently encountered a situation with a very large implementation of
> DHIS2 having problems generating data mart.
> Thus no reports were generated and only data entry was being done. I
> thought I'd share some of the experiences to solve these issues, so that it
> might be useful to other implementers.
> Some changes will be needed in the DHIS2 source, so sending this to the
> dev list also, where dev-related discussions can follow-up.
>
> While PostgreSQL is our recommended database, many implementations have
> also used MySQL.
> My findings clearly highlight that DHIS2 performs much better on
> PostgreSQL and there are also some bugs related to MySQL dialect.
> Total org units - 26303
> Total Monthly datasets - 9
> Total Daily dataset - 1
> Total Yearly dataset - 3
>
> The implementation has about 34 million datavalues (non-zero)... but I
> pruned it for my benchmarking. I added 1-million datavalues and ran the
> data mart.
> The results are from my fairly good laptop (quad-core i7; 8GB RAM; tuned
> JVM; tuned MySQL 5.5 (4GB RAM); tuned PostgreSQL 9.2 (4GB RAM); 240GB SSD)
> Using DHIS2 2.11. When doing MySQL benchmark turned off all services
> including postgres and vice versa.
> Java Opts:  -Xmx3G -Xms768m -XX:MaxPermSize=512m
> Java version: 1.7.0_21 x64
> Java vendor: Oracle Corporation OS name: WindowsMySQL = datamart
> completed in 3hrs 46min 12sec
> PostgreSQL = datamart completed in 2hrs 5min 16sec
>
> So, it is obvious that PostgreSQL is doing datamart much faster. The
> advantages might scale better if larger number of datavalues
> One could argue MySQL 5.6 has many performance improvements, I didn't have
> time to explore that.
> The migration to PostgreSQL has some challenges. Following are steps I
> followed:
>
>  - Take the mysqldump
>  - replace bit(1) to tinyint(1) in the SQL file
>  - You'll see that column names are camelCase. This is an issue because
> postgres will added a double quotes around to get case-sensitivity, which
> MySQL by default nicely excludes.
> So you'll have to make all column names to lowercase and remove the quote
> characters. I did this with a simple java program. There are 150-odd column
> names that need changes.
>  - Used Navcat premium (trial version or SQLSquirrel also has this
> feature). "Data transfer" is the name of the feature that will move data
> from MySQL to Postgres
>  - In MySQL non-standard use of boolean (which came only a few yrs back),
> its converted to smallint in Postgres. I wrote a JDBC program to change
> column type from smallint to boolean. A single table example is as follows
> that can be made into a looping procedure as well in pure PSQL.
> ALTER TABLE indicator ALTER COLUMN annualized TYPE boolean
> USING CASE WHEN annualized = 0 THEN FALSE
>WHEN annualized = 1 THEN TRUE
>ELSE NULL
> END;
>  - remove NULL values from minimumvalue column of minmaxdatalement table
> DELETE from minmaxdatalement WHERE minimumvalue=NULL
>  - remove NULL values from maximumvalue column of minmaxdatalement table
> DELETE from minmaxdatalement WHERE maximumvalue=NULL
>  - remove NULL values from name column of relationshiptype table
> DELETE from relationshiptype WHERE name=NULL
>  - blobs to bytea conversion is a mess and I had to truncate. Probably a
> JDBC based connector program will do better conversion, but I just
> truncated it and accepted the data loss to systemsetting and usersetting :-)
> *
> Devs*:
> We need to make all column names lowercase in hbm.xml files in code. This
> will ensure portability and is generally a good practice.
> We should also have a convention of using last_updated instead of
> lastUpdated in column names, as is the common practice.
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
>
> My Tech Blog:  http://sunnytalkstech.blogspot.com
> You Live by CHOICE, Not by CHANCE
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] compilation errors

2012-09-27 Thread Bharath
You can set JAVA_OPTS environment variable to something like:

-Xmx512m -Xms256m -XX:PermSize=128m -XX:MaxPermSize=128m
-XX:NewSize=128m

these values may increase/decrease depending on your available RAM.

On Thu, Sep 27, 2012 at 7:47 PM, Juma Lungo  wrote:

> How to avoid java.lang.OutOfMemoryError: PermGen space
>
> I run Tomcat 7,
> Java version:1.7.0_05Java vendor: Oracle Corporation
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] dynamic custom form fields

2012-03-11 Thread Bharath
It can be possible by creating Anonymous Program.

On Sun, Mar 11, 2012 at 3:35 PM, Juma Lungo  wrote:

> Dear all
>
> I dont think this is possible in dhis2, but let me ask.
>
> I would like to create a custom form with 'dynamic fields' just like a
> spreadsheet file with 4 columns (A, B, C, D) then i can enter data in rows
> (A1, B1, C1, D1), then i click 'add button' (or a new row showup
> automatically), then i get another row to enter some data (A2, B2, C2, D2)
> again and again and again until nth row.
>
> Lungo
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 926003] [NEW] patient module - aggregate data element does not show data

2012-02-03 Thread Bharath
Thuy, after creating query for agg dataelement using query builder, you
have to populate this agg de using Beneficiary Aggregation option from
Namebased Data Record Module.

On Fri, Feb 3, 2012 at 5:17 PM, Nguyen Tran Do Xuan Thuy <
thuy.hispviet...@gmail.com> wrote:

> Public bug reported:
>
> I am not sure this is bug of patient module or report table does not
> support this.
> I tried to create a query using Beneficiary aggregation query builder. The
> query is very simple like no of student stunted is not null. But when I
> generate report in report table which include the aggregate data element no
> of student stunted does not show any value. Although I enter data for a
> student in that particular period.  i also tried to change the query many
> way with attribute and program but it still does not work.
>
> does anybody have experience on creating query using Beneficiary
> aggregation query builder and generate report successful please help me.
>
> ** Affects: dhis2
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/926003
>
> Title:
>  patient module - aggregate data element does not show data
>
> Status in DHIS 2 - District Health Information Software:
>  New
>
> Bug description:
>  I am not sure this is bug of patient module or report table does not
> support this.
>  I tried to create a query using Beneficiary aggregation query builder.
> The query is very simple like no of student stunted is not null. But when I
> generate report in report table which include the aggregate data element no
> of student stunted does not show any value. Although I enter data for a
> student in that particular period.  i also tried to change the query many
> way with attribute and program but it still does not work.
>
>  does anybody have experience on creating query using Beneficiary
>  aggregation query builder and generate report successful please help
>  me.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/926003/+subscriptions
>


--

Regards,
Bharath Kumar. Ch

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/926003

Title:
  patient module - aggregate data element does not show data

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  I am not sure this is bug of patient module or report table does not support 
this.
  I tried to create a query using Beneficiary aggregation query builder. The 
query is very simple like no of student stunted is not null. But when I 
generate report in report table which include the aggregate data element no of 
student stunted does not show any value. Although I enter data for a student in 
that particular period.  i also tried to change the query many way with 
attribute and program but it still does not work. 

  does anybody have experience on creating query using Beneficiary
  aggregation query builder and generate report successful please help
  me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/926003/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 910733] [NEW] Dashboard: message - getting exception

2012-01-01 Thread Bharath
Public bug reported:

In 2.6, when click on 'Messages' option on left side menu getting
following exception (mysql as backend):

Exception (org.springframework.jdbc.BadSqlGrammarException):
StatementCallback; bad SQL grammar [select mc.messageconversationid,
mc.uid, mc.subject, mc.lastupdated, ui.surname, ui.firstname, ( select
isread from usermessage where usermessage.usermessageid=mu.usermessageid
and mu.messageconversationid=mc.messageconversationid ) as isread from
messageconversation mc left join messageconversation_usermessages mu on
mc.messageconversationid=mu.messageconversationid left join usermessage
um on mu.usermessageid=um.usermessageid left join userinfo ui on
mc.lastsenderid=ui.userinfoid where um.userid=1 order by mc.lastupdated
desc offset 0 limit 300]; nested exception is
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an
error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'offset 0 limit
300' at line 1

Caused by (com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException):
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 'offset 0
limit 300' at line 1

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/910733

Title:
  Dashboard: message - getting exception

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  In 2.6, when click on 'Messages' option on left side menu getting
  following exception (mysql as backend):

  Exception (org.springframework.jdbc.BadSqlGrammarException):
  StatementCallback; bad SQL grammar [select mc.messageconversationid,
  mc.uid, mc.subject, mc.lastupdated, ui.surname, ui.firstname, ( select
  isread from usermessage where
  usermessage.usermessageid=mu.usermessageid and
  mu.messageconversationid=mc.messageconversationid ) as isread from
  messageconversation mc left join messageconversation_usermessages mu
  on mc.messageconversationid=mu.messageconversationid left join
  usermessage um on mu.usermessageid=um.usermessageid left join userinfo
  ui on mc.lastsenderid=ui.userinfoid where um.userid=1 order by
  mc.lastupdated desc offset 0 limit 300]; nested exception is
  com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an
  error in your SQL syntax; check the manual that corresponds to your
  MySQL server version for the right syntax to use near 'offset 0 limit
  300' at line 1

  Caused by (com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException):
  You have an error in your SQL syntax; check the manual that
  corresponds to your MySQL server version for the right syntax to use
  near 'offset 0 limit 300' at line 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/910733/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 910000] [NEW] UserGroup: While trying to delete usergroup getting exception

2011-12-29 Thread Bharath
Public bug reported:

Trying to delete usergroup, got exception, while debugging found that
the same usergroup is assigned to 'Completeness notification recipients'
in system setting.

* ERROR 11:44:58,744 Cannot delete or update a parent row: a foreign key constra
int fails (`dhis26/configuration`, CONSTRAINT `fk_configuration_completeness_rec
ipients` FOREIGN KEY (`completenessrecipientsid`) REFERENCES `usergroup` (`userg
roupid`)) (JDBCExceptionReporter.java ["http-apr-9090"-exec-3])
* ERROR 11:44:58,778 Error while executing action (ExceptionInterceptor.java ["h
ttp-apr-9090"-exec-3])

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/91

Title:
  UserGroup: While trying to delete usergroup getting exception

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  Trying to delete usergroup, got exception, while debugging found that
  the same usergroup is assigned to 'Completeness notification
  recipients' in system setting.

  * ERROR 11:44:58,744 Cannot delete or update a parent row: a foreign key 
constra
  int fails (`dhis26/configuration`, CONSTRAINT 
`fk_configuration_completeness_rec
  ipients` FOREIGN KEY (`completenessrecipientsid`) REFERENCES `usergroup` 
(`userg
  roupid`)) (JDBCExceptionReporter.java ["http-apr-9090"-exec-3])
  * ERROR 11:44:58,778 Error while executing action (ExceptionInterceptor.java 
["h
  ttp-apr-9090"-exec-3])

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/91/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 909995] [NEW] OrganisationUnit: After updating orgunit, coordinates field becoming NULL

2011-12-29 Thread Bharath
Public bug reported:

An orgunit is existed with coordinates, tried to update the orgunit name
and saved it, now not able to see the boundary/polygon for that orgunit
in GIS, when tired to debug, coordinates field in the orgunit become
null. (tested in 2.6)

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/909995

Title:
  OrganisationUnit: After updating orgunit, coordinates field becoming
  NULL

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  An orgunit is existed with coordinates, tried to update the orgunit
  name and saved it, now not able to see the boundary/polygon for that
  orgunit in GIS, when tired to debug, coordinates field in the orgunit
  become null. (tested in 2.6)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/909995/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 909583] [NEW] data mart: Validation restrictions while creating/updating datamart export

2011-12-28 Thread Bharath
Public bug reported:

trying to create new data mart export with only dataelements but while
saving validation is restricting saying that select indicators field is
required, vice verse

Also same for periods, sleected 'reporting month'  check box only,
validation is restricting saying that 'select periods field is required'

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/909583

Title:
  data mart: Validation restrictions while creating/updating datamart
  export

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  trying to create new data mart export with only dataelements but while
  saving validation is restricting saying that select indicators field
  is required, vice verse

  Also same for periods, sleected 'reporting month'  check box only,
  validation is restricting saying that 'select periods field is
  required'

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/909583/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 745473] Re: validation-rules-NULL-operands

2011-07-04 Thread Bharath
Currently in validation result (dataentry) we are displaying 2 sections:
1. Voilation  of validaiton rules
2. outliers

May be if we can add one more section for this issue say - partial
violations (either leftside or rightside expression may conation null) which
can be displayed by setting the option in system settings.


2011/7/4 Lars Helge Øverland 

> This is not really a bug but yes its a tricky issue. DHIS by default
> does not store zero values, this has some disadvantages like the the one
> mentioned here, but also the big advantage that it reduces overall
> database size by approx 70 %. This however is completely configurable
> and if you want to save the zero values you can set all data elements to
> "store significant zeros".
>
> Regarding validation rules: in some cases it will make sense to treat
> missing values as zero, like Suzuki points out above. If the user has
> actually entered an (ignored) zero value, the validation rule should
> report a violation. On the other hand, if the data is missing I don't
> think it makes sense to report a violation as we simply don't know the
> underlying situation.
>
> So there are advantages about treating missing values as zeros, but
> there are also disadvantages. First, consider when doing a "bulk"
> validation of for instance a province for many months. In this case
> there are typically large gaps in the data - many facilities have not
> reported since they do not provide certain services, they haven't
> bothered to enter, they had technical problems or whatever. In this case
> the resulting list of violations would be "spammed" and rendered
> effectively unusable - there would be thousands of violations as a
> result of missing data since most validation rules are on the form A < B
> and if there is no data this would return a violation.
>
> Second, when doing validation directly in data entry forms, for the
> usual, very large "integrated form" there are typically several sections
> within that form which don't apply to all facilities. The validation
> rules dealing with those irrelevant sections would then return
> violations as there would be no data and potentially cause confusion for
> users.
>
> So there are benefits and drawbacks on both sides. This issue maybe
> qualifies for an option - when doing "bulk" validation the user can
> select whether to treat missing values as zeros or not (?).
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/745473
>
> Title:
>  validation-rules-NULL-operands
>
> Status in DHIS 2 - District Health Information Software:
>  New
>
> Bug description:
>  I defined a validation rule.. RDT positive cases <= RDT tested cases.
>  When the user enters a zero or a blank for the RHS and a value for the
>  LHS, the validation rule is passed, which in fact should not be the
>  case. Setting the data elements to "Store significant zeroes" solves
>  the problem when users enter a zero for the RHS, but it does not solve
>  the problem when they leave the field blank.
>
>  I think one possible fix would be that if the value is NULL then it
>  should be treated as a zero. This seems to be more or less the
>  behaviour elsewhere in DHIS 2.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/745473/+subscriptions
>


--

Regards,
Bharath Kumar. Ch

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/745473

Title:
  validation-rules-NULL-operands

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  I defined a validation rule.. RDT positive cases <= RDT tested cases.
  When the user enters a zero or a blank for the RHS and a value for the
  LHS, the validation rule is passed, which in fact should not be the
  case. Setting the data elements to "Store significant zeroes" solves
  the problem when users enter a zero for the RHS, but it does not solve
  the problem when they leave the field blank.

  I think one possible fix would be that if the value is NULL then it
  should be treated as a zero. This seems to be more or less the
  behaviour elsewhere in DHIS 2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/745473/+subscriptions

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Fwd: Beneficiary aggregation issues

2011-02-23 Thread bharath kumar
-- Forwarded message --
From: Chau Thu Tran 
Date: Wed, Feb 23, 2011 at 7:34 AM
Subject: Re: [Dhis2-devs] Beneficiary aggregation issues
To: danieljbrid...@gmail.com
Cc: Lars Helge Øverland , John lewis <
johnlewis.h...@gmail.com>, bharath kumar 



Hi Daniel,

Sorry about replying late.

I created a database according your idea to test.

*Into Data Element menu :*

1. Create 3 dataelement:
 - *Blood Test *with Domain as "*Patient*"
 - *Total number *and *Total positive* with Domain as "*Aggregate*"

2. Create a DataElement group for Aggregate DE with name as "Blood Test DE
group"

I*nto Datasets menu:*

3. Create a dataset with name as "*Blood Test Dataset*"

*Into Beneficiary and Program menu :*

4. Create a program with name "*Blood Test Program*"

5. Create one stage for this program with name "*Blood Test Stage*" and add*
 *"*Blood Test*" dataelement for this stage.

*Into Beneficiary  menu:*

5. Create 3  Beneficiaries, include :* Beneficiary First, Beneficiary
Second, Beneficiary Third* for orgunit *Ho Chi Minh City *and enroll them
into Blood Test Program.

*Into Beneficiary Aggregation QueryBuilder menu :*

6. Create a condition to count the total number of tests performed with name
"*Total number **QueryBuilder*" into "Total number" aggregate data elements.

7. Create a condition to count  the number of positives (yes only) with name
"*Total positive QueryBuilder*" into *"Total positive"* aggregate data
elements.

*Into Name-Based Data Records,*

8. Enter PatientDataValue for DE "Blood Test" of Beneficiary First is "*Yes*
"

9. Enter PatientDataValue for DE "Blood Test" of Beneficiary Second is "*No*
"

10. Enter PatientDataValue for DE "Blood Test" of Beneficiary Third is "*Yes
*"

Note:* Choose the **Report - Date** for all is "**2011-02-23**"*

11. Click Case Aggregation menu,

   11.1.Select *Blood Test Dataset* into Dataset List
   11.2.Select Period from *January 2011 to February 2011*
   11.3.Select Orgunit "*Ho Chi Minh City*"
   11.4.Click "Aggregate" button

--> The result as follows:

 # Name Value Status
1 Total positive2.0 Updated in February 20112 Total number3.0Updated in
February 2011

--

I sent the database which I create to test. Please enclose the attachment
file :)

--

Into the step 6, to create a condition, we have to create dataelement-groups
includes aggregate dataelements before. However, when run the conditions to
get datavalues, we have to use datasets, not dataelement-groups.

Best regards,

Châu Thu Trân
HISP Viet Nam
Email: tran.hispviet...@gmail.com


2011/2/23 Lars Helge Øverland 


> Hi peoples,
>
> whats the status of the aggregation of patient data to routine data? Can
> someone reply to this man?
>
> Lars
>
>
> -- Forwarded message --
> From: Daniel Bridges 
> Date: Tue, Feb 22, 2011 at 11:30 AM
> Subject: [Dhis2-devs] Beneficiary aggregation issues
> To: DHIS 2 developers 
>
>
> Hi there,
>
> Am new to DHIS2 and need some help with understanding how beneficiary
> aggregation works / how to set it up. At the moment I am using a very
> simple database with 3 people who have been enrolled in a program with a
> single program stage that consists of a blood test. The patient data
> element for this test is a simple 'yes / no' correlating to whether the
> test was positive or not. I now want to count the total number of tests
> performed (either yes or no) and the number of positives (yes only) into
> two aggregate data elements ('Total number' and 'Total positive'). I
> therefore created two separate aggregation query builders with the
> following condition (where  [DE:36.35.13] is the blood test program
> stage data element):
>
> [DE:36.35.13]
> [DE:36.35.13] = yes
>
> I thought that I could then click on a button and the data would be
> aggregated and populate the correct data elements. However I see I need
> to set-up a dataset to even try and aggregate. I therefore set-up a
> dataset with the yes/no blood test patient data element. Selecting all
> the weeks available and clicking on aggregate gave the message 'No
> values added or updated'
>
> I know that I am doing something majorly wrong, but can't for the life
> of me work it out. Any general advice would be very gratefully received.
> Am happy to supply more info if I haven't been clear on anything
>
> I am using DHIS2.1-snapshot on linux.
>
> Thanks in advance
> Dan
> --
> This message was sent from Launchpad by
> Daniel Bridges (https://launchpad.net/~danieljbridges)
> to each member of the D

Re: [Dhis2-devs] New GIS functionality (was: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2249: Missing file added.)

2010-12-01 Thread bharath kumar
onUnitService )
> > +{
> > +this.organisationUnitService = organisationUnitService;
> > +}
> > +
> > +//
> -
> > +// Input
> > +//
> -
> > +
> > +private String featureType;
> > +
> > +public void setFeatureType( String featureType )
> > +{
> > +this.featureType = featureType;
> > +}
> > +
> > +//
> -
> > +// Output
> > +//
> -
> > +
> > +private List object;
> > +
> > +public List getObject()
> > +{
> > +return object;
> > +}
> > +
> > +//
> -
> > +// Action implementation
> > +//
> -
> > +
> > +public String execute()
> > +throws Exception
> > +{
> > +object = organisationUnitService.getOrganisationUnitLevels();
> > +
> > +if ( featureType.equals(
> OrganisationUnit.FEATURETYPE_MULTIPOLYGON ) )
> > +{
> > +object.remove( object.size() - 1 );
> > +}
> > +
> > +else if ( featureType.equals( OrganisationUnit.FEATURETYPE_POINT
> ) )
> > +{
> > +while ( object.size() > 1 )
> > +    {
> > +object.remove( 0 );
> > +}
> > +}
> > +
> > +return SUCCESS;
> > +}
> > +}
> >
> >
> > ___
> > Mailing list: 
> > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : 
> > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
>
>
> --
> Cheers,
> Knut Staring
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 681383] [NEW] Assigning same dataelement in different sections for differnet datasets

2010-11-25 Thread Bharath
Public bug reported:

We have 2 datasets Dataset1 and Dataset2 in which we have some common
dataelemnets, Now when we create section1 for dataset1 with those common
dataelements it created, after that when we create section2 for dataset2
for those common dataelements got exception, seems to be in
Section.hbm.xml file for dataelement, unique made true which shouldn't
be i guess

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
Assigning same dataelement in different sections for differnet datasets
https://bugs.launchpad.net/bugs/681383
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: New

Bug description:
We have 2 datasets Dataset1 and Dataset2 in which we have some common 
dataelemnets, Now when we create section1 for dataset1 with those common 
dataelements it created, after that when we create section2 for dataset2 for 
those common dataelements got exception, seems to be in Section.hbm.xml file 
for dataelement, unique made true which shouldn't be i guess



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Not able to find the changes that we committed into Trunk

2010-10-28 Thread bharath kumar
Hi,

Not sure what is happening in the trunk, I can't find my( and other
developers) commits in Trunk.

Today morning when I update my code it shows conflicts and when i check bzr
st it showed list of files which i didn't work.

Then I checkout the fresh code, when i am checking i am not able to find
changes that we made.

Is some one fixing this?

Shall we stop development till it is fixed?


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


dhis2-devs@lists.launchpad.net

2010-10-25 Thread bharath kumar
> What was that you wanted to display exactly ? all those active programs or
> completed ones?
>
>>
>>
In Namebased entry we added option Multiple DataEntry where we are
displaying all Active ProgramInstances for selected orgunit.

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


dhis2-devs@lists.launchpad.net

2010-10-25 Thread bharath kumar
On Mon, Oct 25, 2010 at 5:00 PM, Abyot Gizaw  wrote:

> Just a question Bahrath,
>
> Once you have a program can't you use  Collection
> getProgramInstances( Program program, boolean completed );
>
> Do you want to display status of programs per orgunit?
>

Yes.


>
> If so I think you can still use the existing API and do some sort of
> mapping. Because I see you kind of hardcoding a bit ... "get
> programInstances whose endData is null" - I think you can play around with
> the completed attribute of programInstance.
>
>
*completed *attribute is not setting some times where enddate is set, I am
not sure exactly in which case it is happening (may be when we enroll
,unenroll again enroll program to a person). Actually the method name should
be getActiveProgramInstances, but in store we are implementing GenericStore,
thats y i have given getProgramInstances to the method.

May be in service i can use getActiveProgramInstances which will call
getProgramInstances(program, orgunit) from store?

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2334: Fix bug: After clicking Completed button into data entry form, it is still possible to re-enter c...

2010-10-12 Thread bharath kumar
Disabling inputboxes in the dataenryscreen functionality was there before
(not sure who worked on that),

Tran worked on only disabling *comments*, she can revert that funcationality
back. but still locking input box functionality will be there, so i guess we
should change that as well.

Tran correct me if i am wrong.

2010/10/12 Ola Hodne Titlestad 

> Agree with Lars, we should roll back this one.
>
> The complete button was introduced as a subjective way of defining a
> dataset as complete, and we should allow changes and possibly new values
> after this action.
> Subjective or not, complete does not mean final, and it it must be possible
> to make edits and improvements to the data after this point.
>
> Just saw Bharath's email,
> It seems we are combining very different things here, which might be very
> confusing for the users. I understand why you did it from a technical
> perspective (reusing code and buttons on the screen), but it seems it would
> be better to have a separate "lock dataset" button on the data entry form,
> in addition to the "complete" button.
>
> --
> 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>
>
>
> 2010/10/12 Lars Helge Øverland 
>
>> Hey,
>>
>> I am not sure if this is the behaviour we want. Marking a dataset as
>> complete is a subjective assessment and it doesn't mean that all cells are
>> filled, nor that no more data will be entered later. It is not the same as
>> the data locking functionality, which will take care of denying further data
>> entry. In any case its not a bug, its a change in behaviour which must be
>> discussed. Any comments here? I think we should roll this one back..
>>
>> Lars
>>
>>
>> On Fri, Oct 8, 2010 at 9:35 AM,  wrote:
>>
>>> 
>>> revno: 2334
>>> committer: Tran Chau 
>>> branch nick: trunk
>>> timestamp: Fri 2010-10-08 14:32:01 +0700
>>> message:
>>>  Fix bug: After clicking Completed button into data entry form, it is
>>> still possible to re-enter comments.
>>> modified:
>>>
>>>  
>>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>>
>>>
>>> --
>>> lp:dhis2
>>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk>
>>>
>>> Your team DHIS 2 developers is subscribed to branch lp:dhis2.
>>> To unsubscribe from this branch go to
>>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk/+edit-subscription>
>>>
>>> === modified file
>>> 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm'
>>> ---
>>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>>   2010-10-05 06:53:19 +
>>> +++
>>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>>   2010-10-08 07:32:01 +
>>> @@ -211,9 +211,13 @@
>>>var inputList =
>>> entryform.getElementsByTagName('input');
>>>for(var i=0;i>>var input = inputList[i];
>>> -
>>>input.disabled = disabled;
>>> -
>>> +   }
>>> +
>>> +   var selectList =
>>> entryform.getElementsByTagName('select');
>>> +   for(var i=0;i< selectList.length;i++){
>>> +   var select =  selectList[i];
>>> +   select.disabled = disabled;
>>>}
>>>}
>>>
>>>
>>>
>>> ___
>>> Mailing list: 
>>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : 
>>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>&

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2334: Fix bug: After clicking Completed button into data entry form, it is still possible to re-enter c...

2010-10-12 Thread bharath kumar
In *SystemSettings* we have option to select *Disable data entry when data
set completed; *once we select that option then in the dataentry when we
click Complte button in dataentry it is disabling TextBoxes for dataentry
but not the comments.

So while testing we thought it is a bug as it should disable both TextBox
and Comment, but if we understood wrong then Tran please revert it back.

*
*
2010/10/12 Lars Helge Øverland 

> Hey,
>
> I am not sure if this is the behaviour we want. Marking a dataset as
> complete is a subjective assessment and it doesn't mean that all cells are
> filled, nor that no more data will be entered later. It is not the same as
> the data locking functionality, which will take care of denying further data
> entry. In any case its not a bug, its a change in behaviour which must be
> discussed. Any comments here? I think we should roll this one back..
>
> Lars
>
>
> On Fri, Oct 8, 2010 at 9:35 AM,  wrote:
>
>> 
>> revno: 2334
>> committer: Tran Chau 
>> branch nick: trunk
>> timestamp: Fri 2010-10-08 14:32:01 +0700
>> message:
>>  Fix bug: After clicking Completed button into data entry form, it is
>> still possible to re-enter comments.
>> modified:
>>
>>  
>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>
>>
>> --
>> lp:dhis2
>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk>
>>
>> Your team DHIS 2 developers is subscribed to branch lp:dhis2.
>> To unsubscribe from this branch go to
>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk/+edit-subscription>
>>
>> === modified file
>> 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm'
>> ---
>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>   2010-10-05 06:53:19 +
>> +++
>> dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm
>>   2010-10-08 07:32:01 +
>> @@ -211,9 +211,13 @@
>>var inputList =
>> entryform.getElementsByTagName('input');
>>for(var i=0;i>var input = inputList[i];
>> -
>>input.disabled = disabled;
>> -
>> +   }
>> +
>> +   var selectList =
>> entryform.getElementsByTagName('select');
>> +   for(var i=0;i< selectList.length;i++){
>> +   var select =  selectList[i];
>> +   select.disabled = disabled;
>>}
>>}
>>
>>
>>
>> ___
>> Mailing list: 
>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : 
>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2318: DataSet Locking functionality - Improved

2010-10-08 Thread bharath kumar
Thanks Hieu and Tri.

On Thu, Oct 7, 2010 at 3:01 PM, Hieu Dang Duy wrote:

> Hi all,
>
> Dataset Locking is now improved which is better than in usable. Tri has
> just upgraded the orgunit tree with more two selectable options "Select
> child" and "Unselect child". Their function which are similar to the old
> ones "Selected" and "Child Tree". And absolutely, I've applied this
> upgrading also in Locking.
>
> Please update the latest source from trunk. I'd tested carefully and sure
> that this locking is working properly. Thought this locking should be
> upgraded more and more but not now. Hopefully that, you all will have a
> stable version war file to implement in Kerala. Good luck !
>
> Thank you Tri again.
>
>
> On Thu, Oct 7, 2010 at 12:38 AM, Hieu Dang Duy  > wrote:
>
>> Hi Bharath,
>>
>> On Wed, Oct 6, 2010 at 5:09 PM, bharath kumar wrote:
>>
>>> Hi Hieu,
>>>
>>> Standard Orgunit Hierarchy in India is:
>>>
>>> India -> State -> District -> Block -> PHC/CHC -> SC
>>>
>>> In India, we need  "Selected" and "Childtree" option as if i want to lock
>>> all orgunits under one district how can i do it now?
>>>
>>  If i have Childtree option i can select District from the tree and i can
>>> select childtree option and will lock.
>>>
>>> If you can add this option please do it, if not please revert back till
>>> saturday atleast, later u can do whatever u want.
>>>
>>>
>>>
>> Yes sure, i will do it right now. Will do it better than if possible. If
>> not perhaps i am going to ask Lars to revert back. (sorry i could not do it
>> by myself)
>>
>>
>>> --
>>>
>>> Regards,
>>> Bharath Kumar. Ch
>>>
>>
>>
>>
>> --
>> God Helse !
>>
>
>
>
> --
> God Helse !
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2318: DataSet Locking functionality - Improved

2010-10-07 Thread bharath kumar
On Thu, Oct 7, 2010 at 2:06 AM, Bob Jolliffe  wrote:

> Hi Bharath
>
> I see this stuff is being committed to trunk.  I presume your are
> going to make your kerala release off the 2.0.5 branch?
>
> Regards
> Bob
>
> Thats the plan which me and lars thought before, and we created one branch
as well, but all the bug fixes are commited to Trunk and merging wont
happend to this branch. then we thought to test Trunk itself.
-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 2318: DataSet Locking functionality - Improved

2010-10-06 Thread bharath kumar
Hi Hieu,


On Wed, Oct 6, 2010 at 8:51 AM, Hieu Dang Duy wrote:

> In that mail, I suggested that WE should merge all of them like "Lock all
> at level" and "Lock all at group" into one button only that is "Lock" button
> (already existing) AND similar with the "Unlock" button. On the other hand,
> the orgunit tree has been improved faster and accuracy/persistence NOW. With
> this reason then we could remove "Selected" and "Child tree" too.
>
>
Standard Orgunit Hierarchy in India is:

India -> State -> District -> Block -> PHC/CHC -> SC

In India, we need  "Selected" and "Childtree" option as if i want to lock
all orgunits under one district how can i do it now?
If i have Childtree option i can select District from the tree and i can
select childtree option and will lock.

If you can add this option please do it, if not please revert back till
saturday atleast, later u can do whatever u want.


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Fwd: [Bug 655006] [NEW] it takes too much time to startup and execute startup routine

2010-10-05 Thread bharath kumar
can u try

java -jar -Xms256M -Xmx1024M start.jar



2010/10/5 Trí Trần Thanh 

> I could not start dhis with jetty, out of memory exception, RAM is
> 4GB. But it can start in tomcat.
>
> 
> Tran Thanh Tri
>   HISP Viet Nam
>   Cell phone: +84903670967
> 
>
>
>
> On 5 October 2010 16:07, Knut Staring  wrote:
> > Can you provide some info on the system you are running on and how
> > long it takes?
> >
> > -- Forwarded message --
> > From: Brajesh 
> > Date: Tue, Oct 5, 2010 at 9:07 AM
> > Subject: [Bug 655006] [NEW] it takes too much time to startup and
> > execute startup routine
> > To: knu...@gmail.com
> >
> >
> > Public bug reported:
> >
> > it takes too much time to start up and execute start up run time routine.
> > I think it should be faster
> >
> > ** Affects: dhis2
> > Importance: Undecided
> > Assignee: Tri Tran Thanh (tranthanhtri84)
> > Status: New
> >
> > ** Description changed:
> >
> >  it takes too much time to start up and execute start up run time
> routine.
> > - I think it should be faster.
> > + I think it should be faster
> >
> > ** Changed in: dhis2
> > Assignee: (unassigned) => Tri Tran Thanh (tranthanhtri84)
> >
> > --
> > it takes too much time to startup and execute startup routine
> > https://bugs.launchpad.net/bugs/655006
> > You received this bug notification because you are a member of DHIS 2
> > coordinators, which is the registrant for DHIS.
> >
> > Status in DHIS 2 - District Health Information Software: New
> >
> > Bug description:
> > it takes too much time to start up and execute start up run time routine.
> > I think it should be faster
> >
> >
> >
> >
> >
> >
> >
> > --
> > Cheers,
> > Knut Staring
> >
> > ___
> > Mailing list: 
> > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : 
> > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Data set locking - Confusing

2010-10-05 Thread bharath kumar
On Tue, Oct 5, 2010 at 10:32 AM, Hieu Dang Duy
wrote:

> Hi devs,
>
> To try using DataSet Locking func, but i'm get confusing in the buttons on
> the part of organization unit. We have ALREADY one "Lock" and "Unlock"
> button. So, why don't use them as themselves? I meant why have to separate
> them into other meaning likes "Lock all at level" - "Unlock all at level" -
> "Lock all in group" and "Unlock all in group" ?!?!
>
> In my opinion, we have to improve to let it more user friendly and easy to
> use. We should change the separated buttons to "Select all at level" -
> "Unselect all at level" - ect... And we will use ONLY ONE "Lock" AND
> "Unlock" button for executing to lock and unlock datasets.
>
>
The reason why we did like this is in earlier version orgunit tree loading
is very slow, but now it improved so we can go for as u suggested, but
please wait till this weekend as we are planning to deploy new version in
Kerala State.

If you can do it by today itself then we have no problem, but make sure it
wont cause any new bugs :-)


> How do you think, all guys? If there is no comment then i will change it...
>
> --
> God Helse !
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Double & Integer (+ve and -ve) Valutypes for DataElement

2010-07-11 Thread bharath kumar
Hi,

At present in DHIS2, we have *Number, Text, Bool and Date* as valuetype for
dataelement.

May be it could be better if we split Number value type as Integer and
Double with the option Allow -ve Values.

The need for this is:
For ex:- there is one dataelement Number of ANC Registration which is +ve
Integer, but in dataentry i can enter -ve value, double value.
Similarly some finincial dataelements which should allow +ve double values
etc.



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 602984] [NEW] DataLock: When we lock with different users, only last user changes are there

2010-07-07 Thread Bharath
Public bug reported:

Logged as admin and locked one dataset for some
orgunits(district1,district2), after that login as district1 user and
locked district1 orgunits only, after that again when login as admin
user, district1 orgunits only locked not district2.

** Affects: dhis2
 Importance: Undecided
 Assignee: DHIS 2 India Developers (dhis2-devs-india)
 Status: Confirmed

** Changed in: dhis2
 Assignee: (unassigned) => DHIS 2 India Developers (dhis2-devs-india)

** Changed in: dhis2
   Status: New => Confirmed

-- 
DataLock: When we lock with different users, only last user changes are there
https://bugs.launchpad.net/bugs/602984
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: Confirmed

Bug description:
Logged as admin and locked one dataset for some orgunits(district1,district2), 
after that login as district1 user and locked district1 orgunits only, after 
that again when login as admin user, district1 orgunits only locked not 
district2.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 602547] [NEW] In DataLocking Screen, OrgUnitTree is not Loading

2010-07-06 Thread Bharath
Public bug reported:

In DataLocking Screen, after selecting periods and datasets, OrgunitTree
is not loading.

** Affects: dhis2
 Importance: Undecided
 Assignee: DHIS 2 India Developers (dhis2-devs-india)
 Status: Confirmed

** Changed in: dhis2
   Status: New => Confirmed

** Changed in: dhis2
 Assignee: (unassigned) => DHIS 2 India Developers (dhis2-devs-india)

-- 
In DataLocking Screen, OrgUnitTree is not Loading
https://bugs.launchpad.net/bugs/602547
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: Confirmed

Bug description:
In DataLocking Screen, after selecting periods and datasets, OrgunitTree is not 
loading.



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 597600] [NEW] Getting Error while generating OrgUnitStructure

2010-06-23 Thread Bharath
Public bug reported:

While generating OrganisationUnitSturcture (Maintenance -> DataAdmin ->
Resource Table) getting following exception: (TRIED with empty database
as well, using MYSQL)

 ERROR 14:28:39,218 Error while executing action (ExceptionInterceptor.java 
[31283...@qtp-3223780
-0])
ava.lang.RuntimeException: Failed to flush BatchHandler
   at 
org.amplecode.quick.batchhandler.AbstractBatchHandler.flush(AbstractBatchHandler.java:2
2)
   at 
org.hisp.dhis.resourcetable.DefaultResourceTableService.generateOrganisationUnitStructu
es(DefaultResourceTableService.java:196)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:3
9)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(Reflective
ethodInvocation.java:183)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodIn
ocation.java:150)
   at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionIn
erceptor.java:110)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodIn
ocation.java:172)
   at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202

   at $Proxy38.generateOrganisationUnitStructures(Unknown Source)
   at 
org.hisp.dhis.dataadmin.action.resourcetable.GenerateResourceTableAction.execute(Genera
eResourceTableAction.java:114)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.ja
a:441)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocatio
.java:280)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243

   at 
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUse
Interceptor.java:82)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalM
duleInterceptor.java:85)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMen
Interceptor.java:91)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalP
ramsInterceptor.java:117)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.interceptor.StyleInterceptor.intercept(StyleInterceptor.java:89)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.j
va:103)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.interceptor.DataDictionaryModeInterceptor.intercept(DataDictionaryModeInt
rceptor.java:109)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.interceptor.DisplayPropertyInterceptor.intercept(DisplayPropertyIntercept
r.java:90)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at
org.hisp.dhis.interceptor.SortOrderInterceptor.intercept(SortOrderInterceptor.java:124)

   at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterc
ptor.java:98)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
org.hisp.dhis.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:141)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.j
va:126)
   at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

   at 
com.opensymphony.xwork2.interceptor.ParametersInterc

Re: [Dhis2-devs] Custom data entry form for hospital patient registers

2010-03-31 Thread bharath kumar
>  Now, the problem that I see with this is that as far as I can tell, there
> is no way to transform a patient attribute into an aggregate data element.
> What I think you are asking for is a patient domain type data element, with
> a predefined list as a value, which then gets somehow transformed into an
> aggregate data element, through a count, depdending on what the user
> selects? Is this correct?
>
> As far as I know, this is not possible current. Attributes can
> theoretically consist of predefined attributes, but data elements must be of
> type number, text, yes/no or date.
>
>
In the patient aggregationengine query builder, we can select attributes
also. This week i am busy with STQC Testing/bug fixing. But i can try to
find some time to prepare documentation for this aggregation engine.

Can you give me some possibile examples for which you  need aggregation data
from patient data.
like Number of OPV-0 dose given is aggregated dataelemnet which can
calculate from PatientData.


> Perhaps people more familiar with this model however can comment.
>
>

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Custom data entry form for hospital patient registers

2010-03-31 Thread bharath kumar
I am trying to build the latest code, having some problem with the internet.
once i finish building will reply u.

On Wed, Mar 31, 2010 at 6:15 PM,  wrote:

> Thanks Jason for your elaborate response.
> Please how can i achieve a predefined type for data element? I need the
> following Date, predefined as pointed out by kumar in addtion to the
> Yes/No,Number and Text.
> I appreciate your urgent response to this.
>
> Thanks
>
>
> .damilola
> GMD
>
> On Wed 31/03/10 12:52 PM , Jason Pickering jason.p.picker...@gmail.comsent:
>
> Hi there. I have come up against a similar issue in Tajkistan, where there
> is a need to record primary and final diagnosis for a patient. I must admit,
> that I do not feel DHIS2 is the correct tool for this.  Ideally, there would
> be a single data element for each, and a dropdown list of pre-defined
> diagnosis codes. In this case, they are using ICD-10 codes, which presents a
> major challenge for a single dropdown list, as there could be thousands.
>
> I personally have my reservations about using the named-based records
> module, as it stands, for this situation at this point. I think it will work
> well for pre-defined programs.We have had discussions here in Zambia with a
> major NGO on the use of DHIS2 for the male circumcision program. In this
> case, I think it works pretty well, as you know what the data elements are,
> and the mapping between cased based data and aggregate level data is pretty
> straightforward. Ideally, you would like to have a single data element in
> the patient based module, which would then map to some aggregate data
> element, rather than having 10,000 different data elements for each ICD10
> code, in the form of a yes-no box.  For instance, the ICD-10 codes for TB
> occupy the range between A15-A19. There are numerous sub-codes as well.
> Typically, all of these might get mapped to a single aggregate data element,
> for instance ("Number of cases of tuberculosis") and be of course
> disaggregated by other dimensions such as age, gender, etc. As far tell, the
> current functionality of the named-based records in DHIS will not easily
> support this workflow. Perhaps Bharath could comment on how it could be
> done. This sounds like a similar problem you are experiencing.
>
> Anyway, our plan in Tajikistan is to keep the existing patient based
> system, which is essentially an electronic medical records system, and have
> it aggregate the data into aggregate data elements, which will then be
> passed upwards from facility to district level. This ensures that any
> confidential patient data stays in the facility.
>
> Not sure if this helps, but I just wanted to highlight what I feel are some
> of the current limitations of the named- based records system. This may be
> based on my limited understanding of it however, which hopefully the
> documentation will clear up.
>
> Best regards,
> Jason
>
>
>
>
>
> On Wed, Mar 31, 2010 at 1:31 PM,  wrote:
>
>> Thanks Kumar..i must have been missing stuffs out then...but i checked
>> again and i couldnt see more than Number/Text/Yes*No/Date
>> for the patientAttribute. I cant see the predefined and others you
>> mentioned. Its possible i m not patient please can you point me to
>> it???
>> I tried changing the dataDictionary setting to "extended" and the listItem
>> is still Number/Text/Yes*No.
>>
>> Do you have an instruction on how to CustomScreenDesign with
>> Javascript?...however small it is i appreciate.
>> Thanks kumar...waiting.
>>
>> .damilola
>> GMD
>>
>> On Wed 31/03/10 12:11 PM , bharath kumar chbhara...@gmail.com sent:
>> > On Wed, Mar 31, 2010 at 4:32 PM,   wrote:
>> > Thanks Jas for the astute insight.
>> > This is what i am trying to do...see the screens attached.
>> > I have tried to use the patient management as shown below. These are
>> > my challenges
>> > 1.There are quite a number of option items on the form. I know DHIS2
>> > has Yes/No but not custom listItem.
>> > I am not sure i understood correct, but for PatientAttribute can be
>> > Number/Date/Text/Bool/Predifined.
>> > Here Predefined means dropdownlist with user defined options, for
>> > ex:- Say Sex is attribute and Male,Female are options.
>> >
>> > Similarly for DataElements also we can create Multi-Dimensional Text
>> > Dataelement with user defined options.
>> >   2.There are no action attached to yes or no. like i need to
>> > display some form fields/controls if i select yes or no. I know this
>> > involves real programming.
>> >
>> > May be this can be done using Cust

Re: [Dhis2-devs] Custom data entry form for hospital patient registers

2010-03-31 Thread bharath kumar
On Wed, Mar 31, 2010 at 4:32 PM,  wrote:

> Thanks Jas for the astute insight.
> This is what i am trying to do...see the screens attached.
> I have tried to use the patient management as shown below. These are my
> challenges
>
> 1.There are quite a number of option items on the form. I know DHIS2 has
> Yes/No but not custom listItem.
>
I am not sure i understood correct, but for PatientAttribute can be
Number/Date/Text/Bool/Predifined.
Here Predefined means dropdownlist with user defined options, for ex:- Say
Sex is attribute and Male,Female are options.

Similarly for DataElements also we can create Multi-Dimensional Text
Dataelement with user defined options.


> 2.There are no action attached to yes or no. like i need to display some
> form fields/controls if i select yes or no. I know this
> involves real programming.
>

May be this can be done using CustomScreenDesign with Javascript Methods


> 3.I need to aggregate the register into the summary form.
> Whats your advise on these???
>
> .damilola
>
>
>
>
>
>
> On Tue 30/03/10  7:26 PM , Jason Pickering jason.p.picker...@gmail.comsent:
> > Just a note of caution here. It is not so straightforward as a simple
> > count aggregation (although I have written a blueprint for a count
> > aggregator in the normal datamart operation as well). In some cases,
> > it may be a combination of a count and a sum. For instance, you may
> > have multiple patient level data elements that map into a single
> > aggregate level data element (consider TB ICD 10 codes for example
> > which might map into a single aggregate level data element of "Number
> > of TB cases").
> > I think they are working on it, and I will help Bharath with the
> > documentation as well, so hopefully we will have something quite
> > soon.
> > On Tue, Mar 30, 2010 at 7:50 PM,   wrote:
> > Thanks! Great job Kumar! Is the AggregationEngine in 2.0.3 or the
> > 2.0.4RC??? i need the count(DE) for aggregator operator. I am sure i
> > saw it somewhere but cant remember where. is it something you can
> > help figure out???
> > .damilola
> > GMD
> > On Tue 30/03/10  5:57 PM , bharath kumar  sent:
> > > On Tue, Mar 30, 2010 at 7:26 PM,   wrote:
> > > Dear Team,
> > > I have the following concerns.
> > > 1. I need to develop a custom data entry form from a register
> > having
> > > patient detail like patient's name, patient's address, etc
> > > At this moment there is no CustomDataEntryForm Design for Patient
> > > Registration. You can design custom screen for
> > Program/ProgramStages.
> > >
> > >   2. I need dhis2 to aggregate these patients counts into a
> > summary
> > > form which will be aggregate up the hierarchy.
> > > Very Basic AggregationEngine is developed but need lot more work
> > > left. Will try to prepare some documentation with screenshots how
> > to
> > > use aggregation engine, will send.
> > >   3. Why don't we have count in the list of the aggregation
> > > operator. I have *Sum, Average*
> > > 4. Can i use custom data entry page to create a register records?
> > > I have tried the following
> > > 1. Created the custom form using the data entry create form
> > wizard.
> > > Its not just realistic here. Foreach patient's attributes i
> > will
> > > have a data element and depending on the number of patients, it
> > will
> > > be a multiple of the available attributes which will run into
> > > millions of DE and its not just manageable. I know the the above
> > is
> > > used to create summary forms.
> > > 2. So i decided to use the patient's management modules, EVEN
> > > though i cannot achieve a custom layout as it appears on the form,
> > i
> > > could use the additional attributes to create more patients
> > > attributes.
> > > So then
> > > 1. How do i do a count of the information on the register and get
> > it
> > > appear in the cell of a custom data entry without the user
> > > manually entering the values over a period.
> > > For example on my register i have columns like 1. Name of
> > > client,address of client,fever cases reported within 24hrs,RDT
> > done
> > > under
> > > five.
> > > On my summary form i need the following to be auto calculate
> > > 1. The number of client registered
> > > 2. Number reported for fever cases under five
> > > 3. etc
> > > I will appreciate any assistance asap.
&

Re: [Dhis2-devs] Custom data entry form for hospital patient registers

2010-03-30 Thread bharath kumar
On Tue, Mar 30, 2010 at 7:26 PM,  wrote:

> Dear Team,
> I have the following concerns.
> 1. I need to develop a custom data entry form from a register having
> patient detail like patient's name, patient's address, etc
>
At this moment there is no CustomDataEntryForm Design for Patient
Registration. You can design custom screen for Program/ProgramStages.


> 2. I need dhis2 to aggregate these patients counts into a summary form
> which will be aggregate up the hierarchy.
>
Very Basic AggregationEngine is developed but need lot more work left. Will
try to prepare some documentation with screenshots how to use aggregation
engine, will send.


> 3. Why don't we have count in the list of the aggregation operator. I have
> *Sum, Average*
> 4. Can i use custom data entry page to create a register records?
>
>
> I have tried the following
> 1. Created the custom form using the data entry create form wizard. Its not
> just realistic here. Foreach patient's attributes i will
> have a data element and depending on the number of patients, it will be a
> multiple of the available attributes which will run into
> millions of DE and its not just manageable. I know the the above is used to
> create summary forms.
> 2. So i decided to use the patient's management modules, EVEN though i
> cannot achieve a custom layout as it appears on the form, i
> could use the additional attributes to create more patients attributes.
>
> So then
> 1. How do i do a count of the information on the register and get it appear
> in the cell of a custom data entry without the user
> manually entering the values over a period.
> For example on my register i have columns like 1. Name of client,address of
> client,fever cases reported within 24hrs,RDT done under
> five.
> On my summary form i need the following to be auto calculate
> 1. The number of client registered
> 2. Number reported for fever cases under five
> 3. etc
>
> I will appreciate any assistance asap.
> Thank you.
>
> .damilola
> GMD
>
>
>
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-india/dhis2/dhis2-in] Rev 850: bug fixed while adding linelisting group

2010-03-11 Thread bharath kumar
,7 +241,15 @@
>> > type="velocity-xml">/dhis-web-linelisting-in/responseInput.vm
>> plainTextError
>> 
>> -
>> +
>> +> +
>> class="org.hisp.dhis.ll.action.llgroup.ValidateLineListGroupAddAction">
>> +> type="velocity-xml">/dhis-web-linelisting-in/responseSuccess.vm
>> +> type="velocity-xml">/dhis-web-linelisting-in/responseError.vm
>> +> type="velocity-xml">/dhis-web-linelisting-in/responseInput.vm
>> +plainTextError
>> +
>> +
>>  
>>
>> > @@ -305,7 +313,7 @@
>> /dhis-web-linelisting-in/select.vm
>> > name="menu">/dhis-web-linelisting-in/menuForLLDataEntry.vm
>> > name="javascripts">../dhis-web-commons/calendar/calendar.js,../dhis-web-commons/calendar/calendar-lang.js,../dhis-web-commons/calendar/calendar-setup.js,../dhis-web-commons/ouwt/ouwt.js,javascript/general.js,javascript/form.js
>> -> name="stylesheets">style/dhis-web-dataentry-national.css
>> +> name="stylesheets">css/dhis-web-dataentry-national.css
>> 
>>
>> > class="org.hisp.dhis.ll.action.lldataentry.NextPeriodsAction">
>> @@ -322,7 +330,7 @@
>> /dhis-web-linelisting-in/form.vm
>> > name="menu">/dhis-web-linelisting-in/menuForLLDataEntry.vm
>> > name="javascripts">../dhis-web-commons/calendar/calendar.js,../dhis-web-commons/calendar/calendar-lang.js,../dhis-web-commons/calendar/calendar-setup.js,../dhis-web-commons/ouwt/ouwt.js,javascript/general.js,javascript/form.js
>> -> name="stylesheets">style/dhis-web-dataentry-national.css
>> +> name="stylesheets">css/dhis-web-dataentry-national.css
>> 
>>
>> > class="org.hisp.dhis.ll.action.lldataentry.SaveValueAction">
>> @@ -357,7 +365,7 @@
>> > name="page">/dhis-web-linelisting-in/addValidationRuleForm.vm
>> /dhis-web-linelisting-in/menu.vm
>> > name="javascripts">javascript/general.js,javascript/validationForm.js,javascript/expression.js
>> -style/validationStyle.css
>> +css/validationStyle.css
>> F_VALIDATIONRULE_ADD
>> 
>>
>>
>> === modified file
>> 'local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/css/dhis-web-dataentry-national.css'
>> ---
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/css/dhis-web-dataentry-national.css
>>2009-09-07 11:25:40 +
>> +++
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/css/dhis-web-dataentry-national.css
>>2010-03-11 09:15:13 +
>> @@ -1,13 +1,20 @@
>> -#currentSelection {
>> +
>> +#currentSelection
>> +{
>> +
>> +  color: black;
>> +  padding: 5px;
>> +  background-color: #D5FFC5;
>> +  border: 1px solid black;
>> +  font-size: 14px;
>> +  text-align: right;
>> +
>>   position: fixed;
>>   top: 95px;
>> -  right: 0;
>> -  color: black;
>> -  background-color: yellow;
>> -  border: 1px solid black;
>> -  font-size: 1.3em;
>> -  font-weight: bold;
>> +
>>  }
>> +
>> +
>>  #selectForm {
>>   padding-top: 32px;
>>  }
>>
>> === modified file
>> 'local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/lineListGroup.js'
>> ---
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/lineListGroup.js
>>2010-03-09 13:57:08 +
>> +++
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/lineListGroup.js
>>2010-03-11 09:15:13 +
>> @@ -45,7 +45,7 @@
>> var request = new Request();
>> request.setResponseTypeXML( 'message' );
>> request.setCallbackSuccess( addValidationCompleted );
>> -request.send( 'validateLineListGroup.action?name=' + getFieldValue(
>> 'name' ) +
>> +request.send( 'validateLineListGroupAdd.action?name=' +
>> getFieldValue( 'name' ) +
>> '&shortName=' + htmlEncode( getFieldValue( 'shortName' ) ) +
>> '&periodTypeSelect=' + htmlEncode( getFieldValue(
>> 'periodTypeSelect' ) ) );
>>
>>
>> === modified file
>> 'local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/linelistagg.js'
>> ---
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/linelistagg.js
>>  2010-03-08 13:38:35 +
>> +++
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/javascript/linelistagg.js
>>  2010-03-11 09:15:13 +
>> @@ -234,15 +234,9 @@
>>  {
>>var linelistGroupDE = document.getElementById( 'linelistGroupDE' );
>>
>> -   var holdFocusId = holdFocus.id;
>> -   //var position = $("#holdFocusId").data("pos");
>> -   //var data = jQuery.metadata.get(holdFocusId);
>> -   var data = $(holdFocusId).metadata().pos;
>> +   var data = jQuery(holdFocus).metadata({type:"attr",name:"data"});
>>
>> -   alert( holdFocusId + " : " + data );
>> -   //if( data.pos == "left" )
>> -   /*
>> -   if( jQuery("input[id='left']") )
>> +   if( data.pos == "left" )
>>{
>>holdFocus.value += linelistGroupDE.options[
>> linelistGroupDE.selectedIndex ].value;
>>}
>> @@ -250,7 +244,6 @@
>>{
>>holdFocus.value = "klkjk";
>>}
>> -   */
>>  }
>>
>>  //-
>>
>> === modified file
>> 'local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/select.vm'
>> ---
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/select.vm
>>  2009-09-07 11:25:40 +
>> +++
>> local/in/dhis-web-linelisting-in/src/main/webapp/dhis-web-linelisting-in/select.vm
>>  2010-03-11 09:15:13 +
>> @@ -1,4 +1,4 @@
>> -
>> +
>>#if ( $organisationUnit ) $encoder.htmlEncode(
>> $organisationUnit.name )#else
>> $i18n.getString("no_organisationunit_selected") #end -
>>#set( $period = $selectedStateManager.getSelectedPeriod() )
>>#if ( $period ) $format.formatPeriod( $period ) #else
>> $i18n.getString("no_period_selected") #end 
>> @@ -11,12 +11,13 @@
>>
>>  
>>
>> +
>> +
>> +
>> +> onclick="saveLineListingAggData()" #if( $isLineListing.equals("no") )
>> disabled="disabled" #end>
>>  
>>
>>  
>>
>>
>>
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Multi-Lang support for CustomDataEntryScreen in CaseEntry (PatientDataEntry) module

2010-02-24 Thread bharath kumar
If anybody interested to view dataentryscreen (in Patient Module) in
multi-lang they need to follow the below steps:


   - In the dataentryscreen what ever string you want to display in
   multi-lang first add key-value for that word in i18n properties file(s).

for ex: anc_reg = ANC Registration

   - In dataentryform's html code, put the key between  tags.

for ex:- anc_reg


   - After that change Settings -> user setting -> Interface Language to
   corresponding language.


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Branch ~dhis2-devs-india/dhis2/dhis2-in] Rev 796: Minor bug fixed

2010-02-07 Thread bharath kumar
This is my laptop login user [?].

On Sun, Feb 7, 2010 at 5:45 PM, Saptarshi Purkayastha wrote:

> I actually like this committer label: HISP., but then how does one do this
> thing??
> I dont see any person registered as HISP in the committer status for that
> branch?? Any idea how this works or who was the person who committed this??
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
> Director R & D, HISP India
> Health Information Systems Programme
>
> My Tech Blog:  http://sunnytalkstech.blogspot.com
> You Live by CHOICE, Not by CHANCE
>
>
> On 7 February 2010 11:36,  wrote:
>
>> 
>> revno: 796
>> committer: HISP 
>> branch nick: dhis2-in
>> timestamp: Sun 2010-02-07 16:04:50 +0530
>> message:
>>  Minor bug fixed
>> modified:
>>
>>  
>> dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js
>>
>>  
>> dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm
>>
>>
>> --
>> lp:~dhis2-devs-india/dhis2/dhis2-in
>> https://code.launchpad.net/~dhis2-devs-india/dhis2/dhis2-in<https://code.launchpad.net/%7Edhis2-devs-india/dhis2/dhis2-in>
>>
>> You are subscribed to branch lp:~dhis2-devs-india/dhis2/dhis2-in.
>> To unsubscribe from this branch go to
>> https://code.launchpad.net/~dhis2-devs-india/dhis2/dhis2-in/+edit-subscription<https://code.launchpad.net/%7Edhis2-devs-india/dhis2/dhis2-in/+edit-subscription>
>> .
>>
>> === modified file
>> 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js'
>> ---
>> dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js
>>2010-02-07 07:30:24 +
>> +++
>> dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js
>>2010-02-07 10:34:50 +
>> @@ -145,15 +145,16 @@
>> treeTag.removeChild( children[0] );
>> }
>>
>> -console.info("request ajax here ");
>> jQuery.ajax({
>>type:"GET"
>> -   ,url :  'getExpandedTree.action'
>> +   ,url : selectionTreePath + 'getExpandedTree.action'
>>,async:false
>>,success: function(xml){
>>if(xml){
>>var dom = (new
>> DOMParser()).parseFromString(xml, "text/xml");
>>treeReceived(dom);
>> +   }else{
>> +clearLoadingMessage( treeTag );
>>}
>>}
>> });
>>
>> === modified file
>> 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm'
>> ---
>> dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm
>>   2009-09-28 17:29:01 +
>> +++
>> dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/maintenanceForm.vm
>>   2010-02-07 10:34:50 +
>> @@ -26,12 +26,12 @@
>>$i18n.getString(
>> "clear_dataset_completeness" )
>>  
>>
>> -
>> +
>>
>>  
>>
>>
>>
>>
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
<<330.png>>___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Help Regarding Translation

2009-10-15 Thread bharath kumar
Will look into it.

2009/10/16 Knut Staring 

> Bharath, did you have any time to look into what goes wrong - why the
> database language setting is not working or just ignored?
>
> Knut
>
> 2009/9/24 Lars Helge Øverland 
>
>
>>
>> On Thu, Sep 24, 2009 at 10:24 AM, Knut Staring  wrote:
>>
>>> Hi Bharath,
>>> I tested just now, and can confirm your observations:
>>>
>>> Adding a new locale (country code + language code) works quite nicely,
>>> and translations made get stored.
>>>
>>> However, changing Database Language in Settings seems to have no effect
>>> - English is the only language available. This is a major bug which should
>>> be fixed urgently.
>>>
>>> Knut
>>>
>>
>>
>> Bharath, I suggest you have a look at it... That code was made by a
>> student some time back and i don't know it too well Have a look in
>> dhis-i18n-db.
>>
>> Lars
>>
>
>
>
> --
> Cheers,
> Knut Staring
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Help Regarding Translation

2009-09-24 Thread bharath kumar
Can somebody please tell *Translate* functionality is working or not, if it
is working how to use it?

On Sat, Sep 19, 2009 at 11:50 AM, bharath kumar wrote:

> Hi,
>
> Can anybody please explain how to Use *Translate* functionality in DHIS2.
>
> I tried to add local language, but in User Settings when I changed to that
> local language it is not effecting. Still it is displaying in English only.
>
> --
>
> Regards,
> Bharath Kumar. Ch
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Regarding dataentry Screen

2009-09-22 Thread bharath kumar
Lars,

3 bugs/tasks that I mentioned are fixed in India Branch, Please have a look,
after that we will merge in Global Code.

2009/9/19 Lars Helge Øverland 

>
>
> On Sat, Sep 19, 2009 at 8:30 AM, bharath kumar wrote:
>
>> Hi,
>>
>>
>>- In dataentry screen Top Right Corner there is one Box which
>>shouldn't be scroll. But it is scrolling. See ticket number: 430488 for 
>> more
>>info.
>>
>>
>>- It would be nice if there is some validation for Date Field which is
>>next to Complete button in the Dataentry screen. (Ticket: 430657)
>>
>>
>>- Another one, for defualt screen *Change Order* button should be
>>enabled.
>>
>>
>>
>> --
>
>
>
> Bhrath, thanks for reporting, I will have a look at this over the weekend.
>
> Lars
>



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Regarding dataentry Screen

2009-09-18 Thread bharath kumar
Hi,


   - In dataentry screen Top Right Corner there is one Box which shouldn't
   be scroll. But it is scrolling. See ticket number: 430488 for more info.


   - It would be nice if there is some validation for Date Field which is
   next to Complete button in the Dataentry screen. (Ticket: 430657)


   - Another one, for defualt screen *Change Order* button should be
   enabled.



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Help Regarding Translation

2009-09-18 Thread bharath kumar
Hi,

Can anybody please explain how to Use *Translate* functionality in DHIS2.

I tried to add local language, but in User Settings when I changed to that
local language it is not effecting. Still it is displaying in English only.

-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] error while building dhis2

2009-09-08 Thread bharath kumar
I deleted .m2 folder and tried to build freshly. but still same error.

I didn't build any india modules. I started with dhis2 only.

2009/9/8 Lars Helge Øverland 

>
>
>
> You probably have an old version of IText on the classpath. IText has been
> upgraded in trunk. Just remove the  property on all external
> dependencies in the POMs in your modules. All  properties should be
> in the root POM (dhis-2/pom.xml) to avoid such clashes.
>
>
> Lars
>
>
> On Tue, Sep 8, 2009 at 10:35 AM, bharath kumar wrote:
>
>> Hi,
>>
>> I just chekout the code from the Repository. while i am building dhis2 i
>> am getting following exceptions:
>>
>> [INFO]
>> 
>> [INFO] Building DHIS Administration Service
>> [INFO]task-segment: [clean, install]
>> [INFO]
>> 
>> [INFO] [clean:clean]
>> [INFO] [resources:resources]
>> [INFO] Using encoding: 'UTF-8' to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 13 source files to
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\target\classes
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Compilation failure
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[76,43]
>> cann
>> ot find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[78,39]
>> cann
>> ot find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[88,43]
>> cann
>> ot find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[90,39]
>> cann
>> ot find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[100,43]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[102,39]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[113,43]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[115,39]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[133,43]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[135,39]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[151,43]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[153,39]
>> can
>> not find symbol
>> symbol  : method isEmpty()
>> location: class java.lang.String
>>
>> e:\indv2\dh

[Dhis2-devs] error while building dhis2

2009-09-08 Thread bharath kumar
Hi,

I just chekout the code from the Repository. while i am building dhis2 i am
getting following exceptions:

[INFO]

[INFO] Building DHIS Administration Service
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 13 source files to
e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\target\classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[76,43]
cann
ot find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[78,39]
cann
ot find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[88,43]
cann
ot find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[90,39]
cann
ot find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[100,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[102,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[113,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[115,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[133,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[135,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[151,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[153,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[171,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[173,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[192,43]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String

e:\indv2\dhis2-in\dhis-2\dhis-services\dhis-service-administration\src\main\java\org\hisp\dhis\databrowser\DefaultDataBrowserService.java:[194,39]
can
not find symbol
symbol  : method isEmpty()
location: class java.lang.String


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 minutes 19 seconds
[INFO] Finished at: Tue Sep 08 14:02:09 IST 2009
[INFO] Final Memory: 19M/46M
[INFO]



-- 

Regards,
Bharath Kumar. Ch
___
Mailing l

Re: [Dhis2-devs] Getting problem while building a local module

2009-09-01 Thread bharath kumar
We checked in .m2 folder, there we found itext.jar file.

Please look into content of pom.xml file, tell us if there is any wrong.




 
  org.hisp.dhis
  dhis-api


  org.hisp.dhis
  dhis-service-core


  org.hisp.dhis
  dhis-service-jdbc

  
  org.hisp.dhis
  dhis-service-organisationunit


  org.hisp.dhis
  dhis-web-commons


  org.hisp.dhis
  dhis-web-commons-resources
  war


  org.hisp.dhis
  dhis-service-reporting


  org.hisp.dhis
  dhis-service-datamart-default


  org.hisp.dhis
  dhis-service-jdbc


  org.hisp.dhis
  dhis-service-user-hibernate


  org.hisp.dhis
  dhis-service-aggregationengine-default



  net.sourceforge.jexcelapi
  jxl


  org.hisp.dhis
  dhis-support-external


  org.hisp.dhis
  dhis-in-api
  ${version}


  org.hisp.dhis
  dhis-in-service-survey
  ${version}





  com.opensymphony
  webwork

 
  commons-fileupload
  commons-fileupload





  jasperreports
  jasperreports


  poi
  poi


  jfree
  jfreechart


  eclipse
  jdtcore






  org.springframework
  spring


  commons-logging
  commons-logging


  org.amplecode
  cave-process

  


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 2 Lite Beta

2009-04-17 Thread bharath kumar
All India Modules is using both hibernate and mysql. But we are going to
start to refactor all modules.

2009/4/17 Knut Staring 

> Sunny and Bharath,
> Can you describe exactly what the dependencies on Mysql in India are? I
> remember this was discussed during the workshop, but cannot recall the
> details.
>
> Knut
>
> 2009/4/16 Lars Helge Øverland 
>
>>
>>
>> 2009/4/16 Saptarshi Purkayastha 
>>
>>> We were just discussing this yesterday that it would be good to give
>>> these to the states... but then since Indian modules are directly using
>>> MySQL, it will be sometime until we can use this.
>>>
>>
>>
>> OK I see.
>>
>> Is the Indian modules very much depending on MySQL specific functions, or
>> could we rewrite this code to use standard SQL only? If so, the
>> org.hisp.dhis.jdbc.StatementBuilder interface (which gives you SQL
>> statements) could be extended and used here. We have a
>> StatementBuilderFactory in the service-jdbc project which will give you an
>> implementation based on which database you are running. I am happy to help
>> out here if you like.
>>
>>
>>
>>
>>
>>
>> ___
>> Mailing list: 
>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : 
>> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Cheers,
> Knut Staring
>
> ___
> Mailing list: 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Regarding Monthwise data for Annual DataElement

2009-03-20 Thread bharath kumar
Thank you Lars, Thank you so much.

2009/3/20 Lars Helge Øverland 

>
>
> 2009/3/19 Lars Helge Øverland 
>
>
>>
>> On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar wrote:
>>
>>> Hi,
>>>
>>> we created one dataelement which is Annual periodtype (say total
>>> population) and Aggregationtype as *SUM*.
>>> For the year 2008 we entered data say 15000.
>>>
>>> In the datamart, we selected that dataelement, orgunit, and all monthly
>>> periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we
>>> are trying to sum the values of all these months it is not matching with
>>> yearly value (ie 15000).
>>>
>>> It seems to be for the months which are 31 days it is taking 30 days and
>>> for the months which are 30 days it is taking 29 days only.
>>>
>>>
>>
> Bharath,
>
> you are completely right. Fixed it, see the log message. There will still
> be a minor deviation due to rounding-off of values (we use one decimal) but
> I guess we can live with that.
>
>
> Lars
>
>
>


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] unable to commit

2009-03-18 Thread bharath kumar
Hi,

While commiting source code I am getting the follwoing exception:

$ bzr commit -m "Added Validations for Linelisting Death,MaternalDeath
Forms"
Unable to obtain lock
lp-45955728:///~dhis2-devs-core/dhis2/trunk/.bzr/branch/lo
ck
held by chbhara...@bazaar.launchpad.net on host crowberry [process #22107]
locked 16 minutes, 42 seconds ago
Will continue to try until 06:07:19, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock
lp-45955728:///~
dhis2-devs-core/dhis2/trunk/.bzr/branch/lock
bzr: ERROR: Could not acquire lock "(remote lock)"


-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 345239] [NEW] Incorrect Monthwise data for Annual DataElement

2009-03-18 Thread Bharath
Public bug reported:

we created one dataelement which is Annual periodtype (say total population) 
and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly
periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when
we are trying to sum the values of all these months it is not matching
with yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and
for the months which are 30 days it is taking 29 days only.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
Incorrect Monthwise data for Annual DataElement
https://bugs.launchpad.net/bugs/345239
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software: New

Bug description:
we created one dataelement which is Annual periodtype (say total population) 
and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly periods 
for 2008 (ie jan-2008 to dec-2008). After datamart export, when we are trying 
to sum the values of all these months it is not matching with yearly value (ie 
15000).

It seems to be for the months which are 31 days it is taking 30 days and for 
the months which are 30 days it is taking 29 days only.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Regarding Monthwise data for Annual DataElement

2009-03-18 Thread bharath kumar
Hi,

we created one dataelement which is Annual periodtype (say total population)
and Aggregationtype as *SUM*.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly
periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we
are trying to sum the values of all these months it is not matching with
yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and for
the months which are 30 days it is taking 29 days only.



-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Unable to select Current Quarterly period selection in DataEntryScreen

2009-03-18 Thread bharath kumar
when is the start of the your quarterly period?
>

Jan2009 to Mar2009 is the Quarter.


>
> The idea is not to let users enter for future periods. if the start date of
> your quarterly period is passed the current date and the period will apper
> in the dataentry.
>

I agree that not to let users entering data for future periods. but for this
quarter its last month (i mean mid march)


> about previous year/period ...it should work. Have you checked the << and
> >> buttons just on top your period list?
>
Both the buttons are disabled.


>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 344752] [NEW] Unable to select Current Quarterly period in DataEntryScreen

2009-03-18 Thread Bharath
Public bug reported:

Unable to select any quarterly time period in current year. This is because the 
first quarter of the year isn't over yet. 
However this is already mid of march and the quarterly data entry could be done 
at any time during the last 2 weeks of march.

Unable to select any quarterly time period in previous year as well. we
should allow the user the option of going back to last year.


It would be good if we allow data entry for the running / current quarter and 
block it for the subsequent/coming quarters

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
Unable to select Current Quarterly period in DataEntryScreen
https://bugs.launchpad.net/bugs/344752
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software: New

Bug description:
Unable to select any quarterly time period in current year. This is because the 
first quarter of the year isn't over yet. 
However this is already mid of march and the quarterly data entry could be done 
at any time during the last 2 weeks of march.

Unable to select any quarterly time period in previous year as well. we should 
allow the user the option of going back to last year.


It would be good if we allow data entry for the running / current quarter and 
block it for the subsequent/coming quarters

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Unable to select Current Quarterly period selection in DataEntryScreen

2009-03-18 Thread bharath kumar
Hi,

Unable to select any quarterly time period in current year. This is because
the first quarter of the year isn't over yet.
However this is already mid of march and the quarterly data entry could be
done at any time during the last 2 weeks of march.

Unable to select any quarterly time period in previous year as well. we
should allow the user the option of going back to last year.


It would be good if we allow data entry for the running / current quarter
and block it for the subsequent/coming quarters




-- 

Regards,
Bharath Kumar. Ch
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp