https://github.com/bcbi/fhir-apps-synthea-ri
https://github.com/bcbi/fhir-apps-synthea-ri
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bcbi/fhir-apps-synthea-ri
- Owner: bcbi
- Created: 2023-10-18T19:30:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-31T20:04:56.000Z (11 months ago)
- Last Synced: 2025-10-19T04:54:55.171Z (9 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fhir apps
This is a FHIR web application written in Python and using Flask as the backend.
## 1. Dependencies
This app depends on Python 3 and a few Python packages outlined in the `requirements.txt` file.
## 2. Running the App
We begin by creating a Python virtual environment using the `venv` module. This is done by running the command below from the "root" of this repo.
```
python3 -m venv venv # create a virtual environment called venv
source venv/bin/activate # activate our virtual environment
pip3 install -r requirements.txt # install all our dependencies into the virtual environment
```
After the above steps, we should be able to launch our app using the following command.
```
python3 src/fhir_patient_finder_synthea_ri.py # for the patient finder app
python3 src/fhir_condition_finder_synthea_ri.py # for the condition-patient app
```
This will start the app on port 5000. You can open your preferred browser and see the app running on `http://localhost:5000`