Body Injury Rate (VN) API
Search the 2,400 rated injuries of TT 22/2019/TT-BYT and combine several with the official “cộng lùi” method: steps, rounding, 11 / 31 / 61 % bands.
Search (q, accents optional, e.g. gay xuong ban tay) the four tables of body-injury percentages (tỷ lệ % tổn thương cơ thể) of Thông tư 22/2019/TT-BYT used in forensic assessment: Bảng 1 injuries, Bảng 2 diseases, Bảng 3–4 mental disorders. Each result gives the chapter, the code path, the injury, its parent headings and the range (e.g. 6–10 %). Filter by table and chapter; action=chapters lists them; action=vision&right=4/10&left=3/10 reads the visual-acuity grid.
action=combine&rates=[63,41,22] adds several injuries with the method of Điều 4: T1 is the first (largest) injury, each next one is taken on what remains: Tn = (100 − T1 − … − Tn−1) × rate / 100, two decimals per step and the total rounded half up to an integer (Điều 3 khoản 4). Rates can also be table row ids with pick=min|mid|max or a chosen rate. The worked examples of the circular are reproduced exactly (63 + 15.17 + 4.80 = 82.97 → 83 %; 45 + 20.35 → 65 %).
The total is compared with the bands of Bộ luật Hình sự Điều 134 (11–30 %, 31–60 %, 61 % and above; aggravating circumstances change the clause). The rate in a real case is chosen by the forensic examiner within the range; this is a reference tool.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
q | query | string | no | Injury name or keywords (accents optional). | |
action | query | string | no | search | search, combine, vision, get (with id) or chapters. |
rates | body|query | array | no | combine: rates (63,41,22), { rate, label } objects or row ids { id, rate | pick }. | |
order | query | string | no | desc | combine: desc (largest first) or given; decimals=round|truncate. |
table | query | number | no | Table 1–4 (search filter, list, or vision grid 1 / 2); with chapter. | |
right | query | string | no | vision: corrected acuity of the right eye (10/10, 4/10, 1/20, ST(-)); with left. | |
limit | query | number | no | 10 | Max search results (1–100). |
Example
curl "https://apibox.io.vn/v1/vn-injury-rate?action=combine&rates=63,41,22" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-injury-rate?action=combine&rates=63,41,22', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-injury-rate?action=combine&rates=63,41,22",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-injury-rate?action=combine&rates=63,41,22');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"method": "cộng lùi (Điều 4 TT 22/2019/TT-BYT): each further injury is applied to the remaining body capacity",
"order": "desc",
"decimals": "round",
"steps": [
{
"n": 1,
"label": null,
"rate": 63,
"remaining_before": 100,
"formula": "T1 = 63",
"t": 63,
"cumulative": 63
},
{
"n": 2,
"label": null,
"rate": 41,
"remaining_before": 37,
"formula": "T2 = (100 - T1) × 41/100 = 37 × 41/100",
"t": 15.17,
"cumulative": 78.17
},
{
"n": 3,
"label": null,
"rate": 22,
"remaining_before": 21.83,
"formula": "T3 = (100 - T1 - T2) × 22/100 = 21.83 × 22/100",
"t": 4.8,
"cumulative": 82.97
}
],
"sum_exact": 82.97,
"total": 83,
"total_formatted": "83%",
"rounding": "Two decimals per step; final total rounded half up to an integer (Điều 3 khoản 4)",
"criminal_band": {
"band": "≥ 61%",
"clause": "Điều 134 khoản 3 (61% trở lên: 05–10 năm tù)",
"note": "Heavier clauses apply with aggravating circumstances, several victims or death (khoản 4, 5)."
},
"notes": [
"The total for one person is always below 100% (Điều 3 khoản 1).",
"…"
],
"legal": [
{
"ref": "Thông tư 22/2019/TT-BYT (28/08/2019), Bảng 1–4; Điều 3 (principles), Điều 4 (cộng lùi method)",
"effective_from": "2019-11-01",
"note": "Cases that arose before 01/11/2019 use TT 20/2014/TT-BYT (Điều 6)."
},
"…"
],
"reviewed": "2026-11-15",
"disclaimer": "Reference only, not legal or medical advice; the rate is decided by the forensic examiner. Check the official text."
}
Use cases
- Estimate the injury percentage range in an insurance claim
- Show lawyers the cộng lùi calculation step by step
- Explain which Penal Code band an assessed rate falls into
- Search the official table by injury name in a legal chatbot
FAQ
Why is 63 % + 41 % not 104 %?
The circular adds each injury on the remaining capacity: 41 % of the remaining 37 % is 15.17 %, so the total stays below 100 %.
In which order are injuries combined?
The circular calls the first one T1; in practice the largest comes first (default order=desc); use order=given to keep your order.
Is this the table for work accidents?
No. Work-capacity loss for social insurance uses the medical-assessment table of the Ministry of Health, not this forensic one.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.