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

OHRI-1737: Fix Unique ID number disappearance when the user fills Patient Type at Enrolment information #61

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c26df3f
Update core and REST to latest versions
ibacher May 30, 2023
950f043
Removed unused field of 'Laboratory Tests' form. (#725)
Ruhanga Jun 1, 2023
2d2bbaa
Move biometrics from tests -> findings
ibacher Jun 2, 2023
800ef44
O3-2047: Add 10 more sample locations to help catch >50 loading issue…
gracepotma Jun 6, 2023
2320724
Bump referencedemodata to 2.4.0-SNAPSHOT for invalid family names
dkayiwa Jun 6, 2023
09d445f
Fix findigs.csv file (#728)
Ruhanga Jun 7, 2023
97c1995
(release) Create release commit for beta.9
Ruhanga Jun 7, 2023
c048b25
(release-revert) Reset to dev versions
Ruhanga Jun 7, 2023
c48517c
Add Hebrew to allowed locales (#729)
ibacher Jun 9, 2023
70a7c7e
Add support for setting the default locale on the frontend
ibacher Jun 12, 2023
24eafb0
(chore) Add System Admin app to build config (#730)
denniskigen Jun 13, 2023
39551c6
add Antenatal form
Jun 14, 2023
ff2bdf9
added Labor and Delivery json form
Jun 14, 2023
7341b19
added Mother Postnatal json form
Jun 14, 2023
3cda5a8
add infant postnatal json form
Jun 14, 2023
2435ca9
removed blank space
Jun 15, 2023
9a3a703
Merge pull request #3 from Herobiam/pmtct_labour_and_delivery_v1
pirupius Jun 15, 2023
3a4f9ff
Merge pull request #2 from Herobiam/pmtct_mother_postnatal_v1
pirupius Jun 15, 2023
f45e8ba
Merge pull request #1 from Herobiam/pmtct_infant_postnatal_v1
pirupius Jun 15, 2023
63d6f39
Merge pull request #4 from Herobiam/pmtct_antenatal_v1
pirupius Jun 15, 2023
a7acb33
PNC form business rules added-ORHI-1334
Jun 19, 2023
f3e0ef1
Merge pull request #5 from Herobiam/OHRI-1334
pirupius Jun 19, 2023
47e1518
PNC form business rules added-1334
Jun 19, 2023
2fad503
Merge pull request #6 from Herobiam/1334
pirupius Jun 19, 2023
d6e674b
PTracker ID auto-populated in the Infant PNC form for the same pregna…
Jun 19, 2023
f488263
Merge pull request #7 from Herobiam/OHRI-1472
pirupius Jun 20, 2023
9c279f6
feat: add patient flags module to distro (#731)
jnsereko Jun 20, 2023
cd6ad08
Bump the patientflags module version
dkayiwa Jun 20, 2023
fbb2c9d
Bump the patientflags module version
dkayiwa Jun 20, 2023
8689ccc
auto populate PTrackerId in PNC form
kajambiya Jun 21, 2023
eb06971
Merge pull request #8 from kajambiya/Demo11
pirupius Jun 21, 2023
f055f4c
Disable visits
samuelmale Jun 21, 2023
3bb7b4b
Merge pull request #9 from samuelmale/disable-visits
pirupius Jun 21, 2023
ba72803
Add version to distro.properties (#732)
ibacher Jun 27, 2023
7ca15f6
OHRI-1334-Viral load question is only relevant for HIV positive mothe…
Jun 27, 2023
ff1fe23
Updating sub-form references(names) in OHRI Forms
lucyjemutai Jun 27, 2023
c5407af
OHRI-1500 ART Initiation bug resolved on the ANC form
Jun 27, 2023
146cf38
Updated new forms
lucyjemutai Jun 27, 2023
ed15e09
Merge pull request #11 from Herobiam/OHRI-1500
alaboso Jun 29, 2023
d9f9fa4
Merge pull request #10 from Herobiam/OHRI-1334-
alaboso Jun 29, 2023
0e5b9c4
Merge branch 'openmrs:main' into 3.x-namibia
alaboso Jun 29, 2023
d134484
Updating distro with Namibia custom setup, backend modules, frontend …
Jun 30, 2023
b9760f2
Namibia distro @amos config
larslemos Jun 30, 2023
1915585
Update workflow
larslemos Jun 30, 2023
c28d794
Updated Namibia failing omod
larslemos Jul 3, 2023
faec02e
Update config for Namibia stable release
larslemos Jul 3, 2023
cc2005f
Update the correct FORMS
larslemos Jul 3, 2023
524595f
Merge branch 'master-ohri' into gp-namibia/3.x-namibia
larslemos Jul 3, 2023
93ee9b4
Merge pull request #29 from larslemos/gp-namibia/3.x-namibia
larslemos Jul 3, 2023
9713d0a
Merge branch 'UCSF-IGHS:master-ohri' into OHRI-1510
lucyjemutai Jul 12, 2023
5d09fe8
Merge pull request #28 from lucyjemutai/OHRI-1510
alaboso Jul 12, 2023
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
115 changes: 115 additions & 0 deletions .github/workflows/ohri-namibia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: OHRI Nambia Distro Container

on:
push:
branches:
- "*"
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

jobs:
docker_setup:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

docker_namibia_distro_backend:
runs-on: ubuntu-latest
needs: docker_setup

steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-backend-distro-2_6:latest,${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-backend-distro--2_6:ci_${{ github.run_number }}
cache-from: type=inline,ref=user/app:buildcache
cache-to: type=inline,ref=user/app:buildcache,mode=max

docker_namibia_distro_frontend:
runs-on: ubuntu-latest
needs: docker_setup

steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./frontend
file: ./frontend/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-frontend-distro:latest,${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-frontend-distro:ci_${{ github.run_number }}
cache-from: type=inline,ref=user/app:buildcache
cache-to: type=inline,ref=user/app:buildcache,mode=max

docker_namibia_distro_gateway:
runs-on: ubuntu-latest
needs: docker_setup

steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
id: build-and-push
uses: docker/build-push-action@v4
with:
context: ./gateway
file: ./gateway/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-gateaway-distro:latest,${{ secrets.DOCKERHUB_USERNAME }}/o3-ohri-namibia-gateaway-distro:ci_${{ github.run_number }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Save image digest
run: echo "::set-output name=image::${{ steps.build-and-push.output.digest }}"
21 changes: 21 additions & 0 deletions config/frontmodules_namibia_dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"imports": {
"@openmrs/esm-home-app": "./openmrs-esm-home-app-4.2.1-pre.229/openmrs-esm-home-app.js",
"@openmrs/esm-login-app": "./openmrs-esm-login-app-4.5.1-pre.804/openmrs-esm-login-app.js",
"@openmrs/esm-primary-navigation-app": "./openmrs-esm-primary-navigation-app-4.5.1-pre.804/openmrs-esm-primary-navigation-app.js",
"@openmrs/esm-implementer-tools-app": "./openmrs-esm-implementer-tools-app-4.5.1-pre.804/openmrs-esm-implementer-tools-app.js",

"@openmrs/esm-patient-chart-app": "./openmrs-esm-patient-chart-app-4.6.1-pre.1773/openmrs-esm-patient-chart-app.js",
"@openmrs/esm-patient-test-results-app": "./openmrs-esm-patient-test-results-app-4.6.1-pre.1773/openmrs-esm-patient-test-results-app.js",
"@openmrs/esm-patient-registration-app": "./openmrs-esm-patient-registration-app-4.5.1-pre.1683/openmrs-esm-patient-registration-app.js",
"@openmrs/esm-patient-banner-app": "./openmrs-esm-patient-banner-app-4.6.1-pre.1773/openmrs-esm-patient-banner-app.js",
"@openmrs/esm-form-builder-app": "./openmrs-esm-form-builder-app-1.2.1-pre.436/openmrs-esm-form-builder-app.js",
"@openmrs/esm-patient-list-app": "./openmrs-esm-patient-list-app-4.5.1-pre.1683/openmrs-esm-patient-list-app.js",
"@openmrs/esm-patient-search-app": "./openmrs-esm-patient-search-app-4.5.1-pre.1683/openmrs-esm-patient-search-app.js",

"@ohri/openmrs-esm-ohri-core-app": "./ohri-openmrs-esm-ohri-core-app-1.0.10-pre.2710/ohri-core-app.js",
"@ohri/openmrs-esm-ohri-form-render-app": "./ohri-openmrs-esm-ohri-form-render-app-1.0.10-pre.2710/openmrs-esm-ohri-form-render-app.js",
"@ohri/openmrs-esm-ohri-pmtct": "./ohri-openmrs-esm-ohri-pmtct-1.zzw0.10-pre.2710/ohri-pmtct-app.js",
"@ohri/esm-namibia-emr-app": "./ohri-esm-namibia-emr-app-1.0.3-pre.40/esm-namibia-emr-app.js"
}
}
22 changes: 22 additions & 0 deletions config/namibia_dev_frontend_map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"imports": {
"@openmrs/esm-home-app": "4.2.1-pre. ",
"@openmrs/esm-login-app": "4.5.1-pre. ",
"@openmrs/esm-primary-navigation-app": "4.5.1-pre.804",
"@openmrs/esm-patient-notes-app": "4.6.1-pre.1773",
"@openmrs/esm-implementer-tools-app": "4.5.1-pre.804",
"@openmrs/esm-patient-forms-app": "4.6.1-pre.1773",
"@openmrs/esm-patient-chart-app": "4.6.1-pre.1773",
"@openmrs/esm-patient-test-results-app": "4.6.1-pre.1773",
"@openmrs/esm-patient-registration-app": "4.5.1-pre.1683",
"@openmrs/esm-patient-banner-app": "4.6.1-pre.1773",
"@openmrs/esm-patient-appointments-app": "4.6.1-pre.1773",
"@openmrs/esm-form-builder-app": "1.2.1-pre.436",
"@openmrs/esm-patient-list-app": "4.5.1-pre.1683 ",
"@ohri/esm-namibia-emr-app": "1.0.3-pre.40/esm- ",
"@openmrs/esm-patient-search-app": "4.5.1-pre.1683 ",
"@ohri/openmrs-esm-ohri-core-app": "1.0.10-pre.2710",
"@ohri/openmrs-esm-ohri-form-render-app": "1.0.10-pre.2710",
"@ohri/openmrs-esm-ohri-pmtct": "1.0.10-pre.2710"
}
}
23 changes: 9 additions & 14 deletions distro/configuration/addresshierarchy/addressConfiguration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
<field>COUNTRY</field>
<nameMapping>Location.country</nameMapping>
<sizeMapping>40</sizeMapping>
<elementDefault>Cambodia</elementDefault>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
<field>STATE_PROVINCE</field>
<nameMapping>Location.province</nameMapping>
<sizeMapping>40</sizeMapping>
<elementDefault>Namibia</elementDefault>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
Expand All @@ -22,21 +16,22 @@
</addressComponent>
<addressComponent>
<field>ADDRESS_1</field>
<nameMapping>impl.commune</nameMapping>
<nameMapping>Location</nameMapping>
<sizeMapping>40</sizeMapping>
<requiredInHierarchy>true</requiredInHierarchy>
<requiredInHierarchy>false</requiredInHierarchy>
</addressComponent>
<addressComponent>
<field>CITY_VILLAGE</field>
<nameMapping>Location.village</nameMapping>
<field>ADDRESS_2</field>
<nameMapping>Address</nameMapping>
<sizeMapping>40</sizeMapping>
<requiredInHierarchy>true</requiredInHierarchy>
<requiredInHierarchy>false</requiredInHierarchy>
</addressComponent>
</addressComponents>
<lineByLineFormat>
<string>cityVillage, address1</string>
<string>countyDistrict, stateProvince</string>
<string>country</string>
<string>countyDistrict</string>
<string>address1</string>
<string>address2</string>
</lineByLineFormat>
<addressHierarchyFile>
<filename>addresshierarchy.csv</filename>
Expand Down
Loading
Loading