Skip to content

Commit 409e0db

Browse files
Merge pull request #1 from WISCENTD-UPC/develop
First stable version
2 parents 6da76b7 + 2eac821 commit 409e0db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+30396
-1
lines changed

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
REACT_APP_DHIS2_BASE_URL='http://localhost:8080'
2+
REACT_APP_DHIS2_APP_NAME='Go.Data-DHIS2 Interoperability app'
3+
REACT_APP_DHIS2_API_VERSION=32

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
26+
.eslintcache
27+
*.zip

README.md

100644100755
Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
1-
# interoperability-app
1+
## Go.Data-DHIS2 Interoperability App
22
DHIS2 basic app to allow interoperability between DHIS2 and Go.Data instances
3+
![Architecture summary](./images/overview.png)
4+
5+
## Requirements
6+
7+
- Node.js (>= v12.x) and npm (>= v6.x) installed in the system.
8+
9+
## Installation
10+
11+
+ Clone the repository or download it as a zip file.
12+
+ In a terminal, install the dependencies by executing ```npm install``` inside the project folder.
13+
+ In a terminal, run the command ```npm run build``` or ```yarn build``` to build the app for production into the `build` folder.
14+
+ Compress the `build` folder, go to the *App Management* app inside your DHIS2 instance and upload the compressed .zip.
15+
16+
![App Management DHIS2](./images/app-management.png)
17+
18+
## App Functionality
19+
20+
+ **Import Credentials**: The first thing that needs to be configured is the connection to both DHIS2 and Go.Data APIs. A base endpoint has to be provided for each service, as well as the credentials needed for the authentication. Once the form is submitted, the information will be saved on the DHIS2 Data Store.
21+
22+
<p align="center">
23+
<img src="./images/credentials.png" width="700">
24+
</p>
25+
26+
+ **Base configuration settings**: To adapt the process to a specific DHIS2 structure, configurable parameters settings must be provided. There are also additional parameters related to outbreak creation and configuration. Once the form is submitted, the information will be saved on the DHIS2 Data Store.
27+
28+
<p align="center">
29+
<img src="./images/base-config.png" width="600">
30+
</p>
31+
32+
+ **Export data and metadata**: There are two possible export sequences. Both ways are equivalent, the only difference is that the *Full transfer* sequence groups *Copy Metadata*, *Create outbreaks*, *Copy cases* and *Copy contacts* all in one step.
33+
+ Copy Organisation Units: At the end of this step, a pop-up window will appear to download the orgUnits `.json`. This file needs to be saved on the computer and imported on the Go.Data instance following the path: <br />
34+
`Go.Data → Locations → Quick Actions → Import hierarchical locations → Choose file (organisation-units.json) → Import`
35+
36+
![Screenshot of Go.Data locations](./images/locations-path.png)
37+
38+
Once this file has been correctly imported, carry on with the next steps. Before moving on to the next step, all the pop-up messages have to be checked as done (✓).
39+
40+
<p align="center">
41+
<img src="./images/step-by-step.png" width=600>
42+
</p>

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-cayman

i18n/en.pot

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: i18next-conv\n"
4+
"MIME-Version: 1.0\n"
5+
"Content-Type: text/plain; charset=utf-8\n"
6+
"Content-Transfer-Encoding: 8bit\n"
7+
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
8+
"POT-Creation-Date: 2020-11-26T09:36:46.653Z\n"
9+
"PO-Revision-Date: 2020-11-26T09:36:46.653Z\n"
10+
11+
msgid "Hello {{name}}"
12+
msgstr ""
13+
14+
msgid "Welcome to DHIS2!"
15+
msgstr ""

images/app-management.png

33.4 KB
Loading

images/base-config.png

35.5 KB
Loading

images/credentials.png

23.7 KB
Loading

images/locations-path.png

47.5 KB
Loading

images/overview.png

283 KB
Loading

0 commit comments

Comments
 (0)