[Dhis2-devs] Requirement

2013-04-07 Thread Barnali Bhaduri


Dear All,
We have the following requirement for an data element. Please let me know what 
will be the best way to implement it in DHIS2


Say the aggregate data element is ABC for a facility, Facility 1

 
1. On the 1st date (the day when the system starts) for a Facility the 
Admin Facility Staff will enter initial current value of ABC in a data 
entry form (UI-1). Say the initial value is X.

This form will be entered 
1. On the first day of implementation
2. Once in a while when required to manually override the value of ABC 
Facility staff will rarely use UI-1  


Nice to Have requirement:
When the form is edited it will be great to have a time-stamped history of this 
record only if the system automatically does it
.
We will not like to have any "Frequency" (Period) , that needs to be manually 
selected. But as it 
seems a required field, we can make the Frequency Yearly. If that is the case, 
is it possible to have a job that will copy the value of ABC of 
2013 to 2014 at mid-night of 31st December, 2013 automatically? 

2. Ongoing basis the Facility Staff at the Front desk (different from the 
admin staff), will be using another form (UI-2) to increment ABC by 1, 
with a single click

The initial ABC value will come from the UI 1. Say, it is X. 

It will have the following layout 
ABC =  _X__ (not editable) [Increment Button by 1]
The facility staff will click on the increment button. With one click the value 
of ABC will become X + 1.

The facility staff may do this click once, more then once or not at-all on a 
single day. It is not required to capture the time-stamp of these 
clicks.



The requirement is that the staff entry will be ONLY in the form of clicking 
the buttons, nothing else. 
There should be minimal amount of manual data entry required in this screen. If 
any data is required (e.g: Organization Unit) it should be only a 
single value and defaulted by the system (e.g: Organization Unit 
defaulted to Facility 1)

The basic idea of the requirement is as following:

1. The facility admin wants to make this easier for the staff as much as 
possible while wants to keep the duty segregated. 

2. They want to have two UI, one for initialization and manual override and 
other for one click update (not editable) 
3. They are not so concerned about the reporting part. It is good to have 
the audit , history etc to understand the performance of staff, but not 
at the expense of making it difficult for the staff in their already 
burdened day. 

Thanks 

Barnali Banerjee___
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] Period frequency

2013-04-08 Thread Barnali Bhaduri
Dear All,
I have some questions. 
  
1. Why 2013 year is not showing  in the drop down list of period in the
data entry form?
  
2. I do not want to change period every  at time of data entry .How is it 
possible to
invoke automatically.
  
3. How to write aggregate query  builder condition.
  
4. How to show aggregate query builder result.
Please help me, I am in big problem.


 
Thanks 
Barnali Banerjee
 


 From: Barnali Bhaduri 
To: Tran Chau  
Sent: Monday, 8 April 2013 3:08 AM
Subject: Re: [Dhis2-users] Period frequency 
 

Dear Tran Chau ,
 
I have some questions.
  
1. Why 2013 year is not showing  in the drop down list of period in the
data entry form?
  
2. I do not want to change period every  at time of data entry .How is it 
possible to
invoke automatically.
  
3. How to write aggregate query  builder condition.
  
4. How to show aggregate query builder result.
Please help me, I am in big problem.


 
Thanks 
Barnali Banerjee


 From: Tran Chau 
To: Barnali Bhaduri  
Sent: Monday, 25 February 2013 11:23 AM
Subject: Re: [Dhis2-users] how to create resource table
 

Dear Bernali,

The resource tables is used into this module to load/search events faster. You 
can find quick user's guide by clinking question icon in Resource tables 
function.

Runing resource tables before is a good idea. I will and it into the plan of 
version
 2.12

Thank you very much for your idea.

