[Dhis2-users] Usage Analytics/ Logins

2018-07-10 Thread Sam Kasozi
Hi,

Has the User Analytics app been updated for 2.28/29?

Then also, how can I extract the logins for a specific period - dashboard
visits do not necessarily correspond to logins.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Reporting rates options with data set categories

2017-07-30 Thread Sam Kasozi
When data is captured and tagged to data set categories the reporting rates
are based on the organization unit tagging under the category option.

However in a scenario where some category options are not known/ missing
and an 'unknown' category option is added to the category as an alternative
for the missing value, then the reporting rates will never be correct
(above 50%).

Since such a configuration supports partner reporting, i.e. donors,
implementing partners, etc, Is it possible to maintain that configuration
and also have reporting rates based on the organization unit tagging under
the dataset?

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Aggregation for the Time value type

2017-06-13 Thread Sam Kasozi
What are the currently supported aggregation types for the Time value type
besides SUM?

AVERAGE does not seem to be supported with version 2.27.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Calculation of conditional Indicators

2017-05-10 Thread Sam Kasozi
Thanks, Ola and Prosper.

The data is indeed part of the aggregate forms. And since we are importing
the data, we might consider pre-calculating the values prior to the import
process.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Wed, May 10, 2017 at 2:56 PM, Prosper BT <ptb3...@gmail.com> wrote:

> Dear Ola,
>
> Thanks for sharing this workaround, the two challenges may be wanting to
> keep same data with the aggregate data in entry because most of the time
> its within one form and may be inconveniencing switching between entry
> screens.
>
> Remember we had suggested to write a script that can update single event
> data elements  to use program indicators that can in turn be used as
> aggregate indicators for scorecard and BNA indicators.
>
> From the core development team is ther as way we can use aggregate
> indicators or both data element in aggregate and events so as to use
> program indicators for this. Its becoming very critical for analysis of
> logistics, HR, Scorecard and BNA indicators.
>
> The scorecard team is building up something John and Eric can share
> progress.
>
> Regards
>
>
>
>
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda
> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad <ol...@ifi.uio.no>
> wrote:
>
>> Hi Sam,
>>
>> You may consider collecting some of this data with single events
>> (routine surveys/assessments) and then use program indicators or event
>> data item aggregation to get the aggregate numbers you are looking
>> for.
>>
>> Ola
>> ---
>>  > style="border-top: 1px solid #D3D4DE;">
>> 
>>   > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank">> src="https://ipmcdn.avast.com/images/icons/icon-envelope-tic
>> k-round-orange-animated-no-repeat-v1.gif"
>> width="46" height="29" style="width: 46px; height: 29px;" />
>> Virusfri. > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank" style="color: #4453ea;">www.avast.com
>>  
>> 
>> 
>> > height="1">
>> --
>> Ola Hodne Titlestad (Mr)
>> HISP
>> Department of Informatics
>> University of Oslo
>>
>> Mobile: +47 48069736 <+47%20480%2069%20736>
>> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>>
>>
>> On 10 May 2017 at 10:01, Sam Kasozi <kaso...@gmail.com> wrote:
>> > What is the best approach for creating conditional indicators for
>> routine/
>> > aggregate data such as facilities reporting stock outs or facilities
>> > providing a service?
>> >
>> > Besides creating new data element [Yes/No or (1/0)] that is assigned in
>> the
>> > custom form whenever the condition is found to be true, is there an
>> > alternative?
>> >
>> >
>> > regards,
>> >
>> > Sam Kasozi
>> > +256 788-993-565
>> > Skype: sam.kasoziug
>> >
>> > ___
>> > 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
>>
>
>
___
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] Calculation of conditional Indicators

2017-05-10 Thread Sam Kasozi
What is the best approach for creating conditional indicators for routine/
aggregate data such as facilities reporting stock outs or facilities
providing a service?

Besides creating new data element [Yes/No or (1/0)] that is assigned in the
custom form whenever the condition is found to be true, is there an
alternative?


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Error importing TEI with Curl

2017-04-22 Thread Sam Kasozi
Hi, I seem to be getting errors when importing a TEI with 2.25/6 using the
format specified in the section: '1.59. Tracked entity instance management'.

{
  "trackedEntity": "MCPQUTHX1Ze",
  "orgUnit": "X0jG3c6VjWv",
  "attributes": [
{
  "attribute": "ngLOaG22Yun",
  "value": "Mark"
},
{
  "attribute": "oM0uMQ3oiNY",
  "value": "1979"
},
{
  "attribute": "EEk95ZmIVpN",
  "value": "true"
}

...

]
}

And then also, when creating a TEI, can I specify a trackedEntityInstance
id such as in the case below, which I can also reference for program stages?

{"trackedEntityInstances":[{"trackedEntity": "MCPQUTHX1Ze","
*trackedEntityInstance*": "*hcmT38B09Df*","orgUnit":
"XAY48PSWV4K","inactive": false,"relationships":[],
"attributes":[{"attribute": "git4nzCbOfD","value": "6347"},{"attribute":
"oM0uMQ3oiNY","value": "1973"},{"attribute": "CS9u6jnRwk5","value":
"2"},{"attribute": "qf9aoX061Cl","value": "2"}],
"enrollments":[{"orgUnit": "XAY48PSWV4K","program":
"SlDuWuPOqeH","enrollmentDate": "2017-01-01","incidentDate":
"2017-01-01","status":"ACTIVE"}]},

...]}


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] How to output all data element list with their categories option DHIS2 V2.23 using SQLview

2017-04-07 Thread Sam Kasozi
Yes, sorry about that.

We have 'de.categorycomboid' and 'cc.categorycomboid'. You can delete one
of them.

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Fri, Apr 7, 2017 at 2:10 PM, vunda limbe <vunda...@gmail.com> wrote:

> Hi Sam,
>
> Thank you for the script, but It's sending back this message: ERROR:
> column "categorycomboid" specified more than once
>
>
>
> On Fri, Apr 7, 2017 at 9:42 AM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> Hi Vunda,
>>
>> Try out the attached script.
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> On Fri, Apr 7, 2017 at 1:00 PM, vunda limbe <vunda...@gmail.com> wrote:
>>
>>> Hi everybody,
>>>
>>> I'm looking for SQL code to list data element name, id, uid,
>>> categoryoptioncombouid, categoryoptioncomboname.
>>> I don't know exactly wich table I have to insert in my query for listing
>>> the content.
>>>
>>> Your supports are welcome
>>>
>>> Thanks.
>>>
>>> ___
>>> 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
>>>
>>>
>>
>
___
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] How to output all data element list with their categories option DHIS2 V2.23 using SQLview

2017-04-07 Thread Sam Kasozi
Hi Vunda,

Try out the attached script.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Fri, Apr 7, 2017 at 1:00 PM, vunda limbe <vunda...@gmail.com> wrote:

> Hi everybody,
>
> I'm looking for SQL code to list data element name, id, uid,
> categoryoptioncombouid, categoryoptioncomboname.
> I don't know exactly wich table I have to insert in my query for listing
> the content.
>
> Your supports are welcome
>
> Thanks.
>
> ___
> 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
>
>
SELECT de.name as dataelementname, de.shortname as dataelementshortname, de.uid 
as de_uid, de.dataelementid, de.categorycomboid,
coc.name as cocname, coc.uid as cocuid, coc.categoryoptioncomboid, 
cc.categorycomboid, cc.name as ccname, cc.uid as ccuid 
FROM dataelement de LEFT JOIN categorycombos_optioncombos coccc on 
de.categorycomboid = coccc.categorycomboid
LEFT JOIN categorycombo cc ON coccc.categorycomboid = cc.categorycomboid
LEFT JOIN categoryoptioncombo coc ON coccc.categoryoptioncomboid = 
coc.categoryoptioncomboid
ORDER BY de.dataelementid___
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] Limit on data attribute - category options

2017-04-03 Thread Sam Kasozi
Yes, we do have fixed relationships within those categories, so this works
for us!

This implementation is much safer as well since it will not require a data
entrant to filter through the different categories.


Thank you.

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Mon, Apr 3, 2017 at 11:15 AM, Lars Helge Øverland <l...@dhis2.org> wrote:

