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
Licensed under MIT license.
The tool is intended for use as a research and informational tool only and is not a substitute for professional medical advice, diagnosis, or treatment. The Service is provided "as is" without any warranties of any kind, express or implied, including but not limited to the accuracy, completeness, or reliability of the calculations or results.
Choice of calculation tasks chosen from "most popular" calculators list from website of MDCalc Ltd (New York, NY). Used with permission. Inclusion of these calculators does not constitute endorsement by MDCalc.