On Monday, February 25, 2013, Barnali Bhaduri  wrote:
> Dear Tran Chau,
>                                        Thank you very much for the step,can 
> you explain me why previously resource tables are not generated.
>  
> Barnali 
> 
> From: Tran Chau 
> To: Barnali Bhaduri 
> Sent: Monday, 25 February 2013 7:01 PM
> Subject: Re: [Dhis2-users] how to create resource table
>
> Dear Barnali,
> Please click on the Add new button. Then enter a report-date in the date 
> field and entry form of Blood bank information system program will displayed 
> below. You can enter data values into fields in entry form. And then click 
> Complete button to finish the case.
> Finally, click on Back to event list link to back main page on the left menu. 
> Please do like this and talk to me if no any event is displayed in list on 
> main page.
> Best regards,
> 
> Châu Thu Trân                               
> HISP Viet Nam
> Email: tran.hispviet...@gmail.com
>
> On Mon, Feb 25, 2013 at 8:06 PM, Barnali Bhaduri  
> wrote:
>
> Thank  you very much Tran Chau,now resource table problem solved,I have 
> entered some data but no results are display system display same as attached 
> file.
>
>  
> Barnali Banerjee
> 
> From: Tran Chau 
> To: Barnali Bhaduri 
> Sent: Monday, 25 February 2013 6:16 PM
> Subject: Re: [Dhis2-users] how to create resource table
>
> Dear Barnali,
>
> You did run the resource tables by accessing Maintenance > Data 
> Administration > Resource table before ?
>
> If you did run and the message still occurs, Please send to me the log file. 
> I can find out the bug by the file. And Please talk to me which version 
> you're using.
>
> Thank you very much.
>
> On Monday, February 25, 2013, Barnali Bhaduri  wrote:
>> Dear Tran Chau,
>>                                     I have follow the same procedure ,but 
>> when I run single event without registration system display the message 
>> "Failed to get events. Please generate resource tables before."
>>  
>> Barnali 
>>
>> Dear Barnali,
>>
>> To create resource table, Please come to
>> Maintenance > Data Administration > Resource table.
>> To run single event without registration, you need to run this before. If 
>> you have any problem for this function, Please contact to me.
>>
>> On Monday, February 25, 2013, Knut Staring  wrote:
>>> Den 25. feb. 2013 11:33 skrev "Barnali Banerjee"  
>>> følgende:
>>>>
>>>> I want to entered the data individual level using Single event without
>>>> registration,but every time I face problem ,"create resource table" even
>>>> ,previously I am created.
>>>> --
>>>> This message was sent from Launchpad by
>>>> Barnali Banerjee (https://launchpad.net/~barnali760)
>>>> using the "Contact this team's admins" lin

[Dhis2-devs] Requirement

2013-04-08 Thread Barnali Bhaduri


 

Dear All,
We have the following requirement for an data element. Please let me know what 
will be the best way to implement it in DHIS2


Say the aggregate data element is ABC for a facility, Facility 1

 
1. On the 1st date (the day when the system starts) for a Facility the 
Admin Facility Staff will enter initial current value of ABC in a data 
entry form (UI-1). Say the initial value is X.

This form will be entered 
1. On the first day of implementation
2. Once in a while when required to manually override the value of ABC 
Facility staff will rarely use UI-1  


Nice to Have requirement:
When the form is edited it will be great to have a time-stamped history of this 
record only if the system automatically does it
.
We will not like to have any "Frequency" (Period) , that needs to be manually 
selected. But as it 
seems a required field, we can make the Frequency Yearly. If that is the case, 
is it possible to have a job that will copy the value of ABC of 
2013 to 2014 at mid-night of 31st December, 2013 automatically? 

2. Ongoing basis the Facility Staff at the Front desk (different from the 
admin staff), will be using another form (UI-2) to increment ABC by 1, 
with a single click

The initial ABC value will come from the UI 1. Say, it is X. 

It will have the following layout 
ABC =  _X__ (not editable) [Increment Button by 1]
The facility staff will click on the increment button. With one click the value 
of ABC will become X + 1.

The facility staff may do this click once, more then once or not at-all on a 
single day. It is not required to capture the time-stamp of these 
clicks.



The requirement is that the staff entry will be ONLY in the form of clicking 
the buttons, nothing else. 
There should be minimal amount of manual data entry required in this screen. If 
any data is required (e.g: Organization Unit) it should be only a 
single value and defaulted by the system (e.g: Organization Unit 
defaulted to Facility 1)

The basic idea of the requirement is as following:

1. The facility admin wants to make this easier for the staff as much as 
possible while wants to keep the duty segregated. 

2. They want to have two UI, one for initialization and manual override and 
other for one click update (not editable) 
3. They are not so concerned about the reporting part. It is good to have 
the audit , history etc to understand the performance of staff, but not 
at the expense of making it difficult for the staff in their already 
burdened day. 

Thanks 

Barnali Banerjee___
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] Requirement

2013-04-09 Thread Barnali Bhaduri
Hi,
   Thank you very much.
   I have one requirement,related to aggregation query builder using 
single event without registration program data element.I try to follow DHIS2 
user guide ,but it is not clear to me,when I try to follow the  step,the test 
condition not run successfully .From where I get the result.

Thanks

Barnali Banerjee



 From: Rodolfo Melia 
To: Barnali Bhaduri  
Cc: "dhis2-devs@lists.launchpad.net"  
Sent: Monday, 8 April 2013 2:00 PM
Subject: Re: [Dhis2-devs] Requirement
 

Hi - you seem to want to use the system for recording individual transactions, 
rather than data reported in a pre-stablished interval using a recurrent 
reporting frequency. Perhaps you should use Single Event without registration?

Regarding your UI requirements, you can create a custom form that could 
incorporate jscript, so you can achieve what you describe in your email.

R



On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri  wrote:

