Skip to content
Merged

Dev #53

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d71c30e
Include pims-ui to docker-compose
Nov 2, 2022
6f66ae7
Update workspace to include pims.
Nov 2, 2022
abe25ff
Resolve GitHub reviews.
Nov 7, 2022
a4db219
Port remap.
Nov 8, 2022
8fe44d1
Merge pull request #34 from mcode/rems-286-pimsCICD
kennyEung Nov 9, 2022
e158f61
docker file & dockerrunner
Nov 9, 2022
bc9fbf8
Change to use node 18 to accomodate 'name' field in package.json
Nov 9, 2022
edfdd74
Add pims to workspace. Update ports.
Nov 9, 2022
2b85323
pr template updates
smalho01 Nov 10, 2022
fab5353
Merge branch 'dev' of https://github.com/mcode/REMS into dev
smalho01 Nov 10, 2022
91b6d03
updating linting based on prettier. Adding gihub ci workflow
rdingwell Nov 16, 2022
e91b605
scoping tests to node 12
rdingwell Nov 16, 2022
8b7317a
updating name, capital letters and spaces are not allowed in the name…
rdingwell Nov 16, 2022
d599ae9
fixing issues with open handles for server tests.
rdingwell Nov 17, 2022
e17845a
Merge pull request #37 from mcode/linting
smalho01 Nov 18, 2022
b178bc7
change to typescript
kghoreshi Nov 16, 2022
9d95c4d
return card
kghoreshi Nov 16, 2022
e785ea3
add example hook
kghoreshi Nov 17, 2022
9fbaa4c
linting and test typescript conversion
kghoreshi Dec 5, 2022
1355f68
Merge pull request #38 from mcode/cds-hooks
plarocque4 Dec 6, 2022
e666c99
Add tingodb and mongodb database support.
plarocque4 Dec 7, 2022
6c15435
Merge branch 'dev' into rems-287-remsAdminNew-docker
smalho01 Dec 8, 2022
d5dc2a0
Merge pull request #35 from mcode/rems-287-remsAdminNew-docker
smalho01 Dec 8, 2022
1b1c7a2
Initial FHIR server support. This currently breaks the CDS Hooks server.
plarocque4 Dec 14, 2022
5dcd044
Merge branch 'dev' into fhir-server
smalho01 Dec 22, 2022
d3365c2
fixed failing routes
smalho01 Dec 22, 2022
0528f27
Cleanup service registration and fix unit tests.
plarocque4 Dec 23, 2022
011d72e
Fix many of the lint errors and warnings.
plarocque4 Jan 3, 2023
10358a8
Ignore the require lint warnings.
plarocque4 Jan 3, 2023
d780041
Update code to be compliant with code style using prettier.
plarocque4 Jan 4, 2023
cab09e2
Get rid of the lint disabling sections.
plarocque4 Jan 4, 2023
3e0d54f
Run prettier again...
plarocque4 Jan 4, 2023
43262f9
Delete auto_assign.yml
kennyEung Jan 6, 2023
92ee913
WIP
rdingwell Dec 5, 2022
6af787b
WIP: adding functionality from cds-hooks branch
rdingwell Dec 6, 2022
8328876
Restructured caching, added flag to cache utility to allow/disallow d…
rdingwell Dec 9, 2022
d3a9971
removing loging statements and move cache clearing to beforeAll funciton
rdingwell Dec 9, 2022
d0b8d38
Updates based on review. Remove extra error log and load fhir resourc…
plarocque4 Jan 11, 2023
d456400
Merge pull request #45 from mcode/main
smalho01 Jan 12, 2023
6e7826e
Merge branch 'dev' into fhir-server
plarocque4 Jan 17, 2023
35bb9c0
Merge branch 'fhir-server' into vsac_rebase
rdingwell Jan 17, 2023
41ca079
Fix UUID generation.
plarocque4 Jan 17, 2023
f2aee3d
merging fhir-server code base and updating to use fhir-server db. So…
rdingwell Jan 18, 2023
fb1db54
Fixing linting issues
rdingwell Jan 19, 2023
cd3f675
Making things pretty
rdingwell Jan 19, 2023
19ea24e
updating node to version 14
rdingwell Jan 23, 2023
3b02c9d
Merge pull request #40 from mcode/fhir-server
smalho01 Jan 25, 2023
f87c6f3
Merge branch 'dev' into vsac_caching
smalho01 Jan 25, 2023
5e78e61
Merge pull request #46 from mcode/vsac_caching
smalho01 Jan 25, 2023
5f43161
add core functionality of package operation
kghoreshi Jan 25, 2023
ca3da52
add cds files with elm embedded
kghoreshi Jan 25, 2023
27a70e5
remove headers
kghoreshi Jan 25, 2023
d74b3c3
minor linting
kghoreshi Jan 25, 2023
a89bbef
switch to axios
kghoreshi Jan 25, 2023
1e1b7d4
linting
kghoreshi Jan 25, 2023
4db4e55
etasu changes
smalho01 Jan 26, 2023
18ca68c
changed. equal to === and added async/await
smalho01 Jan 26, 2023
7325ea1
Merge pull request #47 from mcode/questionnaire-package
plarocque4 Jan 26, 2023
4507136
add hydration
kghoreshi Dec 10, 2022
0c2f123
add access token
kghoreshi Dec 10, 2022
326b665
prettier
kghoreshi Dec 10, 2022
cea5054
some linting
kghoreshi Jan 25, 2023
c638598
switch to axios
kghoreshi Jan 25, 2023
4ca10e0
lint
kghoreshi Jan 25, 2023
9fd46a8
merged master
smalho01 Jan 26, 2023
e05b29a
Merge pull request #39 from mcode/prefetch_hydration
kennyEung Jan 26, 2023
f627efd
Merge branch 'dev' into etasu-endpoints
smalho01 Jan 26, 2023
93343c2
add prescriber forms
kghoreshi Jan 26, 2023
c00bd7a
linting
kghoreshi Jan 26, 2023
5651733
indentation
kghoreshi Jan 26, 2023
3dc667c
Merge pull request #48 from mcode/prescriber-forms
plarocque4 Jan 26, 2023
d17addd
readd monogo db.
Jan 26, 2023
fb8cfd6
Add mongo express.
Jan 26, 2023
a65cea2
mongo init script.
Jan 27, 2023
e739e1d
cleanup docker-compose-dev
Jan 28, 2023
e0211cc
ignore mongo-init from linter.
Jan 28, 2023
0270e98
add prettier ignore file to ignore mongo-init
Jan 28, 2023
7401367
docker configs
smalho01 Feb 6, 2023
5f118fb
remove hello world collection documents
smalho01 Feb 6, 2023
7c3bb12
mongo changes
smalho01 Feb 6, 2023
ee10ff1
switch to mongo
kghoreshi Feb 6, 2023
bec7a52
compose container names consistency
smalho01 Feb 6, 2023
d12aa83
update env
kghoreshi Feb 7, 2023
c8f257b
linting
kghoreshi Feb 7, 2023
dc0c53b
update test with mongo
kghoreshi Feb 7, 2023
6460c20
Merge branch 'use-mongo' into etasu-endpoints
smalho01 Feb 7, 2023
6a5b76a
add env.json to gitignore
smalho01 Feb 7, 2023
bc57a25
Merge branch 'rems-303-reinstantiate-mongo' into etasu-endpoints
smalho01 Feb 7, 2023
abecbbe
Merge branch 'rems-303-reinstantiate-mongo' into use-mongo
smalho01 Feb 7, 2023
fcc221d
etasu endpoints
smalho01 Feb 9, 2023
91905c6
double quotes lint to single quotes
smalho01 Feb 9, 2023
ce6505e
linting change double quotes to single
smalho01 Feb 9, 2023
f7132ba
linting
smalho01 Feb 9, 2023
60b1286
Merge pull request #50 from mcode/rems-303-reinstantiate-mongo
smalho01 Feb 9, 2023
39d0fc8
Merge branch 'dev' into use-mongo
smalho01 Feb 9, 2023
e45faf0
linting
smalho01 Feb 9, 2023
46ca1a2
Merge pull request #51 from mcode/use-mongo
smalho01 Feb 9, 2023
333bdc3
linting
smalho01 Feb 9, 2023
5295a8c
Merge branch 'dev' into etasu-endpoints
smalho01 Feb 9, 2023
dd0d055
Update the embedded CQL / ELM in all of the Library files.
plarocque4 Feb 9, 2023
8acb577
Fix the TIRF Patient Enrollment Prepopulation.
plarocque4 Feb 10, 2023
239c6ed
updated names of iso from ipledge
zacharyrobin Feb 10, 2023
4dc6686
Merge branch 'etasu-endpoints' of https://github.com/mcode/REMS into …
zacharyrobin Feb 10, 2023
3b94764
Fix the remaining errors for Turalio enrollment forms when unable to …
plarocque4 Feb 13, 2023
6ffc3c0
docker / workspace configs + comments
smalho01 Feb 14, 2023
938f837
environment variables
smalho01 Feb 14, 2023
0f1b122
run prettier
smalho01 Feb 14, 2023
aae3310
environment variables for pims
smalho01 Feb 14, 2023
a222850
fix test
kghoreshi Feb 14, 2023
e5c4e15
Merge pull request #49 from mcode/etasu-endpoints
plarocque4 Feb 14, 2023
f375d07
Merge branch 'dev' into fix-cql
plarocque4 Feb 14, 2023
cc8593b
Merge pull request #52 from mcode/fix-cql
plarocque4 Feb 14, 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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mongo-init.js
21 changes: 21 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"semi": ["off"],
"@typescript-eslint/semi": ["error", "always"],
"quotes": ["error", "single", { "avoidEscape": true }],

}
}
16 changes: 0 additions & 16 deletions .github/auto_assign.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint and Test

