This is a simple open-source API which allows users to calculate common medical formulas. It is built using FastAPI and follows the OpenAPI specification. It can be integrated into other applications such as OpenAI's new GPTs functionality. For educational use only. Not for patient care.
Preprint describing its use integrated into ChatGPT is available on Medrxiv.
Interactive live API documenation available here:
- Clone the repo
- Install requirements
- Run the app
cd open-med-calc
uvicorn main:app --reload
- Install docker and docker-compose on remote server
- Transfer docker-compose.yml to remote server
- make the volume is created prior to running the docker container
docker volume create app
mkdir -r /var/lib/docker/volumes/app/_data
- run
docker-compose up -d
in the same directory as docker-compose.yml - Run the app
cd open-med-calc
uvicorn main:app --reload
- MELD
- MELD-Na
- Caprini VTE
- Wells DVT score
- PSI/PORT (BETA)
- Improve documentation
- Add more formulas