Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mekom cicd pipe #188

Draft
wants to merge 3,984 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3984 commits
Select commit Hold shift + click to select a range
e6130f6
Merge pull request #1627 from gabriel090/KHP3-3670
patryllus Aug 7, 2023
68ce1b9
Add RHZE as a regimen in the TB Regimen history for the children.
gabriel090 Aug 7, 2023
68eb7c3
Removing 18 flags for optimization - mainly on programs and legacy flags
patryllus Aug 7, 2023
d08396c
Removing 3 flag tests
patryllus Aug 7, 2023
c798126
Update regimen list on MCH Child Enrolment to reflect the current list
gabriel090 Aug 8, 2023
a21576c
In the MCH Antenatal Visit form, make Height and Weight in the vitals…
gabriel090 Aug 9, 2023
9c6b46b
In the MCH Antenatal Visit form, retain the previous height recorded
gabriel090 Aug 9, 2023
e175cd3
Merge pull request #1633 from gabriel090/KHP3-3967
patryllus Aug 10, 2023
33d7241
(feat) Check for specific appointment forms before syncing to bahmni
CynthiaKamau Aug 9, 2023
a779337
Merge pull request #1636 from gabriel090/KHP3-3947
patryllus Aug 16, 2023
53cfc50
KHP3-4024: Allow usage of appointment date as effective discontinuati…
jecihjoy Aug 16, 2023
e221846
KHP3-3968: Validate effective discontinuation date to be before TCA …
jecihjoy Aug 17, 2023
e446113
Remove unnecessary pom file changes
jecihjoy Aug 18, 2023
7cf9773
Removing report configuration for covid reports causing inconsistenciew
patryllus Aug 21, 2023
13fd9df
Merge pull request #1640 from patryllus/covid-configs
ojwanganto Aug 21, 2023
7088fd7
Merge pull request #1631 from patryllus/retire-flags
makombe Aug 23, 2023
73053e7
Allow free text if transfer to facility is not in kenya
jecihjoy Aug 25, 2023
1a05db6
Merge pull request #1638 from jecihjoy/appntment-date
patryllus Aug 25, 2023
efed91a
Merge pull request #1644 from jecihjoy/KHP3-4007
patryllus Aug 25, 2023
8946557
In the HIV testing section, allow user to only see Determine and Dual…
gabriel090 Aug 29, 2023
986a4f0
Add a column for 'Facility transferred to' on the clients transferred…
gabriel090 Aug 30, 2023
cdf7042
ART Readiness assessment form missing medical criteria.
gabriel090 Aug 30, 2023
37d3402
Applied changes on the file
gabriel090 Aug 31, 2023
d7fb0fc
Update Tx_PVLS query on DATIM report to accurately capture targeted V…
njorocs Aug 31, 2023
802773a
Disabled MoH257 form for the discontinued clients and dead clients
njorocs Aug 31, 2023
39f3544
Add more checks for appointment sync
Aug 31, 2023
3f72013
KHP3-4071 Improve care panel to include regimen initial and current
CynthiaKamau Aug 28, 2023
00a9e5f
Made pharmacy refill date mandatory
njorocs Sep 1, 2023
d66fc88
Merge pull request #1648 from CynthiaKamau/care-panel-regimen
makombe Sep 4, 2023
d934565
Merge pull request #1651 from makombe/appointment-checks
CynthiaKamau Sep 4, 2023
2211106
Merge pull request #1650 from njorocs/KHP3-3553
patryllus Sep 4, 2023
1fb7762
Merge pull request #1649 from njorocs/KHP3-3965
patryllus Sep 4, 2023
f6a7a8e
Merge pull request #1654 from njorocs/KHP3-3930
patryllus Sep 4, 2023
35a0183
Merge pull request #1646 from gabriel090/KHP3-3969
patryllus Sep 4, 2023
f94ee77
Add endpoint for regimen history
Sep 4, 2023
d98aa65
Merge pull request #1656 from makombe/regimen-end-point
CynthiaKamau Sep 5, 2023
0508801
Added calculation for determining whether VL as done within required …
njorocs Sep 5, 2023
fb82d3b
Merge pull request #1657 from njorocs/sims-revision
patryllus Sep 5, 2023
c4aa338
KHP3-3260 Added various facilities
PatrickWaweru Sep 5, 2023
6027090
Merge pull request #1605 from gabriel090/KHP3-2971
patryllus Sep 5, 2023
3878969
Merge pull request #1630 from gabriel090/KHP3-3882_1
patryllus Sep 5, 2023
a088202
Merge pull request #1647 from gabriel090/KHP3-3224
patryllus Sep 5, 2023
61bada1
Revised missed appointment to include refill appointments. Refactored…
njorocs Sep 6, 2023
d68e07c
Updating missed appointment and RTC dates to check for refill date an…
njorocs Sep 6, 2023
5b1b252
(feat) Add rest endpoint to return facility name given mfl code
CynthiaKamau Sep 7, 2023
971f2cc
Included Refill appointment date in Return Visit Date Calculation. Re…
njorocs Sep 7, 2023
c26be6d
format the code
gabriel090 Sep 8, 2023
6da3974
Merge branch 'master' into KHP3-3946
gabriel090 Sep 8, 2023
08a10b9
Merge branch 'master' into KHP3-2571
gabriel090 Sep 8, 2023
9ae34ff
Merge pull request #1603 from gabriel090/KHP3-2571
gabriel090 Sep 8, 2023
78e7e96
Merge pull request #1660 from CynthiaKamau/care-panel-regimen
makombe Sep 8, 2023
9482f44
Create custom API rest endpoint for ARV drugs for non standard regimen
Sep 11, 2023
407079a
Code review
Sep 12, 2023
2536b96
(enhancement) Removed completed forms from the returned results in ad…
donaldkibet Sep 12, 2023
8d4d5aa
Merge pull request #1664 from palladiumkenya/enhancement/formsEndpoint
ojwanganto Sep 12, 2023
8534638
Merge pull request #1635 from gabriel090/KHP3-3946
patryllus Sep 18, 2023
7af0e07
Merge pull request #1663 from makombe/arv-drugs
ojwanganto Sep 18, 2023
1ddef53
Create API endpoint for standard regimen
Sep 19, 2023
9c41645
Merge pull request #1668 from makombe/standard-regimen
ojwanganto Sep 19, 2023
3df0818
Add endpoint to retrieve child father, mother or guardian
CynthiaKamau Jul 13, 2023
27e8b4a
Merge pull request #1607 from CynthiaKamau/child-parents
makombe Sep 19, 2023
bf6c53b
Add API endpoint for regimen change/stop reasons
Sep 19, 2023
b847303
Fix Owners and Add one more Facility
PatrickWaweru Sep 20, 2023
a4a0a91
Merge pull request #1659 from PatrickWaweru/KHP3-3260-AddMoreFacilities
patryllus Sep 20, 2023
54dfbb0
KHP3-715:Renamed TX curr monthly and quarterly reports
njorocs Sep 20, 2023
3e089d5
Remove sd NVP+AZT+3TC
Sep 20, 2023
a5392f3
Added insurance cover - NHIF or other insurance in greencard and Regi…
patryllus Sep 20, 2023
feeaada
Updated lable from National Health Insurance Fund Member(NHIF) to jus…
patryllus Sep 20, 2023
0eff68c
Merge pull request #1671 from gabriel090/KHP3-4094
patryllus Sep 21, 2023
2152e04
Merge pull request #1670 from njorocs/KHP3-715
patryllus Sep 21, 2023
43f86d4
KHP3-3041:Defaulter tracing register: Fixing Date client missed appoi…
njorocs Sep 21, 2023
f333cf8
RDQA REPORT_ Add columns for most recent WHO stage on the RDQA report.
Sep 21, 2023
505b4c5
Merge pull request #1674 from gabriel090/KHP3-740
patryllus Sep 21, 2023
ec1894b
Merge pull request #1673 from njorocs/KHP3-3041
patryllus Sep 21, 2023
87f68b2
API endpoint for last regimen encounter
Sep 22, 2023
50f6a1c
Merge pull request #1675 from makombe/last-regimen-encounter
CynthiaKamau Sep 25, 2023
d18187f
Added Medical cover and status at Current on ART linelist
patryllus Sep 25, 2023
8d18010
Merge pull request #1676 from patryllus/medical-insurance
njorocs Sep 25, 2023
1dfa7d3
Validation on required identifier for nhif number
patryllus Sep 25, 2023
1a226f9
Fix NEP on last regimen encounter url
Sep 27, 2023
92f76dd
Bump last regimen encounter with additional properties
Sep 27, 2023
76a80e9
Add ability to display TB regimens
Sep 27, 2023
c80bc30
Merge pull request #1678 from makombe/tb-lines
CynthiaKamau Sep 28, 2023
72088d6
Merge pull request #1669 from makombe/regimen-change-reason
CynthiaKamau Sep 28, 2023
e9a556d
Validated linking of child to only one mother in relationships
njorocs Sep 30, 2023
bd5ed64
Merge pull request #1677 from makombe/last-regimen-fix
CynthiaKamau Oct 2, 2023
5e1e669
(fix) Add regimen dates in printable patient summary endpoint
CynthiaKamau Oct 2, 2023
8d17283
Merge pull request #1681 from CynthiaKamau/regimen-date-summary
makombe Oct 3, 2023
96c33cb
Merge pull request #1634 from CynthiaKamau/form-whitelist
makombe Oct 3, 2023
e51c448
Added new facility named Kineni Health centre in Kisii
PatrickWaweru Oct 5, 2023
b29b1ae
Merge pull request #1684 from PatrickWaweru/addOneMoreFacility
patryllus Oct 5, 2023
94e8447
Update relationship validation to disallow linking a child to more th…
njorocs Oct 5, 2023
1bad2e1
Replacing Cacx screening form with oncology screening form, updating …
patryllus Sep 28, 2023
16d64fd
Updated concept_id with spaces
patryllus Oct 2, 2023
beea044
Updated Oral cytology screening with coded concept
patryllus Oct 5, 2023
8997410
Updated feedback from Cacx screening training - validation for mamogr…
patryllus Oct 9, 2023
df939d3
Added the facility referred widget sourcing from facilities list
patryllus Oct 9, 2023
1cf3770
Some refactoring to referrals
patryllus Oct 9, 2023
ce614b2
Cleaning up removing spaces
patryllus Oct 9, 2023
55f816e
Optimised Cervical cancer flag - used get list of encounters method
patryllus Oct 9, 2023
9ecf5a4
Merge pull request #1690 from patryllus/cancer-screening-referrals
ojwanganto Oct 9, 2023
74bd1aa
Added cancer screening register with cancer type column for other can…
patryllus Oct 11, 2023
c115978
Merge pull request #1695 from patryllus/cancer-screening-referrals
njorocs Oct 11, 2023
8d74db1
Adding columns in Cancer register
njorocs Oct 12, 2023
14d04ff
Merge pull request #1697 from njorocs/oncology
patryllus Oct 12, 2023
4bd95c2
Aligned wrongfully added concept to the right one from concept dictio…
patryllus Oct 11, 2023
9cc6b99
Updated rowspan form prostate cancer: Trans-rectal ultrasound biopsy(…
patryllus Oct 11, 2023
c57ec96
Added cancer screening register with cancer type column for other can…
patryllus Oct 11, 2023
a485baf
Merge pull request #1698 from patryllus/oncology-form-updates
PatrickWaweru Oct 12, 2023
5dafddd
Added oral cancer columns to the Cancer register
njorocs Oct 12, 2023
3b2b427
Merge pull request #1699 from njorocs/oral-cancer
patryllus Oct 13, 2023
0a06524
(fix) Add mch patient forms to forms endpoint
CynthiaKamau Oct 13, 2023
47255fe
Updated missaligned cancer screening methods because of inline form a…
patryllus Oct 13, 2023
a0fa335
Updated breast memography to be for over 40 years - disabled for unde…
patryllus Oct 13, 2023
ab20a60
Removed logs
patryllus Oct 13, 2023
1538526
Merge pull request #1701 from patryllus/cancer-screening-alignment
ojwanganto Oct 13, 2023
7631974
Blood loss during delivery limited to 20L
Oct 16, 2023
cfceb48
(fix) Fix null pointer in encounter while syncing appointments to bahmni
CynthiaKamau Oct 16, 2023
3591b27
Merge pull request #1703 from CynthiaKamau/appointment-np
makombe Oct 16, 2023
c22e889
(fix) Fix null pointer in encounter forms while syncing appointments …
CynthiaKamau Oct 17, 2023
fff9555
Merge pull request #1706 from CynthiaKamau/np
patryllus Oct 17, 2023
d80e9c4
Updated a typo on cacx screening colposcopy treatment and validation …
patryllus Oct 17, 2023
b592038
Add a column for the latest CD4 results on Active ART line list in Ke…
Oct 17, 2023
6b2297f
Merge pull request #1709 from gabriel090/KHP3-2886_1
njorocs Oct 18, 2023
56ae6d5
Persisting morisky variables
njorocs Oct 18, 2023
2478795
Revised clients tested to include only those who had a valid test res…
njorocs Oct 18, 2023
40f56cc
Merge pull request #1661 from njorocs/KHP3-3931
patryllus Oct 19, 2023
a10f2b1
Merge pull request #1679 from njorocs/KHP3-4147
patryllus Oct 19, 2023
5dcb4fa
Removing labs from CWC form - adding just views for previous labs
patryllus Sep 6, 2023
3c6a93b
Added prepopulations for first and seconf PCR tests at CWC Follow up …
patryllus Oct 17, 2023
7c8718c
Added labs information widget for cwc form with all the 6 tests from …
patryllus Oct 19, 2023
4aa9897
Removing logs
patryllus Oct 19, 2023
1a1ded8
Merge pull request #1713 from patryllus/cwc-labs
njorocs Oct 19, 2023
b772131
Merge pull request #1712 from njorocs/KHP3-3842
patryllus Oct 19, 2023
eaf2f8b
Merge pull request #1711 from njorocs/KHP3-2399
patryllus Oct 19, 2023
d24cf35
Merge pull request #1708 from patryllus/oncology-typo
njorocs Oct 19, 2023
d26b1ac
Revised query because it was including voided patient programs and en…
njorocs Oct 19, 2023
1f8089a
Merge pull request #1702 from gabriel090/KHP3-4103
patryllus Oct 19, 2023
58040c8
Merge pull request #1714 from njorocs/KHP3-3973
patryllus Oct 19, 2023
0f49b24
UKHP3-3932
patryllus Oct 19, 2023
7647654
Merge pull request #1715 from patryllus/extending-pama-cohort
njorocs Oct 19, 2023
eb691d1
Merge pull request #1645 from gabriel090/KHP3-3948
patryllus Oct 23, 2023
1867d2b
Updated the pama cohort to allow all TxCur under 10, with or without …
patryllus Oct 23, 2023
a514486
Merge pull request #1719 from patryllus/extending-pama-cohort
njorocs Oct 23, 2023
281e148
Added zscore for c
patryllus Oct 24, 2023
e14b0d5
Merge pull request #1720 from patryllus/zscore-for-greencard
njorocs Oct 24, 2023
81be08e
Validated male family planning statuses
patryllus Oct 25, 2023
b4539dd
Merge pull request #1721 from patryllus/male-fp
njorocs Oct 25, 2023
67458b4
Autofill TIs
jecihjoy Oct 25, 2023
06398d6
Updated missed appointment report programs column to only show patien…
patryllus Oct 25, 2023
d562882
Removing voided programs
patryllus Oct 25, 2023
e2000de
Merge pull request #1722 from patryllus/missed-appointment-programs
njorocs Oct 25, 2023
31ffc73
Added the NUPI duplicates page which pulls data from NDWH
PatrickWaweru Oct 26, 2023
79d146e
Merge pull request #1723 from PatrickWaweru/KHP3-4411-PullNupiDuplicates
patryllus Oct 26, 2023
0da8cf3
Added the ML banners
PatrickWaweru Oct 26, 2023
13d1b39
Added the ML warnings
PatrickWaweru Oct 26, 2023
33e974c
Removing extra column from query
njorocs Oct 26, 2023
896d1c1
Added validations
jecihjoy Oct 27, 2023
8018efe
Merge pull request #1700 from CynthiaKamau/delivery-form-b
patryllus Oct 27, 2023
a45a326
did the same for retest form
PatrickWaweru Oct 27, 2023
ec3dd50
Merge pull request #1672 from patryllus/insurance-covers
ojwanganto Oct 27, 2023
035cdd9
Code cleanup
jecihjoy Oct 27, 2023
bf5a4c1
Merge pull request #1724 from jecihjoy/autofill-ti
patryllus Oct 27, 2023
ace45d4
code cleanup
PatrickWaweru Oct 27, 2023
e7ca25e
Merge pull request #1725 from PatrickWaweru/KHP3-4385-AddMLBannerToHT…
patryllus Oct 27, 2023
4545064
Fix null pointer on LatestVlTakenWithinIntervalCal
patryllus Oct 27, 2023
2b73397
Fix null pointer on NupiDuplicatesPageController
patryllus Oct 27, 2023
0865d47
Merge pull request #1728 from patryllus/missed-appointment-programs
PatrickWaweru Oct 27, 2023
bc01074
Bumping to v18.7.0
patryllus Oct 27, 2023
21e4469
Merge pull request #1730 from patryllus/bumping
jecihjoy Oct 27, 2023
15588c5
KHP3-4434 Sync bahmni appointment for ART fast track form
CynthiaKamau Oct 30, 2023
5dc83b4
Merge pull request #1731 from CynthiaKamau/KHP3-4434
makombe Oct 30, 2023
40adabb
Added check for highest ML Risk
PatrickWaweru Oct 31, 2023
45c55c4
same thing for retest form
PatrickWaweru Oct 31, 2023
70c906b
Merge pull request #1734 from PatrickWaweru/checkForHighestRisk
patryllus Oct 31, 2023
55a1016
KHP3-4444 Incorrect shortcut link redirection from 2.X to 3.X patient…
CynthiaKamau Oct 31, 2023
af71928
Merge pull request #1735 from CynthiaKamau/shortcut-link
makombe Oct 31, 2023
599eb24
Merge pull request #1733 from njorocs/KHP3-3500
patryllus Oct 31, 2023
ea55e30
Access management for referrals app
jecihjoy Nov 2, 2023
b89ce93
Spelling correction on Tx_Curr Net Gain and Loss Analysis Linelists (…
njorocs Nov 2, 2023
db508a0
Merge pull request #1740 from njorocs/txcurr-quarterly-sp
patryllus Nov 2, 2023
597ae80
Merge pull request #1739 from jecihjoy/master
patryllus Nov 2, 2023
f072a86
Add lab order form
makombe Nov 2, 2023
ad4f970
(feat) Add required properties to historicalEnrollment
donaldkibet Nov 2, 2023
78a1c09
Merge pull request #1742 from palladiumkenya/feat/enrollment
makombe Nov 2, 2023
e303ff7
FMAP Report
darkirui Nov 3, 2023
3a8b980
commit FMAP Report
darkirui Nov 3, 2023
b31d161
Revising txcurr & code clean up
njorocs Nov 3, 2023
64d48f6
Revised query for getting latest vl order
njorocs Nov 5, 2023
0cf44ad
Merge pull request #1741 from makombe/lab-orders
CynthiaKamau Nov 6, 2023
a241c31
Updated min age for cacx screening at 18 years wrongly added in calcu…
patryllus Nov 6, 2023
8319b2d
Merge pull request #1745 from patryllus/cacx-age-limit
njorocs Nov 6, 2023
058c1a9
Allow for editing of appointment service based on updated appointment…
makombe Nov 6, 2023
5422f5d
Merge pull request #1746 from makombe/appointment-sync-edit
CynthiaKamau Nov 6, 2023
955013f
Added HTS entry point in HTS prediction report, switched reporting to…
patryllus Nov 7, 2023
321221f
Add missing concepts on entry point string in care panels
CynthiaKamau Nov 7, 2023
e08f59e
Merge pull request #1747 from patryllus/prediction-report
njorocs Nov 7, 2023
cdb9c7b
Merge pull request #1744 from njorocs/txcurr-revision
patryllus Nov 9, 2023
a3e8e05
FMAP Report Update
darkirui Nov 9, 2023
7c778a1
KHP3-4376: PMTCT EID Indicator:Adding disaggregates. First test ( ≤2 …
njorocs Nov 8, 2023
d74e2a1
KHP3-4377:Change PMTCT_HEI_POS to PMTCT_HEI.KHP3-4378:Include outcome…
njorocs Nov 8, 2023
7a43097
KHP3-4379:HTS_TST including HTS_TST_POS- Add new testing modality for…
njorocs Nov 9, 2023
0daa875
KHP3-4383:TX_PVLS - Retire the disaggregate on routine and targeted
njorocs Nov 9, 2023
87a7272
KHP3-4386:TX_TB - Include the new disaggregate on type of screening. …
njorocs Nov 9, 2023
8392c77
Merge pull request #1749 from CynthiaKamau/history-enrollment-encounter
makombe Nov 14, 2023
e286784
Merge pull request #1 from darkirui/master
patryllus Nov 15, 2023
bd0bb40
Add missing closing tags
CynthiaKamau Nov 15, 2023
3d66d36
Merge pull request #1755 from CynthiaKamau/colons
patryllus Nov 15, 2023
e21a96a
Initial work done on FMAPS
patryllus Nov 15, 2023
ce82274
Add AZT/3TC/DTG adult third line regimen
makombe Nov 17, 2023
117864e
Used Datim txCurr composition and removed references to openmrs obs: …
patryllus Nov 17, 2023
932497e
(fix) Update discontinuationFormName to correct value
donaldkibet Nov 18, 2023
7a62a01
Merge pull request #1760 from palladiumkenya/fix/vmmcDiscontinuationForm
jecihjoy Nov 18, 2023
b85f92b
Merge pull request #1758 from makombe/regimen
makombe Nov 18, 2023
6321fa4
Merge pull request #1759 from patryllus/fmap-updates
njorocs Nov 20, 2023
057483b
MER-2.7 Code clean up
njorocs Dec 3, 2023
72d3eb3
Refactring TB_STAT queries. Code clean up.
njorocs Dec 5, 2023
8db8674
Merge pull request #1750 from njorocs/MER-2.7
makombe Dec 5, 2023
1eeb7ff
Add thirdline regimen AZT/3TC/DTG/DRV/r
makombe Dec 5, 2023
741f3c0
Fixing issue in 3.x where date can't be compared to empty string
njorocs Dec 6, 2023
bb0a9b9
Merge pull request #1763 from makombe/thirdline-regimen
njorocs Dec 6, 2023
a98e8da
Merge pull request #1764 from njorocs/pnc-reg-3.x
makombe Dec 6, 2023
c4832d4
Activated pp_prev indicator
njorocs Dec 7, 2023
3575f19
KHP3-4729: Used days for MMDs to classify months.
njorocs Dec 7, 2023
d7099fe
Merge pull request #1765 from njorocs/pp_prev
makombe Dec 7, 2023
bee0e34
Merge pull request #1766 from njorocs/KHP3-4729
makombe Dec 7, 2023
61c0254
Corrected formula for the numerator in the template. Fixed double cou…
njorocs Dec 8, 2023
4ecab37
Aligning template default landing position
njorocs Dec 8, 2023
43eda95
Merge pull request #1767 from njorocs/KHP3-4727
patryllus Dec 11, 2023
b710323
Fixed age bands for HTST_TST for MCH. Fixed issue in TX_TB for chest …
njorocs Dec 11, 2023
a0b315c
Alighning source of KP clients. MoH731: Greencard. Datim:Contact form
njorocs Dec 11, 2023
8f9392a
Merge pull request #1768 from njorocs/KHP3-4730
patryllus Dec 11, 2023
08ca5c2
Merge pull request #1769 from njorocs/MER-2.7
patryllus Dec 11, 2023
7306dfb
(feat) Add billing visit attributes to kenyaemr metadata
CynthiaKamau Dec 13, 2023
45c4df4
Add MAT program uuid
CynthiaKamau Dec 15, 2023
9558fdb
Merge pull request #1771 from CynthiaKamau/mat
patryllus Dec 18, 2023
0a51e01
Updated KP_PREV with required basic services
njorocs Dec 18, 2023
f970b40
Merge pull request #1772 from njorocs/KHP3-4764
patryllus Dec 18, 2023
d03934d
Added re-enrollment in TXCURR Net gain and Loss analysis
njorocs Dec 19, 2023
db037d5
Merge pull request #1773 from njorocs/KHP3-4728
makombe Dec 19, 2023
1f1dc38
code review
CynthiaKamau Dec 19, 2023
9fdf579
Merge pull request #1770 from CynthiaKamau/visit-attributes-new
ojwanganto Dec 19, 2023
b5226ec
PMTCT_EID, PMTCT_HEI - Aligned age brackets. TX_TB - Changed addition…
njorocs Dec 21, 2023
6895be8
Merge pull request #1776 from njorocs/datim_UAT_Dec_2023
patryllus Dec 21, 2023
8d5c1d6
KHP3-4866: Add ability to publish kenyaemr module to nexus
jecihjoy Jan 2, 2024
d6c1c13
Merge pull request #1777 from jecihjoy/module-deploy
ojwanganto Jan 2, 2024
b4a548f
Create mekom_cicd.yml
RAJABIBRAZ Jan 2, 2024
624f51b
Update mekom_cicd.yml
RAJABIBRAZ Jan 2, 2024
b83e1bc
Update mekom_cicd.yml
RAJABIBRAZ Jan 3, 2024
0262098
Update pom.xml
RAJABIBRAZ Jan 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
75 changes: 75 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
* text=auto

# Known text file extensions
*.as text
*.bat text
*.cnf text
*.conf text
*.css text
*.csv text
*.dtd text
*.erb text
*.ftl text
*.gitattributes text
*.gitignore text
*.gitkeep text
*.gitmodules text
*.groovy text
*.gsp text
*.htaccess text
*.htm text
*.html text
*.java text
*.js text
*.js.withjstl text
*.json text
*.jsp text
*.list text
*.lock text
*.log text
*.markdown text
*.md text
*.nsh text
*.nsi text
*.opts text
*.php text
*.pl text
*.policy text
*.pp text
*.project text
*.properties text
*.rb text
*.rdf text
*.scss text
*.sh text
*.sql text
*.story text
*.svg text
*.tag text
*.tld text
*.txt text
*.vm text
*.xml text
*.xsl text
*.xslt text
*.yaml text
*.yml text

# Known binary file extensions
*.bmp binary
*.chls binary
*.class binary
*.db binary
*.eot binary
*.exe binary
*.gif binary
*.gzip binary
*.ico binary
*.jar binary
*.jpeg binary
*.jpg binary
*.omod binary
*.png binary
*.ttf binary
*.woff binary
*.zip binary
37 changes: 37 additions & 0 deletions .github/workflows/cicd_process.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: deploy to prod 8600
on:
push:
branches: [ master ]
jobs:

build:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote connection
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.CICD_SECRET }}
port: ${{ secrets.PORT }}
command_timeout: 200m
script: |
cd /apps/github-workflows/kenyaemr-modules
sudo rm -rf openmrs-module-kenyaemr
sudo mkdir openmrs-module-kenyaemr
sudo chown -R cicd2:cicd2 openmrs-module-kenyaemr
git config --global --add safe.directory /apps/github-workflows/kenyaemr-modules/openmrs-module-kenyaemr
cd /apps/github-workflows/kenyaemr-modules/openmrs-module-kenyaemr
git clone https://github.com/palladiumkenya/openmrs-module-kenyaemr.git /apps/github-workflows/kenyaemr-modules/openmrs-module-kenyaemr
sudo chown -R cicd2:cicd2 /apps/github-workflows/kenyaemr-modules/openmrs-module-kenyaemr
git status
mvn license:format
sudo mvn clean install -DskipTests
sudo rm -rf /var/lib/OpenMRS/modules/kenyaemr-*.omod
sudo cp -r /apps/github-workflows/kenyaemr-modules/openmrs-module-kenyaemr/omod/target/kenyaemr-*.omod /var/lib/OpenMRS/modules/
sudo chown -R tomcat:tomcat /var/lib/OpenMRS/modules/
sudo chmod +r /var/lib/OpenMRS/modules/*.omod
sudo chmod 755 /var/lib/OpenMRS/modules/*.omod
sudo systemctl stop tomcat
sudo systemctl start tomcat
61 changes: 61 additions & 0 deletions .github/workflows/mekom_cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Deploy to Nexus

on:
# Manually triggered workflow using the "Run workflow" button
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

#set up the build enviroment
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven

# Build with Maven
- name: Build with Maven
run: mvn -B package -DskipTests


publish:
runs-on: ubuntu-latest
# Define dependencies, this job depends on the completion of the "build" job
needs: build

# Specify conditions for when this job should run
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}

# Set up enviroment for Publish

steps:
#set up the build enviroment
- name: Checkout Repository
uses: actions/checkout@v4
# Step 2: Set up JDK 8 for Publish
- name: Set up JDK 8 for Publish
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
server-id: mks-nexus
server-username: $MAVEN_USERNAME
server-password: $MAVEN_TOKEN

- name: Publish to Nexus repository
run: mvn -B deploy

env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,4 @@ nb-configuration.xml
!.gitattributes
!.travis.yml
*~
#############

#############
16 changes: 13 additions & 3 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
<!--

This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
the terms of the Healthcare Disclaimer located at http://openmrs.org/license.

Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
graphic logo is a trademark of OpenMRS Inc.

-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openmrs.module</groupId>
<artifactId>kenyaemr</artifactId>
<version>15.1.8-RC2-SNAPSHOT</version>
<version>18.7.0</version>
</parent>

<artifactId>kenyaemr-api</artifactId>
<version>15.1.8-RC2-SNAPSHOT</version>
<version>18.7.0</version>
<packaging>jar</packaging>
<name>KenyaEMR Module API</name>
<description>API project for KenyaEMR Module</description>

<build>
<pluginManagement>
<plugins>
Expand Down
Loading