Add Web Interface for Synthea Patient Generator #1499
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request: Add Web Interface for Synthea Patient Generator
Summary:
This pull request introduces a brand-new web interface to the Synthea Patient Generator repository. The web interface allows users to generate Synthea commands via a user-friendly HTML form, eliminating the need to manually enter commands in the terminal.
Additions:
Key Features:
HTML Form-Based Interface:
User-Friendly Command Generation:
Dynamic Input Handling:
Preview Command Before Execution:
Backend Integration with Flask:
Makefile for Easy Setup and Execution:
Makefile
to automate the environment setup, including:Makefile
includes targets for setting up the environment (setup
), starting the frontend server (serve
), running the Flask backend (flask
), and executing both servers in parallel (run
).Getting Started:
Setup:
make
to set up the Python environment, install the necessary dependencies, and start both the HTML frontend and Flask backend.Using the Interface:
http://localhost:8000
.Benefits:
Conclusion:
This new web interface significantly enhances the usability of the Synthea Patient Generator, making it accessible to a broader audience by providing a straightforward way to generate and execute Synthea commands.