Dear All,
>We have the following requirement for an data element. Please let me know what 
>will be the best way to implement it in DHIS2
>
>
>
>Say the aggregate data element is ABC for a facility, Facility 1
>
> 
>1. On the 1st date (the day when the system starts) for a Facility the 
Admin Facility Staff will enter initial current value of ABC in a data 
entry form (UI-1). Say the initial value is X.
>
>
>This form will be entered 
>1. On the first day of implementation
>2. Once in a while when required to manually override the value of ABC 
>Facility staff will rarely use UI-1  
>
>
>
>Nice to Have requirement:
>When the form is edited it will be great to have a time-stamped history of 
>this record only if the system automatically does it
>.
>We will not like to have any "Frequency" (Period) , that needs to be manually 
>selected. But as it 
seems a required field, we can make the Frequency Yearly. If that is the case, 
is it possible to have a job that will copy the value of ABC of 
2013 to 2014 at mid-night of 31st December, 2013 automatically? 
>
>
>2. Ongoing basis the Facility Staff at the Front desk (different from the 
admin staff), will be using another form (UI-2) to increment ABC by 1, 
with a single click
>
>
>The initial ABC value will come from the UI 1. Say, it is X. 
>
>
>It will have the following layout 
>ABC =  _X__ (not editable) [Increment Button by 1]
>The facility staff will click on the increment button. With one click the 
>value of ABC will become X + 1.
>
>
>The facility staff may do this click once, more then once or not at-all on a 
>single day. It is not required to capture the time-stamp of these 
clicks.
>
>
>
>The requirement is that the staff entry will be ONLY in the form of clicking 
>the buttons, nothing else. 
>There should be minimal amount of manual data entry required in this screen. 
>If any data is required (e.g: Organization Unit) it should be only a 
single value and defaulted by the system (e.g: Organization Unit 
defaulted to Facility 1)
>
>
>The basic idea of the requirement is as following:
>
>1. The facility admin wants to make this easier for the staff as much as 
>possible while wants to keep the duty segregated. 
>
>2. They want to have two UI, one for initialization and manual override and 
>other for one click update (not editable) 
>3. They are not so concerned about the reporting part. It is good to have 
the audit , history etc to understand the performance of staff, but not 
at the expense of making it difficult for the staff in their already 
burdened day. 
>
>
>Thanks 
>
>Barnali Banerjee
>___
>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
>
>


-- 

Rodolfo Meliá
Principal
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia

Note: Please note my new email address, which I will be using for PSI related 
work: rme...@knowming.com___
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] problem in program stage

2013-04-12 Thread Barnali Bhaduri
Dear Lars,
To edit program stage in DHIS2,I am facing the problem,system does not showing 
"Available data elements" list. 
Barnali Banerjee



 From: Lars Helge Øverland 
To: Rodolfo Melia  
Cc: Barnali Bhaduri ; "dhis2-devs@lists.launchpad.net" 
 
Sent: Wednesday, 10 April 2013 9:31 PM
Subject: Re: [Dhis2-devs] Requirement
 




Hi Barnali,

it would be good if could provide some more info re your problem, like the 
aggregation query, potential exceptions - makes it easier to help.

regards,

Lars










On Tue, Apr 9, 2013 at 9:31 PM, Rodolfo Melia  wrote:

Sometimes, if you are simply counting encounters or similar, you may not even 
need to set a condition. If you set a condition, then it must be a full logical 
statement, like gender='female'.
>
>
>
>On Tue, Apr 9, 2013 at 8:10 PM, Barnali Bhaduri  wrote:
>
>Hi,
>>   Thank you very much.
>>   I have one requirement,related to aggregation query builder using 
>>single event without registration program data element.I try to follow DHIS2 
>>user guide ,but it is not clear to me,when I try to follow the  step,the test 
>>condition not run successfully .From where I get the result.
>>
>>Thanks
>>
>>Barnali Banerjee
>>
>>
>>
>> From: Rodolfo Melia 
>>To: Barnali Bhaduri  
>>Cc: "dhis2-devs@lists.launchpad.net"  
>>Sent: Monday, 8 April 2013 2:00 PM
>>Subject: Re: [Dhis2-devs] Requirement
>> 
>>
>>
>>Hi - you seem to want to use the system for recording individual 
>>transactions, rather than data reported in a pre-stablished interval using a 
>>recurrent reporting frequency. Perhaps you should use Single Event without 
>>registration?
>>
>>
>>Regarding your UI requirements, you can create a custom form that could 
>>incorporate jscript, so you can achieve what you describe in your email.
>>
>>
>>R
>>
>>
>>
>>On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri  
>>wrote:
>>
>>Dear All,
>>>We have the following requirement for an data element. Please let me know 
>>>what will be the best way to implement it in DHIS2
>>>
>>>
>>>
>>>Say the aggregate data element is ABC for a facility, Facility 1
>>>
>>> 
>>>1. On the 1st date (the day when the system starts) for a Facility the 
Admin Facility Staff will enter initial current value of ABC in a data 
entry form (UI-1). Say the initial value is X.
>>>
>>>
>>>This form will be entered 
>>>1. On the first day of implementation
>>>2. Once in a while when required to manually override the value of ABC 
>>>Facility staff will rarely use UI-1  
>>>
>>>
>>>
>>>Nice to Have requirement:
>>>When the form is edited it will be great to have a time-stamped history of 
>>>this record only if the system automatically does it
>>>.
>>>We will not like to have any "Frequency" (Period) , that needs to be 
>>>manually selected. But as it 
seems a required field, we can make the Frequency Yearly. If that is the case, 
is it possible to have a job that will copy the value of ABC of 
2013 to 2014 at mid-night of 31st December, 2013 automatically? 
>>>
>>>
>>>2. Ongoing basis the Facility Staff at the Front desk (different from the 
admin staff), will be using another form (UI-2) to increment ABC by 1, 
with a single click
>>>
>>>
>>>The initial ABC value will come from the UI 1. Say, it is X. 
>>>
>>>
>>>It will have the following layout 
>>>ABC =  _X__ (not editable) [Increment Button by 1]
>>>The facility staff will click on the increment button. With one click the 
>>>value of ABC will become X + 1.
>>>
>>>
>>>The facility staff may do this click once, more then once or not at-all on a 
>>>single day. It is not required to capture the time-stamp of these 
clicks.
>>>
>>>
>>>
>>>The requirement is that the staff entry will be ONLY in the form of clicking 
>>>the buttons, nothing else. 
>>>There should be minimal amount of manual data entry required in this screen. 
>>>If any data is required (e.g: Organization Unit) it should be only a 
single value and defaulted by the system (e.g: Organization Unit 
defaulted to Facility 1)
>>>
>>>
>>>The basic idea of the requirement is as following:
>>>
>>>1. The facility admin wants to make this easier for the staff as much as 
>>>possible while w

