Re: [Dhis2-users] Is there some way to filter datavalue by more than one organization group ?

2012-09-23 Thread Jason Pickering
Not sure how easy this would be through the WebAPI. I would probably tend opt to create an SQL view and get the data this way through the API. Maybe something like SELECT * FROM datavalue where sourceid in (SELECT DISTINCT organisationunitid from orgunitgroupmembers where orgunitgroupiorgunitgrp

Re: [Dhis2-users] Is there some way to filter datavalue by more than one organization group ?

2012-09-23 Thread easy
Thanks for your quick answer. My mean is: for example: we have defined two orggrp1( org1,org2,org3,org4,org5) ,orggrp2(org3,org4,org5,org6), I want only get the dataelement and indiator values of (orggrp1) ∩ (orggrp2) ={ org3,org4,org5}. not (orggrp1) ∪ (orggrp2) ={ org1,org2,org3,org4,org

Re: [Dhis2-users] Is there some way to filter datavalue by more than one organization group ?

2012-09-23 Thread Jason Pickering
Hi Easy, Nice that you have translated it to Chinese. In regards to your other query, I think you can do this by something like this (login with admin/district) 1) Gettting all orgunits in a particular group e.g. http://apps.dhis2.org/dev/api/organisationUnitGroups/RXL3lPSK8oG.xml 2) You can g

Re: [Dhis2-users] Is there some way to filter datavalue by more than one organization group ?

2012-09-23 Thread easy
Hi,Knut, I have translated DHIS2 to chinese. glad to contribute. I hope provide the dataelement of the org belong to grp1 and grp2 with webapi,is there a way do it ? -- 此致 林晓东 莫愁前路无知己,天下谁人不识君。 At 2012-09-23 17:01:25,"Knut Staring" wrote: Hello Easy, have you translated DHIS2 to Ch

Re: [Dhis2-users] Importing lab results.

2012-09-23 Thread Lars Helge Øverland
Hello lemoene, yes I think this is very feasible. CSV can be imported through the user interface and through the web api. The format is documented here: http://dhis2.org/doc/snapshot/en/user/html/ch17s04.html Essentially you need to synchronize between the DHIS UIDs of the data elements and orga

Re: [Dhis2-users] Importing lab results.

2012-09-23 Thread lemoene
We are considering the export of summarised lab data from Bika Health LIMS to DHIS2 for interpretation in epidemiological context. An initial KISS approach could be to create a report summarising the data required in DHIS2 in the LIMS, and then exporting it as CSV. Is this feasible? Thanks

Re: [Dhis2-users] Is there some way to filter datavalue by more than one organization group ?

2012-09-23 Thread Knut Staring
Hello Easy, have you translated DHIS2 to Chinese? It would be great if you could contribute back. Best regards, Knut Sent from my mobile On Sep 23, 2012 9:00 AM, "easy" wrote: > Hello, > I want get data element value by filter by org group,but I find there only > filter one org group in dhis2,