Limited purpose Electronic Health Record system.
Used to explore ideas in healthcare technology, and as a teaching tool for those who would like to enter the healthcare tech space.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
- Rust
- Diesel
- Axum
To get a local copy up and running follow one of these two sets of example steps.
- rust
- Install rust following the official documentation
- postgreSQL client an library (libpq)
- mysqlclient (for Diesel CLI)
- sqlite3 (for Diesel CLI)
- diesel_cli crate - follow the docs at https://diesel.rs/guides/getting-started
- Clone the repo
git clone https://github.com/CoderHausTS/smallEHR.git
- Install crates and get the project ready
cargo build
- Spin up PostgreSQL docker container
docker compose up
- Run diesel setup and migrations
diesel setup
diesel migration run
- Run environment script (maybe)
. ./somescript.sh
- Build and run
cargo run -- run
- Install docker.
- Clone the repo
git clone https://github.com/CoderHausTS/smallEHR.git
- Start up the docker containers
docker compose up
- Import data Use synthetic data if you are testing. A good resource is Mitre Synthea
- Use the data cleaning scripts in file_utils to clean and prep your data for the schema.
- Either import via your fav CLI tool, or use the built in import commands such as
cargo run -- import csv patients "file_location"
To run the server side, simply build and feed run to the executable, or build the project and do the same
sh cargo run -- run
- Import/export data functionality
- RESTful APIs
- User/Roles
- Authorization/authentication
- Front end
- FHIR integration
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Project Link: https://github.com/CoderHausTS/smallEHR