Re: [Dhis2-devs] problem in program stage

2013-04-12 Thread Barnali Bhaduri
Hi Rodolfo,
                      Thank you for the reply,yes I have  created  data element 
domain type 'Patient',but still the list not display and one processing bar 
display below the 'Available data element' box.
 
Barnali Banerjee



 From: Rodolfo Melia 
To: Barnali Bhaduri  
Cc: Lars Helge Øverland ; "dhis2-devs@lists.launchpad.net" 
 
Sent: Friday, 12 April 2013 11:54 PM
Subject: Re: [Dhis2-devs] problem in program stage
 


Hi Barnali - for a data element to be available for the program stage 
configuration, you need to set the 'Domain Type' of the Data Elements to 
'Patient' - see section  4.1.1.1. Editing data elements of the manual.

http://www.dhis2.org/doc/snapshot/en/user/html/ch04.html#dataElement






On Fri, Apr 12, 2013 at 6:03 PM, Barnali Bhaduri  wrote:

Dear Lars,
>To edit program stage in DHIS2,I am facing the problem,system does not showing 
>"Available data elements" list. 
>Barnali Banerjee
>
>
>____________
> From: Lars Helge Øverland 
>To: Rodolfo Melia  
>Cc: Barnali Bhaduri ; "dhis2-devs@lists.launchpad.net" 
> 
>Sent: Wednesday, 10 April 2013 9:31 PM
>Subject: Re: [Dhis2-devs] Requirement
> 
>
>
>
>
>Hi Barnali,
>
>
>it would be good if could provide some more info re your problem, like the 
>aggregation query, potential exceptions - makes it easier to help.
>
>
>regards,
>
>
>Lars
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>On Tue, Apr 9, 2013 at 9:31 PM, Rodolfo Melia  wrote:
>
>Sometimes, if you are simply counting encounters or similar, you may not even 
>need to set a condition. If you set a condition, then it must be a full 
>logical statement, like gender='female'.
>>
>>
>>
>>On Tue, Apr 9, 2013 at 8:10 PM, Barnali Bhaduri  
>>wrote:
>>
>>Hi,
>>>   Thank you very much.
>>>   I have one requirement,related to aggregation query builder using 
>>>single event without registration program data element.I try to follow DHIS2 
>>>user guide ,but it is not clear to me,when I try to follow the  step,the 
>>>test condition not run successfully .From where I get the result.
>>>
>>>Thanks
>>>
>>>Barnali Banerjee
>>>
>>>
>>>
>>> From: Rodolfo Melia 
>>>To: Barnali Bhaduri  
>>>Cc: "dhis2-devs@lists.launchpad.net"  
>>>Sent: Monday, 8 April 2013 2:00 PM
>>>Subject: Re: [Dhis2-devs] Requirement
>>> 
>>>
>>>
>>>Hi - you seem to want to use the system for recording individual 
>>>transactions, rather than data reported in a pre-stablished interval using a 
>>>recurrent reporting frequency. Perhaps you should use Single Event without 
>>>registration?
>>>
>>>
>>>Regarding your UI requirements, you can create a custom form that could 
>>>incorporate jscript, so you can achieve what you describe in your email.
>>>
>>>
>>>R
>>>
>>>
>>>
>>>On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri  
>>>wrote:
>>>
>>>Dear All,
>>>>We have the following requirement for an data element. Please let me know 
>>>>what will be the best way to implement it in DHIS2
>>>>
>>>>
>>>>
>>>>Say the aggregate data element is ABC for a facility, Facility 1
>>>>
>>>> 
>>>>1. On the 1st date (the day when the system starts) for a Facility the 
Admin Facility Staff will enter initial current value of ABC in a data 
entry form (UI-1). Say the initial value is X.
>>>>
>>>>
>>>>This form will be entered 
>>>>1. On the first day of implementation
>>>>2. Once in a while when required to manually override the value of ABC 
>>>>Facility staff will rarely use UI-1  
>>>>
>>>>
>>>>
>>>>Nice to Have requirement:
>>>>When the form is edited it will be great to have a time-stamped history of 
>>>>this record only if the system automatically does it
>>>>.
>>>>We will not like to have any "Frequency" (Period) , that needs to be 
>>>>manually selected. But as it 
seems a required field, we can make the Frequency Yearly. If that is the case, 
is it possible to have a job that will copy the value of ABC of 
2013 to 2014 at mid-night of 31st December, 2013 automatically? 
>>>>
>>>>
>>>>2. Ongoing

Re: [Dhis2-devs] Period

2013-04-16 Thread Barnali Bhaduri
Dear Tran Chatu,
  Is it possible at the time of data entry period 
