{"id":273,"date":"2024-10-16T22:24:53","date_gmt":"2024-10-16T18:24:53","guid":{"rendered":"https:\/\/icu.ge\/?page_id=273"},"modified":"2026-04-18T19:03:35","modified_gmt":"2026-04-18T15:03:35","slug":"angap-%e1%83%99%e1%83%90%e1%83%9a%e1%83%99%e1%83%a3%e1%83%9a%e1%83%90%e1%83%a2%e1%83%9d%e1%83%a0%e1%83%98","status":"publish","type":"page","link":"https:\/\/icu.ge\/?page_id=273","title":{"rendered":"AnGap"},"content":{"rendered":"\n<div id=\"calculator-container\" style=\"max-width: 500px; margin: 20px auto; font-family: sans-serif; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1);\">\n    <div style=\"background-color: #4CAF50; color: white; padding: 15px; text-align: center; font-weight: bold;\">\n        \u10d0\u10dc\u10d8\u10dd\u10dc\u10e3\u10e0\u10d8 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8\n    <\/div>\n    \n    <form id=\"anionGapForm\" style=\"padding: 20px; background-color: #fff;\">\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 15px;\">\n            <div>\n                <label style=\"display: block; font-size: 13px; margin-bottom: 5px;\">\u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8 (Na+)<\/label>\n                <input type=\"number\" id=\"sodium\" placeholder=\"mEq\/L\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;\">\n            <\/div>\n            <div>\n                <label style=\"display: block; font-size: 13px; margin-bottom: 5px;\">\u10e5\u10da\u10dd\u10e0\u10d8\u10d3\u10d8 (Cl-)<\/label>\n                <input type=\"number\" id=\"chloride\" placeholder=\"mEq\/L\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;\">\n            <\/div>\n            <div>\n                <label style=\"display: block; font-size: 13px; margin-bottom: 5px;\">\u10d1\u10d8\u10d9\u10d0\u10e0\u10d1\u10dd\u10dc\u10d0\u10e2\u10d8 (HCO3)<\/label>\n                <input type=\"number\" id=\"bicarbonate\" placeholder=\"mEq\/L\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;\">\n            <\/div>\n            <div>\n                <label style=\"display: block; font-size: 13px; margin-bottom: 5px;\">\u10d0\u10da\u10d1\u10e3\u10db\u10d8\u10dc\u10d8 (g\/dL)<\/label>\n                <input type=\"number\" id=\"albumin\" value=\"4.0\" step=\"0.1\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;\">\n            <\/div>\n        <\/div>\n\n        <button type=\"button\" onclick=\"calculate()\" style=\"width: 100%; margin-top: 20px; padding: 12px; background-color: #4CAF50; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 15px;\">\u10d2\u10d0\u10db\u10dd\u10d7\u10d5\u10da\u10d0<\/button>\n    <\/form>\n\n    <div id=\"resultsArea\" style=\"display: none; padding: 20px; background-color: #f9f9f9; border-top: 1px solid #eee;\">\n        <h4 style=\"margin-top: 0; color: #333;\">\u10e8\u10d4\u10d3\u10d4\u10d2\u10d4\u10d1\u10d8:<\/h4>\n        <div id=\"resultContent\" style=\"font-size: 14px; line-height: 1.6; color: #444;\">\n            <\/div>\n        <button onclick=\"copyResults()\" style=\"width: 100%; margin-top: 15px; padding: 10px; background-color: #2196F3; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 13px;\">\u10e8\u10d4\u10d3\u10d4\u10d2\u10d4\u10d1\u10d8\u10e1 \u10d9\u10dd\u10de\u10d8\u10e0\u10d4\u10d1\u10d0<\/button>\n    <\/div>\n<\/div>\n\n<script>\nfunction calculate() {\n    const na = parseFloat(document.getElementById('sodium').value);\n    const cl = parseFloat(document.getElementById('chloride').value);\n    const hco3 = parseFloat(document.getElementById('bicarbonate').value);\n    const alb = parseFloat(document.getElementById('albumin').value);\n\n    if ([na, cl, hco3, alb].some(isNaN)) {\n        alert('\u10d2\u10d7\u10ee\u10dd\u10d5\u10d7, \u10e8\u10d4\u10d0\u10d5\u10e1\u10dd\u10d7 \u10e7\u10d5\u10d4\u10da\u10d0 \u10d5\u10d4\u10da\u10d8 \u10e1\u10ec\u10dd\u10e0\u10d0\u10d3.');\n        return;\n    }\n\n    \/\/ \u10eb\u10d8\u10e0\u10d8\u10d7\u10d0\u10d3\u10d8 \u10e4\u10dd\u10e0\u10db\u10e3\u10da\u10d4\u10d1\u10d8\n    const ag = na - (cl + hco3);\n    const agCorr = ag + (2.5 * (4 - alb));\n    const deltaGap = agCorr - 12;\n    const deltaHCO3 = 24 - hco3;\n    \n    \/\/ Delta Ratio-\u10e1 \u10d5\u10d0\u10da\u10d8\u10d3\u10d0\u10ea\u10d8\u10d0 (\u10dc\u10e3\u10da\u10d6\u10d4 \u10d2\u10d0\u10e7\u10dd\u10e4\u10d8\u10e1 \u10d7\u10d0\u10d5\u10d8\u10d3\u10d0\u10dc \u10d0\u10ea\u10d8\u10da\u10d4\u10d1\u10d0)\n    let deltaRatio = deltaHCO3 !== 0 ? (deltaGap \/ deltaHCO3) : 0;\n    \n    let interpretation = \"\";\n    if (deltaRatio < 0.4) interpretation = \"\u10f0\u10d8\u10de\u10d4\u10e0\u10e5\u10da\u10dd\u10e0\u10d4\u10db\u10d8\u10e3\u10da\u10d8 \u10d0\u10ea\u10d8\u10d3\u10dd\u10d6\u10d8 \u10dc\u10dd\u10e0\u10db\u10d0\u10da\u10e3\u10e0\u10d8 \u10d0\u10dc\u10d8\u10dd\u10dc\u10e3\u10e0\u10d8 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d8\u10d7.\";\n    else if (deltaRatio < 1) interpretation = \"\u10d0\u10ea\u10d8\u10d3\u10dd\u10d6\u10d8 \u10db\u10d0\u10e6\u10d0\u10da\u10d8 \u10d3\u10d0 \u10dc\u10dd\u10e0\u10db\u10d0\u10da\u10e3\u10e0\u10d8 \u10d0\u10dc\u10d8\u10dd\u10dc\u10e3\u10e0\u10d8 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d8\u10d7.\";\n    else if (deltaRatio <= 2) interpretation = \"\u10e1\u10e3\u10e4\u10d7\u10d0 \u10db\u10d0\u10e6\u10d0\u10da\u10d8 \u10d0\u10dc\u10d8\u10dd\u10dc\u10e3\u10e0\u10d8 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d8\u10e1 \u10d0\u10ea\u10d8\u10d3\u10dd\u10d6\u10d8 (HAGMA).\";\n    else interpretation = \"HAGMA \u10d3\u10d0 \u10d7\u10d0\u10dc\u10db\u10ee\u10da\u10d4\u10d1\u10d8 \u10db\u10d4\u10e2\u10d0\u10d1\u10dd\u10da\u10e3\u10e0\u10d8 \u10d0\u10da\u10d9\u10d0\u10da\u10dd\u10d6\u10d8.\";\n\n    const resultsHtml = `\n        <p><b>AG:<\/b> ${ag.toFixed(1)} mEq\/L<\/p>\n        <p><b>\u10d9\u10dd\u10e0\u10d4\u10e5\u10e2\u10d8\u10e0\u10d4\u10d1\u10e3\u10da\u10d8 AG:<\/b> ${agCorr.toFixed(1)} mEq\/L<\/p>\n        <p><b>Delta Gap:<\/b> ${deltaGap.toFixed(1)}<\/p>\n        <p><b>Delta Ratio:<\/b> ${deltaRatio.toFixed(2)}<\/p>\n        <p style=\"margin-top:10px; padding:10px; background:#e8f5e9; border-radius:4px;\"><b>\u10d8\u10dc\u10e2\u10d4\u10e0\u10de\u10e0\u10d4\u10e2\u10d0\u10ea\u10d8\u10d0:<\/b> ${interpretation}<\/p>\n    `;\n\n    document.getElementById('resultContent').innerHTML = resultsHtml;\n    document.getElementById('resultsArea').style.display = 'block';\n}\n\nasync function copyResults() {\n    const text = document.getElementById('resultContent').innerText;\n    try {\n        await navigator.clipboard.writeText(text);\n        alert('\u10db\u10dd\u10dc\u10d0\u10ea\u10d4\u10db\u10d4\u10d1\u10d8 \u10d3\u10d0\u10d9\u10dd\u10de\u10d8\u10e0\u10d3\u10d0!');\n    } catch (err) {\n        alert('\u10d9\u10dd\u10de\u10d8\u10e0\u10d4\u10d1\u10d0 \u10d5\u10d4\u10e0 \u10db\u10dd\u10ee\u10d4\u10e0\u10ee\u10d3\u10d0.');\n    }\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u10d0\u10dc\u10d8\u10dd\u10dc\u10e3\u10e0\u10d8 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8 \u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8 (Na+) \u10e5\u10da\u10dd\u10e0\u10d8\u10d3\u10d8 (Cl-) \u10d1\u10d8\u10d9\u10d0\u10e0\u10d1\u10dd\u10dc\u10d0\u10e2\u10d8 (HCO3) \u10d0\u10da\u10d1\u10e3\u10db\u10d8\u10dc\u10d8 (g\/dL) \u10d2\u10d0\u10db\u10dd\u10d7\u10d5\u10da\u10d0 \u10e8\u10d4\u10d3\u10d4\u10d2\u10d4\u10d1\u10d8: \u10e8\u10d4\u10d3\u10d4\u10d2\u10d4\u10d1\u10d8\u10e1 \u10d9\u10dd\u10de\u10d8\u10e0\u10d4\u10d1\u10d0<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-273","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273"}],"version-history":[{"count":1,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages\/273\/revisions"}],"predecessor-version":[{"id":920,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages\/273\/revisions\/920"}],"wp:attachment":[{"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}