{"id":103,"date":"2024-10-12T01:30:26","date_gmt":"2024-10-11T21:30:26","guid":{"rendered":"https:\/\/icu.ge\/?p=103"},"modified":"2025-08-29T23:59:09","modified_gmt":"2025-08-29T19:59:09","slug":"%e1%83%99%e1%83%90%e1%83%9a%e1%83%98%e1%83%a3%e1%83%9b%e1%83%98%e1%83%a1-%e1%83%98%e1%83%9c%e1%83%a4%e1%83%a3%e1%83%96%e1%83%98%e1%83%98%e1%83%a1-%e1%83%99%e1%83%90%e1%83%9a%e1%83%99%e1%83%a3%e1%83%9a","status":"publish","type":"post","link":"https:\/\/icu.ge\/?p=103","title":{"rendered":"\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-thumbnail is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/icu.ge\/wp-content\/uploads\/2024\/10\/fcpsmallwall_textureproduct750x1000.u1-150x150.webp\" alt=\"\" class=\"wp-image-143\" style=\"width:50px;height:auto\" srcset=\"https:\/\/icu.ge\/wp-content\/uploads\/2024\/10\/fcpsmallwall_textureproduct750x1000.u1-150x150.webp 150w, https:\/\/icu.ge\/wp-content\/uploads\/2024\/10\/fcpsmallwall_textureproduct750x1000.u1-300x300.webp 300w, https:\/\/icu.ge\/wp-content\/uploads\/2024\/10\/fcpsmallwall_textureproduct750x1000.u1.webp 472w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/figure>\n\n\n\n<!DOCTYPE html>\n<html lang=\"ge\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            background-color: #f4f4f4;\n            margin: 0;\n        }\n        .container {\n            max-width: 100%; \/* Ensure it fits inside the post area *\/\n            background-color: #fff;\n            padding: 20px;\n            border-radius: 10px;\n            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);\n            text-align: center;\n        }\n        .time {\n            font-size: 24px;\n            margin-bottom: 20px;\n        }\n        .date {\n            font-size: 20px;\n            margin-bottom: 20px;\n        }\n        .calculator {\n            margin-bottom: 20px;\n        }\n        .calculator input {\n            padding: 5px;\n            margin-bottom: 10px;\n            width: 100%; \/* Make inputs responsive *\/\n            max-width: 300px; \/* Limit the width of input fields *\/\n        }\n        .calculator select {\n            padding: 5px;\n            margin-bottom: 10px;\n            width: 100%; \/* Make select responsive *\/\n            max-width: 300px; \/* Limit the width of select fields *\/\n        }\n        .result {\n            margin-top: 10px;\n            font-size: 18px;\n        }\n        button {\n            padding: 10px 20px;\n            background-color: #007BFF;\n            color: white;\n            border: none;\n            border-radius: 5px;\n            cursor: pointer;\n        }\n        button:hover {\n            background-color: #0056b3;\n        }\n    <\/style>\n<\/head>\n<body>\n\n<div class=\"container\">\n    <!-- Date in Georgian -->\n    <div class=\"date\" id=\"currentDate\"><\/div>\n\n    <!-- Tbilisi Time -->\n    <div class=\"time\" id=\"time\"><\/div>\n\n    <!-- Potassium Infusion Calculator -->\n    <div class=\"calculator\">\n        <h2>\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8<\/h2>\n        <label>\u10de\u10d0\u10ea\u10d8\u10d4\u10dc\u10e2\u10d8\u10e1 \u10ec\u10dd\u10dc\u10d0 (\u10d9\u10d2, \u10db\u10d0\u10e5\u10e1\u10d8\u10db\u10e3\u10db 40):<\/label><br>\n        <input type=\"text\" id=\"weight\" placeholder=\"\u10d9\u10d2-\u10e8\u10d8\"><br>\n\n        <label>\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d9\u10dd\u10dc\u10ea\u10d4\u10dc\u10e2\u10e0\u10d0\u10ea\u10d8\u10d0 \u10e1\u10d8\u10e1\u10ee\u10da\u10e8\u10d8 (\u10db\u10db\u10dd\u10da\/\u10da):<\/label><br>\n        <input type=\"text\" id=\"potassium_concentration\" placeholder=\"\u10db\u10db\u10dd\u10da\/\u10da\"><br>\n\n        <label>\u10db\u10d8\u10da\u10d8\u10d4\u10e5\u10d5\u10d8\u10d5\u10d0\u10da\u10d4\u10dc\u10e2\u10d8:<\/label><br>\n        <input type=\"number\" id=\"meq\" readonly><br>\n\n        <label>\u10ee\u10d0\u10d6\u10d8:<\/label><br>\n        <select id=\"line_type\">\n            <option value=\"peripheral\">\u10de\u10d4\u10e0\u10d8\u10e4\u10d4\u10e0\u10d8\u10e3\u10da\u10d8 \u10ee\u10d0\u10d6\u10d8<\/option>\n            <option value=\"central\">\u10ea\u10d4\u10dc\u10e2\u10e0\u10d0\u10da\u10e3\u10e0\u10d8 \u10ee\u10d0\u10d6\u10d8<\/option>\n        <\/select><br>\n\n        <button onclick=\"calculateInfusion()\">\u10d2\u10d0\u10db\u10dd\u10d7\u10d5\u10d0\u10da\u10d4<\/button>\n\n        <div class=\"result\" id=\"result\"><\/div>\n    <\/div>\n<\/div>\n\n<script>\n    \/\/ Function to get the current date in Georgian format\n    function getGeorgianDate() {\n        const days = ['\u10d9\u10d5\u10d8\u10e0\u10d0', '\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8', '\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8', '\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8', '\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8', '\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8', '\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8'];\n        const months = ['\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8', '\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8', '\u10db\u10d0\u10e0\u10e2\u10d8', '\u10d0\u10de\u10e0\u10d8\u10da\u10d8', '\u10db\u10d0\u10d8\u10e1\u10d8', '\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8', '\u10d8\u10d5\u10da\u10d8\u10e1\u10d8', '\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd', '\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8', '\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8', '\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8', '\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8'];\n        \n        const now = new Date();\n        const day = now.getDate();\n        const month = months[now.getMonth()];\n        const year = now.getFullYear();\n        const weekday = days[now.getDay()];\n\n        return `${day} ${month}, ${year} (${weekday})`;\n    }\n\n    \/\/ Function to update the time in Tbilisi (UTC +4)\n    function updateTime() {\n        const now = new Date();\n        const utcOffset = 4; \/\/ Tbilisi is UTC+4\n        const localTime = new Date(now.getTime() + (utcOffset * 60 * 60 * 1000));\n        const hours = String(localTime.getUTCHours()).padStart(2, '0');\n        const minutes = String(localTime.getUTCMinutes()).padStart(2, '0');\n        const seconds = String(localTime.getUTCSeconds()).padStart(2, '0');\n\n        document.getElementById('time').textContent = `${hours}:${minutes}:${seconds}`;\n    }\n\n    \/\/ Function to parse numbers accepting both commas and dots\n    function parseNumber(input) {\n        \/\/ Replace commas with dots for proper float conversion\n        return parseFloat(input.replace(',', '.'));\n    }\n\n    \/\/ Potassium Infusion Calculator\n    function calculateInfusion() {\n        const potassiumInput = document.getElementById('potassium_concentration').value;\n        const potassiumConcentration = parseNumber(potassiumInput);\n\n        if (isNaN(potassiumConcentration)) {\n            alert(\"\u10d2\u10d7\u10ee\u10dd\u10d5\u10d7 \u10e8\u10d4\u10d8\u10e7\u10d5\u10d0\u10dc\u10dd\u10d7 \u10e1\u10ec\u10dd\u10e0\u10d8 \u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d9\u10dd\u10dc\u10ea\u10d4\u10dc\u10e2\u10e0\u10d0\u10ea\u10d8\u10d0!\");\n            return;\n        }\n\n        \/\/ Check if potassium concentration is above 3.5\n        if (potassiumConcentration > 3.5) {\n            document.getElementById('result').innerHTML = \"\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10db\u10d0\u10e9\u10d5\u10d4\u10dc\u10d4\u10d1\u10d4\u10da\u10d8 \u10dc\u10dd\u10e0\u10db\u10d0\u10e8\u10d8\u10d0!\";\n            return; \/\/ Stop further calculations\n        }\n\n        const weightInput = document.getElementById('weight').value;\n        const weight = parseNumber(weightInput);\n\n        if (isNaN(weight)) {\n            alert(\"\u10d2\u10d7\u10ee\u10dd\u10d5\u10d7 \u10e8\u10d4\u10d8\u10e7\u10d5\u10d0\u10dc\u10dd\u10d7 \u10e1\u10ec\u10dd\u10e0\u10d8 \u10ec\u10dd\u10dc\u10d0!\");\n            return;\n        }\n\n        if (weight > 40) {\n            alert(\"\u10de\u10d0\u10ea\u10d8\u10d4\u10dc\u10e2\u10d8\u10e1 \u10ec\u10dd\u10dc\u10d0 \u10d0\u10e0 \u10e8\u10d4\u10d8\u10eb\u10da\u10d4\u10d1\u10d0 \u10d8\u10e7\u10dd\u10e1 40 \u10d9\u10d2-\u10d6\u10d4 \u10db\u10d4\u10e2\u10d8.\");\n            return;\n        }\n\n        const lineType = document.getElementById('line_type').value;\n\n        \/\/ Calculate \u10db\u10d8\u10da\u10d8\u10d4\u10e5\u10d5\u10d8\u10d5\u10d0\u10da\u10d4\u10dc\u10e2\u10d8\n        let meq = potassiumConcentration < 3.2 ? 1 : 0.5;\n        document.getElementById('meq').value = meq;\n\n        \/\/ Calculate \u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10e5\u10da\u10dd\u10e0\u10d8\u10d3\u10d8 4% \u10db\u10d8\u10da\u10d8\u10da\u10d8\u10e2\u10e0\u10d4\u10d1\u10e8\u10d8\n        let kcl_ml = meq === 1 ? (weight * 74.5) \/ 40 : (weight * 0.5 * 74.5) \/ 40;\n        kcl_ml = Math.round(kcl_ml \/ 10) * 10; \/\/ Round to nearest 10\n\n        \/\/ Calculate \u10d2\u10d0\u10dc\u10d6\u10d0\u10d5\u10d4\u10d1\u10d0\n        let dilution;\n        if (lineType === 'peripheral') {\n            dilution = Math.round(kcl_ml * 3 \/ 10) * 10;\n        } else {\n            dilution = kcl_ml;\n        }\n\n        \/\/ Calculate infusion rate (S)\n        const infusionRate = Math.round((kcl_ml + dilution) \/ 2 \/ 10) * 10;\n\n        \/\/ Output formatted result\n        document.getElementById('result').innerHTML = `\n            \u10e1\u10d8\u10e1\u10ee\u10da\u10e8\u10d8 \u10d2\u10d0\u10d6\u10d4\u10d1\u10d8\u10e1\u10d0 \u10d3\u10d0 \u10d4\u10da\u10d4\u10e5\u10e2\u10e0\u10dd\u10da\u10d8\u10e2\u10d4\u10d1\u10d8\u10e1 \u10d0\u10dc\u10d0\u10da\u10d8\u10d6\u10d8\u10e1 \u10d9\u10d5\u10da\u10d4\u10d5\u10d8\u10e1 \u10e8\u10d4\u10d3\u10d4\u10d2\u10d0\u10d3 \u10d2\u10d0\u10db\u10dd\u10d5\u10da\u10d8\u10dc\u10d3\u10d0 \u10f0\u10d8\u10de\u10dd\u10d9\u10d0\u10da\u10d4\u10db\u10d8\u10d0 (K = ${potassiumConcentration}).<br>\n            \u10d9\u10dd\u10e0\u10d4\u10d2\u10d8\u10e0\u10d4\u10d1\u10d8\u10e1 \u10db\u10d8\u10d6\u10dc\u10d8\u10d7, \u10d5\u10dd\u10da\u10e3\u10db\u10d4\u10e2\u10e0\u10e3\u10da\u10d8 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10d7 \u10d3\u10d0\u10d8\u10d3\u10d2\u10d0:<br>\n            Sol. KCl 4% - ${kcl_ml} \u10db\u10da<br>\n            +<br>\n            Sol. NaCl 0.9% - ${dilution} \u10db\u10da<br>\n            S.: ${infusionRate} \u10db\u10da\/\u10e1\u10d7 i.v.\n        `;\n    }\n\n    \/\/ Set the date on page load\n    document.getElementById('currentDate').textContent = getGeorgianDate();\n\n    \/\/ Update the time every second\n    setInterval(updateTime, 1000);\n    updateTime(); \/\/ Initial call to set the time immediately\n\n<\/script>\n\n<\/body>\n<\/html>\n\n\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8 \u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d8\u10dc\u10e4\u10e3\u10d6\u10d8\u10d8\u10e1 \u10d9\u10d0\u10da\u10d9\u10e3\u10da\u10d0\u10e2\u10dd\u10e0\u10d8 \u10de\u10d0\u10ea\u10d8\u10d4\u10dc\u10e2\u10d8\u10e1 \u10ec\u10dd\u10dc\u10d0 (\u10d9\u10d2, \u10db\u10d0\u10e5\u10e1\u10d8\u10db\u10e3\u10db 40): \u10d9\u10d0\u10da\u10d8\u10e3\u10db\u10d8\u10e1 \u10d9\u10dd\u10dc\u10ea\u10d4\u10dc\u10e2\u10e0\u10d0\u10ea\u10d8\u10d0 \u10e1\u10d8\u10e1\u10ee\u10da\u10e8\u10d8 (\u10db\u10db\u10dd\u10da\/\u10da): \u10db\u10d8\u10da\u10d8\u10d4\u10e5\u10d5\u10d8\u10d5\u10d0\u10da\u10d4\u10dc\u10e2\u10d8: \u10ee\u10d0\u10d6\u10d8: \u10de\u10d4\u10e0\u10d8\u10e4\u10d4\u10e0\u10d8\u10e3\u10da\u10d8<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,1,25,23],"tags":[13,14,31,8,30,9,21,11],"class_list":["post-103","post","type-post","status-publish","format-standard","hentry","category-27","category-klinikuri-rchevebi","category-lab","category-farmakologia","tag-er","tag-14","tag-31","tag-8","tag-30","tag-9","tag-21","tag-11"],"_links":{"self":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/types\/post"}],"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=103"}],"version-history":[{"count":1,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":698,"href":"https:\/\/icu.ge\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions\/698"}],"wp:attachment":[{"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icu.ge\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}