on: [push, pull_request]

jobs:
lint:
name: Check tsc, lint, and prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- run: npm install
- run: npm run lint
- run: npm run prettier
env:
CI: true
test:
name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ package-lock.json
COVERAGE/
logs/
node_modules/
dist/
.idea/
.DS_Store
tingo_db/
env.json
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mongo-init.js
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "auto",
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true
}
31 changes: 31 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// does not work currently
// {
// "name": "Debug REMS Backend (Docker)",
// "port": 8091,
// "request": "attach",
// "skipFiles": [
// "<node_internals>/**"
// ],
// "type": "node",
// "localRoot": "${workspaceFolder}",
// "remoteRoot": "/REMS",
// "restart": true
// },
{
"name": "Debug REMS Backend (Local)",
"port": 8091,
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true
}
]
}
33 changes: 16 additions & 17 deletions DeveloperSetupGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,12 @@ Reference: https://github.com/rbenv/rbenv
2. Now clone the DRLS component repositories from Github:
```bash
cd <drlsroot>
git clone https://github.com/mcode/CRD.git CRD
git clone https://github.com/mcode/test-ehr.git test-ehr
git clone https://github.com/mcode/crd-request-generator.git crd-request-generator
git clone https://github.com/mcode/dtr.git dtr
git clone https://github.com/mcode/REMS.git REMS
git clone https://github.com/mcode/pharmacy-information-system.git pharmacy-information-system
git clone https://github.com/mcode/pims.git pims

cd CRD/server
git clone https://github.com/mcode/CDS-Library.git CDS-Library
```