showing only current period, no need to select from the drop down list.
Example.
Suppose frequency of the dataset may be 'yearly'.At the time of data entry 
period display '2013' automaticaly,no need to select from drop down list.

 

It is possible to run scheduled  job every one second or customize the 
scheduled job ,if yes then how.

Regards 

Barnali Banerjee



 From: Tran Chau 
To: Barnali Bhaduri  
Cc: Lars Helge Øverland ; DHIS 2 developers 
 
Sent: Monday, 15 April 2013 9:06 AM
Subject: [Dhis2-devs] Requirement
 


Dear Barnali,

The Automated Aggregation function is a tool for automatically scheduling to 
run on regular intervals. At every midnight, this job runs and get all datasets 
which have data elements defined into Aggregate Query Builder formulas. The 
result is datavalues save in database.

Click Start button to enable the scheduled job to run at mid-night. It means 
data value will be updated after every night. Or we can run immediately by 
pressing Execute button.

Please try to open data entry form of the datasets to see the aggregate result.



On Monday, April 15, 2013, Barnali Bhaduri  wrote:
> Dear Tran Chau,
>   Thank you very much for all the help and all the 
> suggestion. Now I am understood the 'Aggregation query builder ' process.
>    After 'Save' the 'Aggregation query builder' there 
> is any automatic result  generation process.I was try with ' Automated 
> Aggregation'   
>     but the result was not updating.In my project 
> every time aggregated result will be generated automatically.
>
>  
> Barnali Banerjee
> 
> From: Rajib Sengupta 
> To: Tanusree Bag ; Barnali Bhaduri 
> 
> Sent: Monday, 15 April 2013 3:02 AM
> Subject: Fw: [Dhis2-devs] Fwd: Re: Requirement
>
>
> - Forwarded Message -
> From: Tran Chau 
> To: Lars Helge Øverland 
> Cc: DHIS 2 developers 
> Sent: Thursday, April 11, 2013 8:05 PM
> Subject: Re: [Dhis2-devs] Fwd: Re: Requirement
>
> Dear Barnali,
> @Suppose I have one data element Gender,I want to count Total Female and show 
> the result.,
> I assume that :
> 1. Patient data element which you want to define a formula is Patient-Gender. 
> This data element links to  an optionset with defined values as Female, Male, 
> Unknown.
> 2. The name of your program is P
> 3. The stage of program P which included patient data value Patient-Gender is 
> S
> 4. Aggregate data element which you want to put the aggregate result after 
> running this formula is Gender.
> 5. The name of data set which includes data element Gender is D.
>
> I. To define an aggregate query builder formula, please select menu 
> Maintenance > Persons and Programs > Aggregation Query Builder link on left 
> menu
> .
> In Create new aggregation query builder form, 
>
> Name - Provide name of query, this name is usually same with the name of 
> aggregate data element, such as Total Female.
> Dataset - Select dataset D
> Data element - Gender.
> Operator - In your case, select the option Number of persons
> Program - Select program P
> Program Stage - Select program stage S.
> Data element for sum/average/min/max - Ignore this field.
> In Data elements tab: Select data element Patient-Gender
>
> Click on button =
>
> In Condition section, type 'Female' after = sign
>
> Click Save button.
>
> II. To run this formula, please come to Services > Individual Records > 
> Manual Person Aggregation
> 1. Select data set D
> 2. Select the date range. The system will generate period list based on date 
> range and period type of data set D. E.g If data set D has period type is 
> monthly, you select 2013-03-11 --> 2013-04-11, you will have two periods for 
> running are March 2013 and April 2013.
> 3. Select orgunit where you want want to count Total Female.
> 4. Click Aggregate and Save button to calculate result and save it as a data 
> value of data element Gender. These data values are calculated by the 
> selected orgunit ( on step 3 ), periods created ( on step 2 ) and data 
> element Gender.
> 
> Hope this can help you. Please contact me if you have any question.
>
> Best regards,
> 
> Châu Thu Trân                               
> HISP Viet Nam
> Email: tran.hispviet...@gmail.com
>
> On Thu, Apr 11, 2013 at 2:44 PM, Lars Helge Øverland  
> wrote:
>
> -- Forwarded message --
> From: "Barnali Bhaduri" <
>
>


Re: [Dhis2-devs] Defualt data entry period

2013-04-19 Thread Barnali Bhaduri
Dear All,
   Is it possible to showing only 'Current Period' in the 'data 
entry' form?

  I mean to say.

  Suppose  the frequency of the data entry form is "daily" then 
period showing  current date by default no need to select from 

  drop down menu.

  Please help me.

 
Barnali Banerjee



 From: Lars Helge Øverland 
To: Barnali Bhaduri  
Cc: Tran Chau ; Morten Olav Hansen 
 
Sent: Wednesday, 17 April 2013 4:52 AM
Subject: Re: [Dhis2-devs] Period
 


No that will also be too often.. At the moment we only support daily 
scheduling. We could maybe support something like hourly, but I think this will 
be too much as the data volume grows..



On Wed, Apr 17, 2013 at 9:31 AM, Barnali Bhaduri  wrote:

