An anthropological growth calculator optimized for Electronic Health Records (EHR) / medical records. This application calculates percentiles and Z-scores for child and adolescent development based on international standards (WHO/OMS, CDC, and Nellhaus).
The tool runs completely on the client side (in the browser) and is fully functional offline.
👉 Live Demo (in Brazilian Portuguese)
-
Anthropometric Metrics: Calculates percentiles and Z-scores for Weight (
$P$ ), Height/Length ($E$ ), Head Circumference ($PC$ ), and BMI ($IMC$ ). - Growth Standards: Supports WHO (OMS), CDC, and Nellhaus tables.
- EHR Integration: Optimized for copying results directly into patient clinical charts/notes.
- Dynamic Themes: Automatically changes the interface color scheme based on the selected sex (blue for male, pink for female).
- Responsive Design: Mobile-friendly interface that works on smartphones, tablets, and desktop computers.
- No Installation Required: Run locally with a single click.
This project consists of pure, static files (HTML, CSS, and JavaScript) and a JSON database. You do not need Node.js, npm, or any development tools to use it.
- Download the files:
- Go to the top of this repository on GitHub.
- Click the green Code button and select Download ZIP.
- Extract the downloaded ZIP file to any folder on your computer.
- Open the Calculator:
- Double-click the
index.htmlfile to open it in your web browser.
- Double-click the
- CORS Local Fallback:
- Modern web browsers block websites from fetching local files (
dados_percentis.json) when opened directly from your hard drive (via thefile://protocol) due to security restrictions. - When you open the page, a yellow/orange banner will appear warning you about this.
- Simply click Choose File (or "Selecionar arquivo") in that banner and select the
dados_percentis.jsonfile from the same folder. - Once selected, the database will load instantly, and the application is ready to run offline.
- Modern web browsers block websites from fetching local files (
If you prefer to load the database automatically without having to select the JSON file every time, you can host the files using a simple static web server.
- Open your Terminal (macOS/Linux) or Command Prompt/PowerShell (Windows) in the folder where you extracted the files.
- Run the following command:
python -m http.server 8000
- Open your browser and go to
http://localhost:8000. The calculator will load and function without any local file warnings.
- Run the following command in the folder:
php -S localhost:8000
- Open your browser and go to
http://localhost:8000.
- Select the Patient's Sex: Choose Male (Masculino) or Female (Feminino). The theme will update automatically.
- Input Dates:
- Data das Medidas (Measurement Date): Defaulted to today's date in
DD/MM/YYYYformat. - Data de Nascimento (Date of Birth): Paste or write the patient's birth date.
- Data das Medidas (Measurement Date): Defaulted to today's date in
- Input Anthropometric Data: Enter the measurements in the text box. The format is flexible, for example:
P: 32 kg E: 135 cm PC: 52 cm - Calculate: Click the Processar Dados button.
- Copy Results: The calculated percentiles and Z-scores will appear in the output area. Click Copiar Resultado to copy the formatted text to your clipboard, ready to be pasted into your clinical notes.
index.html: The main web application containing the layout, styling, and calculation logic.dados_percentis.json: The database file containing the growth standards data (WHO/OMS, CDC, and Nellhaus).
This project is licensed under the MIT License.