Gather Metrics is a lightweight web application designed to assist clinicians in quickly calculating head circumference percentiles based on the latest available data. The application provides an intuitive interface where users can input patient data and receive immediate, accurate results.
Visit the live version of the tool at metrics.gatherfoundation.ch
GATHER Foundation stands for Global Alliance Towards Harmonized E-health Records for Precision Medicine in Neurodevelopmental Disorders (NDDs).
As a recently established initiative, GATHER Foundation aims to promote and support the generation of minimum requirement frameworks for the curation and collection of harmonized clinical, genetic and molecular data in the field of NDDs.
The Head Circumference Percentile API allows you to calculate the percentile of a patient's head circumference based on their age, sex, and head circumference measurements.
Endpoint: POST /api/v1/head-circumference
{
"age_unit": "months",
"age_value": 6,
"sex": "M",
"hcirc_value": 42.0,
"hcirc_unit": "cm"
}
{
"hcirc_percentile": 75.0
}
For detailed documentation and additional options, please refer to the OpenAPI documentation.
This endpoint is rate-limited to 100 requests per minute per IP address. If you exceed this limit, you will receive a 429 Too Many Requests response.
This project is deployed using Docker and is privately managed by the GATHER Foundation on AWS App Runner via Amazon ECR (Elastic Container Registry).
If you wish to run the project locally, you can do so using Docker:
docker build -t gather-metrics:latest .
docker run -p 8000:8000 gather-metrics:latest
This will start the application on http://localhost:8000, allowing you to interact with it locally.
The production deployment of this project is managed privately by the GATHER Foundation. The Docker image is built and pushed to Amazon ECR, and then deployed on AWS App Runner.
Note: The deployment process is controlled by the organization, and contributors do not have direct access to the production environment.
For more details on contributing to the project or setting up a development environment, please refer to the Contributing section.
The Gather Metrics project leverages FastAPI for the backend, Jinja2 for templating, HTMX for interactivity and follows REST principles.
FastAPI is a modern web framework for building APIs with Python. It’s chosen for its:
HTMX is used to enhance the interactivity of the application by enabling dynamic content updates based on user interactions without requiring a full page reload. It allows you to use standard HTML attributes to send requests to the server and update parts of the page with the server’s response.
This architecture ensures that the Gather Metrics application is robust, scalable, and easy to maintain.
Want to contribute? Check out our contribution guidelines.
Samuel Valentini STALICLA |
Sergio Morales STALICLA |
Héctor Naranjo STALICLA |
Contact the project maintainers or support team at developers@gatherfoundation.ch.