> Hi Sam,
>
> yes it should be possible to set this up in DHIS 2.
>
> In your case, if you create all 4 as categories you might end up with a
> very high number of option combo permutations.
>
> However, it might be that you have fixed relationships within those
> categories. For example, it could be that one grant is supported by exactly
> one implementing partner and donor. In that case, you should not ask end
> users to actively select partner and donor in data entry; rather have them
> select the grant only (as a data set category). From there, you can set up
> category option groups and group sets:
>
> Group set: Donor
> Groups: USAID, DFID, etc
>
> Group set: Implementing partner
> Groups: PartnerA, PartnerB, etc
>
> Then you assign each grant to exactly one group per group set. You can now
> do analytics based on the above dimensions without having end users
> explicitly selecting them in data entry. This will keep number of category
> option combos low and reduce time and errors during data entry. Make sure
> you set the category option group sets as "data dimension".
>
> Docs here
> <https://docs.dhis2.org/master/en/user/html/manage_category.html>.
>
> regards,
>
> Lars
>
>
>
>
>
> On Mon, Apr 3, 2017 at 7:28 AM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> We would like to add the data attributes: Donor, Program, Implementing
>> Partner and Grant in a category combination to some datasets.
>>
>> Looking at the data that needs to be imported, the Donors and Programs
>> are few, however, the IPs and grants are in the range of 200 and 500
>> respectively; of course with potential to increase over time.
>>
>> I am wondering if the DHIS2 is designed to manage that kind of data.
>>
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> ___
>> 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
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
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] Limit on data attribute - category options

2017-04-02 Thread Sam Kasozi
We would like to add the data attributes: Donor, Program, Implementing
Partner and Grant in a category combination to some datasets.

Looking at the data that needs to be imported, the Donors and Programs are
few, however, the IPs and grants are in the range of 200 and 500
respectively; of course with potential to increase over time.

I am wondering if the DHIS2 is designed to manage that kind of data.


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Test Email in Email Settings is not Working.

2016-12-06 Thread Sam Kasozi
Also enabling the 'less secure apps to access your account' option in the
Gmail account configured in the DHIS 2.

If this is the case, then when you log into the same account, you will find
a blocked sign-in attempt notification email with the option for allowing
the access.

https://www.google.com/settings/security/lesssecureapps

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Tue, Dec 6, 2016 at 5:16 PM, Stian Sandvold <st...@dhis2.org> wrote:

> Hi,
>
> first, did you enable TLS as well?
>
> I followed the steps listed here: https://support.google.
> com/mail/answer/7126229?hl=en
>
> This works fine for me. Is there any way you misspelled your email or
> password?
>
> Seemed to work without enabling POP/IMAP in my gmail account as well, but
> if you can’t get it to work, you should try to enable it as well I guess.
>
> Let me know how it goes.
>
> ——
> Stian Sandvold
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>
>
> On 6 Dec 2016, at 13:36, Sourabh Bhardwaj <bsourabh...@gmail.com> wrote:
>
> Hi all,
>
> I have setup the email settings as:
>
> *Hostname: s...@gmail.com <s...@gmail.com>*
> *Port: 587*
> *username: @gmail.com <http://gmail.com/>*
> *password: ***(gmail password)*
> *sender: ***@gmail.com <http://gmail.com/>*
>
>
> But test mail never receives to the user. Following error is  coming:
>
> *Sending email to user: admin with email address:***@gmail.com
> <http://gmail.com/> to host: smtp.gmail.com:587
> <http://smtp.gmail.com:587/> (EmailMessageSender.java [taskScheduler-8])*
> *   * WARN  2016-12-06 17:51:15,540 Could not send email: Sending
> the email to the following server failed : smtp.gmail.com:587
> <http://smtp.gmail.com:587/>, org.apache.commons.mail.EmailException:
> Sending the email to the following server failed : smtp.gmail.com:587
> <http://smtp.gmail.com:587/>*
>
>
> Has anyone used the Email Settings before?
>
> Thanks & Regards,
> Sourabh Bhardwaj
>
>
>
> ___
> 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
>
>
>
> ___
> 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
>
>
___
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] Translation project for Dari and Pashto languages

2016-11-14 Thread Sam Kasozi
Hi Chris,
The Health Sector Resiliency project in collaboration with the Ministry of
Public Health in Afghanistan is currently piloting the DHIS2 as the
national data warehouse for the MoPH.

The translation is currently for DHIS2 terminology and we are liaising with
the HIS department in the ministry, so we can reach out to Ebtihaj Obaidi
as well. Thank you for the information.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Mon, Nov 14, 2016 at 7:01 PM, Chris Leonard <cjlhomeaddr...@gmail.com>
wrote:

> On Wed, Nov 9, 2016 at 4:31 AM, Jason Pickering
> <jason.p.picker...@gmail.com> wrote:
> > Hi Sam,
>
> > Translation files can be downloaded for offline translation, using a tool
> > like "POEdit". You can get the translation template from
> > https://translate.dhis2.org/export/?path=/prs/dhis2-
> translations/dhis-service-core/dhis-service-core-prs.po
> > for instance.
>
> Just to offer another suggestion, I would strongly recommend that you
> look into using Virtaal fort offline translation work.  It is made by
> the same people who produce Pootle and it has some really awesome
> features that place way ahead of something like POEdit.  (especially
> the translation memory feature, there are a lot of repeated strings in
> DHIS-2 and this will really help you with consistency.  It also
> implements the same quality control checks that Pootle has, which can
> save you from committing files with obvious errors.
>
> http://virtaal.translatehouse.org/index.html
>
>  cjl
>
___
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] GIS failing to load in 2.25

2016-10-17 Thread Sam Kasozi
GIS is failing to load in a new instance of 2.25; not sure if this is a bug
or whether some pre-configuration needs to happen.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Error Deleting TEI with WebAPI in 2.22

2016-05-09 Thread Sam Kasozi
Thank you.

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Tue, May 10, 2016 at 6:37 AM, Morten Olav Hansen <mor...@dhis2.org>
wrote:

> Hi Sam
>
> Just had a look, the parameter should be strategy=X not importStrategy=X,
> I will update the docs
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, May 9, 2016 at 12:51 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> The confusion in adding the trackedEntity was whether it would be a child
>> of the trackedEntityInstance or not.
>>
>> Furthermore a 3rd parameter of the Orgunit ID was required. So I was
>> wondering whether 'Chapter 1.53 Tracker bulk deletion' (
>> http://dhis2.github.io/dhis2-docs/2.22/en/developer/html/ch01s53.html)
>> should be updated from
>>
>> {
>>   "trackedEntityInstances": [
>> { "trackedEntityInstance": "ID1" }
>>
>> to
>>
>> {
>>   "trackedEntityInstances": [
>> {  "trackedEntity": "TE_ID1", "orgUnit": 
>> "OU_ID1","trackedEntityInstance": "ID1" }
>>
>> together with a correction in the spelling from 'trackedEntityInstasnces'
>> to 'trackedEntityInstances' in the curl statement that follows.
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> On Sat, May 7, 2016 at 5:00 AM, Sam Kasozi <kaso...@gmail.com> wrote:
>>
>>> Hi Alex,
>>>
>>> That is what the error message suggests, I guess the underlying question
>>> was the how in light of the prescribed Json format:
>>>
>>> {"trackedEntityInstances": [ { "trackedEntityInstance": "ID1" }]}
>>>
>>>
>>> regards,
>>>
>>> Sam Kasozi
>>> +256 788-993-565
>>> Skype: sam.kasoziug
>>>
>>> On Fri, May 6, 2016 at 8:26 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>>> wrote:
>>>
>>>> Dear Sam,
>>>>
>>>> Please specify  trackedEntity in your json.
>>>>
>>>> Alex
>>>>
>>>> On Fri, May 6, 2016 at 5:49 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>>>>
>>>>> I want to delete a TEI in 2.22 with the following details
>>>>> (trackedEntity="XV3kldsZq0H" & trackedEntityInstance="an1MP0brTkC") using
>>>>>
>>>>> curl -X POST -d "{\"trackedEntityInstances\":
>>>>> [{\"trackedEntityInstance\":\"an1MP0brTkC\"}]}" -H "Content-Type:
>>>>> application/json" -u sam:*** "https:// ...
>>>>> /api/trackedEntityInstances?importStrategy=DELETE"
>>>>>
>>>>> However it returns the following Error message:
>>>>>
>>>>> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An
>>>>> error occurred, please check import summary.",
>>>>>
>>>>> "response":{"responseType":"ImportSummary","status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},
>>>>> "conflicts":[{"object":"TrackedEntityInstance.trackedEntity","value":"Missing
>>>>> required property trackedEntity"}]}
>>>>>
>>>>> Is something wrong in the Json syntax?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Sam Kasozi
>>>>> +256 788 993565 | Skype: sam.kasoziug
>>>>>
>>>>> ___
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Alex Tumwesigye
>>>>
>>>> Technical Advisor - DHIS2 (Consultant),
>>>> Ministry of Health/AFENET  | HISP Uganda
>>>> Kampala
>>>> Uganda
>>>> +256 774149 775, + 256 759 800161
>>>> Skype ID: talexie
>>>>
>>>> IT Consultant (Servers, Networks and Security, Health Information
>>>> Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar 
>>>> Consultant
>>>>
>>>>
>>>> "I don't want to be anything other than what I have been - one tree
>>>> hill "
>>>>
>>>
>>>
>>
>> ___
>> 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
>>
>>
>
___
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] Error Deleting TEI with WebAPI in 2.22

2016-05-06 Thread Sam Kasozi
Hi Alex,

That is what the error message suggests, I guess the underlying question
was the how in light of the prescribed Json format:

{"trackedEntityInstances": [ { "trackedEntityInstance": "ID1" }]}


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Fri, May 6, 2016 at 8:26 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Dear Sam,
>
> Please specify  trackedEntity in your json.
>
> Alex
>
> On Fri, May 6, 2016 at 5:49 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> I want to delete a TEI in 2.22 with the following details
>> (trackedEntity="XV3kldsZq0H" & trackedEntityInstance="an1MP0brTkC") using
>>
>> curl -X POST -d "{\"trackedEntityInstances\":
>> [{\"trackedEntityInstance\":\"an1MP0brTkC\"}]}" -H "Content-Type:
>> application/json" -u sam:*** "https:// ...
>> /api/trackedEntityInstances?importStrategy=DELETE"
>>
>> However it returns the following Error message:
>>
>> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An
>> error occurred, please check import summary.",
>>
>> "response":{"responseType":"ImportSummary","status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},
>> "conflicts":[{"object":"TrackedEntityInstance.trackedEntity","value":"Missing
>> required property trackedEntity"}]}
>>
>> Is something wrong in the Json syntax?
>>
>> Regards,
>>
>> Sam Kasozi
>> +256 788 993565 | Skype: sam.kasoziug
>>
>> ___
>> 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
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET  | HISP Uganda
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information Systems
> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>
___
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] Error Deleting TEI with WebAPI in 2.22

2016-05-06 Thread Sam Kasozi
I want to delete a TEI in 2.22 with the following details
(trackedEntity="XV3kldsZq0H" & trackedEntityInstance="an1MP0brTkC") using

curl -X POST -d "{\"trackedEntityInstances\":
[{\"trackedEntityInstance\":\"an1MP0brTkC\"}]}" -H "Content-Type:
application/json" -u sam:*** "https:// ...
/api/trackedEntityInstances?importStrategy=DELETE"

However it returns the following Error message:

{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An
error occurred, please check import summary.",
"response":{"responseType":"ImportSummary","status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},
"conflicts":[{"object":"TrackedEntityInstance.trackedEntity","value":"Missing
required property trackedEntity"}]}

Is something wrong in the Json syntax?

Regards,

Sam Kasozi
+256 788 993565 | Skype: sam.kasoziug
___
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] Missing Group Sets in the Event Reports & Event Visualizer for version: 2.22

2016-04-28 Thread Sam Kasozi
Hi Jan,

I was reviewing a build from yesterday (Version: *2.22* - Build revision:
*22014* - Build date: *2016-04-27 11:00*), unfortunately the group sets are
still missing from the Event based reporting applications.

regards,


Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Wed, Apr 27, 2016 at 1:08 PM, Sam Kasozi <kaso...@gmail.com> wrote:

> Thank you.
>
> We will upgrade ASAP
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> On Wed, Apr 27, 2016 at 1:05 PM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Hi Sam,
>>
>> This was fixed in 2.22 a couple of days ago.
>>
>> Jan
>>
>> On 27 April 2016 at 11:57, Sam Kasozi <kaso...@gmail.com> wrote:
>>
>>> I have been looking at different DHIS 2.22 instances and realized that
>>> we are missing Group Sets in the Event based reporting apps (Event Reports
>>> and Event Visualizer). However, they are visible in the aggregate reporting
>>> modules.
>>>
>>> Earlier versions and latest: 2.23, show the group sets in the Event
>>> reporting modules.
>>>
>>> Is this a bug?
>>>
>>>
>>> regards,
>>>
>>> Sam Kasozi
>>> +256 788-993-565
>>> Skype: sam.kasoziug
>>>
>>> ___
>>> 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
>>>
>>>
>>
>
___
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] Missing Group Sets in the Event Reports & Event Visualizer for version: 2.22

2016-04-27 Thread Sam Kasozi
Thank you.

We will upgrade ASAP

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Wed, Apr 27, 2016 at 1:05 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Hi Sam,
>
> This was fixed in 2.22 a couple of days ago.
>
> Jan
>
> On 27 April 2016 at 11:57, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> I have been looking at different DHIS 2.22 instances and realized that we
>> are missing Group Sets in the Event based reporting apps (Event Reports and
>> Event Visualizer). However, they are visible in the aggregate reporting
>> modules.
>>
>> Earlier versions and latest: 2.23, show the group sets in the Event
>> reporting modules.
>>
>> Is this a bug?
>>
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> ___
>> 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
>>
>>
>
___
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] Missing Group Sets in the Event Reports & Event Visualizer for version: 2.22

2016-04-27 Thread Sam Kasozi
I have been looking at different DHIS 2.22 instances and realized that we
are missing Group Sets in the Event based reporting apps (Event Reports and
Event Visualizer). However, they are visible in the aggregate reporting
modules.

Earlier versions and latest: 2.23, show the group sets in the Event
reporting modules.

Is this a bug?


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Scripting in Custom forms for Tracker Capture

2016-03-21 Thread Sam Kasozi
Hi Abyot,

Yes it does give some direction on how to alter the customization.

Thank you all.

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Mon, Mar 21, 2016 at 2:41 PM, Abyot Asalefew Gizaw <ab...@dhis2.org>
wrote:

> Hi Sam,
>
> Tracker and event capture apps are based on AngularJS, which works a
> little differently from the standard jQuery way of accessing and modifying
> form fields.
>
> The steps below, will give you a general structure to interact with form
> fields.
>
> First access the custom form
>
> var myForm = document.querySelector('d2-custom-form'); // in tracker
> custom forms are under special tag 
>
> Now this form contains all models that are exposed inside custom form. In
> Angularjs models are defined as scope.
>
> var $scope = angular.element(myForm).scope();
>
> This gives you all scopes, but you need only those relevant to the custom
> form input fields. If it is about data entry - the model is "currentEvent"
> but if it is registration it is "selectedTei"
>
> $scope.currentEvent - gives you access to data entry fields
> $scope.selectedTei - gives you access to registration fields
>
> To access values per data element or attribute, you just say
>
> $scope.currentEvent[data_element_id] or
> $scope.selectedTei[attribute_id]
>
> If you want to change value just do
>
> $scope.$apply(function(){
> $scope.currentEvent[data_element_id]= 'new_value';  // if you
> want to change data element value
> $scope.currentEvent[attribute_id]= 'new_value;  // if you want to
> change attribute value
> });
>
>
> Hope this gives you some direction. As Alex mentioned, you need to think
> the AngularJS way :)
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Mar 21, 2016 at 12:32 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> Hi Alex, Is there any reference like we have for the aggregates,
>> detailing namespaces and the like?
>>
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> On Mon, Mar 21, 2016 at 2:16 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>> wrote:
>>
>>> Dear Sam,
>>>
>>> The  custom forms are working well with my IDSR instance. I recently
>>> upgraded from individual records to Tracker capture and everything works
>>> well.
>>>
>>> You need to think 'AngularJS' not JQuery/JavaScript otherwise the
>>> developers enabled it.
>>>
>>> Alex
>>>
>>> On Mon, Mar 21, 2016 at 1:36 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>>>
>>>> Dear developers,
>>>>
>>>> JavaScript that used to work in the custom form with Individual Records
>>>> fails to work in the Tracker capture. I have been wondering if the
>>>> environment has been enabled for Tracker capture with different syntax
>>>> convention as it is with the aggregate custom forms. And also whether there
>>>> is documentation to refer too.
>>>>
>>>> http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch06s02.html#d5e1369
>>>>
>>>> regards,
>>>>
>>>> Sam Kasozi
>>>> +256 788-993-565
>>>> Skype: sam.kasoziug
>>>>
>>>> ___
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Alex Tumwesigye
>>>
>>> Technical Advisor - DHIS2 (Consultant),
>>> Ministry of Health/AFENET
>>> Kampala
>>> Uganda
>>> +256 774149 775, + 256 759 800161
>>> Skype ID: talexie
>>>
>>> IT Consultant (Servers, Networks and Security, Health Information
>>> Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>>>
>>>
>>> "I don't want to be anything other than what I have been - one tree hill
>>> "
>>>
>>
>>
>> ___
>> 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
>>
>>
>
___
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] Scripting in Custom forms for Tracker Capture

2016-03-21 Thread Sam Kasozi
Hi Alex, Is there any reference like we have for the aggregates, detailing
namespaces and the like?


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Mon, Mar 21, 2016 at 2:16 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Dear Sam,
>
> The  custom forms are working well with my IDSR instance. I recently
> upgraded from individual records to Tracker capture and everything works
> well.
>
> You need to think 'AngularJS' not JQuery/JavaScript otherwise the
> developers enabled it.
>
> Alex
>
> On Mon, Mar 21, 2016 at 1:36 PM, Sam Kasozi <kaso...@gmail.com> wrote:
>
>> Dear developers,
>>
>> JavaScript that used to work in the custom form with Individual Records
>> fails to work in the Tracker capture. I have been wondering if the
>> environment has been enabled for Tracker capture with different syntax
>> convention as it is with the aggregate custom forms. And also whether there
>> is documentation to refer too.
>>
>> http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch06s02.html#d5e1369
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> ___
>> 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
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information Systems
> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>
___
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] Scripting in Custom forms for Tracker Capture

2016-03-21 Thread Sam Kasozi
Dear developers,

JavaScript that used to work in the custom form with Individual Records
fails to work in the Tracker capture. I have been wondering if the
environment has been enabled for Tracker capture with different syntax
convention as it is with the aggregate custom forms. And also whether there
is documentation to refer too.

http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch06s02.html#d5e1369

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
___
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] Illegal Data element identifier on 2 data elements in a Dataset (DHIS 2.18)

2015-08-06 Thread Sam Kasozi
Hi Alex/ Dapo,

In this particular case, these data elements were defined in 2.18. Probably
the editing might be the reason for the change in the permissions.


Sam Kasozi
Information Systems Consultant
HISP Uganda | MOH - Public Health Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Thu, Aug 6, 2015 at 9:22 AM, Dapo Adejumo dapsyjo...@gmail.com wrote:

 Hi,

 I think this is actually a bug and it can be replicated. It basically
 affects data elements configured prior to 2.18.

 When any of these Data elements are edited, DHIS2 automatically sets the
 access to “None” .



 ………

 *Regards,*

 *Dapo Adejumo*

 *+2348033683677 %2B2348033683677*

 *Skype : dapojorge*



 *From:* Dhis2-users [mailto:dhis2-users-bounces+dapsyjorge=
 gmail@lists.launchpad.net] *On Behalf Of *Alex Tumwesigye
 *Sent:* 3 August, 2015 9:15 PM
 *To:* Sam Kasozi
 *Cc:* dhis2-users@lists.launchpad.net
 *Subject:* Re: [Dhis2-users] Illegal Data element identifier on 2 data
 elements in a Dataset (DHIS 2.18)



 Dear Sam,



 That's sometimes happens. I have experienced it very many times on
 multiple datasets, elements, etc.



 You should always check public access permission if you are not
 restricting anything. The public access sometimes resets to none by itself.
 However, I have not been able to replicated it by testing.



 Alex



 On Mon, Aug 3, 2015 at 1:25 PM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Lars,

 Setting the public to read/write solves the problem, however setting the
 Usergroup read/ write sharing setting was not changing anything.



 The confusing bit was that I had not explicitly set the sharing
 permissions for any of the other data elements and yet they seemed to be
 okay; Unless the default was read/write for public even if it is not
 showing in my user interface.



 I will just go ahead set them for the rest.





 thanks.


 *Sam Kasozi*
 Information Systems Consultant
 HISP Uganda | MOH - Public Health Emergency Operation Center
 +256 788 993565 | +256 757 662752

 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug



 On Mon, Aug 3, 2015 at 12:46 PM, Lars Helge Øverland larshe...@gmail.com
 wrote:

 Hi Sam,



 this may mean that you have restricted sharing on those data elements.
 Please check that the data elements have public read/write or that your
 user has read access to those data elements under data elements  sharing.



 regards,



 Lars





 On Mon, Aug 3, 2015 at 11:34 AM, Sam Kasozi kaso...@gmail.com wrote:

 There seems to be a problem that has persisted.



 I have 2 data elements in a dataset of 22 data elements that give me the
 error message 'Illegal data element identifier: ' during data entry
 when the user does not have the 'All' user role permission as shown below.



 WITHOUT the ‘All’ user role permission - Zero is an exception {Though not
 Saved}



  [image: Inline image 1]



 However after adding the ALL permission, the error message doesn't appear
 and the value is saved successfully.





 regards,





 *Sam Kasozi*
 Information Systems Consultant
 HISP Uganda | MOH - Public Health Emergency Operation Center
 +256 788 993565 | +256 757 662752

 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug



 ___
 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





 --

 Lars Helge Øverland

 Lead developer, DHIS 2

 University of Oslo

 Skype: larshelgeoverland

 http://www.dhis2.org https://www.dhis2.org






 ___
 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





 --

 Alex Tumwesigye



 Technical Advisor - DHIS2 (Consultant),
 Ministry of Health/AFENET

 Kampala

 Uganda

 IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

 IT Specialist (Servers, Networks and Security, Health Information Systems
 - DHIS2 )  Solar Consultant

 +256 774149 775, + 256 759 800161


 I don't want to be anything other than what I have been - one tree hill 

___
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] Illegal Data element identifier on 2 data elements in a Dataset (DHIS 2.18)

2015-08-03 Thread Sam Kasozi
There seems to be a problem that has persisted.


I have 2 data elements in a dataset of 22 data elements that give me the
error message 'Illegal data element identifier: ' during data entry
when the user does not have the 'All' user role permission as shown below.



WITHOUT the ‘All’ user role permission - Zero is an exception {Though not
Saved}


 [image: Inline image 1]


However after adding the ALL permission, the error message doesn't appear
and the value is saved successfully.



regards,



Sam Kasozi
Information Systems Consultant
HISP Uganda | MOH - Public Health Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug
___
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] Illegal Data element identifier on 2 data elements in a Dataset (DHIS 2.18)

2015-08-03 Thread Sam Kasozi
Hi Lars,
Setting the public to read/write solves the problem, however setting the
Usergroup read/ write sharing setting was not changing anything.

The confusing bit was that I had not explicitly set the sharing permissions
for any of the other data elements and yet they seemed to be okay; Unless
the default was read/write for public even if it is not showing in my user
interface.

I will just go ahead set them for the rest.


thanks.

Sam Kasozi
Information Systems Consultant
HISP Uganda | MOH - Public Health Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Mon, Aug 3, 2015 at 12:46 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hi Sam,

 this may mean that you have restricted sharing on those data elements.
 Please check that the data elements have public read/write or that your
 user has read access to those data elements under data elements  sharing.

 regards,

 Lars


 On Mon, Aug 3, 2015 at 11:34 AM, Sam Kasozi kaso...@gmail.com wrote:

 There seems to be a problem that has persisted.


 I have 2 data elements in a dataset of 22 data elements that give me the
 error message 'Illegal data element identifier: ' during data entry
 when the user does not have the 'All' user role permission as shown below.



 WITHOUT the ‘All’ user role permission - Zero is an exception {Though not
 Saved}


  [image: Inline image 1]


 However after adding the ALL permission, the error message doesn't appear
 and the value is saved successfully.



 regards,



 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | MOH - Public Health Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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




 --
 Lars Helge Øverland
 Lead developer, DHIS 2
 University of Oslo
 Skype: larshelgeoverland
 http://www.dhis2.org https://www.dhis2.org


___
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] Failed Import for received Messages/ Successful when Manually Imported [Re-Import]

2015-07-27 Thread Sam Kasozi
Find below the fix to the error message.

-- Forwarded message --
From: Long Ngo Thanh long.hispviet...@gmail.com
Date: Thu, Jul 23, 2015 at 12:02 PM
Subject: Re: [Dhis2-users] Failed Import for received Messages/ Successful
when Manually Imported [Re-Import]
To: Sam Kasozi kaso...@gmail.com


Hi Sam,

I found the issue and the way to fix it.
This is caused by a logic deep inside of the way DHIS2 search for user.
Basically, the system won't be able to find the user associated with
phonenumber if the *Allow users to grant own user roles* is not enabled.

To enable it you have to go to Apps = Settings = Access, then check on
the checkbox Allow users to grant own user roles

This checkbox means anyone who can access to the user management page can
add or remove permission for himself/herself.

This is not the best solution but it is the urgent solution.

Long


On Wed, Jul 15, 2015 at 4:48 PM, Alex Tumwesigye atumwesi...@gmail.com
wrote:

 Dear Sam,

 According to the log extraction below, it shows redirection (302)

 216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET 
 /dhis/dhis-web-maintenance-mobile/checkNewMessage.action HTTP/1.1 302 -

 216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET 
 /dhis/dhis-web-commons/security/login.action HTTP/1.1 200 4110
 10.0.0.25 - - [15/Jul/2015:12:05:56 +0300] POST /dhis/sms/smsinput.action?


 Alex


 On Wed, Jul 15, 2015 at 4:35 PM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Dapo,

 I have been trying to look through but have not been able to put a finger
 on anything.

 I have attached them in case someone else can find something.


 regards,


 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Wed, Jul 15, 2015 at 4:22 PM, Dapo Adejumo dapsyjo...@gmail.com
 wrote:

 Hi Sam….from experience, this is usually a little difficult to put a
 finger on the cause. What you can do is to check the logs for details
 related to the failed messages and see if that can help?



 ………

 *Regards,*

 *Dapo Adejumo*

 *+2348033683677 %2B2348033683677*

 *Skype : dapojorge*



 *From:* Dhis2-users [mailto:dhis2-users-bounces+dapsyjorge=
 gmail@lists.launchpad.net] *On Behalf Of *Sam Kasozi
 *Sent:* 15 July, 2015 12:31 PM
 *To:* dhis2-users@lists.launchpad.net
 *Subject:* [Dhis2-users] Failed Import for received Messages/
 Successful when Manually Imported [Re-Import]



 I if any of you has experience this problem with especially version 2.18



 All incoming messages Fail. However when manually imported using the
 [Re-Import], they are successfully processed and sent to the DHIS2 Inbox.



 P.s I have attached a screen shot.





 regards,




 *Sam Kasozi*
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752

 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug



 ___
 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




 --
 Alex Tumwesigye

 Technical Advisor - DHIS2 (Consultant),
 Ministry of Health/AFENET
 Kampala
 Uganda

 IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

 IT Specialist (Servers, Networks and Security, Health Information Systems
 - DHIS2 )  Solar Consultant

 +256 774149 775, + 256 759 800161

 I don't want to be anything other than what I have been - one tree hill 

___
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] Failed Import for received Messages/ Successful when Manually Imported [Re-Import]

2015-07-15 Thread Sam Kasozi
Hi Alex,

What would be the implication of this?

P.s There are 2 instance running, one which is a 2.15 which successfully
receives the messages and the 2.18 which is having the problem.

The fact that the messages are received in the mobile configuration view
for received messages means that they are successfully routed by the SMS
WAR file to the correct instance.

I have been wondering if there was a process in 2.18 that changed and is
hindering the successful import. However if there is anyone successfully
using the Alert parser with this version, then that is not the case.


regards,


Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Wed, Jul 15, 2015 at 4:48 PM, Alex Tumwesigye atumwesi...@gmail.com
wrote:

 Dear Sam,

 According to the log extraction below, it shows redirection (302)

 216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET 
 /dhis/dhis-web-maintenance-mobile/checkNewMessage.action HTTP/1.1 302 -

 216.104.201.102 - - [15/Jul/2015:12:05:56 +0300] GET 
 /dhis/dhis-web-commons/security/login.action HTTP/1.1 200 4110
 10.0.0.25 - - [15/Jul/2015:12:05:56 +0300] POST /dhis/sms/smsinput.action?


 Alex


 On Wed, Jul 15, 2015 at 4:35 PM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Dapo,

 I have been trying to look through but have not been able to put a finger
 on anything.

 I have attached them in case someone else can find something.


 regards,


 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Wed, Jul 15, 2015 at 4:22 PM, Dapo Adejumo dapsyjo...@gmail.com
 wrote:

 Hi Sam….from experience, this is usually a little difficult to put a
 finger on the cause. What you can do is to check the logs for details
 related to the failed messages and see if that can help?



 ………

 *Regards,*

 *Dapo Adejumo*

 *+2348033683677 %2B2348033683677*

 *Skype : dapojorge*



 *From:* Dhis2-users [mailto:dhis2-users-bounces+dapsyjorge=
 gmail@lists.launchpad.net] *On Behalf Of *Sam Kasozi
 *Sent:* 15 July, 2015 12:31 PM
 *To:* dhis2-users@lists.launchpad.net
 *Subject:* [Dhis2-users] Failed Import for received Messages/
 Successful when Manually Imported [Re-Import]



 I if any of you has experience this problem with especially version 2.18



 All incoming messages Fail. However when manually imported using the
 [Re-Import], they are successfully processed and sent to the DHIS2 Inbox.



 P.s I have attached a screen shot.





 regards,




 *Sam Kasozi*
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752

 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug



 ___
 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




 --
 Alex Tumwesigye

 Technical Advisor - DHIS2 (Consultant),
 Ministry of Health/AFENET
 Kampala
 Uganda

 IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

 IT Specialist (Servers, Networks and Security, Health Information Systems
 - DHIS2 )  Solar Consultant

 +256 774149 775, + 256 759 800161

 I don't want to be anything other than what I have been - one tree hill 

___
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] Failed Import for received Messages/ Successful when Manually Imported [Re-Import]

2015-07-15 Thread Sam Kasozi
I if any of you has experience this problem with especially version 2.18

All incoming messages Fail. However when manually imported using the
[Re-Import], they are successfully processed and sent to the DHIS2 Inbox.

P.s I have attached a screen shot.


regards,


Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug
___
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] Accessing HTML report in standard reports

2015-06-09 Thread Sam Kasozi
Hi Bridget,
- Click on that particular standard report and chose the 'Edit report'
option.
- When the Edit Window opens, click the 'Get current design', which will
download either a '.jrxml' file, that can be edited with Jasper Studio
(Free for Download) Or an HTML report template.

Note that with Jasper reports, you can use the pivot table to recreate the
jrxml file especially if you need to change the datasource. Otherwise for
reference on designing standards reports, you can review the section in the
developer user.

https://www.dhis2.org/doc/snapshot/en/developer/html/dhis2_developer_manual.html


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Wed, Jun 10, 2015 at 5:55 PM, Bridget Magoba bridgetmag...@mifumi.org
wrote:

 Dear all,

 Am maintaining DHIS2 that was configured by someone else. I need to modify
 the standard report, how do I get the file from DHIS2 for modification?



 Thanks


 --
   [image: Avast logo] https://www.avast.com/antivirus

 This email has been checked for viruses by Avast antivirus software.
 www.avast.com https://www.avast.com/antivirus


 ___
 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


___
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] Aggregation query builder

2015-03-02 Thread Sam Kasozi
Hi Channara,

While it might not have an explicit 'IF', with the help of: 'AND', 'OR',
'==NULL', '!=NULL' and other logical operators, most if not all scenarios
of the IF - Condition can be evaluated especially since the goal is to
aggregate a value only if a specific condition holds.

i.e if( *Registration !=NULL*) THEN ... Aggregate

The same condition in RED is what would go in the condition text area. If
it is a nested IF(one inside the other) , then combining the different
conditions with AND will yield the same effect.


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Mon, Mar 2, 2015 at 2:02 PM, Chau Thu Tran cthut...@gmail.com wrote:

 Hi Channara,

  Aggregation query builder doesn't have if-condition

 Tran Chau
 On Mar 2, 2015 4:30 PM, channara rin rin.chann...@gmail.com wrote:

 Hi DHIS2 family,
 Do you know Aggregation query builder has if-condition?

 Thanks
 CHANNARA

 ___
 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


___
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] dhis version 2.17 is released

2014-11-21 Thread Sam Kasozi
Many thanks to you all.

Up and running to try it out locally and if possible on my server by Monday
morning because it will help with many issues.


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Fri, Nov 21, 2014 at 4:25 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hi all,

 DHIS 2 version 2.17 is out. We have a wide range of features and
 improvements for you. The main focus of this release has been performance,
 analytics, data exchange and interoperability.


 *Better performance and scalability:* Several parts of the system work
 faster and smoother, including loading of the organisation unit tree,
 loading of meta-data in data entry, import and export of data and
 generation of resource tables. Data entry meta-data now respects the
 offline hierarchy level setting, making it possible to handle very large
 org unit trees and number of data sets.

 Demo https://apps.dhis2.org/demo/dhis-web-dataentry/index.action


 *Option codes:* Options in option sets now have codes as well as names,
 where the code cannot be changed. This implies that options are more
 robust, since the name of the option can be changed and translated into
 multiple languages without affecting existing data or attribute values. All
 apps will display the option name in the user interface and use the option
 code for fetching data from the system. In the list of option sets, click
 option management to view options:

 Demo
 https://apps.dhis2.org/demo/dhis-web-maintenance-dataadmin/optionSet.action 
 |
 Demo
 https://apps.dhis2.org/demo/dhis-web-event-reports/index.html?id=fA9MsWSqfc7


 *Average aggregation operator:* Analytics now support an average
 aggregation operator where data will averaged in both the time period and
 organisation unit dimensions. The current average operator has been renamed
 to Average (sum in org unit hierarchy) to better reflect what it is
 actually doing.

 Screenshot http://folk.uio.no/larshelg/images/217/average-operator.png


 *Long text:* The system support long text data values and comments. A
 data value can now store up to 60'000 characters, which is the equivalent
 of 12 pages of text. This makes the system suitable as a text repository.
 This is useful e.g. for using to system to store narratives linked to data
 elements and organisation units. See form Mortality  5 Narratives on
 demo:

 Demo https://apps.dhis2.org/demo/dhis-web-dataentry/index.action |
 Screenshot http://folk.uio.no/larshelg/images/217/text-data-entry.png


 *Text in analytics:* The analytics engine now support text. This means
 that you can produce pivot tables and standard reports with textual
 content. This is useful e.g. to present narratives next to data element
 values in the same report.

 Demo
 https://apps.dhis2.org/demo/dhis-web-pivot/index.html?id=u17G7LxWEK6


 *Browser support notification:* The front page now shows a notification
 for people using a browser which is not supported by DHIS 2. From version
 2.17, Internet Explorer versions 6, 7 and 8 are no longer supported.

 Screenshot
 http://folk.uio.no/larshelg/images/217/browser-support-notification.png


 *Apps as start page:* External apps can now be set as start page from
 settings  appearance  start page.

 Demo
 https://apps.dhis2.org/demo/dhis-web-maintenance-settings/systemAppearanceSettings.action


 *Display name in analysis apps:* A new user setting lets you define
 whether to use the name or the short name of meta-data items in all
 analysis apps, both aggregate and event-based. As an example, it lets you
 define whether to display the full name or short name of data elements in
 the pivot table app. You can access user settings from Profile  Settings:

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


 *Simpler event analysis UI:* The selection of data items in event reports
 and event visualizer has become simpler to use. You can now easily select
 and remove items from dynamic drop-downs.

 Demo http://folk.uio.no/larshelg/images/217/event-item-selection.png


 *Event analysis option ordering:* The order of options in option sets are
 now respected in event-based pivot tables and charts.

 Demo
 https://apps.dhis2.org/demo/dhis-web-event-visualizer/index.html?id=qd2jBEvoRPx


 *Visualizer meter charts:* The visualizer app supports meter charts,
 using background-color from the assigned legend set of the indicator.

 Demo
 https://apps.dhis2.org/demo/dhis-web-visualizer/index.html?id=qrHHe626tmv


 *Visualizer sorting:* Sorting of categories in charts is supported in
 visualizer. It lets you sort high-to-low and low-to-high based on the data
 value of the first chart series.

 Demo
 https://apps.dhis2.org/demo/dhis-web-visualizer/index.html?id=uSkYP6tcYu5


 *Total options:* Pivot table and event reports now have separate

Re: [Dhis2-users] [Dhis2-devs] DHIS2 Javascript

2014-11-19 Thread Sam Kasozi
Are the data entry events specific to the aggregate data entry module (2.16
inclusive) or they also apply to the tracked entity module?

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Tue, Nov 18, 2014 at 4:29 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Some relevant docs here:

 https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s09.html#d5e1250

 and here (some of this is in latest trunk only):

 https://www.dhis2.org/doc/snapshot/en/user/html/ch05s02.html#d5e909

 Lars


 ___
 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


___
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] Upload to the Server failing for Event Capture - Data Entry

2014-11-18 Thread Sam Kasozi
Hi Abyot,

That helped to solve the problem.

From the console. I was getting the error   'HTTP ... 1.1 403 forbidden'
which prompted me to look into the user role permissions.
I changed the role of one of the Entrants to Super-user (almost all roles)
and it allowed for a successful Upload to the Server.

Is there any specific role for being able to upload data to the server; i
would think that it would be embedded into the roles for capturing the data.


Thank you,


Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Tue, Nov 18, 2014 at 10:32 AM, Abyot Gizaw aby...@gmail.com wrote:

 Hi Sam,

 Did you get any log on chrome console?

 ---
 Thank you,
 Abyot.

 On Tue, Nov 18, 2014 at 7:16 AM, Sam Kasozi kaso...@gmail.com wrote:

 Dear all,

 I don't know if anyone else is experiencing this problem, however the
 Upload to the Server for data entry in Event capture (Single Event without
 Registration) has failed on both Chrome  Firefox on about 5 different PCs/
 Users.

 P.s If it is a bug and fixed, will the data be uploaded without having to
 clear the Cache since i need to inform people whether to continue or halt
 the data entry process.


 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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



___
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] Upload to the Server failing for Event Capture - Data Entry

2014-11-18 Thread Sam Kasozi
I will try to do that.

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Tue, Nov 18, 2014 at 11:25 AM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hi Sam,

 could you also detect which authority was missing?

 I think we can improve the user feedback.

 Lars



 On Tue, Nov 18, 2014 at 9:17 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Abyot,

 That helped to solve the problem.

 From the console. I was getting the error   'HTTP ... 1.1 403 forbidden'
 which prompted me to look into the user role permissions.
 I changed the role of one of the Entrants to Super-user (almost all
 roles) and it allowed for a successful Upload to the Server.

 Is there any specific role for being able to upload data to the server; i
 would think that it would be embedded into the roles for capturing the data.


 Thank you,


 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Tue, Nov 18, 2014 at 10:32 AM, Abyot Gizaw aby...@gmail.com wrote:

 Hi Sam,

 Did you get any log on chrome console?

 ---
 Thank you,
 Abyot.

 On Tue, Nov 18, 2014 at 7:16 AM, Sam Kasozi kaso...@gmail.com wrote:

 Dear all,

 I don't know if anyone else is experiencing this problem, however the
 Upload to the Server for data entry in Event capture (Single Event without
 Registration) has failed on both Chrome  Firefox on about 5 different PCs/
 Users.

 P.s If it is a bug and fixed, will the data be uploaded without having
 to clear the Cache since i need to inform people whether to continue or
 halt the data entry process.


 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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




 ___
 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



___
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] Upload to the Server failing for Event Capture - Data Entry

2014-11-17 Thread Sam Kasozi
Dear all,

I don't know if anyone else is experiencing this problem, however the
Upload to the Server for data entry in Event capture (Single Event without
Registration) has failed on both Chrome  Firefox on about 5 different PCs/
Users.

P.s If it is a bug and fixed, will the data be uploaded without having to
clear the Cache since i need to inform people whether to continue or halt
the data entry process.


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug
___
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] Upload to the Server failing for Event Capture - Data Entry

2014-11-17 Thread Sam Kasozi
Hi Prosper,

I have checked and it was already set to five [5].

National - Region - District - Subcounty - Health facility.


regards,


Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Tue, Nov 18, 2014 at 9:48 AM, Prosper BT ptb3...@gmail.com wrote:

 Hi Sam,

 We just realised also yesterday that with DHIS2 you need to set the number
 of level for offline data entry can be accepted, and seems you have not set
 this to this particular level

 Go to setting and increase the number of levels for offline  under General
 settings


 Maximum offline organisation unit levels
   Level 1 Level 2 Level 3 Level 4
 Regards

 On Tue, Nov 18, 2014 at 9:16 AM, Sam Kasozi kaso...@gmail.com wrote:

 Dear all,

 I don't know if anyone else is experiencing this problem, however the
 Upload to the Server for data entry in Event capture (Single Event without
 Registration) has failed on both Chrome  Firefox on about 5 different PCs/
 Users.

 P.s If it is a bug and fixed, will the data be uploaded without having to
 clear the Cache since i need to inform people whether to continue or halt
 the data entry process.


 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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




 --
 Prosper Behumbiize, MPH
 Phone:+256 414 320076
 Cell: +256 772 139037
  +256 752 751776


___
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] Custom code for setting default value for Yes/No Data element in Event Capture forms

2014-11-12 Thread Sam Kasozi
Hi Lars,
 that would be a good alternative, however taking on that option will imply
that we will not be able to differentiate between the 'No' and 'Missing'.

regards.

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Wed, Nov 12, 2014 at 2:39 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hi Sam,

 in this case I would have used the data element type Yes Only. This will
 default to no / answer and present a check box. This will be equivalent
 to what you are doing - remember that even if you set the drop-down to No
 the system will not save a No to the database, as that requires the user
 to actually select No.

 regards,

 Lars


 On Wed, Nov 12, 2014 at 10:55 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi all,

 I have data elements of value type: 'Yes/No' with the attributes below:
 What would be the custom form code for setting the default value at runtime
 to 'NO'?

 select id=bEGgpe8yxet-vwt4lpdqcbz-val name=vwt4lpdqcbz
 ...
 class=ng-binding[Please Select]/optionoption value=false
 class=ng-bindingNO/optionoption value=true
 class=ng-bindingYES/option/select

 The Jquery code below works with ordinary select fields; however, for the
 field above, it doesn't seem to work.

 $(select option:contains(NO)').prop('selected',true);

 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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



___
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] Web API 'criteria' fails to recognize parameters with special characters

2014-11-02 Thread Sam Kasozi
I have been trying to return a record whose id has a dash (i.e.
.../api/sqlViews/.../data.json?criteria=id:234-567); however the web API
fails to recognize the parameter.

Is there a workaround for this or there is a bug in the system?


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug
___
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] Web API 'criteria' fails to recognize parameters with special characters

