/302-project

Primary LanguageJavaScriptMIT LicenseMIT

Parajuniper Project #1: Patient Questionnaire App

Team JAPL


A web app which renders a JSON FHIR Questionnaire and submits the user response using a standardized FHIR API to an Open Source FHIR EndPoint (HAPI FHIR).


Documentation and notes

The following documents are located in the /documents-and-notes/ directory of this repo:


Instructions and commands to install, build & run, and test

  • Ensure that you have a linux system.
  • Install git with sudo apt install git and clone this repo.

Install docker & docker compose

chmod +x ./script/bootstrap.sh && ./script/bootstrap.sh

Build docker container and run

sudo docker-compose up --build

Go to http://localhost:3000 in your browser to view the web app

Run tests

chmod +x ./script/test.sh && ./script/test.sh

Validation and Acceptance Criteria

The following validation and acceptance criteria was agreed to with our industry partner Alex:

  • A questionnaire should be rendered accurately.
  • The user response should be captured and sent to the FHIR endpoint.

Smaller, more specific acceptance criteria were set out by us for each feature of the project. We also consulted Alex as we created them. These can be found in the various feature documents listed above.

The verification of the general criteria that was agreed to with our industry partner is demonstrated through the frontend and backend testing suites in our project. The tests can be run with one command as mentioned above. The criteria can also be verified by visiting the webpage and viewing the questionnaire, as well as filling it out. The console, for both the frontend and backend, can be checked for log output.

Tests can be found here: