Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Thanks Jason, I'll do some testing. I know offhand of a viewClass parameter but it may not be applicable to this object, will see... Best, Greg On Thu, Mar 19, 2015 at 7:46 AM, Jason Pickering jason.p.picker...@gmail.com wrote: Hi Greg, Yeah, I can understand that. Jan can probably provide

Re: [Dhis2-devs] API to get dataset section order

2015-03-19 Thread Lars Helge Øverland
Hi, should it be this instead? { sections: [ { id: qk2ZHknNYEu, name: Diseases, sortOrder: 5, On Thu, Mar 19, 2015 at 8:00 AM, Mahendra Kariya mahendra.kar...@thoughtworks.com wrote: Thanks Morten! When we GET /api/sections, we are able to get the sortOrder. But

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Hi Knut Last night I did a test (exported the same result set to csv): 27,463 rows works out to 1.8mb but that's only for the base set of fields (pe, ou, dx, value). When you expand it to include all parent orgunits it grows to around 4mb (depending on the length of orgunit names)... On Thu, Mar

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Mark Polak
If you’re getting the data in JSON format. And you’re using it to reconstruct something, how are you retrieving this data? Otherwise it would be trivial to sort it on your side? Kind regards, Mark Polak m...@thedutchies.com mar...@ifi.uio.no +47 970 36 752 On 19 Mar 2015, at 07:49, Greg

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Hi Mark My JSON request: api/analytics.json?dimension=pe:LAST_3_MONTHSdimension=dx:trqWVUf9e6D;lPVvmrINVHS;eDktBD88IULdimension=ou:LEVEL-3;JLA7wl59oN3hierarchyMeta=truedisplayProperty=NAMEshowHierarchy=true The objective is to reconstruct JSON to include columns for all parent-orgunits. Some

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Knut Staring
How much data would it be if you took everything? On 19 Mar 2015 08:14, Greg Rowles greg.row...@gmail.com wrote: Hi Mark My JSON request:

[Dhis2-devs] Org Unit Hierarchy as Dimensions in Pivot Table

2015-03-19 Thread Pierre Dane
I know there has been discussion about having the different levels of the org unit hierarchy in the pivot tables. At present this is still not possible (as far as I can see) and the best we can do is to have the full hierarchy string as a dimension (e.g. ec Eastern Cape Province / ec Alfred Nzo

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Jason Pickering
Does this not provide what you need? https://apps.dhis2.org/demo/api/metaData.json?assumeTrue=falseorganisationUnitLevels=true Regards, Jason On Thu, Mar 19, 2015 at 9:27 AM, Greg Rowles greg.row...@gmail.com wrote: Is there any chance we could get organisationUnitLevels data added into

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Jason Pickering
OK, but but the level attribute is numeric, and seems it could easily be sorted by the client? {created:2015-03-19T09:46:38.286+,organisationUnitLevels:[{name:District,created:2011-12-24T11:24:22.935+,lastUpdated:2014-04-29T18:23:38.202+,externalAccess:false, level:2,

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Mark Polak
Yes exactly, but we’re not sure if he’s building an app, or importing it somewhere. But non the less i agree that should be easy enough to do. Kind regards, Mark Polak m...@thedutchies.com mar...@ifi.uio.no +47 970 36 752 On 19 Mar 2015, at 10:51, Jason Pickering jason.p.picker...@gmail.com

[Dhis2-devs] [Bug 1433698] Re: User account creation using managed user group

2015-03-19 Thread pope
** Changed in: dhis2 Assignee: (unassigned) = Lars Helge Øverland (larshelge) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1433698 Title: User account creation using managed user group

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18630: tracker-capture: period-wise data entry for events

2015-03-19 Thread noreply
revno: 18630 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 11:18:00 +0100 message: tracker-capture: period-wise data entry for events modified:

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Mark Polak
If you are indeed building your own app, you can also sort the levels on the client :) Kind regards, Mark Polak m...@thedutchies.com mar...@ifi.uio.no +47 970 36 752 On 19 Mar 2015, at 08:47, Abyot Gizaw aby...@gmail.com wrote: Seems you are creating your own app? If so, you can fetch OUs

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Is there any chance we could get organisationUnitLevels data added into the [metaData] branch of the JSON output? On Thu, Mar 19, 2015 at 10:10 AM, Mark Polak mar...@ifi.uio.no wrote: If you are indeed building your own app, you can also sort the levels on the client :) Kind regards, Mark

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18628: metadata attributes for TE implemented

2015-03-19 Thread noreply
revno: 18628 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 16:11:49 +0700 message: metadata attributes for TE implemented added:

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Abyot Gizaw
Seems you are creating your own app? If so, you can fetch OUs based on level whenever drill down/up is triggered - Thank you, Abyot. (sent from mobile) On Mar 19, 2015 8:14 AM, Greg Rowles greg.row...@gmail.com wrote: Hi Mark My JSON request:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18629: metadata attributes for TEA implemented

2015-03-19 Thread noreply
revno: 18629 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 16:29:29 +0700 message: metadata attributes for TEA implemented removed:

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Mark Polak
It does return the orgunit levels, but Greg’s initial request was to return them ordered by level instead of name. :) Kind regards, Mark Polak m...@thedutchies.com mar...@ifi.uio.no +47 970 36 752 On 19 Mar 2015, at 10:47, Jason Pickering jason.p.picker...@gmail.com wrote: Does this not

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Nice! Thanks everyone, sorry for taking so long to respond - this conversation was somehow marked as read ... On Thu, Mar 19, 2015 at 2:02 PM, Jan Henrik Øverland janhenrik.overl...@gmail.com wrote: Or:

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Greg Rowles
Not sure if this will become an app or not, too early to tell. I think Jason's json URL will definitely work! Thanks guys! On Thu, Mar 19, 2015 at 11:52 AM, Mark Polak mar...@ifi.uio.no wrote: Yes exactly, but we’re not sure if he’s building an app, or importing it somewhere. But non the less

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18632: metadata attributes for PS implemented

2015-03-19 Thread noreply
revno: 18632 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 18:14:12 +0700 message: metadata attributes for PS implemented added:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18631: replaced code accidentally deleted

2015-03-19 Thread noreply
revno: 18631 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 11:50:45 +0100 message: replaced code accidentally deleted modified:

[Dhis2-devs] [Bug 1434035] [NEW] CSV Meta-data import of Option sets does not work

2015-03-19 Thread Tiago
Public bug reported: Hello, When importing a CSV file with Option sets like: name,uid,code,option Color,,,Blue Color,,,Green Gender,,,Female Gender,,,Male These conflicts will appear: Conflicts TypeElement Description OptionSet Color Unknown reference to IdentifiableObject{id=0,

Re: [Dhis2-devs] api/organisationUnitLevels

2015-03-19 Thread Jan Henrik Øverland
Or: https://apps.dhis2.org/demo/api/organisationUnitLevels.json?fields=id,name,levelpaging=false On Thu, Mar 19, 2015 at 12:45 PM, Greg Rowles greg.row...@gmail.com wrote: Not sure if this will become an app or not, too early to tell. I think Jason's json URL will definitely work! Thanks guys!

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18633: DataEntryFormService, preloading cache of option combos

2015-03-19 Thread noreply
revno: 18633 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 13:24:51 +0100 message: DataEntryFormService, preloading cache of option combos modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18634: DataEntryFormService, preloading cache

2015-03-19 Thread noreply
revno: 18634 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 13:47:13 +0100 message: DataEntryFormService, preloading cache modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18643: added count() on QueryService/QueryEngine, used in AbstractCrudController to get accurate count o...

2015-03-19 Thread noreply
revno: 18643 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Fri 2015-03-20 10:00:33 +0700 message: added count() on QueryService/QueryEngine, used in AbstractCrudController to get accurate count of

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18644: minor fix

2015-03-19 Thread noreply
revno: 18644 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Fri 2015-03-20 10:13:40 +0700 message: minor fix modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/query/Query.java

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18645: jqSelected, fixes issues with select-all. Also fixes issues with search key triggering form submi...

2015-03-19 Thread noreply
revno: 18645 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Fri 2015-03-20 12:00:27 +0700 message: jqSelected, fixes issues with select-all. Also fixes issues with search key triggering form submit when

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18635: Text fix

2015-03-19 Thread noreply
revno: 18635 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 14:13:11 +0100 message: Text fix modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18638: Data statistics, added user groups and org unit groups

2015-03-19 Thread noreply
revno: 18638 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 16:03:55 +0100 message: Data statistics, added user groups and org unit groups modified:

[Dhis2-devs] Count individual in aggregate query builder

2015-03-19 Thread rin.chann...@gmail.com
Hi, all dhis2 I tried use aggregate query biuilder to count individual mean not count case. But the result seem count in case? Anyone khnow what is problem? ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18636: some performance improvement for tracker and event capture apps

2015-03-19 Thread noreply
revno: 18636 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 15:30:09 +0100 message: some performance improvement for tracker and event capture apps modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18637: Improvements to data integrity in data admin app. Removed velocity dependence for rendering data ...

2015-03-19 Thread noreply
Merge authors: Halvdan Hoem Grelland (halvdanhg) revno: 18637 [merge] committer: Halvdan Hoem Grelland halvda...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 15:49:49 +0100 message: Improvements to data integrity in data

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18642: Fix getUserDataApprovalLevels() for user with authority for lower levels, where user's org unit i...

2015-03-19 Thread noreply
revno: 18642 committer: jimgr...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 15:17:43 -0400 message: Fix getUserDataApprovalLevels() for user with authority for lower levels, where user's org unit is above approval levels.

Re: [Dhis2-devs] Org Unit Hierarchy as Dimensions in Pivot Table

2015-03-19 Thread Ola Hodne Titlestad
Hi Pierre, You'll need to create one group set(a data dimension in analytics) per level (district) and one group per orgunit (district names) at that level. Then you assign the facilities and other reporting units to the group they belong to. Data will then be aggregated or filtered per group in

[Dhis2-devs] Assistance required debugging HTML report

2015-03-19 Thread Greg Rowles
Hi Devs Does anyone have time to test an HTML report with me on the demo site? I will give you a nice bottle of red wine next time you visit Cape Town... Greg -- *Health Information Systems Program - South Africa* *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18640: Delete orphan mapping for program program attributes

2015-03-19 Thread noreply
revno: 18640 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 16:59:02 +0100 message: Delete orphan mapping for program program attributes modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18641: Minr

2015-03-19 Thread noreply
revno: 18641 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 17:02:45 +0100 message: Minr modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18639: Fixed wrong relative path in ajax call.

2015-03-19 Thread noreply
revno: 18639 committer: Halvdan Hoem Grelland halvda...@gmail.com branch nick: dhis2 timestamp: Thu 2015-03-19 16:51:33 +0100 message: Fixed wrong relative path in ajax call. modified:

Re: [Dhis2-devs] Org Unit Hierarchy as Dimensions in Pivot Table

2015-03-19 Thread Jan Henrik Øverland
Hi Pierre, this is not likely to be implemented in the near future I'm afraid as it requires a major upgrade of our pivot table engine. As you already seem aware of this is a special case that sort of breaks with the nature of our dimension based pivot table setup. It's technically doable of

Re: [Dhis2-devs] Org Unit Hierarchy as Dimensions in Pivot Table

2015-03-19 Thread Knut Staring
Maybe I misunderstand, but can't you get somewhere by having an OrgUnit group for each level (and also an OU group set)? On Thu, Mar 19, 2015 at 5:36 PM, Jan Henrik Øverland janhenrik.overl...@gmail.com wrote: Hi Pierre, this is not likely to be implemented in the near future I'm afraid as