Skip to content

Commit

Permalink
visit types and disabled github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
daviemukungi committed Oct 16, 2024
1 parent ee25846 commit fe0c144
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 32 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Deploy to VM
# name: Deploy to VM

on:
push:
branches:
- main
workflow_dispatch:
env:
SSH_PORT: 22
# on:
# push:
# branches:
# - main
# workflow_dispatch:
# env:
# SSH_PORT: 22

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Set up SSH agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
# jobs:
# deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Set up SSH agent
# uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Remote ssh to server and update docker-compose
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
port: ${{ env.SSH_PORT }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script_stop: true
script: |
cd /opt/bdsec-repos/Bdsec-metadata
sudo git pull origin main
# - name: Remote ssh to server and update docker-compose
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.SSH_HOST }}
# username: ${{ secrets.SSH_USER }}
# port: ${{ env.SSH_PORT }}
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# script_stop: true
# script: |
# cd /opt/bdsec-repos/Bdsec-metadata
# sudo git pull origin main

cd /opt/bdsec-repos/bahmni-docker/bahmni-standard
sudo docker-compose down
sudo docker-compose down -v openmrs
sudo docker-compose up -d
# cd /opt/bdsec-repos/bahmni-docker/bahmni-standard
# sudo docker-compose down
# sudo docker-compose down -v openmrs
# sudo docker-compose up -d
13 changes: 12 additions & 1 deletion configuration/concepts/visitConcepts.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
Uuid,Void/Retire,Fully specified name:en,Short name:en,Description:en,...,_version:1,_order:20,Data class,Data type,Answers
2930dbfd-6902-447b-adf4-f03e79605977,,Insurance,,,,,,Misc,N/A,
b8f4765c-5a3a-4a14-8911-28ee827538c0,,Cash,,,,,,Misc,N/A,
c1e221e8-d05e-4cf0-8034-e596f2709fe9,,Free,,,,,,Misc,N/A,
1998cde3-3d7d-4682-bf8b-2243cd2f6265,,Subsidized,,,,,,Misc,N/A,
497706a9-18ad-4003-91c4-fcfd1761f4b2,,Full-paying,,,,,,Misc,N/A,
adb10fc0-794f-4443-89ff-c77aec731cd8,,Payment Method,,,,,,Question,Coded,"Insurance;
Cash"
Cash; Free;
Subsidized;
Full-paying;"
3ee11a9e-36c3-47c8-af1d-ee7e27c9c41f,,"Medication, Subsidy",Medication,,,,,Misc,N/A,
c5908f6e-ba2d-4f61-9170-7b49f414444d,,"Procedure, Subsidy",Procedure,,,,,Misc,N/A,
58ba4a7b-dc72-4bec-93c0-9592dcb52c8e,,"Tests, Subsidy",Tests,,,,,Misc,N/A,
32603c13-676a-4f36-8b81-5dc240a506f5,,Level of Subsidy,,,,,,Question,Coded,"Medication, Subsidy;
Procedure, Subsidy;
Tests, Subsidy"
aee3f85e-ef95-4eac-a5f5-65b066dbee3f,,Assigned Visit Provider,,,,,,Misc,Text,
97fea1d4-759f-40d1-9acd-9d682adc5d89,,Provider Assignment,,,,,,Misc,N/A,
9 changes: 9 additions & 0 deletions configuration/visittypes/visittypesBdsec.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Uuid,Void/Retire,Name,Description,_version:2
,,OPD,Visit for Out patient,
,True,IPD,Visit for patients being admitted,
,,EMERGENCY,Visit for emergency patients,
,True,Special OPD,Visit for retrospective data entry,
,True,Follow Up,Visit for patients coming for a follow up,
,,LAB VISIT,Visits for lab visit by patient when the tests are not ordered through OpenMRS,
132a6ef0-20a5-412b-b303-e288804540cb,,"Pharmacy ",Visit for pharmacy patients,
1a290bf0-7a96-4014-bf6a-5c57a534831d,,Optical shop,Visit for optical shop patients,

0 comments on commit fe0c144

Please sign in to comment.