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

Update branch with master changes #210

Open
wants to merge 46 commits into
base: Bahmni-IPD-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
bd93e45
BAH-2849 | Updating dependencies of Bahmni 1.1.0 and Fhir2Extension 1…
angshu May 18, 2023
00831b2
BAH-3005 | Add configuration for timezone option (#129)
mohan-13 Jun 1, 2023
1ba21cd
BAH-3060 | Environment variable to override c3p0 max size (#131)
mohan-13 Jun 12, 2023
2781310
BAH-3068 | Parvathy | Update app version
parvathy00 Jun 19, 2023
90a07a2
Merge pull request #133 from Bahmni/BAH-3068
rahu1ramesh Jun 23, 2023
1ede30b
BAH-2181 | Added a template for appointments
atishbeehyv123 Jun 1, 2023
bc3a70f
BAH-2181 | Added base.url property
atishbeehyv123 Jun 12, 2023
f40d07b
Changed Admin user to system user with sms privilage
atishbeehyv123 Jun 29, 2023
27106e6
Siva Reddy | Upgrading modules
sivareddyp Jul 13, 2023
de4a350
BAH-3110 | Upgrade versions
sivareddyp Jul 13, 2023
e059a49
BAH-3081 | Upgrade OCL version from 1.3.0 to 2.1.0
kavitha-sundararajan Jul 27, 2023
fefdf35
Update OpenMRS Version to 2.5.12
mohan-13 Jul 27, 2023
82f1d93
[Parvathy, Rahul] | BAH-3168 | Add. Version Update
rahu1ramesh Sep 6, 2023
c3d849e
[Parvathy, Rahul] | BAH-3168 | Add. Bump Bed Management Version
rahu1ramesh Sep 20, 2023
99e3830
[Parvathy, Rahul] | BAH-3228 | Add. Bump Bahmni Commons Version
rahu1ramesh Oct 6, 2023
2888252
BAH-2962 | Added bahmni-events module and refactored properties file
anubhavBeehyv Oct 19, 2023
19da792
Upgraded communications module version to 1.2.0-SNAPSHOT .
anubhavBeehyv Oct 26, 2023
307be9e
BS-262 | Bundling CDSS and Terminology Service OMODs
sivareddyp Oct 30, 2023
9db1dc4
BAH-3378 | Add script to update elis host and port based on .env conf…
mohan-13 Dec 1, 2023
f5dcab4
BAH-2650 | Fix. Recursively apply folder permission for file uploads …
mohan-13 Dec 5, 2023
24e0860
BAH-3421 | Update versions for webservices-rest and reporting module …
mohan-13 Dec 19, 2023
09a6097
BAH-3361 | Updated. emrapi version (#181)
SanoferSameera Jan 5, 2024
b6904a1
BAG-3349 || Updated the webServicesRestVersion (#182)
harshkumar8789 Jan 10, 2024
c799b6d
BAH-3528 | Add. uploaded-files Sub Directory And Set Permissions (#184)
rahu1ramesh Feb 5, 2024
3315376
[Rahul] | BAH-3525 | Add. Configuration Property To Handle Zero date …
rahu1ramesh Feb 15, 2024
6c276ff
Deepthi M|BAH-3706 | Updated atomfeedModuleVersion to 2.6.3 (#188)
deepthi-mantena Apr 4, 2024
08edf44
[Rahul] | BAH-3808 | Add. Bump ie.apps Version (#189)
rahu1ramesh May 9, 2024
97f1b7a
[Rahul] | BAH-3810 | Add. Bump Operation Theater Version
rahu1ramesh May 9, 2024
22fcf2b
[Rahul] | BAH-3811 | Add. reportingcompatibility-omod 2.0.9 (#191)
rahu1ramesh May 15, 2024
22111cd
[Rahul] | BAH-3839 | Add. medication-administration-omod v1.0.0-SNAPSHOT
rahu1ramesh May 16, 2024
8e2a91b
[Rahul] | BAH-3809 | Add. Bump Operation Theater Version 1.8.0
rahu1ramesh May 19, 2024
ba5e194
BAH-3077 | Added concepts for rulesengine dropdown (#147)
SooryaKumaranC-tw May 24, 2024
a245e68
BAH-3853 | Add. Bump FHIR2 Module Version 1.10.0-SNAPSHOT -> 2.1.0
mohan-13 May 31, 2024
b0d5e93
BAH-3898 | Add. Bahmni IPD Omod Version 1.0.0-SNAPSHOT
rahu1ramesh Jun 6, 2024
3ce4739
BAH-3911 | Upgrade HPA to stable API (#196)
mohan-13 Jun 19, 2024
b8966f4
BAH-3979 | Add. Upgraded MySQL 8.0 client (#197)
mohan-13 Jun 26, 2024
7e52fda
BAH-4003 | Upgrade bedmanagement module version (#199)
mohan-13 Jul 4, 2024
7c85f48
BAH-4022 | Upgrade OpenMRS community modules to latest version (#200)
mohan-13 Jul 12, 2024
e3c4d26
BAH-3806 | Upgrade modules to released versions (#201)
mohan-13 Aug 27, 2024
087e058
BAH-3806 | Fix. Upgrade SNOMED module to take in patch version (#205)
mohan-13 Aug 29, 2024
6afd809
BAH-3806 | Revert. Appointments module version to 2.0.0 (#204)
mohan-13 Aug 29, 2024
9e3a292
BAH-3806 | Upgrade versions of Appointments and IPD Module (#206)
mohan-13 Sep 5, 2024
f995ba0
[Rahul] | BAH-4097 | Add. Bump Version 0.94 -> 1.1 (#207)
rahu1ramesh Sep 9, 2024
770b134
BAH-4106 | Upgrade module versions for FHIR2 Extension and IPD Module…
mohan-13 Sep 13, 2024
9ed317c
Bump version to 1.1.1
mohan-13 Sep 14, 2024
04c6c5c
Merge branch 'master' into Bahmni-IPD-master
kavitha-sundararajan Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ openmrs-distro-bahmni
`./mvnw clean deploy` command to create artifacts.

This command will attempt to upload & publish artifacts to https://bahmnirepo.thoughtworks.com (maven repository). You will need authorization to upload (your public key needs to be on the server).

This distribution also includes [FHIR CDSS module](https://github.com/Bahmni/openmrs-module-cdss) and [FHIR Terminology Service Module](https://github.com/Bahmni/openmrs-module-snomed) along with other modules bundled with standard Bahmni.
More details can be found [here](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3132686337/SNOMED+FHIR+Terminology+Server+Integration+with+Bahmni)
31 changes: 17 additions & 14 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>bahmni</artifactId>
<groupId>org.openmrs.distro</groupId>
<version>0.94-SNAPSHOT</version>
<version>1.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -83,6 +83,11 @@
<artifactId>bahmnicore-omod</artifactId>
<version>${bahmniCoreVersion}</version>
</dependency>
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>bahmni-ipd-omod</artifactId>
<version>${bahmniIpdVersion}</version>
</dependency>
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>openelis-atomfeed-client-omod</artifactId>
Expand Down Expand Up @@ -166,6 +171,13 @@
<artifactId>calculation-omod</artifactId>
<version>${calculationVersion}</version>
</dependency>

<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>medication-administration-omod</artifactId>
<version>${medicationAdministrationVersion}</version>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatamapping-omod</artifactId>
Expand All @@ -184,6 +196,7 @@
<artifactId>owa-omod</artifactId>
<version>${owaVersion}</version>
</dependency>

<dependency>
<groupId>org.openmrs</groupId>
<artifactId>event-omod</artifactId>
Expand Down Expand Up @@ -302,27 +315,17 @@
<artifactId>openconceptlab-omod</artifactId>
<version>${openConceptLabVersion}</version>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>initializer-omod</artifactId>
<version>${initializerModuleVersion}</version>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>reportingcompatibility-omod</artifactId>
<version>${reportingcompatibilityVersion}</version>
</dependency>

<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>medication-administration-omod</artifactId>
<version>${medicationAdministrationVersion}</version>
</dependency>

<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>bahmni-ipd-omod</artifactId>
<version>${bahmniIpdVersion}</version>
<version>${reportingCompatibilityVersion}</version>
</dependency>
<!-- end -->
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions openmrs-module-bahmni.configuration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>bahmni</artifactId>
<groupId>org.openmrs.distro</groupId>
<version>0.94-SNAPSHOT</version>
<version>1.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,7 +16,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<openMRSVersion>2.5.10</openMRSVersion>
<openMRSVersion>2.5.12</openMRSVersion>
<MODULE_ID>${project.parent.artifactId}</MODULE_ID>
<MODULE_NAME>${project.parent.name}</MODULE_NAME>
<MODULE_VERSION>${project.parent.version}</MODULE_VERSION>
Expand Down
2 changes: 1 addition & 1 deletion package/.appversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.1
Empty file modified package/docker/openmrs/bahmni_startup.sh
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

14 changes: 14 additions & 0 deletions package/docker/openmrs/update_elis_host_port.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
set +e

run_sql() {
mysql -N -s --host="${OMRS_DB_HOSTNAME}" --user="${OMRS_DB_USERNAME}" --password="${OMRS_DB_PASSWORD}" "${OMRS_DB_NAME}" -e "$1"
}

if [ $(run_sql "select count(*) from information_schema.tables where table_schema='${OMRS_DB_NAME}' and table_name='markers';") -gt 0 ]
then
echo "Updating OpenELIS Host Port in markers and failed_events table"
run_sql "update markers set feed_uri_for_last_read_entry = concat('http://${OPENELIS_HOST}:${OPENELIS_PORT}/openelis/ws/feed/patient',substring(feed_uri_for_last_read_entry, (LENGTH(feed_uri_for_last_read_entry) - LOCATE('/', REVERSE(feed_uri_for_last_read_entry)))+1) ) where feed_uri like '%openelis/ws/feed/patient/recent';"
run_sql "update markers set feed_uri = 'http://${OPENELIS_HOST}:${OPENELIS_PORT}/openelis/ws/feed/patient/recent' where feed_uri like '%openelis/ws/feed/patient/recent';"
run_sql "update failed_events set feed_uri = 'http://${OPENELIS_HOST}:${OPENELIS_PORT}/openelis/ws/feed/patient/recent' where feed_uri like '%openelis/ws/feed/patient/recent';"
fi
2 changes: 2 additions & 0 deletions package/helm/openmrs/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ data:
MAIL_SMTP_PORT: "{{ .Values.config.MAIL_SMTP_PORT }}"
MAIL_SMTP_HOST: "{{ .Values.config.MAIL_SMTP_HOST }}"
OMRS_DOCKER_ENV: "{{ .Values.config.OMRS_DOCKER_ENV }}"
TZ: "{{ .Values.global.TZ }}"
OMRS_C3P0_MAX_SIZE: "{{ .Values.config.OMRS_C3P0_MAX_SIZE }}"
5 changes: 5 additions & 0 deletions package/helm/openmrs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ spec:
name: bahmni-config
- mountPath: /home/bahmni/uploaded_results
name: bahmni-uploaded-results
- mountPath: /home/bahmni/uploaded-files
name: bahmni-uploaded-files
restartPolicy: Always
volumes:
# - name: openmrs-data
Expand All @@ -101,3 +103,6 @@ spec:
- name: bahmni-uploaded-results
persistentVolumeClaim:
claimName: bahmni-uploaded-results-pvc
- name: bahmni-uploaded-files
persistentVolumeClaim:
claimName: bahmni-uploaded-files-pvc
10 changes: 7 additions & 3 deletions package/helm/openmrs/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ .Chart.Name }}
Expand All @@ -18,12 +18,16 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
14 changes: 14 additions & 0 deletions package/helm/openmrs/templates/volumes/bahmni-uploaded-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app: {{ .Chart.Name }}
environment: {{ .Values.metadata.labels.environment }}
name: bahmni-uploaded-files-pvc
spec:
storageClassName: {{ .Values.global.storageClass }}
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .Values.volumes.uploadedFiles.capacity }}
4 changes: 4 additions & 0 deletions package/helm/openmrs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ global:
nodeSelector: {}
affinity: {}
tolerations: {}
TZ: "UTC"

metadata:
labels:
Expand Down Expand Up @@ -42,6 +43,7 @@ config:
MAIL_SMTP_PORT: ""
MAIL_SMTP_HOST: ""
OMRS_DOCKER_ENV: 'false'
OMRS_C3P0_MAX_SIZE: 50

secrets:
OMRS_DB_HOSTNAME: ""
Expand Down Expand Up @@ -74,6 +76,8 @@ volumes:
capacity: "1Gi"
uploadedResults:
capacity: "2Gi"
uploadedFiles:
capacity: "2Gi"
nodeSelector: {}
affinity: {}
tolerations: {}
8 changes: 8 additions & 0 deletions package/resources/add_hibernate_properties.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

sed '/module.allow_web_admin/a\
c3p0.max_size=${OMRS_C3P0_MAX_SIZE}' ./startup-init.sh > ./startup-init-temp.sh

rm ./startup-init.sh
mv ./startup-init-temp.sh ./startup-init.sh
91 changes: 91 additions & 0 deletions package/resources/fhir-export-anonymise-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"resources": {
"patient": [
{
"fieldName": "id",
"method": "correlate"
},
{
"fieldName": "identifier",
"method": "redact"
},
{
"fieldName": "address",
"method": "redact"
},
{
"fieldName": "name",
"method": "redact"
},
{
"fieldName": "telecom",
"method": "redact"
},
{
"fieldName": "birthDate",
"method": "firstOfMonth"
},
{
"fieldName": "deceasedDateTime",
"method": "firstOfMonth"
}
],
"condition": [
{
"fieldName": "subject",
"method": "correlate"
},
{
"fieldName": "encounter",
"method": "redact"
},
{
"fieldName": "recorder",
"method": "redact"
},
{
"fieldName": "recordedDate",
"method": "redact"
}
],
"medicationRequest": [
{
"fieldName": "subject",
"method": "correlate"
},
{
"fieldName": "priority",
"method": "redact"
},
{
"fieldName": "authoredOn",
"method": "redact"
},
{
"fieldName": "requester",
"method": "redact"
},
{
"fieldName": "dosageInstruction",
"method": "redact"
},
{
"fieldName": "encounter",
"method": "redact"
}
],
"serviceRequest": [
{
"fieldName": "subject",
"method": "correlate"
},
{
"fieldName": "encounter",
"method": "redact"
}
]
},
"parameters": {
"oneWayHashSalt": "Bahmni123"
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.openmrs.distro</groupId>
<artifactId>bahmni</artifactId>
<version>0.94-SNAPSHOT</version>
<version>1.1.1</version>
<modules>
<module>openmrs-module-bahmni.configuration</module>
<module>distro</module>
Expand Down
Loading