Hi Lars,
>
>Ok,thank you very much.
>I have been created a 'aggregate query' and I have one program with "Single 
>event without registration".
>I want to 'Execute' this query every time after completion of 'Individual 
>record' entry.
>Is it possible?If yes,please let me know the procedure. 
>
> 
>Regards
>
>Barnali Banerjee
>
>
>
> From: Lars Helge Øverland 
>To: Barnali Bhaduri  
>Cc: Tran Chau ; Morten Olav Hansen 
> 
>Sent: Tuesday, 16 April 2013 2:38 PM
>Subject: Re: [Dhis2-devs] Period
> 
>
>
>Hi Barnali,
>
>
>I don't think running queries every second is a good idea... Will eat all of 
>the server resources and make the system slow.
>
>
>
>On Tue, Apr 16, 2013 at 8:03 PM, Barnali Bhaduri  
>wrote:
>
>ok Tran, I mean to say "Aggregation query builder scheduled job".
>>"Every one second" mean "I want to execute automatic aggregation every second 
>>automatically"
>> 
>>Regards
>>Barnali Banerjee
>>
>>
>>
>> From: Tran Chau 
>>To: Barnali Bhaduri  
>>Cc: Lars Helge Øverland ; Morten Olav Hansen 
>> 
>>Sent: Tuesday, 16 April 2013 6:54 PM
>>Subject: Re: [Dhis2-devs] Period
>> 
>>
>>
>>Dear Barnali,
>>
>>
>>@ Is it possible at the time of data entry period showing only current 
>>period, no need to select from the drop down list.
>>Example.
>>Suppose frequency of the dataset may be 'yearly'.At the time of data entry 
>>period display '2013' automaticaly,no need to select from drop down list.
>>
>> 
>>Sorry, I cannot answer this. It looks like a requirement. I think Morten or 
>>Lars can reply this.
>>
>>
>>
>>@It is possible to run scheduled  job every one second or customize the 
>>scheduled job ,if yes then how.
>>
>>
>>Which scheduled job you're talking about is ? You mean data mart ( schedule 
>>job for datavalues ) OR Aggregation query builder scheduled job ?
>>
>>
>>And what do you mean about "every one second" ?
>>
>>
>>
>>
>>
>>
>>Best regards,
>>
>>Châu Thu Trân                                
>>HISP Viet Nam
>>Email: tran.hispviet...@gmail.com
>>
>>
>>On Tue, Apr 16, 2013 at 4:50 PM, Barnali Bhaduri  
>>wrote:
>>
>>Dear Tran Chatu,
>>>  Is it possible at the time of data entry 
>>>period showing only current period, no need to select from the drop down 
>>>list.
>>>Example.
>>>Suppose frequency of the dataset may be 'yearly'.At the time of data entry 
>>>period display '2013' automaticaly,no need to select from drop down list.
>>>
>>> 
>>>
>>>It is possible to run scheduled  job every one second or customize the 
>>>scheduled job ,if yes then how.
>>>
>>>Regards 
>>>
>>>Barnali Banerjee
>>>
>>>
>>>
>>> From: Tran Chau 
>>>To: Barnali Bhaduri  
>>>Cc: Lars Helge Øverland ; DHIS 2 developers 
>>> 
>>>Sent: Monday, 15 April 2013 9:06 AM
>>>Subject: [Dhis2-devs] Requirement
>>> 
>>>
>>>
>>>Dear Barnali,
>>>
>>>The Automated Aggregation function is a tool for automatically scheduling to 
>>>run on regular intervals. At every midnight, this job runs and get all 
>>>datasets which have data elements defined into Aggregate Query Builder 
>>>formulas. The result is datavalues save in database.
>>>
>>>Click Start button to enabl

[Dhis2-devs] Automatically copy data from current period to new period

2013-04-20 Thread Barnali Bhaduri
Hello,

We want to achieve the following in DHIS2:  At Mid night of period end we want 
to copy data from 
the current period to new period automatically without any user 
intervention

As an example, For OrgUnit Z and Dataset X,  frequency is "Yearly" which have 
two Data Elements A and B. 
Current period is 2013. And the values of A and B for 2013 is 5 and 7 for 
Orgunit Z. At midnight of 31st Dec 2013, we want the data element of A 
and B values (i.e. 5 and 7) will be copied to next period 2014.
So now when the data entry staff open the dataset X for period 2014 it will 
show value of 5 and 7 for A and B.

Please let us know the best possible option to achieve this in DHIS2.

Thanks,
Barnali___
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] Automatically copy data from current period to new period

2013-04-23 Thread Barnali Bhaduri
Thank you very much Lars.It will be very helpful for us.

 
Regards

Barnali 



 From: Lars Helge Øverland 
To: Barnali Bhaduri  
Cc: "dhis2-devs@lists.launchpad.net"  
Sent: Saturday, 20 April 2013 8:44 AM
Subject: Re: [Dhis2-devs] Automatically copy data from current period to new 
period
 


Hello Barnali,

thanks for your request. Currently we have no plans to support such a 
requirement. However, this should not be hard to accomplish through an external 
script. You could use the web api to pull out the values you need, save it, 
change the year of the data value set and push the values back in using curl or 
other http clients. Since it only happens once a year you may consider 
triggering the script manually.

Documentation here:

http://dhis2.org/doc/snapshot/en/user/html/ch25.html


regards,