2014-11-02 Thread Sam Kasozi
Hi Stephen,

That might help in some scenarios, however in this case, a dash is one of
the acceptable characters in a URL. Trying to encode it with '%2D' converts
it back to a dash before being sent to the API.

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Sun, Nov 2, 2014 at 5:29 PM, stepho...@gmail.com wrote:

 Sam, may be try encoding the URL ...

 Try reading about urlencode ... For an appropriate language

 Which language are you using?
 Sent from my BlackBerry® smartphone provided by Airtel Uganda.

 -Original Message-
 From: Sam Kasozi kaso...@gmail.com
 Sender: Dhis2-users
  dhis2-users-bounces+stephocay=gmail@lists.launchpad.netDate: Sun,
 2 Nov 2014 17:14:58
 To: dhis2-users@lists.launchpad.netdhis2-users@lists.launchpad.net
 Subject: [Dhis2-users] Web API 'criteria' fails to recognize parameters
 with
 special characters

 ___
 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


___
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] Web API 'criteria' fails to recognize parameters with special characters

2014-11-02 Thread Sam Kasozi
That makes sense then.

Thanks

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
sam.kasoziug

On Sun, Nov 2, 2014 at 6:13 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 Hey Sam,

 this is not documented, but we only accept a-z 0-9 / alphanumerical
 characters + space for criteria filters and values. This is a security
 measure to avoid SQL injection and other spooky stuff (think about someone
 passing a drop table sql statement as a value). I think we can improve this
 by coming up with a character white-list including dash. Input appreciated.

 Lars


 On Sun, Nov 2, 2014 at 10:03 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Stephen,

 That might help in some scenarios, however in this case, a dash is one of
 the acceptable characters in a URL. Trying to encode it with '%2D' converts
 it back to a dash before being sent to the API.

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 788 993565 | +256 757 662752
 kaso...@gmail.com | skas...@pheoc.go.ug kaso...@gmail.com | Skype:
 sam.kasoziug

 On Sun, Nov 2, 2014 at 5:29 PM, stepho...@gmail.com wrote:

 Sam, may be try encoding the URL ...

 Try reading about urlencode ... For an appropriate language

 Which language are you using?
 Sent from my BlackBerry® smartphone provided by Airtel Uganda.

 -Original Message-
 From: Sam Kasozi kaso...@gmail.com
 Sender: Dhis2-users
  dhis2-users-bounces+stephocay=gmail@lists.launchpad.netDate:
 Sun, 2 Nov 2014 17:14:58
 To: dhis2-users@lists.launchpad.netdhis2-users@lists.launchpad.net
 Subject: [Dhis2-users] Web API 'criteria' fails to recognize parameters
 with
 special characters

 ___
 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



 ___
 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