# Open DRLS REMS as VsCode workspace
Expand Down Expand Up @@ -299,21 +296,23 @@ Reference: https://docker-sync.readthedocs.io/en/latest/getting-started/commands
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. Click **Submit to CRD** at the bottom of the page.
7. After several seconds you should receive a response in the form of two **CDS cards**:
6. Click **Send Rx to PIMS** at the bottom of the page to send a prescription to the Pharmacist.
7. Click **Submit to REMS-Admin** at the bottom of the page.
8. After several seconds you should receive a response in the form of two **CDS cards**:
- **Drug Has REMS: Documentation Required.**
8. Select **Patient Enrollment Form** on the returned CDS card with summary **Drug Has REMS: Documentation Required**.
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 **Submit REMS Bundle**.
12. A new UI will appear with REMS Admin Status and Pharmacy Status.
13. Go to http://localhost:4200 and play the role of a pharmacist.
14. Click on **Log in as Admin** in the top right of the page
15. Sign in with the pre-configured user Suzy:
9. Select **Patient Enrollment Form** on the returned CDS card with summary **Drug Has REMS: Documentation Required**.
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 **Submit REMS Bundle**.
13. A new UI will appear with REMS Admin Status and Pharmacy Status.
14. Go to http://localhost:5050 and play the role of a pharmacist.
<!-- 15. Click on **Log in as Admin** in the top right of the page -->
<!-- 16. Sign in with the pre-configured user Suzy:
* Email: spharmichael@example.com
* Password: suzy
16. Click **Doctor Orders** in the left hand navigation menu on the screen
17. See the Doctor Order that was sent to the pharmacist from the prescriber in steps 1-12.
* Password: suzy -->
15. Click **Doctor Orders** in the top hand navigation menu on the screen
16. See the Doctor Order that was sent to the pharmacist from the prescriber.
17. Repeat steps 9-12 for submitting the Prescriber Enrollment and Prescriber Knowledge Assessment Forms and check how ETASU statuses change in both the PIMS prescription UI and the Prescriber status page.

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