Lars





On Sat, Apr 20, 2013 at 11:44 AM, Barnali Bhaduri  
wrote:

Hello,
>
>
>We want to achieve the following in DHIS2:  At Mid night of period end we want 
>to copy data from 
the current period to new period automatically without any user 
intervention
>
>
>As an example, For OrgUnit Z and Dataset X,  frequency is "Yearly" which have 
>two Data Elements A and B. 
>Current period is 2013. And the values of A and B for 2013 is 5 and 7 for 
Orgunit Z. At midnight of 31st Dec 2013, we want the data element of A 
and B values (i.e. 5 and 7) will be copied to next period 2014.
>So now when the data entry staff open the dataset X for period 2014 it will 
>show value of 5 and 7 for A and B.
>
>
>Please let us know the best possible option to achieve this in DHIS2.
>
>
>Thanks,
>Barnali
>
> 
>
>
>___
>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


[Dhis2-devs] Button Image

2013-06-10 Thread Barnali Bhaduri
Dear All,
                Is it possible a button image can be used in the custom form 
DHIS2? If it is possible,please let me know the steps.

Thanks
Barnali Banerjee


___
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] System turn to offline when run the script

2013-08-23 Thread Barnali Bhaduri
Hi Sir,
     
         I have been written following java script in
custom form dhis2 dataset, when I try to entering the data  in the form ,system 
have turn to offline .Please
check the my script and give  me my suggestion.

    
var ctvsa="Wuin0SXuPNj-Y8qBmhmsqyj-val";
var ema="QWNLnXFyksX-Y8qBmhmsqyj-val";
var hdua="yYtnZv1vGl7-Y8qBmhmsqyj-val";
var iccua="SIsEeVOISOS-Y8qBmhmsqyj-val";
var ituaa="xpjyW71hK6m-Y8qBmhmsqyj-val";
var ituba="vcgdbpDugas-Y8qBmhmsqyj-val";
var ituca="Tpck07W8Eze-Y8qBmhmsqyj-val";
var nicua="hsRySAvLXBi-Y8qBmhmsqyj-val";
var scbua="BG6u5O3arQ0-Y8qBmhmsqyj-val";
function intval()
{
 
$("#"+ctvsa).val(parseInt($("#"+ctitua).val(0)));
$("#"+ema).val(parseInt($("#"+ema).val(0)));
$("#"+hdua).val(parseInt($("#"+hdua).val(0)));
$("#"+iccua).val(parseInt($("#"+iccua).val(0)));
$("#"+ituaa).val(parseInt($("#"+ituaa).val(0)));
$("#"+ituba).val(parseInt($("#"+ituba).val(0)));
$("#"+ituca).val(parseInt($("#"+ituca).val(0)));
$("#"+scbua).val(parseInt($("#"+scbua).val(0)));
 
 
};
$(document).ready(function() {
$("#btn_ptin_ctvs").on('click',function(){
 $("#"+ctvsa).val(parseInt($("#"+ctvsa).val())-1);
       
       
if(parseInt($("#"+ctvsa).val())<0)
    {
 $("#"+ctvsa).val(parseInt($("#"+ctvsa).val())+1);
    
  alert("Error Message :No Avialable Bed For CTVS");
    }
       
 $("#"+ctvsa).change();
    
});
$("#btn_ptout_ctvs").on('click',function(){
       
$("#"+ctvsa).val(parseInt($("#"+ctvsa).val())+1);  
     
          
       
 $("#"+ctvsa).change();
        
});
$("#btn_ptin_em").on('click',function(){
    $("#"+ema).val(parseInt($("#"+ema).val())-1);    
  if(parseInt($("#"+ema).val())<0)
    {
 $("#"+ema).val(parseInt($("#"+ema).val())+1);
    
  alert("Error Message :No Avialable Bed For EMS");
    }   
 $("#"+ema).change();
    
});
$("#btn_ptout_em").on('click',function(){
        $("#"+ema).val(parseInt($("#"+ema).val())+1);
       
          
       
 $("#"+ema).change();
        
});
$("#btn_ptin_hdu").on('click',function(){
    $("#"+hdua).val(parseInt($("#"+hdua).val())-1);    
   if(parseInt($("#"+hdua).val())<0)
    {
 $("#"+hdua).val(parseInt($("#"+hdua).val())+1);
    
  alert("Error Message :No Avialable Bed For HDU");
    }
 $("#"+hdua).change();
    
});
$("#btn_ptout_hdu").on('click',function(){
        $("#"+hdua).val(parseInt($("#"+hdua).val())+1);
       
          
       
 $("#"+hdua).change();
        
});
$("#btn_ptin_iccu").on('click',function(){
    $("#"+iccua).val(parseInt($("#"+iccua).val())-1);    
   if(parseInt($("#"+iccua).val())<0)
    {
 $("#"+iccua).val(parseInt($("#"+iccua).val())+1);
    
  alert("Error Message :No Avialable Bed For ICCU");
    }
 $("#"+iccua).change();
    
});
$("#btn_ptout_iccu").on('click',function(){
       
$("#"+iccua).val(parseInt($("#"+iccua).val())+1);  
     
          
       
 $("#"+iccua).change();
        
});
$("#btn_ptin_itua").on('click',function(){
    $("#"+ituaa).val(parseInt($("#"+ituaa).val())-1);    
   if(parseInt($("#"+ituaa).val())<0)
    {
 $("#"+ituaa).val(parseInt($("#"+ituaa).val())+1);
    
  alert("Error Message :No Avialable Bed For ITU A");
    }
 $("#"+ituaa).change();
    
});
$("#btn_ptout_itua").on('click',function(){
       
$("#"+ituaa).val(parseInt($("#"+ituaa).val())+1);  
     
          
       
 $("#"+ituaa).change();
        
});
$("#btn_ptin_itub").on('click',function(){
    $("#"+ituba).val(parseInt($("#"+ituba).val())-1);    
   if(parseInt($("#"+ituba).val())<0)
    {
 $("#"+ituba).val(parseInt($("#"+ituba).val())+1);
    
  alert("Error Message :No Avialable Bed For ITU B");
    }
 $("#"+ituba).change();
    
});
$("#btn_ptout_itub").on('click',function(){
       
$("#"+ituba).val(parseInt($("#"+ituba).val())+1);  
     
          
       
 $("#"+ituba).change();
        
});
$("#btn_ptin_ituc").on('click',function(){
    $("#"+ituca).val(parseInt($("#"+ituca).val())-1);    
   if(parseInt($("#"+ituca).val())<0)
    {
 $("#"+ituca).val(parseInt($("#"+ituca).val())+1);
    
  alert("Error Message :No Avialable Bed For ITU C");
    }
 $("#"+ituca).change();
    
});
$("#btn_ptout_ituc").on('click',function(){
       
$("#"+ituca).val(parseInt($("#"+ituca).val())+1);  
     
          
       
 $("#"+ituca).change();
        
});
$("#btn_ptin_nicu").on('click',function(){
    $("#"+nicua).val(parseInt($("#"+nicua).val())-1);    
   if(parseInt($("#"+nicua).val())<0)
    {
 $("#"+nicua).val(parseInt($("#"+nicua).val())+1);
    
  alert("Error Message :No Avialable Bed For NICU");
    }
 $("#"+nicua).change();
    
});
$("#btn_ptout_nicu")

[Dhis2-devs] Javascript goes to offline

2013-08-24 Thread Barnali Bhaduri
Dear All,
               Please help me .
               I am trying to create a custom form with 9 dataelement.onchange 
event of the dataelement call the oc_avb() function ,which check that 
dataelement value become "NaN " or "Negative" ,if it is true it is replace by 
"0".

It is work perfectly but system become slow and system goes to off line mode.
Any one please help to rectify the error. 


/* This function is call onchange event of  dataelement and checked if the 
dataelement value become NaN it replace by '0' and if dataelement value become 
negetive replace by '0'*/
function oc_avb(cgid){
                        v2=$("#"+cgid).val();
                          if(isNaN(v2)||v2<0)
                              {
                               $("#"+cgid).val(0);
                              }
                                                     
                           if (v2>=0)  
                          { $("#"+cgid).val(v2);
                          }
                        $("#"+cgid).change(); 
 };  
 };  

   





Bed Type

Available Bed




Cardiothoracic And Vascular Surgery Intensive Therapy Unit(CTVS 
ITU)







Emergency Bed(EM Bed)







High DependencyUnit(HDU)







Intensive Cradiac Care Unit (ICCU)







Intensive Therapy Unit A(ITU A)







Intensive Therapy Unit B(ITU B)







Intensive Therapy Unit C(ITU C)







Neonatal Intensive Care Unit (NICU)







Special Care Baby Unit(SCBU)







 

 Thanks
Barnali Banerjee



 From: Lars Helge Øverland 
To: easy  
Cc: DHIS 2 developers  
Sent: Friday, 23 August 2013 12:35 PM
Subject: Re: [Dhis2-devs] how to order in chart module?
 


Okay that makes sense to me.

I have written up a blueprint here:

https://blueprints.launchpad.net/dhis2/+spec/visualizer-chart-sort


Will try to get it in for 2.13 (2.14 if not).

Lars




On Sat, Aug 17, 2013 at 2:06 AM, easy  wrote:

Hi,sir,
>  Thanks,
>   for example, I want make a chart about patients number for a year and some 
>organziations,  order  from high to low, if have multiple series, I can 
>specify some serie to order.
>
>
>
>
>
>
>--
>
>此致
>
>easy
>
>莫愁前路无知己,天下谁人不识君。
>
>At 2013-08-16 17:52:59,"Lars Helge Øverland"  wrote:
>
>Hi easy,
>>
>>
>>we don't support that at the moment. But it is a requirement request we get 
>>frequently. 
>>
>>
>>Can you explain a bit more detailed how you want the sorting to work? The 
>>tricky thing is to sort when you have multiple series and multiple categories 
>>- how would you like that to work?
>>
>>
>>Any others with views on this?
>>
>>
>>regards,
>>
>>
>>Lars
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>On Fri, Aug 16, 2013 at 2:30 AM, easy  wrote:
>>
>>Hi,sir,
>>>
>>>
>>>   I want to order the chart value, how to do ?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>--
>>>
>>>此致
>>>
>>>  easy
>>>
>>>莫愁前路无知己,天下谁人不识君。
>>>
>>>
>>>___
>>>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