___
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] Problems with category combination

2014-10-19 Thread Sam Kasozi
Is the solution also applicable in the scenario below:

I export a dataset from one instance with the dependencies option, and
after the import into an new instance (2.16 - 16487 - 2014-10-02 02:04), i
can see the data elements, category-options, categories and the
category-combination from the user interface successfully imported.

When I try to open a data entry screen for the dataset, I see the
error: '*Category
option combination identifier:  does not exist*'.

From the database, all tables related to the data element category-options
/ categories / category-combos have data with exception of the following:
- categoryoptioncombo
- categoryoptioncombos-categoryoption
- categorycombos-optioncombos

regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype: sam.kasoziug

On Fri, Jun 20, 2014 at 2:03 PM, Lars Helge Øverland larshe...@gmail.com
wrote:

 HI Chris,

 try to the following:

 - go to data administration  maintenance  update category option
 combinations.

 - go to data administration  cache statistics  clear cache

 - clear your browser cache completely, and try again.

 regards,

 Lars



 On Mon, Jun 16, 2014 at 6:40 PM, Chris Onoja chrisono...@gmail.com
 wrote:

 Hello All,

 I am having an issue with some of my data element category combinations.
 A couple of my data elements do not pick up the category combinations
 assigned to them and as a result the data elements are not rendered
 properly in the section form.

 For example i have a data element that has a sex and age dissaggregation
 but only the age disaggregation comes through.

 Please help!

 I am running dhis 2 version 2.14  revision 13865

 Thank you.



 ___
 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



 ___
 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


