Hi Tim,
I think the short answer to your question is there is no API to tell you
this directly. The database does not version category option combos, so
there is no real way to know what is historical versus what is current. In
your particular case, you might be able to leverage the "created" time
Hi Craig,
Why not use the "sharing" feature? Set the indicator's Public sharing to
"None". It would still be present, but not visible to anyone. Then you
could create a user group "Legacy indicators user group" and add users to
this group, and set the sharing of the indicator to allow this group
revno: 21078
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 14:09:05 +0700
message:
Minor fix
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericSto
revno: 21077
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 14:00:29 +0700
message:
minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeValue.java
dhis-2/dhis-api/src/main/java
revno: 21076
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 13:46:57 +0700
message:
Minor TableAlteror addition, clean up AttributeValues where value is null or
empty string, mainly for legacy reasons, late
Hi Craig,
In South Africa we have a Indicator dataset review process every 2 years
and the revision is released officially to all users so it is largely a
transparent process
The outcome usually results in a mixture of the following:
1) Indicators and their related elements being dropped off - th
revno: 21075
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 11:18:36 +0700
message:
add AttributeValueStore
added:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/AttributeValueStore.java
dhis-2/d
revno: 21074
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 10:38:58 +0700
message:
mergefix for userCredentials.ldapId
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java
--
revno: 21073
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Tue 2015-11-17 10:35:21 +0700
message:
SchemaDescriptor and Controller for PTEA
added:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ProgramTr
Hi,
Hope all are well.
I can envisage a situation where a given indicator/data element is changed in
some way (perhaps a changed calculation or definition). For historical
reporting purposes we would want to keep the old version of the indicator/data
element but would prefer that it is not app
Hello, all -
We are getting ready to share our templates and tools for DHIS2
implementations, and we invite everyone to contribute their tools to the
collection. My team at LogicalOutcomes is working with Steven Uggowitzer, David
Hagan, Prosper Behumbiize's team at HISP Uganda, and others to dev
revno: 21072
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Mon 2015-11-16 23:52:04 +0100
message:
Made Program - ProgramTrackedEntityAttribute association bi-directional by
adding a Program association. Made ProgramTrac
revno: 21071
committer: Lars Helge Overland
branch nick: dhis2
timestamp: Mon 2015-11-16 21:38:13 +0100
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramSt
Proof reading isn't my strong suit today:
---
API question for the API Gurus:
During configuration on a recent project, many dis-aggregation groups were
changed and updated after their Category Option Combos were initially
generated. They do not have data associated with them, but I think that is
Hello DHIS2 Devs!
API question for the API Gurus:
During configuration on a recent project, maybe dis-aggregation groups were
changed and updated after their Category Option Combos were initially
generated. They do not have data associated with them, but I think that is
beside the point for my qu
Hi Julhas,
Thank you very much for the descriptive guide and the codes. Will try them
out :)
On Mon, Nov 16, 2015 at 6:15 PM, Julhas Sujan
wrote:
> Hi Pamod,
>
> Please check the following links:
>
> Download Guide:
> http://www.julhas.info/dhis2/dataextract/previousmonthdata.pdf
> Download Sou
revno: 21070
committer: Jan Henrik Overland
branch nick: dhis2
timestamp: Mon 2015-11-16 17:26:50 +0100
message:
PT noext.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app2.js
--
lp:dhis2
https://c
revno: 21069
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Mon 2015-11-16 16:48:46 +0100
message:
event-capture: file type dataelements - WIP
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-cap
revno: 21068
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Mon 2015-11-16 16:47:16 +0100
message:
EventController getting ready for event data value file types
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org
Hi Pamod,
Please check the following links:
Download Guide:
http://www.julhas.info/dhis2/dataextract/previousmonthdata.pdf
Download Source Code:
http://www.julhas.info/dhis2/dataextract/previousmonthdata.zip
If you need more information please let me know.
Thanks
Julhas
On Mon, Nov 16, 2015 at
Hi Pamod,
I am sending you soon the whole code with a business scenario that will be
helpful for you. You can easily adapt your business in this script.
Thanks
Julhas
On Mon, Nov 16, 2015 at 5:04 PM, Pamod Amarakoon wrote:
> Dear Julhas,
>
> Thanx a lot for the code. I'll check this out
>
> I
Dear Julhas,
Thanx a lot for the code. I'll check this out
I was working on the following code.
$(document).ready(function() {
function getPreVal(){
var orgunit = selectedOrganisationUnit.value;
console.log(orgunit);
var ouselect = $('.selected').attr('href');
var orgid = ousel
Dear Hannan,
Thank you for the reply. Use case was to auto fill a dataElement from a
value of a previous Day/Month dataSet, will try your lead with indicators
On Mon, Nov 16, 2015 at 4:07 PM, Hannan Khan wrote:
> Dear Pamod
>
> To get a indicator through web API is by calling using uid of the
>
You will get period look like: November-2015. You need last day or month
data. If month you may convert it as a simple way for 201510 as follows:
if(periodName=='December 2015'){
var periodN="201511";
}else if(periodName=='November 2015'){
var periodN="201510";
}else if(periodName=='October 2015
Dear Pamod
To get a indicator through web API is by calling using uid of the
indicator. for example:
https://play.dhis2.org/demo/api/indicators/ReUHfIn0pTQ will give you 'ANC
1-3 Dropout Rate'; the last 11 digit is the uid of the indicator.
Indicator values are not saved in tables, DHIS2 calcula
Dear Julhas,
Thank you very much. I actually needed orgUnitId to call web-api. Iused the
following code to get it done. Seems to work on data entry screen.
var ouselect = $('.selected').attr('href');
var orgid = ouselect.match(/"([^"]+)"/)[1];
On Mon, Nov 16, 2015 at 3:39 PM, Julhas Sujan
wro
Hi Pamod,
Please paste the following code in your dataentry screen and check the
result from console. It will show the selected organization unit and period:
dhis2.util.on( 'dhis2.de.event.formReady', function( event, aglAzf2x2bF ) {
var orgName = $( '#selectedOrganisationUnit' ).val();
revno: 21067
committer: Abyot Asalefew Gizaw
branch nick: dhis2
timestamp: Mon 2015-11-16 09:54:03 +0100
message:
minor
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.
28 matches
Mail list logo