Re: [Dhis2-users] Tracker capture not responding on chrome

2016-09-27 Thread Hannan Khan
I have similar problem and after clearing the cache the problem is still
there. Need attention of our tracker team.

[image: Inline image 1]
There is no error log in the tomcat but I find error in the script which is

Uncaught TypeError: Cannot read property 'programStageDataElements' of
undefined
at http://103.247.238.82:8080/dhismohfw/dhis-web-event-captu
re/scripts/event-capture.js:239:61
at Array.forEach (native)
at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
at Object. (http://103.247.238.82:8080/dh
ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
cripts/jQuery/jquery.min.js:2:16920)
at Object.fireWith (http://103.247.238.82:8080/dh
ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
at Object.fire (http://103.247.238.82:8080/dh
ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
cripts/jQuery/jquery.min.js:2:16920)
at Object.fireWith (http://103.247.238.82:8080/dh
ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)

I am using DHIS2 version 2.22 release d031d6c.

Regards

Hannan

On Mon, Sep 26, 2016 at 4:50 PM, Djibril Dione  wrote:

> it is working now after cleared the cache.
>
> thank
>
> On Mon, Sep 26, 2016 at 12:21 PM, Djibril Dione  wrote:
>
>> it is working now after cleared the cache.
>>
>> thanks
>>
>> Djibril
>>
>> On Mon, Sep 26, 2016 at 12:02 PM, Knut Staring  wrote:
>>
>>> Ok, then please clear your cache like Abyot suggested. Instructions here:
>>>
>>> https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache
>>>
>>>
>>>
>>> On Mon, Sep 26, 2016 at 12:00 PM, Djibril Dione 
>>> wrote:
>>>
 Sorry. I am using DHIS 2.24 and chrome 53.0.2785.
 I have used the online demo to not getting any issue.


 Djibril

 On Mon, Sep 26, 2016 at 11:53 AM, Knut Staring 
 wrote:

> Hi Djibril,
>
> Version of DHIS? Version of Chrome? Do you see the same problem in the
> online demo, https://play.dhis2.org/demo?
>
> Knut
>
> On Mon, Sep 26, 2016 at 11:50 AM, Djibril Dione 
> wrote:
>
>> Hi All,
>> I have set up a tracker program and wanted to capture some data but
>> it keeps showing "loading metadata". when I inspect I get this attached
>> errors.
>> I used Firefox and it works perfectly
>>
>> Anybody else having the same problem?
>>
>> Kind regards
>> Djibril
>>
>> *This message and any attachments are subject to a disclaimer
>> published at http://www.hisp.org/policies.html#comms_disclaimer
>> .  Please read the
>> disclaimer before opening any attachment or taking any other action in
>> terms of this electronic transmission.  If you cannot access the
>> disclaimer, kindly send an email to disclai...@hisp.org
>>  and a copy will be provided to you. By replying to
>> this e-mail or opening any attachment you agree to be bound by the
>> provisions of the disclaimer.*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>


 *This message and any attachments are subject to a disclaimer published
 at http://www.hisp.org/policies.html#comms_disclaimer
 .  Please read the
 disclaimer before opening any attachment or taking any other action in
 terms of this electronic transmission.  If you cannot access the
 disclaimer, kindly send an email to disclai...@hisp.org
  and a copy will be provided to you. By replying to
 this e-mail or opening any attachment you agree to be bound by the
 provisions of the disclaimer.*

>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any 

Re: [Dhis2-users] Reg: DHIS2 docker instance.

2016-09-27 Thread Paulo Grácio
Hi Nalinikanth,

is there any reason to keep a separate repo with these tests? It would be
nice to have the tests as part of https://github.com/dhis2/api-tests
There is also a pipeline to execute the tests in Travis
https://travis-ci.org/dhis2/api-tests

Docker image build is also automated, runs once per day, and is publishing
images to Docker Hub https://hub.docker.com/r/dhis2/dhis2-web/tags/

Best regards,
Paulo

On Tue, Sep 27, 2016 at 2:41 PM Nalinikanth Meesala <
nali...@thoughtworks.com> wrote:

> Hi Jason & Paulo,
>
> Hope you are doing good.
>
> It has been a long time! We are writing tests for metadata sync. All the
> tests are added to the repo here 
> .
>
> In the above repository navigate to the
> path API_Test/testcases/metadatasync/integration/
>
> there is a generic test “ImportMetadataTest" which we wrote for testing
> how various types of metadata entities will sync from HQ/central instance
> to local/field.
>
> There are two ways of running the test
>
> 1. To run this test without any database on HQ and Local.
>
> To test how sync is behaving with respect to various metadata entities on
> two new instances without any data model on it. All we need is to have
> metadata versions in this folder -
> API_Test/testdata/metadatasync/versiondata
>
> We can have any number of versions in the folder. It depends on how user
> wants metadata sync to happen or what all metadata associations or
> disassociations user wants to test. For now I kept two version files.
>
> To run the test for Version_1 run this should be run using "env
> version="Version_2" mocha ImportMetadataTest.js --timeout 2” which is
> can be added to a shell script to run version one after the other like it
> is in integrationTestsWithoutDB.sh file. This will first import data on
> HQ/Central instance using import api and then Local/field instance will
> sync the version from HQ.
>
> Once the version is synced to Local/Field then we are doing two tests.
> One is asserting the data in
>
> http://*local*/api/metadata/version/Version_1/data with 
> http://*HQ*/api/metadata/version/Version_1/data
> by comparing them.
>
> Later it will compare all the entities(which are present in that version)
> individually say we have a array of data elements then it will pick all the
> data elements and compare one by one and continues for other entities as
> well.
>
> e.g: It will compare http://*local*/api/dataElements/id with http://*HQ*
> /api/dataElements/id
>
> 2. To test how sync is behaving with respect to various metadata entities
> on two instances where HQ already have n versions[Pre defined database]. We
> are using the same script to import version by version. It will also do a
> couple of assertions on top of the metadata when synced. The first
> assertion being same as above it will compare the data in 
> http://*local*/api/metadata/version/Version_1/data
> with http://*HQ*/api/metadata/version/Version_1/data.
>
> But the next level comparison is a bit different it will compare the
> entities by fetching the entity data which is present in
>
> http://*local*/api/metadata/version/Version_1/data with http://*local*
> /api/dataElements/id
>
> Here there won’t be entire json for any entity on 
> http://*local*/api/metadata/version/Version_1/data
> this will contain very limited details we are just comparing the minimal
> entities getting them from Local/Field using jsonfilters in api call.
>
> We had this kind of assertions because say user has Version_1 and has a
> data element abcd1234 and the name might have changed in Version_2
>  abcd12345 as HQ has got n versions in it so if we want to compare json of
> it on both HQ and Local we have different names so we took this approach.
>
> Can you please have a look at this and let me know if any changes are
> required.
>
> Thanks & Regards,
>
> Nalinikanth M
>
>
> On Thu, Aug 18, 2016 at 11:32 AM, Nalinikanth Meesala <
> nali...@thoughtworks.com> wrote:
>
>> Hey All,
>>
>> I am Nalinikanth, QA on the MSF-OCA project and we are using DHIS2. We
>> are building  API automation suites as a part of our project. We are
>> working along with Jason. P and Paulo. We have been discussing on how to
>> take this forward and you can find our discussions thread in this mail.
>>
>> Please do comment or provide feedback if you have any ideas or thoughts
>> around the same.
>> I am attaching the repos as well for your reference.
>>
>> https://github.com/msf-oca-his/API_Test
>>
>> https://github.com/dhis2/api-tests
>>
>> Feedback from the community would be well appreciated.
>>
>> Thanks & Regards,
>> Nalinikanth
>>
>>
>> On Wed, Aug 10, 2016 at 3:41 PM, Vanya Seth 
>> wrote:
>>
>>> Hi All
>>>
>>> It makes sense to make this discussion public. So, that  other members
>>> of the community can also provide their inputs.
>>>
>>> Regards
>>> Vanya
>>>
>>> On Tue, Aug 9, 2016 at 1:36 AM, Paulo Grácio 
>>> wrote:
>>>
 

Re: [Dhis2-users] [Dhis2-devs] [HELP] Timezone impact of DHIS Server

2016-09-27 Thread Victor Garcia
Hi Sultan Ahamar,

in MSF-OCBA our servers in field have the default timezone of the region.
We decide to do that because we have some scripts (like backups and,
sometimes, server reboots) that must be run at night. In this way we can
have the same server configuration for all of them.

But next year we plan to use metadata sync functionality, and metadata
versions have a timestamp generated locally that could become an issue with
different timezones... We need to assess that yet

Regards,
Víctor

On 27 September 2016 at 12:17, Sultanahamar Mohammad <
sult...@thoughtworks.com> wrote:

> Hi All,
>
> We are about to implement DHIS in two level hierarchy one server hosted in
> cloud and several other DHIS instances in fields where data is collected
> and synced with cloud instance. In this regard, we want to understand on
> how each of you are working out with the timezones of server machines. Is
> every DHIS server is configured to follow UTC or they have their default
> timezone of the region.
> Please reply us with your valuable suggestions. Each response is very
> important as they would help us achieve deploying DHIS in the right way
> from the start.
>
> Regards,
> Sultan Ahamar.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Clearing cache is going to help when there are metadata changes.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 2:15 PM, Hannan Khan  wrote:

> Thanks Abyot.
>
> I tried several times clearing cache and using incognito mode as well.
>
> Tried several version  including the new release, version 2.22 release
> d031d6c.
>
> I am not sure if any metadata changed. But meta data changed how could we
> solve the problem?
>
> Regards
>
> Hannan
>
> On Tue, Sep 27, 2016 at 6:09 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Hannan,
>>
>> Which version are you using?
>>
>> Seems you have had metadata change. Check if all your programs have
>> program stage and for the program stages to have data elements assigned to
>> them.
>>
>> Also, can you clear your browser cache and try one more time?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:
>>
>>> Dear All
>>>
>>> Suddenly from few days ago out event capture is not loading. Only
>>> country Orgunit loaded and showing 'Loading meta-data'.
>>>
>>> [image: Inline image 1]
>>>
>>> There is no error log in the tomcat but I find error in the script which
>>> is
>>>
>>> Uncaught TypeError: Cannot read property 'programStageDataElements' of
>>> undefined
>>> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/
>>> scripts/event-capture.js:239:61
>>> at Array.forEach (native)
>>> at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
>>> at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
>>> at Object. (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>> at Object.fire (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>>
>>> Please help me to resolve the problem.
>>>
>>> Muhammad Abdul Hannan Khan
>>> Secretary
>>> HISP Bangladesh
>>>
>>> T +880-2- 8816459, 8816412 ext 118
>>> F +88 02 8813 875
>>> M+88 01819 239 241
>>> M+88 01534 312 066
>>> E hann...@gmail.com
>>> S hannan.khan.dhaka
>>> B hannan-tech.blogspot.com
>>> L https://bd.linkedin.com/in/hannankhan
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Hannan Khan
Thanks Abyot.

I tried several times clearing cache and using incognito mode as well.

Tried several version  including the new release, version 2.22 release
d031d6c.

I am not sure if any metadata changed. But meta data changed how could we
solve the problem?

Regards

Hannan

On Tue, Sep 27, 2016 at 6:09 PM, Abyot Asalefew Gizaw 
wrote:

> Hi Hannan,
>
> Which version are you using?
>
> Seems you have had metadata change. Check if all your programs have
> program stage and for the program stages to have data elements assigned to
> them.
>
> Also, can you clear your browser cache and try one more time?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:
>
>> Dear All
>>
>> Suddenly from few days ago out event capture is not loading. Only country
>> Orgunit loaded and showing 'Loading meta-data'.
>>
>> [image: Inline image 1]
>>
>> There is no error log in the tomcat but I find error in the script which
>> is
>>
>> Uncaught TypeError: Cannot read property 'programStageDataElements' of
>> undefined
>> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/
>> scripts/event-capture.js:239:61
>> at Array.forEach (native)
>> at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
>> at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
>> at Object. (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>> cripts/jQuery/jquery.min.js:2:16920)
>> at Object.fireWith (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>> at Object.fire (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>> cripts/jQuery/jquery.min.js:2:16920)
>> at Object.fireWith (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>
>> Please help me to resolve the problem.
>>
>> Muhammad Abdul Hannan Khan
>> Secretary
>> HISP Bangladesh
>>
>> T +880-2- 8816459, 8816412 ext 118
>> F +88 02 8813 875
>> M+88 01819 239 241
>> M+88 01534 312 066
>> E hann...@gmail.com
>> S hannan.khan.dhaka
>> B hannan-tech.blogspot.com
>> L https://bd.linkedin.com/in/hannankhan
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Muhammad Abdul Hannan Khan
Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Hi Hannan,

Which version are you using?

Seems you have had metadata change. Check if all your programs have program
stage and for the program stages to have data elements assigned to them.

Also, can you clear your browser cache and try one more time?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:

> Dear All
>
> Suddenly from few days ago out event capture is not loading. Only country
> Orgunit loaded and showing 'Loading meta-data'.
>
> [image: Inline image 1]
>
> There is no error log in the tomcat but I find error in the script which
> is
>
> Uncaught TypeError: Cannot read property 'programStageDataElements' of
> undefined
> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-
> capture/scripts/event-capture.js:239:61
> at Array.forEach (native)
> at Function.j.each.j.forEach (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
> at Object.filterMissingPrograms (http://103.247.238.82:8080/
> dhismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
> at Object. (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
> at Object.fire (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:17744)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>
> Please help me to resolve the problem.
>
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] how could i save some value in "Datavalue" table for input with "No Value" radio button ?

2016-09-27 Thread Brajesh Murari
thanks Jason

On Tue, Sep 27, 2016 at 2:55 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Create an option set with three options
>
> 1) True
> 2) False
> 3) No value
>
> and assign that to the data element as its option set instead of using of
> the default Yes/No and Yes only types.
>
> Regards,
> Jason
>
>
>
> On Tue, Sep 27, 2016 at 11:22 AM, Brajesh Murari  > wrote:
>
>> Hello Dev,
>>
>> Since i am assigning a dataelement with data type value (yes/no) to a
>> dataset, and when i am doing data entry for period type monthly,
>> the input appears with three different type of values with radio buttons
>> ie, "No value","Yes","No".
>>
>> Here, if i am selecting input with "No" radio button, it saves as "False"
>> as value in "Datavalue" table.
>> Or, if i am selecting input with "Yes" radio button, it saves as "True"
>> as value in "Datavalue" table.
>> Or, if i am selecting input with "No Value" radio button, it doe't saves
>> anything as value in "Datavalue" table.
>>
>> My question is, for some specific requirement, how could i save some
>> value in "Datavalue" table for input with "No Value" radio button ?
>>
>> --
>> ---
>> Thanks and Regards
>>
>> Brajesh Murari
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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
>



-- 
---
Thanks and Regards

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


[Dhis2-users] DHIS 2 Tracker for NCD registries - any experiences?

2016-09-27 Thread goncalo . castro
Dear colleagues

I was wondering if anyone on this list has experience with using DHIS 2 
Tracker for the purpose of implementing an NCD registry (e.g. Cancer 
Registry).

I would be happy to learn more about it.

Thank you  & best regards

Gonçalo Castro



Gonçalo Castro 
Health Informatics Specialist
Swiss Centre for International Health
Tel:  +41 61 284 8357
Fax: +41 61 284 8103
Skype: goncalo.castro
goncalo.cas...@unibas.ch

Swiss Tropical and Public Health Institute
Socinstrasse 57, P.O. Box 
4002 Basel, Switzerland
www.swisstph.ch



--
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error, please notify us immediately by 
reply e-mail and delete this message from your system.
--___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] [HELP] Timezone impact of DHIS Server

2016-09-27 Thread Sultanahamar Mohammad
Hi All,

We are about to implement DHIS in two level hierarchy one server hosted in
cloud and several other DHIS instances in fields where data is collected
and synced with cloud instance. In this regard, we want to understand on
how each of you are working out with the timezones of server machines. Is
every DHIS server is configured to follow UTC or they have their default
timezone of the region.
Please reply us with your valuable suggestions. Each response is very
important as they would help us achieve deploying DHIS in the right way
from the start.

Regards,
Sultan Ahamar.
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] how could i save some value in "Datavalue" table for input with "No Value" radio button ?

2016-09-27 Thread Jason Pickering
Create an option set with three options

1) True
2) False
3) No value