___
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] WebAPI resource - SQLview missing

2014-09-07 Thread Sam Kasozi
Hi Jason,

You can create the SQLview through the data administration module. However,
when browsing the WebAPI, it does not appear among the listed resources.

I created a empty databases and tried with one of the latest war files,
however it was not appearing either.



Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype: sam.kasoziug


On Sun, Sep 7, 2014 at 9:41 AM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 Hi Sam,
 Do you mean that you do not see any views in an empty database, or that
 you are unable to access the SQL View functionality through the Data
 administration dialog?

 Regards,
 Jason



 On Sun, Sep 7, 2014 at 8:14 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi all, I see the SQLview resource on the demo server, however it does
 seem to appear on any other instances; including an empty database running 
 2.16
 (16404)

 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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




 --
 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


Re: [Dhis2-users] WebAPI resource - SQLview missing

2014-09-07 Thread Sam Kasozi
Or perhaps I could rephrase it this way,

From the Data Administration, we have the Option set Gender. How do i see
the options for Gender option set; 'Male' and 'Female' from the Web API?

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype: sam.kasoziug


On Sun, Sep 7, 2014 at 11:06 AM, Morten Olav Hansen morte...@gmail.com
wrote:

 Where are you seeing this? there is a bug with the 2.16 database (
 apps.dhis2.org/demo), did you try and add options manually? they should
 then appear

 --
 Morten


 On Sun, Sep 7, 2014 at 2:58 PM, Sam Kasozi kaso...@gmail.com wrote:

 Thanks.

 Another missing resource is the options for the optionSet (items per
 Option Set)

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype:
 sam.kasoziug


 On Sun, Sep 7, 2014 at 10:43 AM, Morten Olav Hansen morte...@gmail.com
 wrote:

 Fixed in trunk and backported to 2.16.

 --
 Morten


 On Sun, Sep 7, 2014 at 2:27 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Yeah, I see what you mean. They are simply not there on the list of
 resources.

 https://apps.dhis2.org/demo/api/sqlViews works however.

 Regards,
 Jason



 On Sun, Sep 7, 2014 at 8:56 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi Jason,

 You can create the SQLview through the data administration module.
 However, when browsing the WebAPI, it does not appear among the listed
 resources.

 I created a empty databases and tried with one of the latest war
 files, however it was not appearing either.



 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype:
 sam.kasoziug


 On Sun, Sep 7, 2014 at 9:41 AM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Sam,
 Do you mean that you do not see any views in an empty database, or
 that you are unable to access the SQL View functionality through the
 Data administration dialog?

 Regards,
 Jason



 On Sun, Sep 7, 2014 at 8:14 AM, Sam Kasozi kaso...@gmail.com wrote:

 Hi all, I see the SQLview resource on the demo server, however it
 does seem to appear on any other instances; including an empty database
 running 2.16 (16404)

 regards,

 Sam Kasozi
 Information Systems Consultant
 HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
 +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype:
 sam.kasoziug

 ___
 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




 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049





 --
 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





