piumal1999
(Piumal Rathnayake)
December 20, 2020, 5:56pm
1
Module: DHIS2 Connector module
Currently, the dhis2 connector module only supports the following period types in the automation.
Daily
Weekly
Monthly
Yearly
And the following period type supporting is not implemented in the current version.
Financial April
Financial July
Financial October
Six Monthly
Six Monthly April
Quarterly
Bimonthly
Requirement: Updating the module to support the mentioned period types in automation.
Relevant files:
src/main/java/org/openmrs/module/dhisconnector/api/impl/DHISConnectorServiceImpl.java:transformToDHISPeriod
Relevant links:
DHIS2 date formats -
https://docs.dhis2.org/master/en/developer/html/webapi_date_perid_format.html
Jira - https://issues.openmrs.org/projects/DCM/issues/DCM-11?filter=allopenissues
So, I’m working on this task and I’ll use this thread to give my updates on it.
1 Like
piumal1999
(Piumal Rathnayake)
December 20, 2020, 9:53pm
2
Hi, I added the pull request for the Financial April period support. Also I tested it with DHIS2 demo instance (version 2.34.2)
Link for Jira issue:
DCM-21 Support Financial April period type in automation Type: New Feature
Priority: Should
Link for pull request:
openmrs:master
← Piumal1999:DCM-21
opened 08:24PM - 20 Dec 20 UTC
Please review and merge😊
PS: I hope to implement Financial October and Financial July period support as soon as the PR is merged because those two also have the same structure.
1 Like
piumal1999
(Piumal Rathnayake)
December 22, 2020, 7:14pm
3
Thanks for merging the pull request.
Now im working on the Financial July period support issue.
DCM-22 Support Financial July period type in automation Type: New Feature
Priority: Should
1 Like
piumal1999
(Piumal Rathnayake)
December 23, 2020, 7:00am
4
Sent the pull request to implement Financial July period support in Automation
openmrs:master
← Piumal1999:DCM-22
opened 07:18PM - 22 Dec 20 UTC
Please review and merge
1 Like
piumal1999
(Piumal Rathnayake)
December 23, 2020, 12:08pm
5
Added Financial October period support in Automation.
Please review and merge the pull request
Pull request:
openmrs:master
← Piumal1999:DCM-23
opened 12:02PM - 23 Dec 20 UTC
1 Like
piumal1999
(Piumal Rathnayake)
January 14, 2021, 8:16am
6
For this sprint, we hope to add SixMonthly period type support for the automation in dhis connector module.
So I’m working on the SixMonthly period type first. (DCM-31)
piumal1999
(Piumal Rathnayake)
January 14, 2021, 9:49am
7
openmrs:master
← Piumal1999:DCM-31
opened 09:33AM - 14 Jan 21 UTC
Sent the pull request for the SixMonthly period type. Please review and merge.