and assign that to the data element as its option set instead of using of
the default Yes/No and Yes only types.

Regards,
Jason



On Tue, Sep 27, 2016 at 11:22 AM, Brajesh Murari 
wrote:

> Hello Dev,
>
> Since i am assigning a dataelement with data type value (yes/no) to a
> dataset, and when i am doing data entry for period type monthly,
> the input appears with three different type of values with radio buttons
> ie, "No value","Yes","No".
>
> Here, if i am selecting input with "No" radio button, it saves as "False"
> as value in "Datavalue" table.
> Or, if i am selecting input with "Yes" radio button, it saves as "True" as
> value in "Datavalue" table.
> Or, if i am selecting input with "No Value" radio button, it doe't saves
> anything as value in "Datavalue" table.
>
> My question is, for some specific requirement, how could i save some value
> in "Datavalue" table for input with "No Value" radio button ?
>
> --
> ---
> Thanks and Regards
>
> Brajesh Murari
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] how could i save some value in "Datavalue" table for input with "No Value" radio button ?

2016-09-27 Thread Brajesh Murari
Hello Dev,

Since i am assigning a dataelement with data type value (yes/no) to a
dataset, and when i am doing data entry for period type monthly,
the input appears with three different type of values with radio buttons
ie, "No value","Yes","No".