___
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] DHIS2 SMS URL

2013-08-01 Thread Sam Kasozi
I think you forgot to attach the files Long.

Find attached

---
Sam

On Thu, Aug 1, 2013 at 12:26 PM, Ngo Long thanhlongngo1...@yahoo.com.vnwrote:

 Hi,

 I guess you are using BulkSMS or ClickAtell service.
 To be able to receive SMS from your gateway, you need a relay to forward
 the sms to your DHIS2.

 Please find the attachment in this email for a simple relay application
 (created By Lars Roland). You can put the war file in the same Tomcat with
 your DHIS2 instance. I also attached the 'spring-servlet.xml' which is
 imprtant for setting up the forward. This file also appear in /sms/WEB-INF/
 directory when the war file being unpacked by Tomcat. This file contain the
 instruction for how to setup the relay.

 Best regards,
 Long




 On 8/1/2013 4:04 PM, David Muturi wrote:

 Hi All,

 I am trying to configure a gateway to receive messages and forward them
 to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS
 because  I have not configured the URL to receive the messages. I have
 looked for the info on the manual and cant seem to trace the URL to
 recieve, the dhis2 is running on localhost.

 thanks
 David


 __**_
 Mailing list: 
 https://launchpad.net/~dhis2-**devshttps://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~dhis2-**devshttps://launchpad.net/~dhis2-devs
 More help   : 
 https://help.launchpad.net/**ListHelphttps://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


___
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] dhis.war deployment on Windows platform

2013-05-12 Thread Sam Kasozi
Hi  Dayo, assuming PostgreSQL is installed and the database is created with
the following:

Login Role (User): dhisuser
User password: dhispwd
Database: dhis2dbase

Then the hibernate.properties configuration file would be as thus:

hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2ug
hibernate.connection.username = dhisuser
hibernate.connection.password = dhispwd
hibernate.hbm2ddl.auto = update

