{"id":282,"date":"2024-10-16T22:59:11","date_gmt":"2024-10-16T18:59:11","guid":{"rendered":"https:\/\/icu.ge\/?page_id=282"},"modified":"2025-05-19T02:10:41","modified_gmt":"2025-05-18T22:10:41","slug":"%e1%83%a8%e1%83%a0%e1%83%90%e1%83%a2%e1%83%98%e1%83%a1-%e1%83%9d%e1%83%a1%e1%83%9b%e1%83%9d%e1%83%9a%e1%83%90%e1%83%a0%e1%83%9d%e1%83%91%e1%83%90","status":"publish","type":"page","link":"https:\/\/icu.ge\/?page_id=282","title":{"rendered":"\u10e8\u10e0\u10d0\u10e2\u10d8\u10e1 \u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d0"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"ka\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\n<\/head>\n<body class=\"bg-gray-50 font-sans\">\n  <div class=\"max-w-lg mx-auto mt-10 p-6 bg-white rounded-lg shadow-md\">\n    <p class=\"text-sm text-gray-500 text-center mb-6\">\u10e1\u10d0\u10d5\u10d0\u10da\u10d3\u10d4\u10d1\u10e3\u10da\u10dd \u10d5\u10d4\u10da\u10d4\u10d1\u10d8: \u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8, BUN \u10d3\u10d0 \u10d2\u10da\u10e3\u10d9\u10dd\u10d6\u10d0<\/p>\n\n    <form id=\"serumOsmForm\" class=\"grid grid-cols-1 md:grid-cols-2 gap-4\">\n      <div>\n        <label class=\"block text-gray-600 text-sm\">\u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8 (mmol\/L)<\/label>\n        <input type=\"number\" id=\"sodium\" required placeholder=\"136 - 145\" class=\"w-full p-2 border rounded-md text-sm\">\n      <\/div>\n\n      <div>\n        <label class=\"block text-gray-600 text-sm\">BUN (mmol\/L)<\/label>\n        <input type=\"number\" id=\"bun\" required placeholder=\"2.9 - 7.1\" class=\"w-full p-2 border rounded-md text-sm\">\n      <\/div>\n\n      <div>\n        <label class=\"block text-gray-600 text-sm\">\u10d2\u10da\u10e3\u10d9\u10dd\u10d6\u10d0 (mg\/dL)<\/label>\n        <input type=\"number\" id=\"glucose\" required placeholder=\"70 - 105\" class=\"w-full p-2 border rounded-md text-sm\">\n      <\/div>\n\n      <div>\n        <label class=\"block text-gray-600 text-sm\">\u10d0\u10da\u10d9\u10dd\u10f0\u10dd\u10da\u10d8 (mmol\/L)<\/label>\n        <input type=\"number\" id=\"alcohol\" placeholder=\"0 - 17.36 (\u10d0\u10e0\u10e9\u10d4\u10d5\u10d8\u10d7\u10d8)\" class=\"w-full p-2 border rounded-md text-sm\">\n      <\/div>\n\n      <div class=\"md:col-span-2\">\n        <label class=\"block text-gray-600 text-sm\">\u10d2\u10d0\u10d6\u10dd\u10db\u10d8\u10da\u10d8 \u10e8\u10e0\u10d0\u10e2\u10d8\u10e1 \u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d0 (mmol\/kg)<\/label>\n        <input type=\"number\" id=\"measuredOsm\" placeholder=\"275 - 295 (\u10d0\u10e0\u10e9\u10d4\u10d5\u10d8\u10d7\u10d8)\" class=\"w-full p-2 border rounded-md text-sm\">\n      <\/div>\n\n      <button type=\"button\" onclick=\"calculateSerumOsmolality()\" class=\"col-span-2 bg-indigo-600 text-white py-2 rounded-md hover:bg-indigo-700\">\u10d2\u10d0\u10db\u10dd\u10d7\u10d5\u10da\u10d0<\/button>\n    <\/form>\n\n    <div id=\"results\" class=\"mt-6 hidden bg-gray-100 p-4 rounded-md text-sm\">\n      <p id=\"traditionalOsmResult\" class=\"font-semibold\"><\/p>\n      <p id=\"purssellOsmResult\" class=\"font-semibold\"><\/p>\n      <p id=\"osmolalGapResult\" class=\"font-semibold\"><\/p>\n\n      <button onclick=\"copyResults()\" class=\"mt-4 w-full bg-blue-500 text-white py-2 rounded-md hover:bg-blue-600\">\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 calculateSerumOsmolality() {\n  const sodium = parseFloat(document.getElementById('sodium').value);\n  const bun = parseFloat(document.getElementById('bun').value);\n  const glucose = parseFloat(document.getElementById('glucose').value);\n  const alcohol = parseFloat(document.getElementById('alcohol').value) || 0;\n  const measuredOsm = parseFloat(document.getElementById('measuredOsm').value);\n\n  if ([sodium, bun, glucose].some(isNaN)) {\n    alert('\u10d2\u10d7\u10ee\u10dd\u10d5\u10d7, \u10e8\u10d4\u10d0\u10d5\u10e1\u10d4\u10d7 \u10e7\u10d5\u10d4\u10da\u10d0 \u10e1\u10d0\u10d5\u10d0\u10da\u10d3\u10d4\u10d1\u10e3\u10da\u10dd \u10d5\u10d4\u10da\u10d8.');\n    return;\n  }\n\n  const traditionalOsm = (2 * sodium) + (bun \/ 2.8) + (glucose \/ 18) + (alcohol \/ 4.6);\n  const purssellOsm = (2 * sodium) + (bun \/ 2.8) + (glucose \/ 18) + (alcohol \/ 3.7);\n\n  document.getElementById('traditionalOsmResult').textContent = `\u10e2\u10e0\u10d0\u10d3\u10d8\u10ea\u10d8\u10e3\u10da\u10d8 \u10e8\u10e0\u10d0\u10e2\u10d8\u10e1 \u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d0: ${traditionalOsm.toFixed(2)} mmol\/kg`;\n  document.getElementById('purssellOsmResult').textContent = `Purssell-\u10d8\u10e1 \u10e8\u10e0\u10d0\u10e2\u10d8\u10e1 \u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d0: ${purssellOsm.toFixed(2)} mmol\/kg`;\n\n  if (!isNaN(measuredOsm)) {\n    const osmolalGap = measuredOsm - purssellOsm;\n    document.getElementById('osmolalGapResult').textContent = `\u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d8\u10e1 \u10e1\u10ee\u10d5\u10d0\u10dd\u10d1\u10d0: ${osmolalGap.toFixed(2)} mmol\/kg`;\n  } else {\n    document.getElementById('osmolalGapResult').textContent = '';\n  }\n\n  document.getElementById('results').classList.remove('hidden');\n}\n\nfunction copyResults() {\n  const resultsText = document.getElementById('results').innerText;\n  navigator.clipboard.writeText(resultsText).then(() => {\n    alert('\u10e8\u10d4\u10d3\u10d4\u10d2\u10d4\u10d1\u10d8 \u10d3\u10d0\u10d9\u10dd\u10de\u10d8\u10e0\u10d4\u10d1\u10e3\u10da\u10d8\u10d0!');\n  });\n}\n<\/script>\n\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>\u10e1\u10d0\u10d5\u10d0\u10da\u10d3\u10d4\u10d1\u10e3\u10da\u10dd \u10d5\u10d4\u10da\u10d4\u10d1\u10d8: \u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8, BUN \u10d3\u10d0 \u10d2\u10da\u10e3\u10d9\u10dd\u10d6\u10d0 \u10dc\u10d0\u10e2\u10e0\u10d8\u10e3\u10db\u10d8 (mmol\/L) BUN (mmol\/L) \u10d2\u10da\u10e3\u10d9\u10dd\u10d6\u10d0 (mg\/dL) \u10d0\u10da\u10d9\u10dd\u10f0\u10dd\u10da\u10d8 (mmol\/L) \u10d2\u10d0\u10d6\u10dd\u10db\u10d8\u10da\u10d8 \u10e8\u10e0\u10d0\u10e2\u10d8\u10e1 \u10dd\u10e1\u10db\u10dd\u10da\u10d0\u10e0\u10dd\u10d1\u10d0 (mmol\/kg)<\/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-282","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages\/282","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=282"}],"version-history":[{"count":0,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/pages\/282\/revisions"}],"wp:attachment":[{"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}