Here, if i am selecting input with "No" radio button, it saves as "False"
as value in "Datavalue" table.
Or, if i am selecting input with "Yes" radio button, it saves as "True" as
value in "Datavalue" table.
Or, if i am selecting input with "No Value" radio button, it doe't saves
anything as value in "Datavalue" table.

My question is, for some specific requirement, how could i save some value
in "Datavalue" table for input with "No Value" radio button ?

-- 
---
Thanks and Regards

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


[Dhis2-users] Event Capture is not loading

2016-09-27 Thread Hannan Khan
Dear All

Suddenly from few days ago out event capture is not loading. Only country
Orgunit loaded and showing 'Loading meta-data'.

[image: Inline image 1]

There is no error log in the tomcat but I find error in the script which is

Uncaught TypeError: Cannot read property 'programStageDataElements' of
undefined
at
http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/scripts/event-capture.js:239:61
at Array.forEach (native)
at Function.j.each.j.forEach (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599
)
at Object.filterMissingPrograms (
http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7
)
at Object. (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263
)
at k (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:16920
)
at Object.fireWith (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707
)
at Object.fire (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744
)
at k (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:16920
)
at Object.fireWith (
http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)


Please help me to resolve the problem.

Muhammad Abdul Hannan Khan
Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] What is use of drop-down selection "Combination of categories" in dataset edit form ?

2016-09-27 Thread Brajesh Murari
Hello Elmarie,

Yes, this helps me a lot.

Thank You

On Tue, Sep 27, 2016 at 10:59 AM, Elmarie Claasen  wrote:

> Hi Brajesh
>
> The combination of categories are attributes on the later versions. It is
> typically used to generate multiple forms of the same dataset e.g if you
> have multiple service providers providing services at the same health
> facility you could set it up that each capture their portion of the
> services. If you select the attribute as a data dimension you can also
> analyse data by this dimension. And can also limit their access under more
> options on user role to only view data for that dimension.
>
> Hope this helps.
>
> Elmarie
>
> On 27 Sep 2016 07:21, "Brajesh Murari"  wrote:
>
>> Hello Devs,
>>
>> While creating data sets, i found there is a drop-down selection
>> "Combination of categories", which appears with default value in drop-down.
>> Can anybody on list define its use in developing or designing a dataset or
>> data entry form in DHIS2 ?
>>
>> --
>>
>> Brajesh Murari
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>



-- 
---
Thanks and Regards

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