Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 0 additions & 5 deletions .dockerignore

This file was deleted.

1 change: 1 addition & 0 deletions .env → .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
VSAC_API_KEY=#Replace_me_with_your_api_key
COMPOSE_PROJECT_NAME=rems_dev
PORTER_ALLOW_DOCKER_HOST_ACCESS=true
28 changes: 15 additions & 13 deletions DockerDevSetupGuideForMacOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,21 @@ Reference: https://docker-sync.readthedocs.io/en/latest/getting-started/commands

1. Go to http://localhost:3000/ehr-server/reqgen.
2. Click **Patient Select** button in upper left.
3. Find **William Oster** in the list of patients and click the dropdown menu next to his name.
4. Select **E0470** in the dropdown menu.
5. Click anywhere in the row for William Oster.
6. Click **Submit** at the bottom of the page.
7. After several seconds you should receive a response in the form of two **CDS cards**:
- **Respiratory Assist Device**
- **Positive Airway Pressure Device**
8. Select **Order Form** on one of those CDS cards.
9. If you are asked for login credentials, use **alice** for username and **alice** for password.
10. A webpage should open in a new tab, and after a few seconds, a questionnaire should appear.
11. Fill out questionnaire and hit next
<!-- 12. Submit REMS Request to http://localhost:9015/fhir -->
13. Submit PAS request to https://davinci-prior-auth.logicahealth.org/fhir
3. Find **Jon Snow** in the list of patients and click the dropdown menu next to his name.
4. Select **2183126 - Turalio 200 MG Oral Capsule** in the dropdown menu.
5. Click anywhere in the row to select Jon Snow.
6. After several seconds you should receive a response in the form of a **CDS card**:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are 6 and 8 meant to be the same? I don't recall getting a CDS card after selecting a patient.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are two different card returned, one on order-select and one on order-sign. The order-select one in step 6 doesn't have any links, it just says that this is a REMS Drug

- **Turalio 200 MG Oral Capsule has REMS**
7. Click **Submit** at the bottom of the page.
8. After several seconds you should receive a response in the form of a **CDS card**:
- **Drug Has REMS: Documentation Required.**
9. Select **Patient Enrollment Form** on the returned CDS card.
10. If you are asked for login credentials, use **alice** for username and **alice** for password.
11. A webpage should open in a new tab, and after a few seconds, a questionnaire should appear.
12. Fill out questionnaire and hit **Proceed to Prior Auth**
<!-- 13. Submit REMS Request to http://localhost:9015/fhir - In Progress, step not yet complete -->
14. Submit PAS request to https://davinci-prior-auth.logicahealth.org/fhir with **OAuth** enabled
15. Subscribe to updates using **WebSockets** or another option

Congratulations! DRLS is fully installed and ready for you to use!

Expand Down
35 changes: 17 additions & 18 deletions DockerProdSetupGuideForMacOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,21 +223,20 @@ Note: The project will keep running in the background when you "ctrl + c" out of

1. Go to http://localhost:3000/ehr-server/reqgen.
2. Click **Patient Select** button in upper left.
3. Find **William Oster** in the list of patients and click the dropdown menu next to his name.
4. Select **E0470** in the dropdown menu.
5. Click anywhere in the row for William Oster.
6. Click **Submit** at the bottom of the page.
7. After several seconds you should receive a response in the form of two **CDS cards**:
- **Respiratory Assist Device**
- **Positive Airway Pressure Device**
8. Select **Order Form** on one of those CDS cards.
9. If you are asked for login credentials, use **alice** for username and **alice** for password.
10. A webpage should open in a new tab, and after a few seconds, a questionnaire should appear.
11. Fill out questionnaire and hit next
<!-- 12. Submit REMS Request to http://localhost:9015/fhir -->
13. Submit PAS request to https://davinci-prior-auth.logicahealth.org/fhir

Congratulations! DRLS is fully installed and ready for you to use!