Expand Down
8 changes: 5 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ubuntu:latest
FROM node:18-alpine
WORKDIR /REMS
COPY . .
CMD ./dockerRunner.sh
COPY --chown=node:node . .
RUN npm install
EXPOSE 8090
CMD ./dockerRunnerDev.sh
33 changes: 1 addition & 32 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,7 @@ ARG BUNDLE_DIR
ARG DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND=noninteractive

# RUN apt-get update && apt-get install -y ca-certificates && apt-get install -y curl

# RUN curl http://pki.mitre.org/MITRE%20BA%20ROOT.crt >> /etc/ssl/certs/ca-certificates.crt && \
# curl http://pki.mitre.org/MITRE%20BA%20NPE%20CA-3.crt >> /etc/ssl/certs/ca-certificates.crt && \
# curl http://pki.mitre.org/MITRE%20BA%20NPE%20CA-4.crt >> /etc/ssl/certs/ca-certificates.crt && \
# update-ca-certificates

# WORKDIR /pki
# COPY Zscaler_Root_CA.pem .
# RUN cat Zscaler_Root_CA.pem >> /etc/ssl/certs/ca-certificates.crt



# # Install Git from Source to get around TLS errors with Zscaler,
# # explicitly using openssl instead of gnutls
# # RUN cp /etc/apt/sources.list /etc/apt/sources.list~
# RUN sed -i -- 's/# deb-src/deb-src/' /etc/apt/sources.list
# RUN apt-get update && \
# apt-get install build-essential fakeroot dpkg-dev -y && \
# apt-get install git-man -y && \
# apt-get -f build-dep git -y && \
# apt-get install libcurl4-openssl-dev -y

# WORKDIR /sourcegit

# RUN apt-get source git && \
# cd git-2.*.*/ && \
# sed -i -- 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/' ./debian/control && \
# sed -i -- '/TEST\s*=\s*test/d' ./debian/rules && \
# dpkg-buildpackage -rfakeroot -b -uc -us && \
# dpkg -i ../git_*ubuntu*.deb

COPY ./mongo-init.js ${BUNDLE_DIR}/mongo-init.js
COPY ./.cnab/app/porter.yaml ${BUNDLE_DIR}/porter.yaml
COPY ./docker-compose-porter.yml ${BUNDLE_DIR}/docker-compose-porter.yml
COPY ./.env ${BUNDLE_DIR}/.env
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,25 @@ You can find complete end-to-end full-stack set up guides for DRLS REMS at the f
```
2. Run dockerRunner.sh script
```bash
./dockerRunner.sh
npm run start
```

## Running the Mongo DB instance
1. On the first run use the following command to create a docker mongo instance:
```bash
docker run --name rems_local_pims_remsadmin_mongo --expose 27017 -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME='rems-admin-pims-root' -e MONGO_INITDB_ROOT_PASSWORD='rems-admin-pims-password' -v rems_local_pims_remsadmin_mongo:/data/db -v "$(pwd)"/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js mongo
```
To stop the running container, simply use ctrl + c


2. On subsequent runs use the following command to start the existing mongo container:
```bash
docker start rems_local_pims_remsadmin_mongo
```
To stop the running container, simply run the below command
```bash
docker stop rems_local_pims_remsadmin_mongo
```
# REMS Administrator
NOTE: The REMS Administrator is a work in progress.

Expand Down
19 changes: 5 additions & 14 deletions REMS.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
{
"path": "../test-ehr"
},
{
"name": "CRD-CDS-Library",
"path": "../CRD/server/CDS-Library"
},
{
"path": "../CRD"
},
{
"path": "../crd-request-generator"
},
Expand All @@ -20,7 +13,7 @@
"path": "."
},
{
"path": "../pharmacy-information-system"
"path": "../pims"
}
],
"launch": {
Expand All @@ -39,13 +32,11 @@
"stopAll": true,
"preLaunchTask": "Launch Chrome in Debug Mode",
"configurations": [
"Debug CRD (Local + Docker)",
"Debug DTR Backend (Docker)",
"Debug Test-EHR (Local + Docker)",
"Debug DTR Frontend (Attach Local + Docker)",
"Debug CRD-Request-Generator (Attach Docker)",
"Debug Pharmacy-Information-System Backend (Docker)",
"Debug Pharmacy-Information-System Frontend (Attach Local + Docker)",
// ToDO: Add in PIMS Debugging and REMS debugging in docker
"Post Debug Task - Terminate Chrome (This is not a Debugger)"
],
}
Expand All @@ -58,13 +49,13 @@
"type": "shell",
"label": "Launch Chrome in Debug Mode",
"linux": {
"command": "google-chrome http://localhost:3000 http://localhost:4200 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
"command": "google-chrome http://localhost:3000 http://localhost:5050 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
},
"osx": {
"command": "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome http://localhost:3000 http://localhost:4200 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
"command": "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome http://localhost:3000 http://localhost:5050 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
},
"windows": {
"command": "for /f \"usebackq tokens=1,2,3,4,5\" %a in (`reg query HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ /s /f \\chrome.exe ^| findstr Application`) do set CHROMEPATH=%c%d%e & set CHROMEPATH=%CHROMEPATH:ProgramFiles=Program Files% & \"%CHROMEPATH%\" http://localhost:3000 http://localhost:4200 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
"command": "for /f \"usebackq tokens=1,2,3,4,5\" %a in (`reg query HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ /s /f \\chrome.exe ^| findstr Application`) do set CHROMEPATH=%c%d%e & set CHROMEPATH=%CHROMEPATH:ProgramFiles=Program Files% & \"%CHROMEPATH%\" http://localhost:3000 http://localhost:5050 http://localhost:3005/register --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
},
"presentation": {
"close": true,
Expand Down
34 changes: 19 additions & 15 deletions SimpleSetupGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ Your computer must have these minimum requirements:
```

