jayasanka
(Jayasanka Weerasinghe)
May 22, 2020, 2:53am
1
Hello there,
I’m using this thread to update my progress on $subject.
You can find a quick introduction to this project here:
I’ve scheduled a weekly meeting for this project.
Event Link:
1 Like
jayasanka
(Jayasanka Weerasinghe)
May 22, 2020, 2:55am
2
1st GSoC Weekly Call
Held on: 2020-05-17T11:30:00Z
Attendees: @akshika47 @heliostrike @jayasanka
Meeting minutes
Meeting began with a quick bout of introductions from mentors.
Continue the discussion on the requirement gathering process on talk thread. GSoC 2020: Improving OpenMRS DHIS2 Integration - Requirement gathering
Try to contact a few hospitals this week.
Clarify how to initiate the OWA for the DHIS2 Reporting module.
Meeting ended on a positive note, looking forward to a great GSoC.
Tasks for the Week:
Continue the Requirement Gathering discussion.
Try to contact a few hospitals.
Clarify how to initiate the OWA for the DHIS2 Reporting module
Join ETL/ELT Stand Up to get an idea of how meetings are conducted.
LEGEND:
- Completed
- Ongoing
2 Likes
akshika47
(Akshika Wijesundara)
May 22, 2020, 9:44am
3
This is a good practice @jayasanka
1 Like
jayasanka
(Jayasanka Weerasinghe)
May 25, 2020, 3:59am
4
2nd GSoC Weekly Call
Held on: 2020-05-24T11:30:00Z
Attendees: @heliostrike @jayasanka
Meeting minutes
Reviewed the draft mail which was prepared to send implementors
Had a discussion on Micro-Frontend architecture
Tasks for the next week
Get the draft mail reviewed
Contact implementors
Continue the discussion on OWA and clarify how to initiate the UI
LEGEND:
- Completed
- Ongoing
jayasanka
(Jayasanka Weerasinghe)
June 8, 2020, 1:49pm
5
Update for the 1st week (2020-05-31T18:30:00Z - 2020-06-06T18:30:00Z ):
According to the thread most of them recommended using micro frontends. I went through the architecture and learned a lot from that. I was able to set up the micro frontend on the openMRS reference application.
Then I faced the following problem:
In the meanwhile, I started a thread to check if there’s a way to get a cloud server to host a DHIS2 instance or gain access to already created one. Didn’t receive a good response yet.
Hi all,
I’m working on my GSoC Project; GSoC 2020: Improving OpenMRS DHIS2 Integration . Currently, I have set up a DHIS2 instance on my local machine for testing purposes. But, it is a resource-consuming setup and a little bit hard to run other applications with that.
May I know is there a way to get a cloud server to host the DHIS2?
Received only two responses from the implementors. OpenMRS Requirement Gathering for DHIS2 Module . I will update the thread with a summary and ask Jeniffer to send her the implementors list.
Blog Posts:
1 Like
jayasanka
(Jayasanka Weerasinghe)
June 8, 2020, 1:58pm
6
GSoC Mentoring Weekly Call
Held on: 2020-06-07T15:30:00Z
Attendees: @akshika47 @jayasanka
Meeting minutes
Reviewed the current progress
I was asked to join ongoing calls related to DHIS2
Tasks for the next week
Collect more implementor contacts and reach them
Join ongoing calls related to DHIS2
Connect to local DHIS2 instance and test it with the current implementation
Initiate a basic frontend UI module
LEGEND:
- Completed
- Ongoing
2 Likes
jayasanka
(Jayasanka Weerasinghe)
June 24, 2020, 2:51pm
7
GSoC Mentoring Weekly Call
Held on: 2020-06-20T15:30:00Z
Attendees: @akshika47 @jayasanka
Meeting minutes
Reviewed the current progress
Discussed with the data model of DHIS2 and the visualization
Planned to come up with a new database structure to store disaggregations
Tasks for the next week
Comeup with model and DB structure to store disaggregations
Start implementing the proposed model
LEGEND:
- Completed
- Ongoing
jayasanka
(Jayasanka Weerasinghe)
June 24, 2020, 3:01pm
8
Updates for 2nd and 3rd week ( 2020-06-07T18:30:00Z - 2020-06-20T18:30:00Z )
Post data to the DHIS2 instance using ADX format
The previous implementation gets crashed when trying to post data to the DHIS2. Fixed the issue and posted data to the DHIS2 instance.
Hi all,
I set up the DHIS2 Reporting module recently and tried to post data from the module. When I select the “Post to DHIS2” option and click the “Generate” button the page gets crashed immediately.
I created an issue explaining the bug:
When I’m digging into the code I found that we need to fix the following in order to fix this.
The content type of the request payload is incorrect. (It should be application/adx+xml)
JAXB mapping for the response payload is incompatible
The UI should u…
Tickets:
https://issues.openmrs.org/browse/DRM-47
https://issues.openmrs.org/browse/DRM-48
https://issues.openmrs.org/browse/DRM-49
https://issues.openmrs.org/browse/DRM-50
Post data and from using the module and visualized it on the DHIS2 visualizer app.
Did a background study on the DHIS2’s model structure.
Related discussions:
Support - Assistance technique
Hi all, I get this error when I’m trying to visualize data using the Data Visualizer app. I checked the DB and there’s no table named analytics. The UI shows a “No Data” message and there’s an error throwing from the backend. Could someone...
Reading time: 1 mins 🕑
Likes: 4 ❤
Blog posts :
When I was in high school, my math teacher Mr. Packwood used to say, “If you’re stuck on a problem, don’t sit there and think about it…
Reading time: 3 min read
1 Like
jayasanka
(Jayasanka Weerasinghe)
June 27, 2020, 8:31am
9
@akshika47 could you please review and merge the following PRs?
Issues:
jayasanka
(Jayasanka Weerasinghe)
July 9, 2020, 7:26am
10
Updates for the 4th and 5th week ( 2020-06-21T18:30:00Z - 2020-07-04T18:30:00Z )
Create a new DB structure and a class structure to support ADX disaggregations
Hi all,
The current module doesn’t support ADX disaggregations. In order to do that we need to map DHIS2’s Categories and CategoryOptions within the module. The next thing is the current import format is not compatible with the exported metadata information of DHIS2. We have to fix it at all.
This is the current DB:
[image]
There’s an existing ticket that suggested a structure.
https://issues.openmrs.org/projects/DRM/issues/DRM-43
But according to the DHIS2 ADX documentation we don’t need t…
Configure Travis build and reformat the code
https://issues.openmrs.org/browse/DRM-51
https://issues.openmrs.org/browse/DRM-52
openmrs:master
← jayasanka-sack:DRM-52
opened 08:07AM - 27 Jun 20 UTC
## The issue I worked on
See https://issues.openmrs.org/browse/DRM-52
## Des… cription of what I changed
- Create a Travis configuration file
- Edit the .gitignore file to remove it from the ignored list
openmrs:master
← jayasanka-sack:DRM-51
opened 07:35AM - 27 Jun 20 UTC
## Issue I worked on
See https://issues.openmrs.org/browse/DRM-51
## Descr… iption of what I changed
- Configure the Maven build to reformat source code to comply with [Google Java Style](https://google.github.io/styleguide/javaguide.html).
- Reformat the code
Blog posts:
1 Like
jayasanka
(Jayasanka Weerasinghe)
July 14, 2020, 5:53am
11
Updates for the 6th week ( 2020-07-05T18:30:00Z - 2020-07-11T18:30:00Z )
Implement the new model structure to support ADX disaggregations and remove some previous implementations.
Hello there,
We have to remove existing implementations that aren’t compatible with the new ADX disaggregations. The current implementation is designed according to the DFX structure but later on, it has changed to ADX while keeping the same. It supports only non disaggregated data. Unfortunately, the current implementation isn’t expandable because it is incompatible with the latest DHIS2’s data structure. In order to implement it, we have to remove some previous implementations.
Also, there a…
Import a Dataset from the metadata XML file
Tickets:
https://issues.openmrs.org/browse/DRM-53
https://issues.openmrs.org/browse/DRM-54
https://issues.openmrs.org/browse/DRM-56
Pull Requests:
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-53
opened 07:17AM - 09 Jul 20 UTC
## The issue I worked on
See https://issues.openmrs.org/browse/DRM-53
## Des… cription of what I changed:
- Remove previous implementations which aren't compatible with ADX profile changes
- Remove unused classes and imports
- Remove unnecessary system outs.
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-54
opened 07:54AM - 09 Jul 20 UTC
## The issue I worked on
See https://issues.openmrs.org/browse/DRM-54
## Des… cription of what I changed:
- Implement new model classes
- Add SQL queries to create the DB
- Implement Hibernate mappings
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-56
opened 08:44AM - 13 Jul 20 UTC
## The issue I worked on
See https://issues.openmrs.org/browse/DRM-56
## Des… cription of what I changed:
- Add JAXB annotations to the Metadata and Dataset classes
- Create a view to upload the XML file
- Create a new controller to the view
- Unmarshal the XML file and save the dataset on the DB
![Kapture 2020-07-13 at 15 24 28](https://user-images.githubusercontent.com/33048395/87291689-52143180-c51d-11ea-9739-5809307fe276.gif)
Related other discussions:
Blog posts:
Tasks for the next week:
Import Data Elements
Import Categories
Import Category Options
Generate Data Value Templates
2 Likes
jayasanka
(Jayasanka Weerasinghe)
July 23, 2020, 4:20pm
13
Updates for the 6th week ( 2020-07-12T18:30:00Z - 2020-07-18T18:30:00Z )
Generated JAXB classes to fully unmarshal the import file using XJC. XJC compiles an XML schema file into fully annotated Java classes.
Create methods to extract and save,
Data Elements
Data Set
Categories
Category Options
Disaggregations
Create a new DAO method to save Disaggregations
Create a new DAO method to find a Dissagregation using a Category and a Category Option
Implement a method to generate Data Value Template
Implement a recursive method to generate Disaggregation combinations for a given Data Element
Remove irrelevant field “name” from Data Value Template
Fix wrong field “dataelement_id” in Data Value Template’s mapping file
Implement DAO methods to
save a Data Value Template
remove Data Value Templates of a given Dataset
get Disaggregations of a given Category
Pull Requests:
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-57
opened 01:06PM - 14 Jul 20 UTC
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-58
opened 05:32PM - 15 Jul 20 UTC
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-59
opened 09:43AM - 17 Jul 20 UTC
Blog posts:
1 Like
jayasanka
(Jayasanka Weerasinghe)
August 6, 2020, 1:30pm
14
Updates for 2020-07-19T18:30:00Z - 2020-08-05T18:30:00Z
Create a new view to list imported Data Sets
Create a new controller to handle reports
Create a new DAO method to get all Data Sets
Modify the local header with new links and fix broken HTML tags
Remove irrelevant JSP pages
Create DAO methods to
Find Data Value Templates by a Data Set
Find a dataset by UUID
Create a new service to update the report of a Data Set
Create a new view to map Report with a DataSet
Create a DAO method to find a DataValueTemplate by id
Create a service to update the Report Indicator of a DataValue Template
Create a view to mapping DataValueTemplates with Report Indicators
Exclude dependencies which included javax.xml.namespace.QName
Create new Controller and Service methods to
Execute the mapped Report Definition
Map Report result with Data Value Templates
Generate ADX output
Post data to connected DHIS2 instance
Pull Requests:
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-60
opened 10:08AM - 21 Jul 20 UTC
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-61
opened 10:50AM - 25 Jul 20 UTC
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-62
opened 07:09AM - 29 Jul 20 UTC
openmrs:adx-disaggreagations
← jayasanka-sack:DRM-63
opened 11:09AM - 06 Aug 20 UTC
Blog posts:
1 Like