## Troubleshooting docker-sync
Reference: https://docker-sync.readthedocs.io/en/latest/troubleshooting/sync-stopping.html
3. Find **Jon Snow** in the list of patients and click the dropdown menu next to his name.
4. Select **2183126 - Turalio 200 MG Oral Capsule** in the dropdown menu.
5. Click anywhere in the row to select Jon Snow.
6. After several seconds you should receive a response in the form of a **CDS card**:
- **Turalio 200 MG Oral Capsule has REMS**
7. Click **Submit** at the bottom of the page.
8. After several seconds you should receive a response in the form of a **CDS card**:
- **Drug Has REMS: Documentation Required.**
9. Select **Patient Enrollment Form** on the returned CDS card.
10. If you are asked for login credentials, use **alice** for username and **alice** for password.
11. A webpage should open in a new tab, and after a few seconds, a questionnaire should appear.
12. Fill out questionnaire and hit **Proceed to Prior Auth**
<!-- 13. Submit REMS Request to http://localhost:9015/fhir - In Progress, step not yet complete -->
14. Submit PAS request to https://davinci-prior-auth.logicahealth.org/fhir with **OAuth** enabled
15. Subscribe to updates using **WebSockets** or another option

Congratulations! DRLS is fully installed and ready for you to use!
14 changes: 7 additions & 7 deletions docker-compose-porter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ services:
volumes:
- keycloak-data:/opt/jboss/keycloak/standalone/data/
# - './resources/ClientFhirServerRealm.json:/resources/ClientFhirServerRealm.json'
image: codexrems/keycloak
image: codexrems/keycloak:REMSv0.1

# Create test-ehr container
test-ehr: # Name of our service
container_name: rems_porter_test-ehr
ports: # Port binding to host from docker container
- '8080:8080' # Bind port 3000 of host to 3000 of container
image: codexrems/test-ehr
image: codexrems/test-ehr:REMSv0.1
environment:
- DOCKER_DEV_PROFILE=true


# Create crd container
crd: # Name of our service
image: codexrems/crd
image: codexrems/crd:REMSv0.1
container_name: rems_porter_crd
ports: # Port binding to host from docker container
- "8090:8090" # Bind port 3000 of host to 3000 of container
Expand All @@ -37,7 +37,7 @@ services:

# Create crd request generator container
crd-request-generator: # Name of our service
image: codexrems/crd-request-generator
image: codexrems/crd-request-generator:REMSv0.1
container_name: rems_porter_crd-request-generator
environment:
- REACT_APP_REMS_CONFIG=true
Expand All @@ -48,20 +48,20 @@ services:

# Create dtr container
dtr: # Name of our service
image: codexrems/dtr
image: codexrems/dtr:REMSv0.1
container_name: rems_porter_dtr
ports: # Port binding to host from docker container
- "3005:3005" # Bind port 3000 of host to 3000 of container

# # Create rems container
rems: # Name of our service
image: codexrems/rems
image: codexrems/rems:REMSv0.1
container_name: rems_porter_rems
ports: # Port binding to host from docker container
- "9015:9015" # Bind port 3000 of host to 3000 of container

pharmacy-information-system: # Name of our service
image: codexrems/pharmacy-information-system
image: codexrems/pharmacy-information-system:REMSv0.1
container_name: rems_porter_pharmacy-information-system
environment:
- PORT=3010
Expand Down
37 changes: 36 additions & 1 deletion porter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,42 @@ build:

install:
- docker-compose:
description: Docker Compose up
description: docker-compose up
arguments:
- -f
- docker-compose-porter.yml
- up


upgrade:
- docker-compose:
description: docker-compose pull
arguments:
- -f
- docker-compose-porter.yml
- pull
- docker-compose:
description: docker-compose build
arguments:
- -f
- docker-compose-porter.yml
- build
- --pull
- --no-cache
- docker-compose:
description: docker-compose up
arguments:
- -f
- docker-compose-porter.yml
- up
- --force-recreate

ps:
- docker-compose:
description: Docker Compose ps
arguments:
- -f
- docker-compose-porter.yml
- ps

uninstall:
Expand All @@ -46,3 +72,12 @@ uninstall:
- docker-compose-porter.yml
- down
- --remove-orphans

customActions:
stop:
- docker-compose:
description: Stop Running Application Images
arguments:
- -f
- docker-compose-porter.yml
- stop