To tell the DHIS 2 where to find the configuration file, create a system
Environment Variable DHIS2_HOME, with the directory path to the
hibernate.properties configuration file
i.e DHIS2_HOME: C:\...

Another Environment Variable you need to set is the JAVA_OPTS, which
allocates memory to the java process
JAVA_OPTS: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m

The current DHIS2 WAR file (version 2.11) is about 80MB, which is higher
than the default maximum size that can be deployed by Tomcat 7.x. To
correct this, increase the max-file-size and max-request-size from 50MB
(52428800) to at least 100MB (104857600) by editing the ‘web.xml’ file in
the directory: C:\Program Files (x86)\Apache Software Foundation\Tomcat
7.0\webapps\manager\WEB-INF (in my case).

http://dhis2.org/development

From the Tomcat Manager:
Under Deploy section, choose the WAR file to upload, Deploy and wait (about
3-5 minutes in my case)

If all is well, then the DHIS2 instance will be loaded under the
Applications Section
Click on it under the ‘Path’ column to start

Hope this helps,
Sam



On Sat, May 11, 2013 at 9:12 PM, Dayo Adeyomoye deemo...@yahoo.com wrote:

 Hi All,

 What config does one need to do if dhis.war is deployed on windows using
 apache tomcat. I mean the hibernate.properties connection to be able to use
 postgres and the systemuser environment variables.

 Thank you.

 Adedayo

 BlackBerry: 3114F90C
 Phone: 08028851441, 08035560463
 emails: deemo...@yahoo.com, addyr...@yahoo.com
 Yahoo IM: deemoyes
 Facebook: pharael
 twitter:pharaell

 ___
 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


___
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] Web API data element category combination option IDs

2012-07-02 Thread Sam Kasozi
Hi Lars, I think i would need to get this more clearly.

If i take a scenario from one of the datasets in the Ug DHIS2 - HMIS 105:2
and we specifically look at the Tetanus Immunization section (2.9)

It has a data element category TT Vaccine (for Preg Women, non-Preg women
 Immun in Sch); which also happens to be the name of the data element
category combination The data elements for that category combination
include Tetanus Immun dozes from 1 up to 4.

From the Web API; Navigating from the Data elements, and then through the
categoryCombo, then through each CategoryOptionCombos yields the same ID's
for each data element as shown below.

   CategoryOptionCombos

  Preg Wom   Non-Preg Wom
   Immun Sch

Tetanus Immunization Dose 1  pvO9TkTgA7C
bdBwblYHGr0   WmCbPR9n3TT
Tetanus Immunization Dose 2  pvO9TkTgA7C

Am wondering how i can specify get an ID for say Tetanus Immunization Doses
1 for Pregnant Women.

Sam.


On Fri, Jun 29, 2012 at 1:17 PM, Lars Helge Øverland larshe...@gmail.comwrote:

 Hi Sam,

 you can navigate to the categoryOptionCombinations resource from the
 /api starting point just as anything else. The URL for this on the
 demo site is this:

 http://apps.dhis2.org/demo/api/categoryOptionCombos

 Then click on each item to see the id.

 best regards, Lars


 On Wed, Jun 27, 2012 at 3:02 PM, Sam Kasozi kaso...@gmail.com wrote:
  Hi Lars,
  From the Web API class, the example we did for importing data into the
 DHIS2
  comprised of a data element with a single category combination option
  (Number). However, I have been looking at importing data for data
 elements
  with several category-combination options, i.e Cholera (0-4 years, Male
 Or
  Cholera (5 and Over, Male), etc. How would i get the ID for a specific
  category-combination option?
 
  Sam.
 
  ___
  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
 

___
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] Web API data element category combination option IDs

2012-06-27 Thread Sam Kasozi
Hi Lars,
From the Web API class, the example we did for importing data into the
DHIS2 comprised of a data element with a single category combination option
(Number). However, I have been looking at importing data for data elements
with several category-combination options, i.e Cholera (0-4 years, Male Or
Cholera (5 and Over, Male), etc. How would i get the ID for a specific
category-combination option?

Sam.
___
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] Health Facility coordinates in DHIS2

2011-11-30 Thread Sam Kasozi
Thanks guys, the GIS 'greek' was the reason we asked him to come on board.

Am probably thinking he missed the bit of having the server restarted.
Implying that they should be showing by now.

He will try out the importation ASAP.

On 11/30/11, Jan Henrik Øverland janhenrik.overl...@gmail.com wrote:
 :)

 On Wed, Nov 30, 2011 at 12:15, Jason Pickering
 jason.p.picker...@gmail.comwrote:

 Lol.this is what I meant to write (longitude should be first) but it is so
 ingrained in my head it still came out wrong.thanks for the exact
 clarification Jan. :)

 --
 Sent from my mobile
 On Nov 30, 2011 1:12 PM, Jan Henrik Øverland 
 janhenrik.overl...@gmail.com wrote:

 Correct me if I'm wrong, but I guess we need to clarify this once and for
 all :)

 EPSG:4326, aka WGS84, is [x, y] where

 x = the east-west position = longitude

 y = the north-south position = latitude

 On Wed, Nov 30, 2011 at 11:45, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 I think the default format is latitude/ longitude as well,so be sure you
 enter it this way.
  On Nov 30, 2011 12:29 PM, Knut Staring knu...@gmail.com wrote:

 On Wed, Nov 30, 2011 at 11:13 AM, Jan Henrik Øverland 
 janhenrik.overl...@gmail.com wrote:



 On Wed, Nov 30, 2011 at 10:55, Sam Kasozi kaso...@gmail.com wrote:

 -- Forwarded message --
 From: Bogere, Tonny i...@ug.cdc.gov
 Date: Wed, Nov 30, 2011 at 11:36 AM
 Subject: Health Facility coordinates in DHIS2
 To: kaso...@gmail.com


 **

 I have an inventory of health facilities with longitude and latitude
 values stored as decimal degrees. I entered some longitudes and
 latitudes
 of some health facilities but they do not display in the map as
 points when
 i generate the thematic layers and the facility layers
 Questions:
 1. How do i import all the coordinates to the coordinates field into
 DHIS2

 This process is documented in chapter 17 of the user manual:
 http://dhis2.org/doc/snapshot/en/user/html/ch17.html


 The process is a bit cumbersome and needs to be improved. It assumes
 that your data are in ESRI Shape format which can be converted to GML
 using
 for example ogr2ogr. (It also assumes that you have made sure the names
 in
 your file match exactly the names you already have in DHIS2)

 In order to convert a CSV file or spreadsheet to the shape format, you
 can make use of Quantum GIS

 http://support.mapbox.com/kb/mapping-101/using-quantumgis-converting-a-spreadsheet-with-coordinates-for-use-in-tilemill

 If you are comfortable with MS Access, may be faster to link both the
 coordinate table and  the Postgres organisationunit table into Access
 using
 an ODBC connection, but you have to make sure you enter in the right
 format

 Knut

 2. How do i get the facilities to display as points in the GIS module
 in the thematic and health facility layers after adding them
 manually.

 If you enter longitude and latitude for facilities through the
 organisation unit module interface they are ready to use in the GIS
 immediately. If you enter the coordinates directly in the database you
 will
 have to restart the server.







 ___
 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



 ___
 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
 Informatics, U. of Oslo
 http://hisp.uio.no
 +4791880522


 ___
 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





-- 
Sent from my mobile device

___
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] Missing Table minmaxdataelement with MySQL database

2011-08-17 Thread Sam Kasozi
Stephen,
We have been using the PostgreSQL databases and the setup was pretty much
automatic for default tables in the database. I don't know if anyone has had
a similar experience like yours.

Sam.


*From:* OCAYA STEPHEN [mailto:stepho...@musph.ac.ug]

*Sent:* 15 August 2011 16:34
*To:* Kasozi, Sam; 'Weissglas, Fitti'
*Cc:* 'Deo Sebuwufu'; Komurubuga, Innocent
*Subject:* RE: DHIS




I have realized a problem while using dhis 2 with mysql database. Table
minmaxdataelement does not exist!! May be you have any clue about that !!!



Thanks
___
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] Custom data entry forms compatibility

2011-07-18 Thread Sam Kasozi
Hi Lars,
Thanks for the Update.

You had recommended using section forms for some of the lengthy Uganda HMIS
forms (Inpatient and Outpatient). I am wondering whether the upgrade would
produce more or less the same result as the section forms if we were to
revert the lengthy forms to custom forms.

Sam.


2011/7/18 Lars Helge Øverland larshe...@gmail.com


 Hi all,

 just wanted to inform you that we have done a modification in custom data
 entry forms which means that you can *not* downgrade from version
 2.4-SNAPSHOT (latest development preview) to version 2.3.

 Sorry for this - the custom forms had not been changed for years and needed
 an overhaul in order to load faster and be compatible with new browser
 versions. The upgrade will happen automatically and there is no need for any
 action on your side.

 Lars


 ___
 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


___
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