Questions tagged [dhis-2]
DHIS 2 is the flexible, web-based open-source information system platform for data capture, management, validation, analytics and visualization primarily used in the public health domain.
39
questions
0
votes
0
answers
31
views
How to Populate a DHIS2 dataset using DHIS2 Web API + R
I am an R user who wants to learn how to populate a DHIS2 hosted dataset via the DHIS2 Web API. Specifically, I would like to test the concept using the DHIS2 Demo server (https://play.dhis2.org/2....
0
votes
0
answers
52
views
DHIS2 is not directed read queries to postgres read replicas
This is my first post in stackoverflow. I am trying to implement read replicas for my DHIS2 instance. I am using DHIS2 version 2.37.9 and Postgres 13. The DB replication works. But read queries are ...
0
votes
0
answers
16
views
How I can import stages data using data import wizard app in DHIS2
How Can I import stages data in dhis2, using the "Data Import Wizard" app.
Registration data is import correctly but I think the stages mapping is not properly mapped. Please share example ...
0
votes
0
answers
29
views
How to create new Custom API in DHIS Core 2.38.1.1?
I need to create new API in DHIS2 2.38.1.1, by customizing the DHIS2 core. But I don't know how to start. Any one can help me the steps how to create new API in DHIS 2 core?
Thanks
I hade created ...
0
votes
1
answer
43
views
Tomcat8_DHIS2 not starting
I installed and ran DHIS2 on tomcat 8 a week ago and everything was going fine. To start the tomcat server, I had to click on Tomcat8_DHIS2, wait for the cmd to stop running, then start the ...
0
votes
1
answer
49
views
Is it possible to get lastUser for a DHIS2 analytics API call?
We're running a nodeJS script to identify erroneous data values (negative numbers) and we're unable to determine which user captured the values without logging in and inspecting the data entry form.
...
0
votes
1
answer
176
views
DHIS2 core docker container restarting due to missing privileges for chown
I'm following this guide to launch a docker container of DHIS2 on a Mac (Big Sur) and the core container keeps restating on me because Tomcat's server.xml can't be chowned. Here's the tail of the log:
...
0
votes
3
answers
573
views
DHIS2 API get dataset instead of individual data elements
I'm already able to fetch json back from the API related to DATA ELEMENTS.
I'd like to get DATA SET results instead (containing all DATA ELEMENTS that are part of this particular DATA SET)
Thanks!
1
vote
1
answer
86
views
/Reactjs fetching bringing a 405 status code in browser
I am developing a react app over DHIS2 and data online that is structured like:
indicators: [
{
name: "something",
attributeValues : [ {}],
anotherNode: "anything",
},...
3
votes
0
answers
463
views
How do I install PostGIS on Ubuntu Desktop 20.04 LTS
I have just set up a brand new Ubuntu 20.04 LTS
I have successfully installed Postgresql 12
I want to install postgis, but I cannot find any instructions on the internet for my version of Ubuntu.
...
0
votes
1
answer
79
views
Alternate use cases for DHIS2
Good day all.
Has anybody used DHIS2 for alternate cases, such as alien plant invasion research, and soil erosion on coastlines research.
Please can somebody confirm as well, if DHIS supports image ...
0
votes
1
answer
149
views
Embedding live dhis2 data directly on your website
I want to display the charts, tables, maps etc from a dhis2 user account unto a web page. I read the web api documentation and tried to use the plugins but they dont work (they seem to be outdated). ...
0
votes
0
answers
156
views
Long running query hangs application despite multiple cores
Our server has 8 cores and is running a web application(DHIS2) which uses postgres as database.
There is big select query which takes a few hours to execute. (The query is executed from the terminal)
...
1
vote
0
answers
81
views
Encoding issue in Apache Tomcat
I'm using DHIS2 which is a WAR file. It seems to serve static content (JS files) and there seems to be an encoding issue. I have very little experience with Tomcat and I'm wondering if this is an ...
1
vote
0
answers
653
views
Using Oauth with Offline first Application (PWA)
I have an offline first application build using AngularJS(and service worker). I am taking advantage of IndexedDB to keep my data when the application is used offline(without internet connection). My ...
2
votes
1
answer
355
views
DHIS2-live is not working properly in windows
I am new to use DHIS for giving a try to see what I can do with DHIS and its applications. I have installed PostgreSQL and DHIS2-Live and updated its configuration. When it starts after taking ...
-3
votes
1
answer
190
views
Download html form from web server into android for offline data capture
Is it possible to download a form, a form has input fields where a user capture data and submits to dB etc, is it possible to download those fields with its id’s into android from web server without ...
0
votes
0
answers
46
views
dhis2 XML import error: "failed to move to start element"
I tried to import some XML data from a file I created, but I got an error message:
failed to move to start element
What does it mean?
1
vote
1
answer
306
views
Is there any command line client to do data entry in DHIS2?
I want to know is there any command line client to do data entry in DHIS2?
I found one, named as dish (https://github.com/baosystems/dish2/), but it is only used for simplifying common tasks and is ...
2
votes
2
answers
731
views
Find out since how long the cache has been stored in IndexDB?
I am using a web application for doing data entry which has a mechanism for storing the data entry form (which is an html form) in the browser cache IndexDB.
I am able to see the form in the browser ...
0
votes
2
answers
331
views
DHIS2 and mysql?
The DHIS2 documentation mentions that it supports mysql (https://docs.dhis2.org/2.28/en/implementer/html/installation.html), however thats the last point mysql is ever mentioned.
Does the current ...
0
votes
1
answer
196
views
How do i install an app into a dhis2 instance for the first time?
I am trying to install an app into my dhis2 v2.28 instance. I install the app from the app store on the app management platform but after installation, i cannot find the app on my app list.
1
vote
0
answers
81
views
DHIS2: Category Options Missing
I have a category AGE it has Category options (<1y,1-4y,5-9y,9-15y), Gender(Male,Female) I have created a category combination AGE+GENDER.
My issue is when i add a new AGE seggragation like 15-20y ...
1
vote
0
answers
324
views
DHIS 2 Regarding Data Entry Forms
DHIS 2 Open Source Project
I am using DHIS-2 Software for our Malaria MIS System For Analysis and maintain performances regarding malaria information and management system.
Problem I Face using DHIS-2 ...
1
vote
1
answer
273
views
How can I change username of users in dhis2?
I have approximately 500 users of my dhis2 clone system, Where i need to change username of at least 400 users but when I opens Edit user window there is no option to do so, Can anyone help How can I ...
0
votes
1
answer
234
views
Given an API with data in json format, how do i present the data in a HTML table?
So far, I have this PHP cURL code:
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://play.dhis2.org/release1/api/25/analytics.json?dimension=dx%...
1
vote
0
answers
430
views
DHIS2 Import Data
Im using DHIS 2 Live with embedded database.
I have and excel, with some data, i transformed it to csv and tried to import it using the import tools.
ImportTools
ImportExample
It doesnt print any ...
0
votes
1
answer
892
views
How to do configuration of PostgreSQL database in DHIS2?
I've downloaded and executed DHIS-2 in the Windows operating system. I want to connect with a PostgreSQL database. I'm trying the below configuration settings in the dhis.conf file but it's not ...
1
vote
1
answer
327
views
connect to two databases in dhis.conf
I need to deploy a second instance of DHIS2 on my server. I already have the first one running very well.
The challenge I have is that DHIS2 only uses one configuration file with the code below. I am ...
0
votes
1
answer
68
views
Where is the time stamp for uploaded/entered aggregate reports physically stored in DHIS2 and how do I pull the time stamp data from it?
I have been trying to find the table that stores the time stamp for an uploaded aggregate report in dhis2. I need that data for a report i am creating using SQL view. I managed to find a table called ...
1
vote
1
answer
908
views
Installing DHIS-2 on Amazon-AWS
I just came across DHIS2 last friday through a client and I knew then that its what I've been looking for all along. I'm now trying to deploy on the cloud for a demo today (hopefully).
Is there a ...
0
votes
1
answer
103
views
Can't push bazaar repository into git using dpush
I am not able to push a bazaar repository into Git.
I have used this command :
bzr dpush git+ssh://git@github.com/harsh-a1/dhis_2.22.git,branch=master
Am getting the following error:
bzr: ERROR:...
2
votes
0
answers
230
views
UNEXPECTED TOP LEVEL EXCEPTION while integrating a library project
I am trying to integrate DHIS2 SDK into my app by trying to import the library project.
My settings.gradle looks like
include ':app', ':sdk', ':core', ':persistence', ':core-java', ':models'
...
1
vote
1
answer
51
views
DHIS2 - Choose file button won't appear when assigning the “file” type to a data element
On the event capture screen, when selecting a program that contains data of type "file" it will be displayed as a text field instead of a choose file button, I tried changing this behavior creating a ...
2
votes
1
answer
721
views
Define categories for data element in DHIS2
Is it possible to create a data element that can take values only in a predefined set of categories e.g. ‘Not Tested’, ’Result Test: Negative’, ‘Result Test: Positive’ in DHIS2.
Exploring the use of ...
3
votes
1
answer
476
views
DHIS2 - Data Visutalization/Reports
I am getting No Values found while trying to configure report/charts in DHIS2.
I have been
Created DataElements
Created Category Options
Added a Category to include Category Options
Created a ...
1
vote
1
answer
178
views
DHIS2 - Eclipse Import Issue using Bazaar
After download the project using,
bzr branch lp:~dhis2-devs-core/dhis2/2.18
I am getting the following error when trying to import DHIS2 project using Bazaar into Eclipse EE Luna Version 4.4.2:
[...
4
votes
2
answers
1k
views
Environment variable DHIS2_HOME: null (TrayApp.java [main])
I am getting the error Environment variable DHIS2_HOME: null (TrayApp.java [main]) when trying to start the dhis2-live.exe with Postgres connection on my Windows Vista machine.
However the same ...
3
votes
2
answers
626
views
DHIS-2 not running
I want to use DHIS-2 in my local system (localhost). i follow steps from here. And all files build in my system by following command
mvn install // on dhis-2 Dir and also /dhis-2/dhis-web
But i can'...