#### Windows
> Note: The install on Windows requires additional steps in order to expose the WSL Docker Daemon to Porter. The way to do this is to run the porter commands inside an additional windows specific container running in interactive mode, which exposes that container's terminal instance.
> Note: The Porter Installation on Windows is currently broken, to run the REMS prototype on Windows please refer to the [Running Docker Compose without Porter](#docker-compose-without-porter) section of this guide.

<!-- > Note: The install on Windows requires additional steps in order to expose the WSL Docker Daemon to Porter. The way to do this is to run the porter commands inside an additional windows specific container running in interactive mode, which exposes that container's terminal instance.

> Note: replace ${vsac_api_key} in the below commands with your own VSAC api key obtained in the previous step.

Expand All @@ -99,7 +101,7 @@ Your computer must have these minimum requirements:
porter install fullstack_rems --param vsac_api_key=${vsac_api_key} --allow-docker-host-access # Subsequent runs can use the local installation
```

> Note: Any porter comannds below such as [stopping the server](#stop-server), [updating the porter application](#updating-porter-application), or [uninstalling the porter application](#cleanup) should be run within the windows specific docker container terminal instance started in step 2. To exit the interactive shell started in step 2, use **ctrl + d**
> Note: Any porter comannds below such as [stopping the server](#stop-server), [updating the porter application](#updating-porter-application), or [uninstalling the porter application](#cleanup) should be run within the windows specific docker container terminal instance started in step 2. To exit the interactive shell started in step 2, use **ctrl + d** -->

### 4. Verify everything is working

Expand All @@ -110,21 +112,23 @@ Your computer must have these minimum requirements:
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. Click **Submit to CRD** at the bottom of the page.
7. After several seconds you should receive a response in the form of two **CDS cards**:
6. Click **Send Rx to PIMS** at the bottom of the page to send a prescription to the Pharmacist.
7. Click **Submit to REMS-Admin** at the bottom of the page.
8. After several seconds you should receive a response in the form of two **CDS cards**:
- **Drug Has REMS: Documentation Required.**
8. Select **Patient Enrollment Form** on the returned CDS card with summary **Drug Has REMS: Documentation Required**.
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 **Submit REMS Bundle**.
12. A new UI will appear with REMS Admin Status and Pharmacy Status.
13. Go to http://localhost:4200 and play the role of a pharmacist.
14. Click on **Log in as Admin** in the top right of the page
15. Sign in with the pre-configured user Suzy:
9. Select **Patient Enrollment Form** on the returned CDS card with summary **Drug Has REMS: Documentation Required**.
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 **Submit REMS Bundle**.
13. A new UI will appear with REMS Admin Status and Pharmacy Status.
14. Go to http://localhost:5050 and play the role of a pharmacist.
<!-- 15. Click on **Log in as Admin** in the top right of the page -->
<!-- 16. Sign in with the pre-configured user Suzy:
* Email: spharmichael@example.com
* Password: suzy
16. Click **Doctor Orders** in the left hand navigation menu on the screen
17. See the Doctor Order that was sent to the pharmacist from the prescriber in steps 1-12.
* Password: suzy -->
15. Click **Doctor Orders** in the top hand navigation menu on the screen
16. See the Doctor Order that was sent to the pharmacist from the prescriber.
17. Repeat steps 9-12 for submitting the Prescriber Enrollment and Prescriber Knowledge Assessment Forms and check how ETASU statuses change in both the PIMS prescription UI and the Prescriber status page.

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

Expand Down
Loading