{"id":2,"date":"2024-03-12T10:50:58","date_gmt":"2024-03-12T10:50:58","guid":{"rendered":"http:\/\/pomocnikpoz.pl\/?page_id=2"},"modified":"2026-03-19T15:39:31","modified_gmt":"2026-03-19T15:39:31","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/pomocnikpoz.pl\/","title":{"rendered":"Strona g\u0142\u00f3wna"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>    <form id=\"score2-calculator\">\n        <h3>Kalkulator SCORE2 + SCORE2-OP<\/h3>\n        <label for=\"age-score2\">Wiek (lata):<\/label>\n        <input type=\"number\" id=\"age-score2\" name=\"age-score2\" min=\"40\" max=\"89\" required><br>\n\n        <label for=\"sex-score2\">P\u0142e\u0107:<\/label>\n        <select id=\"sex-score2\" name=\"sex-score2\" required>\n            <option value=\"male\">M\u0119\u017cczyzna<\/option>\n            <option value=\"female\">Kobieta<\/option>\n        <\/select><br>\n\n        <label for=\"non_hdl-score2\">Nie-HDL cholesterol (mg\/dL):<\/label>\n        <input type=\"number\" id=\"non_hdl-score2\" name=\"non_hdl-score2\" step=\"0.1\" min=\"116\" max=\"265\" required><br>\n\n        <label for=\"sbp-score2\">Ci\u015bnienie skurczowe (SBP) (mmHg):<\/label>\n        <input type=\"number\" id=\"sbp-score2\" name=\"sbp-score2\" min=\"100\" max=\"179\" required><br>\n\n        <label for=\"smoking-score2\">Palenie papieros\u00f3w:<\/label>\n        <select id=\"smoking-score2\" name=\"smoking-score2\" required>\n            <option value=\"yes\">Tak<\/option>\n            <option value=\"no\">Nie<\/option>\n        <\/select><br>\n\n        <button type=\"button\" id=\"calculate-score2\">Oblicz SCORE2<\/button>\n        <button type=\"reset\">Reset<\/button>\n\t\t    <div id=\"score2-results\"><\/div>\n    <\/form>\n\n\t<div class=\"form-add-info\">\n    Narz\u0119dzie opiera si\u0119 na dw\u00f3ch publikacjach naukowych:\n    <ul>\n        <li>\n            <a href=\"https:\/\/academic.oup.com\/eurheartj\/article\/42\/25\/2439\/6297709?login=false\" target=\"_blank\">\n                Artyku\u0142: 2021 ESC Guidelines on cardiovascular disease prevention in clinical practice\n            <\/a>\n        <\/li>\n        <li>\n            <a href=\"https:\/\/academic.oup.com\/eurheartj\/article\/42\/25\/2455\/6297711?login=true\" target=\"_blank\">\n                Artyku\u0142: Supplementary data to 2021 ESC Guidelines on cardiovascular disease prevention in clinical practice\n            <\/a>\n        <\/li>\n    <\/ul>\n    Kliknij na link, aby uzyska\u0107 dost\u0119p do pe\u0142nej tre\u015bci artyku\u0142u.\n<\/div>\n\n\n    <script>\n        document.addEventListener('DOMContentLoaded', function() {\n            const calculateButton = document.getElementById('calculate-score2');\n            const ageField = document.getElementById('age-score2');\n            const sbpField = document.getElementById('sbp-score2');\n            const nonHdlField = document.getElementById('non_hdl-score2');\n\n            function highlightField(field, min, max) {\n                field.addEventListener('input', function() {\n                    if (field.value < min || field.value > max) {\n                        field.style.borderColor = 'red';\n                    } else {\n                        field.style.borderColor = '';\n                    }\n                });\n            }\n\n            highlightField(ageField, 40, 89);\n            highlightField(sbpField, 110, 179);\n            highlightField(nonHdlField, 116, 265);\n\n            if (!calculateButton) {\n                console.error('Calculate button not found!');\n                return;\n            }\n\n\t\t\tfunction getRiskColor(age, score) {\n\t\t\t\tif (age < 50) {\n\t\t\t\t\tif (score < 2.5) return 'green';\n\t\t\t\t\tif (score < 7.5) return 'orange';\n\t\t\t\t\treturn 'red';\n\t\t\t\t} else if (age < 70) {\n\t\t\t\t\tif (score < 5) return 'green';\n\t\t\t\t\tif (score < 10) return 'orange';\n\t\t\t\t\treturn 'red';\n\t\t\t\t} else {\n\t\t\t\t\tif (score < 7.5) return 'green';\n\t\t\t\t\tif (score < 15) return 'orange';\n\t\t\t\t\treturn 'red';\n\t\t\t\t}\n\t\t\t}\n\n            \/\/ Risk table extracted from the provided image\n            const riskTable = {\n                female: {\n                    smoking: {\n                        no: {\n                            '40-44': {\n                                '160-179': [2, 3, 3, 4],\n                                '140-159': [1, 2, 2, 2],\n                                '120-139': [1, 1, 1, 2],\n                                '110-119': [1, 1, 1, 1]\n                            },\n                            '45-49': {\n                                '160-179': [3, 4, 4, 5],\n                                '140-159': [2, 3, 3, 4],\n                                '120-139': [2, 2, 2, 2],\n                                '110-119': [1, 1, 2, 2]\n                            },\n                            '50-54': {\n                                '160-179': [5, 5, 6, 7],\n                                '140-159': [3, 4, 4, 5],\n                                '120-139': [3, 3, 3, 4],\n                                '110-119': [2, 2, 2, 3]\n                            },\n                            '55-59': {\n                                '160-179': [7, 8, 9, 10],\n                                '140-159': [5, 6, 7, 7],\n                                '120-139': [4, 4, 5, 5],\n                                '110-119': [3, 3, 4, 4]\n                            },\n                            '60-64': {\n                                '160-179': [11, 11, 12, 13],\n                                '140-159': [8, 9, 9, 10],\n                                '120-139': [6, 7, 7, 8],\n                                '110-119': [5, 5, 6, 6]\n                            },\n                            '65-69': {\n                                '160-179': [15, 16, 17, 18],\n                                '140-159': [12, 13, 14, 14],\n                                '120-139': [10, 10, 11, 11],\n                                '110-119': [8, 8, 8, 9]\n                            },\n                            '70-74': {\n                                '160-179': [21, 22, 24, 25],\n                                '140-159': [17, 18, 19, 20],\n                                '120-139': [14, 15, 16, 17],\n                                '110-119': [11, 12, 13, 14]\n                            },\n                            '75-79': {\n                                '160-179': [29, 31, 32, 34],\n                                '140-159': [25, 27, 28, 29],\n                                '120-139': [22, 23, 24, 25],\n                                '110-119': [18, 19, 20, 22]\n                            },\n                            '80-84': {\n                                '160-179': [40, 42, 44, 45],\n                                '140-159': [36, 38, 39, 41],\n                                '120-139': [32, 34, 36, 37],\n                                '110-119': [29, 31, 32, 34]\n                            },\n                            '85-89': {\n                                '160-179': [53, 55, 57, 58],\n                                '140-159': [50, 52, 54, 55],\n                                '120-139': [47, 49, 51, 52],\n                                '110-119': [44, 46, 48, 50]\n                            }\n                        },\n                        yes: {\n                            '40-44': {\n                                '160-179': [6, 7, 9, 10],\n                                '140-159': [4, 5, 6, 7],\n                                '120-139': [3, 4, 4, 5],\n                                '110-119': [2, 2, 3, 3]\n                            },\n                            '45-49': {\n                                '160-179': [8, 10, 11, 13],\n                                '140-159': [6, 7, 8, 9],\n                                '120-139': [4, 5, 6, 6],\n                                '110-119': [3, 3, 4, 5]\n                            },\n                            '50-54': {\n                                '160-179': [11, 13, 14, 16],\n                                '140-159': [8, 9, 10, 12],\n                                '120-139': [6, 7, 8, 9],\n                                '110-119': [4, 5, 6, 6]\n                            },\n                            '55-59': {\n                                '160-179': [15, 16, 18, 20],\n                                '140-159': [11, 12, 14, 15],\n                                '120-139': [8, 9, 10, 11],\n                                '110-119': [6, 7, 8, 8]\n                            },\n                            '60-64': {\n                                '160-179': [20, 21, 23, 25],\n                                '140-159': [15, 16, 18, 19],\n                                '120-139': [12, 13, 14, 15],\n                                '110-119': [9, 10, 11, 11]\n                            },\n                            '65-69': {\n                                '160-179': [26, 27, 29, 30],\n                                '140-159': [21, 22, 23, 24],\n                                '120-139': [16, 17, 18, 19],\n                                '110-119': [13, 14, 14, 15]\n                            },\n                            '70-74': {\n                                '160-179': [33, 35, 37, 39],\n                                '140-159': [28, 29, 31, 33],\n                                '120-139': [23, 24, 26, 27],\n                                '110-119': [19, 20, 21, 22]\n                            },\n                            '75-79': {\n                                '160-179': [41, 43, 45, 47],\n                                '140-159': [35, 37, 39, 41],\n                                '120-139': [31, 32, 34, 36],\n                                '110-119': [26, 28, 29, 31]\n                            },\n                            '80-84': {\n                                '160-179': [49, 51, 53, 55],\n                                '140-159': [44, 46, 48, 50],\n                                '120-139': [40, 42, 44, 46],\n                                '110-119': [36, 38, 40, 41]\n                            },\n                            '85-89': {\n                                '160-179': [58, 59, 61, 63],\n                                '140-159': [55, 56, 58, 60],\n                                '120-139': [52, 53, 55, 57],\n                                '110-119': [49, 51, 52, 54]\n                            }\n\t\t\t\t\t\t}\n                    }\n                },\n\t\t\t\tmale: {\n                    smoking: {\n                        no: {\n                            '40-44': {\n                                '160-179': [4, 5, 6, 7],\n                                '140-159': [3, 3, 4, 5],\n                                '120-139': [2, 2, 3, 4],\n                                '110-119': [1, 2, 2, 3]\n                            },\n                            '45-49': {\n                                '160-179': [5, 6, 8, 9],\n                                '140-159': [4, 5, 6, 7],\n                                '120-139': [3, 3, 4, 5],\n                                '110-119': [2, 2, 3, 4]\n                            },\n                            '50-54': {\n                                '160-179': [7, 8, 10, 11],\n                                '140-159': [5, 6, 7, 9],\n                                '120-139': [4, 5, 5, 6],\n                                '110-119': [3, 3, 4, 5]\n                            },\n                            '55-59': {\n                                '160-179': [9, 11, 12, 14],\n                                '140-159': [7, 8, 10, 11],\n                                '120-139': [6, 6, 7, 9],\n                                '110-119': [4, 5, 6, 7]\n                            },\n                            '60-64': {\n                                '160-179': [13, 14, 16, 18],\n                                '140-159': [10, 11, 13, 14],\n                                '120-139': [8, 9, 10, 11],\n                                '110-119': [6, 7, 8, 9]\n                            },\n                            '65-69': {\n                                '160-179': [17, 18, 20, 22],\n                                '140-159': [14, 15, 16, 18],\n                                '120-139': [11, 12, 13, 15],\n                                '110-119': [9, 10, 11, 12]\n                            },\n                            '70-74': {\n                                '160-179': [23, 25, 27, 29],\n                                '140-159': [19, 20, 22, 24],\n                                '120-139': [15, 17, 18, 20],\n                                '110-119': [12, 14, 15, 16]\n                            },\n                            '75-79': {\n                                '160-179': [28, 32, 35, 39],\n                                '140-159': [24, 27, 31, 34],\n                                '120-139': [21, 24, 27, 30],\n                                '110-119': [18, 20, 23, 26]\n                            },\n                            '80-84': {\n                                '160-179': [34, 40, 45, 51],\n                                '140-159': [31, 36, 42, 47],\n                                '120-139': [29, 33, 38, 44],\n                                '110-119': [26, 30, 35, 40]\n                            },\n                            '85-89': {\n                                '160-179': [42, 49, 57, 65],\n                                '140-159': [40, 47, 55, 63],\n                                '120-139': [38, 45, 53, 61],\n                                '110-119': [36, 43, 51, 58]\n                            }\n                        },\n\t\t\t\t\t\tyes: {\n                            '40-44': {\n                                '160-179': [8, 10, 13, 16],\n                                '140-159': [6, 7, 9, 11],\n                                '120-139': [4, 5, 7, 8],\n                                '110-119': [3, 4, 5, 6]\n                            },\n                            '45-49': {\n                                '160-179': [10, 13, 15, 18],\n                                '140-159': [8, 9, 11, 14],\n                                '120-139': [6, 7, 8, 10],\n                                '110-119': [4, 5, 6, 7]\n                            },\n                            '50-54': {\n                                '160-179': [13, 15, 18, 21],\n                                '140-159': [10, 12, 14, 16],\n                                '120-139': [7, 9, 10, 12],\n                                '110-119': [6, 7, 8, 9]\n                            },\n                            '55-59': {\n                                '160-179': [16, 19, 21, 24],\n                                '140-159': [13, 15, 17, 19],\n                                '120-139': [10, 11, 13, 15],\n                                '110-119': [8, 9, 10, 12]\n                            },\n                            '60-64': {\n                                '160-179': [20, 23, 25, 28],\n                                '140-159': [16, 18, 20, 23],\n                                '120-139': [13, 15, 16, 18],\n                                '110-119': [10, 12, 13, 15]\n                            },\n                            '65-69': {\n                                '160-179': [25, 28, 30, 32],\n                                '140-159': [21, 23, 25, 27],\n                                '120-139': [17, 19, 20, 22],\n                                '110-119': [14, 15, 17, 18]\n                            },\n                            '70-74': {\n                                '160-179': [33, 35, 38, 41],\n                                '140-159': [27, 29, 32, 34],\n                                '120-139': [22, 24, 26, 28],\n                                '110-119': [18, 20, 22, 23]\n                            },\n                            '75-79': {\n                                '160-179': [35, 39, 44, 48],\n                                '140-159': [31, 34, 38, 43],\n                                '120-139': [27, 30, 34, 37],\n                                '110-119': [23, 26, 29, 33]\n                            },\n                            '80-84': {\n                                '160-179': [38, 44, 50, 56],\n                                '140-159': [35, 40, 46, 52],\n                                '120-139': [32, 37, 42, 48],\n                                '110-119': [29, 34, 39, 44]\n                            },\n                            '85-89': {\n                                '160-179': [41, 49, 56, 65],\n                                '140-159': [40, 47, 54, 62],\n                                '120-139': [38, 45, 52, 60],\n                                '110-119': [36, 43, 50, 58]\n                            }\n                        }\n                    }\n                }\n            };\n\n            calculateButton.addEventListener('click', function() {\n                const age = document.getElementById('age-score2').value;\n                const sbp = document.getElementById('sbp-score2').value;\n                const non_hdl = document.getElementById('non_hdl-score2').value;\n                const sex = document.getElementById('sex-score2').value;\n                const smoking = document.getElementById('smoking-score2').value;\n\n                \/\/ Determine age category\n                const ageGroup = Object.keys(riskTable[sex].smoking[smoking]).find(group => {\n                    const [min, max] = group.split('-').map(Number);\n                    return age >= min && age <= max;\n                });\n\n                \/\/ Determine SBP category\n                const sbpGroup = Object.keys(riskTable[sex].smoking[smoking][ageGroup]).find(group => {\n                    const [min, max] = group.split('-').map(Number);\n                    return sbp >= min && sbp <= max;\n                });\n\n                \/\/ Determine Non-HDL category\n                const nonHdlGroup = non_hdl <= 150 ? 0 : non_hdl <= 200 ? 1 : non_hdl <= 250 ? 2 : 3;\n\n                const risk =\n                    riskTable[sex].smoking[smoking][ageGroup][sbpGroup][nonHdlGroup] ||\n                    \"Warto\u015b\u0107 poza zakresem\";\n\n\t\t\t\tconst riskColor = getRiskColor(age, risk);\n\t\t\t\tdocument.getElementById('score2-results').innerHTML = `\n\t\t\t\t\t<h3>Wynik SCORE2:<\/h3>\n\t\t\t\t\t<p style=\"color: ${riskColor};\">Tw\u00f3j przewidywany 10-letni ryzyko zgonu z powodu chor\u00f3b sercowo-naczyniowych wynosi: <strong>${risk}%<\/strong>.<\/p>\n\t\t\t\t`;\n            });\n        });\n    <\/script>\n    <br>    <div id=\"qtc-calculator\">\n\n        <form id=\"qtc-form\">\n        <h3 style=\"text-align: center; color: #0056b3;\">Kalkulator QTc wg. Bazetta<\/h3>\n            <label for=\"qt-input\">QT (ms):<\/label>\n            <input type=\"number\" id=\"qt-input\" placeholder=\"Wpisz QT\" style=\"width: 100px; padding: 5px; margin: 5px;\">\n\n            <label for=\"hr-input\">HR (bpm):<\/label>\n            <input type=\"number\" id=\"hr-input\" placeholder=\"Wpisz HR\" style=\"width: 100px; padding: 5px; margin: 5px;\">\n\n            <p id=\"qtc-result\" style=\"margin-top: 15px; font-weight: bold; color: #333;\"><\/p>\n        <\/form>\n    <\/div>\n\n    <script>\n        function calculateQTc() {\n            const qt = parseFloat(document.getElementById('qt-input').value);\n            const hr = parseFloat(document.getElementById('hr-input').value);\n\n            if (!isNaN(qt) && !isNaN(hr) && hr > 0) {\n                const rr = 60 \/ hr; \/\/ Calculate RR interval in seconds\n                const qtc = (qt \/ Math.sqrt(rr)).toFixed(2);\n                document.getElementById('qtc-result').textContent = `QTc: ${qtc} ms`;\n            } else {\n                document.getElementById('qtc-result').textContent = '';\n            }\n        }\n\n        document.getElementById('qt-input').addEventListener('input', calculateQTc);\n        document.getElementById('hr-input').addEventListener('input', calculateQTc);\n    <\/script>\n    <br>        <div class=\"phq9-wrap\" id=\"phq9_hOd1AqZn\">\n            <div class=\"phq9-card\">\n                <h3 class=\"phq9-title\">Skala PHQ-9<\/h3>\n                <p class=\"phq9-subtitle\">\n                    Prosz\u0119 zaznaczy\u0107, jak cz\u0119sto w ci\u0105gu ostatnich 2 tygodni wyst\u0119powa\u0142y poni\u017csze problemy.\n                <\/p>\n\n                <div class=\"phq9-questions\">\n                                            <div class=\"phq9-question\" data-question=\"1\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">1.<\/span>\n                                Niewielkie zainteresowanie lub odczuwanie przyjemno\u015bci z wykonywania czynno\u015bci                             <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_1\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_1\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_1\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_1\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"2\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">2.<\/span>\n                                Uczucie smutku, przygn\u0119bienia lub beznadziejno\u015bci                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_2\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_2\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_2\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_2\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"3\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">3.<\/span>\n                                K\u0142opoty z za\u015bni\u0119ciem lub przerywany sen, albo zbyt d\u0142ugi sen                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_3\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_3\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_3\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_3\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"4\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">4.<\/span>\n                                Uczucie zm\u0119czenia lub brak energii                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_4\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_4\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_4\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_4\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"5\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">5.<\/span>\n                                Brak apetytu lub przejadanie si\u0119                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_5\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_5\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_5\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_5\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"6\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">6.<\/span>\n                                Poczucie niezadowolenia z siebie \u2014 lub uczucie, \u017ce jest si\u0119 do niczego, albo \u017ce zawi\u00f3d\u0142\/zawiod\u0142a Pan\/Pani siebie lub rodzin\u0119                             <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_6\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_6\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_6\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_6\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"7\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">7.<\/span>\n                                Problemy ze skupieniem si\u0119 na przyk\u0142ad przy czytaniu gazety lub ogl\u0105daniu telewizji                             <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_7\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_7\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_7\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_7\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"8\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">8.<\/span>\n                                Poruszanie si\u0119 lub m\u00f3wienie tak wolno, \u017ce inni mogliby to zauwa\u017cy\u0107? Albo wr\u0119cz przeciwnie \u2014 niemo\u017cno\u015b\u0107 usiedzenia w miejscu lub podenerwowanie powoduj\u0105ce ruchliwo\u015b\u0107 znacznie wi\u0119ksz\u0105 ni\u017c zwykle                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_8\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_8\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_8\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_8\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                            <div class=\"phq9-question\" data-question=\"9\">\n                            <div class=\"phq9-question-text\">\n                                <span class=\"phq9-q-number\">9.<\/span>\n                                My\u015bli, \u017ce lepiej by\u0142oby umrze\u0107, albo ch\u0119\u0107 zrobienia sobie jakiej\u015b krzywdy                            <\/div>\n\n                            <div class=\"phq9-options\">\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_9\"\n                                            value=\"0\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wcale nie dokucza\u0142y<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_9\"\n                                            value=\"1\"\n                                        >\n                                        <span class=\"phq9-option-text\">Kilka dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_9\"\n                                            value=\"2\"\n                                        >\n                                        <span class=\"phq9-option-text\">Wi\u0119cej ni\u017c po\u0142ow\u0119 dni<\/span>\n                                    <\/label>\n                                                                    <label class=\"phq9-option\">\n                                        <input\n                                            type=\"radio\"\n                                            name=\"phq9_hOd1AqZn_q_9\"\n                                            value=\"3\"\n                                        >\n                                        <span class=\"phq9-option-text\">Niemal codziennie<\/span>\n                                    <\/label>\n                                                            <\/div>\n                        <\/div>\n                                    <\/div>\n\n<div class=\"phq9-bottom\">\n    <p class=\"phq9-score-line\">\n        <strong>Suma punkt\u00f3w:<\/strong>\n        <span id=\"phq9_hOd1AqZn_score\">0<\/span>\n    <\/p>\n\n    <div class=\"phq9-actions\">\n        <button type=\"button\" class=\"phq9-btn phq9-btn-secondary\" id=\"phq9_hOd1AqZn_reset\">\n            Reset\n        <\/button>\n        <button type=\"button\" class=\"phq9-btn phq9-btn-primary\" id=\"phq9_hOd1AqZn_generate\">\n            Generuj PDF\n        <\/button>\n    <\/div>\n<\/div>\n            <\/div>\n        <\/div>\n\n        <script>\n        (function() {\n            const wrapper = document.getElementById(\"phq9_hOd1AqZn\");\n            if (!wrapper) return;\n\n            const scoreEl = document.getElementById(\"phq9_hOd1AqZn_score\");\n            const resetBtn = document.getElementById(\"phq9_hOd1AqZn_reset\");\n            const generateBtn = document.getElementById(\"phq9_hOd1AqZn_generate\");\n\n            const questions = [\n                \"1. Niewielkie zainteresowanie lub odczuwanie przyjemno\u015bci z wykonywania czynno\u015bci \",\n                \"2. Uczucie smutku, przygn\u0119bienia lub beznadziejno\u015bci\",\n                \"3. K\u0142opoty z za\u015bni\u0119ciem lub przerywany sen, albo zbyt d\u0142ugi sen\",\n                \"4. Uczucie zm\u0119czenia lub brak energii\",\n                \"5. Brak apetytu lub przejadanie si\u0119\",\n                \"6. Poczucie niezadowolenia z siebie \u2014 lub uczucie, \u017ce jest si\u0119 do niczego, albo \u017ce zawi\u00f3d\u0142\/zawiod\u0142a Pan\/Pani siebie lub rodzin\u0119\",\n                \"7. Problemy ze skupieniem si\u0119 na przyk\u0142ad przy czytaniu gazety lub ogl\u0105daniu telewizji \",\n                \"8. Poruszanie si\u0119 lub m\u00f3wienie tak wolno, \u017ce inni mogliby to zauwa\u017cy\u0107? Albo wr\u0119cz przeciwnie \u2014 niemo\u017cno\u015b\u0107 usiedzenia w miejscu lub podenerwowanie powoduj\u0105ce ruchliwo\u015b\u0107 znacznie wi\u0119ksz\u0105 ni\u017c zwykle\",\n                \"9. My\u015bli, \u017ce lepiej by\u0142oby umrze\u0107, albo ch\u0119\u0107 zrobienia sobie jakiej\u015b krzywdy\"\n            ];\n\n            const answerLabels = [\n                \"Wcale nie dokucza\u0142y\",\n                \"Kilka dni\",\n                \"Wi\u0119cej ni\u017c po\u0142ow\u0119 dni\",\n                \"Niemal codziennie\"\n            ];\n\n            function getAnswers() {\n                const answers = [];\n\n                for (let i = 1; i <= 9; i++) {\n                    const checked = wrapper.querySelector('input[name=\"phq9_hOd1AqZn_q_' + i + '\"]:checked');\n                    answers.push(checked ? parseInt(checked.value, 10) : null);\n                }\n\n                return answers;\n            }\n\n            function calculateScore() {\n                const answers = getAnswers();\n                let total = 0;\n\n                answers.forEach(function(val) {\n                    if (val !== null && !isNaN(val)) {\n                        total += val;\n                    }\n                });\n\n                scoreEl.textContent = total;\n                return total;\n            }\n\n            function allAnswered() {\n                const answers = getAnswers();\n                return answers.every(function(val) {\n                    return val !== null;\n                });\n            }\n\n            function buildTableBody(answers) {\n                const body = [];\n\n                body.push([\n                    { text: \"Pytanie\", bold: true, fillColor: \"#eef4f8\" },\n                    { text: \"Odpowied\u017a\", bold: true, fillColor: \"#eef4f8\" },\n                    { text: \"Pkt\", bold: true, fillColor: \"#eef4f8\", alignment: \"center\" }\n                ]);\n\n                questions.forEach(function(question, index) {\n                    const val = answers[index];\n                    const label = (val !== null && answerLabels[val] !== undefined) ? answerLabels[val] : \"\u2014\";\n                    const points = (val !== null) ? String(val) : \"\";\n\n                    body.push([\n                        { text: question, margin: [0, 4, 0, 4] },\n                        { text: label, margin: [0, 4, 0, 4] },\n                        { text: points, alignment: \"center\", margin: [0, 4, 0, 4] }\n                    ]);\n                });\n\n                return body;\n            }\n\n            function buildPdfDefinition(answers, totalScore) {\n                const today = new Date();\n                const dateStr =\n                    String(today.getDate()).padStart(2, '0') + '.' +\n                    String(today.getMonth() + 1).padStart(2, '0') + '.' +\n                    today.getFullYear();\n\n                return {\n                    pageSize: 'A4',\n                    pageMargins: [32, 32, 32, 32],\n                    defaultStyle: {\n                        font: 'Roboto',\n                        fontSize: 10\n                    },\n                    content: [\n                        {\n                            text: 'PHQ-9 \u2013 Kwestionariusz przesiewowy depresji',\n                            style: 'header'\n                        },\n                        {\n                            columns: [\n                                {\n                                    width: '*',\n                                    text: [\n                                        { text: 'Imi\u0119 i nazwisko pacjenta: ', bold: true },\n                                        { text: '__________________________________________' }\n                                    ]\n                                },\n                                {\n                                    width: 150,\n                                    text: [\n                                        { text: 'Data: ', bold: true },\n                                        { text: dateStr }\n                                    ],\n                                    alignment: 'right'\n                                }\n                            ],\n                            margin: [0, 0, 0, 10]\n                        },\n                        {\n                            text: 'Jak cz\u0119sto w ci\u0105gu ostatnich 2 tygodni dokucza\u0142y Panu\/Pani nast\u0119puj\u0105ce problemy?',\n                            margin: [0, 0, 0, 8]\n                        },\n                        {\n                            table: {\n                                headerRows: 1,\n                                widths: ['*', 150, 40],\n                                body: buildTableBody(answers)\n                            },\n                            layout: {\n                                hLineWidth: function() { return 0.7; },\n                                vLineWidth: function() { return 0.7; },\n                                hLineColor: function() { return '#8ea3b5'; },\n                                vLineColor: function() { return '#8ea3b5'; },\n                                paddingLeft: function() { return 6; },\n                                paddingRight: function() { return 6; },\n                                paddingTop: function() { return 4; },\n                                paddingBottom: function() { return 4; }\n                            },\n                            margin: [0, 0, 0, 12]\n                        },\n                        {\n                            text: 'Pytanie dodatkowe dotycz\u0105ce funkcjonowania:',\n                            bold: true,\n                            margin: [0, 6, 0, 4]\n                        },\n                        {\n                            text: 'Je\u015bli zaznaczono jakiekolwiek problemy, to na ile utrudnia\u0142y one Panu\/Pani prac\u0119, zajmowanie si\u0119 domem lub kontakty z innymi lud\u017ami?',\n                            margin: [0, 0, 0, 6]\n                        },\n                        {\n                            ul: [\n                                'Wcale nie utrudnia\u0142y',\n                                'Troch\u0119 utrudnia\u0142y',\n                                'Bardzo utrudnia\u0142y',\n                                'Ogromnie utrudnia\u0142y'\n                            ],\n                            margin: [0, 0, 0, 12]\n                        },\n                        {\n                            columns: [\n                                {\n                                    width: '*',\n                                    text: [\n                                        { text: 'Suma punkt\u00f3w: ', bold: true },\n                                        { text: String(totalScore) }\n                                    ]\n                                },\n                                {\n                                    width: '*',\n                                    text: 'Uwagi: ________________________________',\n                                    alignment: 'right'\n                                }\n                            ],\n                            margin: [0, 8, 0, 0]\n                        },\n                        {\n                            text: 'Interpretacja orientacyjna: 0\u20134 brak\/minimalne, 5\u20139 \u0142agodne, 10\u201314 umiarkowane, 15\u201319 umiarkowanie ci\u0119\u017ckie, 20\u201327 ci\u0119\u017ckie objawy depresyjne.',\n                            fontSize: 8,\n                            italics: true,\n                            margin: [0, 16, 0, 4]\n                        },\n                        {\n                            text: 'Wynik kwestionariusza nale\u017cy interpretowa\u0107 w kontek\u015bcie obrazu klinicznego pacjenta. Opracowanie: Dr Robert L. Spitzer, Dr Janet B.W. Williams, Dr Kurt Kroenke oraz wsp\u00f3\u0142pracownicy z wykorzystaniem grantu o\u015bwiatowego od firmy Pfizer Inc. Zgoda na powielanie, t\u0142umaczenie, przedstawianie lub rozprowadzanie niniejszego dokumentu nie jest wymagana. ',\n                            fontSize: 8,\n                            italics: true\n                        }\n                    ],\n                    styles: {\n                        header: {\n                            fontSize: 16,\n                            bold: true,\n                            margin: [0, 0, 0, 12]\n                        }\n                    }\n                };\n            }\n\n            wrapper.addEventListener('change', function(e) {\n                if (e.target && e.target.matches('input[type=\"radio\"]')) {\n                    calculateScore();\n                }\n            });\n\n            resetBtn.addEventListener('click', function() {\n                const radios = wrapper.querySelectorAll('input[type=\"radio\"]');\n                radios.forEach(function(radio) {\n                    radio.checked = false;\n                });\n                calculateScore();\n            });\n\n            generateBtn.addEventListener('click', function() {\n                if (!allAnswered()) {\n                    alert('Prosz\u0119 zaznaczy\u0107 odpowied\u017a przy wszystkich 9 pytaniach.');\n                    return;\n                }\n\n                const answers = getAnswers();\n                const totalScore = calculateScore();\n\n                const newWin = window.open('', '_blank');\n                if (!newWin) {\n                    alert('Przegl\u0105darka zablokowa\u0142a nowe okno. Zezw\u00f3l na popup dla tej strony.');\n                    return;\n                }\n\n                const docDefinition = buildPdfDefinition(answers, totalScore);\n                pdfMake.createPdf(docDefinition).open({}, newWin);\n            });\n\n            calculateScore();\n        })();\n        <\/script>\n        <\/td><td>    <div id=\"chads2-vasc-calculator\">\n\n        <form id=\"chads2-vasc-form\">\n        <h3 style=\"text-align: center; color: #0056b3;\">Kalkulator CHA2DS2-VASc<\/h3>\n\t\tOcena ryzyka zakrzepowo-zatorowego u pacjent\u00f3w z migotaniem przedsionk\u00f3w <br \/><br \/>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> Niewydolno\u015b\u0107 serca\/Upo\u015bledzenie lewej komory<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> Nadci\u015bnienie t\u0119tnicze<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"2\"> Wiek \u226575 lat<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> Cukrzyca<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"2\"> Udar\/TIA\/Zatorowo\u015b\u0107<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> Choroba naczyniowa<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> Wiek 65\u201374 lata<\/label><br>\n            <label><input type=\"checkbox\" class=\"chads2-vasc-criteria\" value=\"1\"> P\u0142e\u0107 \u017ce\u0144ska<\/label><br>\n\n            <p id=\"chads2-vasc-result\" style=\"margin-top: 15px; font-weight: bold; color: #333;\"><\/p>\n            <p id=\"chads2-vasc-risk\" style=\"margin-top: 10px; font-weight: bold;\"><\/p>\n            <button type=\"reset\">Reset<\/button>\n\n\n        <\/form>\n\t\t\t\t\t<div class=\"form-add-info\">\n    Narz\u0119dzie opiera si\u0119 na publikacji dotycz\u0105cej punktacji CHA\u2082DS\u2082-VASc:\n    <ul>\n        <li>\n            <a href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/19762550\/\" target=\"_blank\">\n                Artyku\u0142: Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation \n            <\/a>\n        <\/li>\n    <\/ul>\n    Kliknij na link, aby uzyska\u0107 dost\u0119p do szczeg\u00f3\u0142owych informacji.\n<\/div>\n    <\/div>\n\n    <script>\n        function calculateCHADS2VASc() {\n            const checkboxes = document.querySelectorAll('.chads2-vasc-criteria');\n            let score = 0;\n\n            checkboxes.forEach(checkbox => {\n                if (checkbox.checked) {\n                    score += parseFloat(checkbox.value);\n                }\n            });\n\n            const resultText = `Wynik CHA2DS2-VASc: ${score}`;\n            document.getElementById('chads2-vasc-result').textContent = resultText;\n\n            const riskElement = document.getElementById('chads2-vasc-risk');\n            if (score === 0) {\n                riskElement.textContent = 'Niskie ryzyko';\n                riskElement.style.color = 'green';\n            } else if (score === 1) {\n                riskElement.textContent = 'Umiarkowane ryzyko';\n                riskElement.style.color = 'orange';\n            } else if (score >= 2) {\n                riskElement.textContent = 'Wysokie ryzyko';\n                riskElement.style.color = 'red';\n            }\n        }\n\n        document.querySelectorAll('.chads2-vasc-criteria').forEach(checkbox => {\n            checkbox.addEventListener('change', calculateCHADS2VASc);\n        });\n    <\/script>\n    <br>    <div id=\"conversion-calculator\" style=\"font-family: Arial, sans-serif; max-width: 400px; margin: 20px auto; padding: 20px; border: 1px solid #ddd; border-radius: 8px; background: #f9f9f9;\">\n        <h3 style=\"text-align: center; color: #0056b3;\">Kalkulator Konwersji Jednostek<\/h3>\n\n        <!-- Glucose Conversion -->\n        <div style=\"margin-bottom: 15px;\">\n            <label for=\"glucose-input\">Glukoza:<\/label>\n            <input type=\"number\" id=\"glucose-input\" placeholder=\"Warto\u015b\u0107\" style=\"width: 100px; padding: 5px; margin: 5px;\">\n            <select id=\"glucose-unit\" style=\"padding: 5px;\">\n                <option value=\"mg\/dl\">mg\/dl<\/option>\n                <option value=\"mmol\/l\">mmol\/l<\/option>\n            <\/select>\n            <p id=\"glucose-result\" style=\"margin: 10px 0; font-weight: bold;\"><\/p>\n        <\/div>\n\n        <!-- Cholesterol Conversion -->\n        <div style=\"margin-bottom: 15px;\">\n            <label for=\"cholesterol-input\">Cholesterol:<\/label>\n            <input type=\"number\" id=\"cholesterol-input\" placeholder=\"Warto\u015b\u0107\" style=\"width: 100px; padding: 5px; margin: 5px;\">\n            <select id=\"cholesterol-unit\" style=\"padding: 5px;\">\n                <option value=\"mg\/dl\">mg\/dl<\/option>\n                <option value=\"mmol\/l\">mmol\/l<\/option>\n            <\/select>\n            <p id=\"cholesterol-result\" style=\"margin: 10px 0; font-weight: bold;\"><\/p>\n        <\/div>\n\n        <!-- Creatinine Conversion -->\n        <div style=\"margin-bottom: 15px;\">\n            <label for=\"creatinine-input\">Kreatynina:<\/label>\n            <input type=\"number\" id=\"creatinine-input\" placeholder=\"Warto\u015b\u0107\" style=\"width: 100px; padding: 5px; margin: 5px;\">\n            <select id=\"creatinine-unit\" style=\"padding: 5px;\">\n                <option value=\"\u00b5mol\/l\">\u00b5mol\/l<\/option>\n                <option value=\"mg\/dl\">mg\/dl<\/option>\n            <\/select>\n            <p id=\"creatinine-result\" style=\"margin: 10px 0; font-weight: bold;\"><\/p>\n        <\/div>\n    <\/div>\n\n    <script>\n        function updateGlucose() {\n            const value = parseFloat(document.getElementById('glucose-input').value);\n            const unit = document.getElementById('glucose-unit').value;\n\n            if (!isNaN(value)) {\n                const result = unit === 'mg\/dl' ? (value \/ 18).toFixed(2) + ' mmol\/l' : (value * 18).toFixed(2) + ' mg\/dl';\n                document.getElementById('glucose-result').textContent = `Wynik: ${result}`;\n            } else {\n                document.getElementById('glucose-result').textContent = '';\n            }\n        }\n\n        function updateCholesterol() {\n            const value = parseFloat(document.getElementById('cholesterol-input').value);\n            const unit = document.getElementById('cholesterol-unit').value;\n\n            if (!isNaN(value)) {\n                const result = unit === 'mg\/dl' ? (value \/ 38.67).toFixed(2) + ' mmol\/l' : (value * 38.67).toFixed(2) + ' mg\/dl';\n                document.getElementById('cholesterol-result').textContent = `Wynik: ${result}`;\n            } else {\n                document.getElementById('cholesterol-result').textContent = '';\n            }\n        }\n\n        function updateCreatinine() {\n            const value = parseFloat(document.getElementById('creatinine-input').value);\n            const unit = document.getElementById('creatinine-unit').value;\n\n            if (!isNaN(value)) {\n                const result = unit === '\u00b5mol\/l' ? (value \/ 88.4).toFixed(2) + ' mg\/dl' : (value * 88.4).toFixed(2) + ' \u00b5mol\/l';\n                document.getElementById('creatinine-result').textContent = `Wynik: ${result}`;\n            } else {\n                document.getElementById('creatinine-result').textContent = '';\n            }\n        }\n\n        document.getElementById('glucose-input').addEventListener('input', updateGlucose);\n        document.getElementById('glucose-unit').addEventListener('change', updateGlucose);\n\n        document.getElementById('cholesterol-input').addEventListener('input', updateCholesterol);\n        document.getElementById('cholesterol-unit').addEventListener('change', updateCholesterol);\n\n        document.getElementById('creatinine-input').addEventListener('input', updateCreatinine);\n        document.getElementById('creatinine-unit').addEventListener('change', updateCreatinine);\n    <\/script>\n    <br>    <div id=\"wells-calculator\">\n\n        <form id=\"wells-form\">\n        <h3 style=\"text-align: center; color: #0056b3;\">Skala Wellsa<\/h3>\n\t\tOcena prawdopodobie\u0144stwa klinicznego zatorowo\u015bci p\u0142ucnej (ZP)<br \/><br \/>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"3\"> Objawy kliniczne zakrzepicy \u017cy\u0142 g\u0142\u0119bokich (Z\u017bG)<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"3\"> Alternatywna diagnoza mniej prawdopodobna ni\u017c ZP<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"1.5\"> T\u0119tno > 100 \/min<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"1.5\"> Unieruchomienie lub operacja w ci\u0105gu ostatnich 4 tygodni<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"1.5\"> Przebyta zakrzepica \u017cylna lub zatorowo\u015b\u0107 p\u0142ucna<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"1\"> Krwioplucie<\/label><br>\n            <label><input type=\"checkbox\" class=\"wells-criteria\" value=\"1\"> Nowotw\u00f3r z\u0142o\u015bliwy (leczony, w trakcie leczenia lub w ci\u0105gu ostatnich 6 miesi\u0119cy)<\/label><br>\n            <button type=\"reset\">Reset<\/button>\n\n            <p id=\"wells-result\" style=\"margin-top: 15px; font-weight: bold; color: #333;\"><\/p>\n            <p id=\"wells-risk\" style=\"margin-top: 10px; font-weight: bold;\"><\/p>\n        <\/form>\n\t\t<div class=\"form-add-info\">\n    Narz\u0119dzie opiera si\u0119 na publikacji dotycz\u0105cej punktacji Wellsa:\n    <ul>\n        <li>\n            <a href=\"https:\/\/www.acpjournals.org\/doi\/10.7326\/0003-4819-129-12-199812150-00002\" target=\"_blank\">\n                Artyku\u0142: Clinical Model for Predicting Pretest Probability of Deep Vein Thrombosis\n            <\/a>\n        <\/li>\n    <\/ul>\n    Kliknij na link, aby uzyska\u0107 dost\u0119p do szczeg\u00f3\u0142owych informacji.\n<\/div>\n\n    <\/div>\n\n    <script>\n        function calculateWellsScore() {\n            const checkboxes = document.querySelectorAll('.wells-criteria');\n            let score = 0;\n\n            checkboxes.forEach(checkbox => {\n                if (checkbox.checked) {\n                    score += parseFloat(checkbox.value);\n                }\n            });\n\n            const resultText = `Wynik skali Wellsa: ${score}`;\n            document.getElementById('wells-result').textContent = resultText;\n\n            const riskElement = document.getElementById('wells-risk');\n            if (score <= 1) {\n                riskElement.textContent = 'Ma\u0142e ryzyko ZP';\n                riskElement.style.color = 'green';\n            } else if (score >= 2 && score <= 6) {\n                riskElement.textContent = 'Po\u015brednie ryzyko ZP';\n                riskElement.style.color = 'orange';\n            } else if (score >= 7) {\n                riskElement.textContent = 'Du\u017ce ryzyko ZP';\n                riskElement.style.color = 'red';\n            }\n        }\n\n        document.querySelectorAll('.wells-criteria').forEach(checkbox => {\n            checkbox.addEventListener('change', calculateWellsScore);\n        });\n    <\/script>\n    <\/td><td>    <form id=\"egfr-calculator\">\n        <h3>Kalkulator eGFR<\/h3>\n        <label for=\"age\">Wiek (lata):<\/label>\n        <input type=\"number\" id=\"age\" name=\"age\" required><br>\n\n        <label for=\"gender\">P\u0142e\u0107:<\/label>\n        <select id=\"gender\" name=\"gender\" required>\n            <option value=\"male\">M\u0119\u017cczyzna<\/option>\n            <option value=\"female\">Kobieta<\/option>\n        <\/select><br>\n\n        <label for=\"weight\">Waga (kg):<\/label>\n        <input type=\"number\" id=\"weight\" name=\"weight\" step=\"0.1\" required><br>\n\n        <label for=\"creatinine\">Kreatynina w surowicy (mg\/dL):<\/label>\n        <input type=\"number\" id=\"creatinine\" name=\"creatinine\" step=\"0.01\" required><br>\n\n        <label for=\"race\">Rasa:<\/label>\n        <select id=\"race\" name=\"race\" required>\n            <option value=\"non_african_american\">Nie Afroamerykanin<\/option>\n            <option value=\"african_american\">Afroamerykanin<\/option>\n        <\/select><br>\n\n        <button type=\"button\" id=\"calculate\">Oblicz eGFR<\/button>\n        <button type=\"reset\">Reset<\/button>\n    <\/form>\n\n    <div id=\"egfr-results\"><\/div>\n\n    <script>\n        document.getElementById('calculate').addEventListener('click', function() {\n            const age = parseFloat(document.getElementById('age').value);\n            const gender = document.getElementById('gender').value;\n            const weight = parseFloat(document.getElementById('weight').value);\n            const creatinine = parseFloat(document.getElementById('creatinine').value);\n            const race = document.getElementById('race').value;\n\n            if (isNaN(age) || isNaN(weight) || isNaN(creatinine)) {\n                alert('Prosz\u0119 wprowadzi\u0107 prawid\u0142owe warto\u015bci.');\n                return;\n            }\n\n            const genderFactorMDRD = gender === 'female' ? 0.742 : 1.0;\n            const raceFactorMDRD = race === 'african_american' ? 1.212 : 1.0;\n            const egfrMDRD = 175 * Math.pow(creatinine, -1.154) * Math.pow(age, -0.203) * genderFactorMDRD * raceFactorMDRD;\n\n            const k = gender === 'female' ? 0.7 : 0.9;\n            const alpha = gender === 'female' ? -0.329 : -0.411;\n            const genderFactorCKDEPI = gender === 'female' ? 1.018 : 1.0;\n            const raceFactorCKDEPI = race === 'african_american' ? 1.159 : 1.0;\n            const scr = creatinine <= k ? Math.pow(creatinine \/ k, alpha) : Math.pow(creatinine \/ k, -1.209);\n            const egfrCKDEPI = 141 * scr * Math.pow(0.993, age) * genderFactorCKDEPI * raceFactorCKDEPI;\n\n            const genderFactorCG = gender === 'female' ? 0.85 : 1.0;\n            const egfrCG = ((140 - age) * weight * genderFactorCG) \/ (72 * creatinine);\n\n            document.getElementById('egfr-results').innerHTML = `\n                <h3>Wyniki eGFR:<\/h3>\n                <p>MDRD: ${egfrMDRD.toFixed(2)} mL\/min\/1.73m<sup>2<\/sup><\/p>\n                <p>CKD-EPI: ${egfrCKDEPI.toFixed(2)} mL\/min\/1.73m<sup>2<\/sup><\/p>\n                <p>Cockcroft-Gault: ${egfrCG.toFixed(2)} mL\/min<\/p>\n            `;\n        });\n    <\/script>\n    <br>    <div id=\"has-bled-calculator\">\n\n        <form id=\"has-bled-form\">\n        <h3 style=\"text-align: center; color: #0056b3;\">Kalkulator HAS-BLED<\/h3>\n\t\tOcena ryzyka krwawie\u0144 w trakcie terapii przeciwkrzepliwej<br \/><br \/>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Nadci\u015bnienie t\u0119tnicze<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Niewydolno\u015b\u0107 nerek<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Niewydolno\u015b\u0107 w\u0105troby<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Udar m\u00f3zgu<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Krwawienie<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Niestabilny INR<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Wiek > 65 lat<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Alkoholizm\/nadu\u017cywanie lek\u00f3w<\/label><br>\n            <label><input type=\"checkbox\" class=\"has-bled-criteria\" value=\"1\"> Przyjmowanie lek\u00f3w zwi\u0119kszaj\u0105cych ryzyko krwawienia<\/label><br>\n            <button type=\"reset\">Reset<\/button>\n\n            <p id=\"has-bled-result\" style=\"margin-top: 15px; font-weight: bold; color: #333;\"><\/p>\n            <p id=\"has-bled-risk\" style=\"margin-top: 10px; font-weight: bold;\"><\/p>\n        <\/form>\n\t\t<div class=\"form-add-info\">\n    Narz\u0119dzie opiera si\u0119 na publikacji dotycz\u0105cej punktacji HAS-BLED:\n    <ul>\n        <li>\n            <a href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/20299623\/\" target=\"_blank\">\n                Artyku\u0142: A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey \n            <\/a>\n        <\/li>\n    <\/ul>\n    Kliknij na link, aby uzyska\u0107 dost\u0119p do szczeg\u00f3\u0142owych informacji.\n<\/div>\n\n    <\/div>\n\n    <script>\n        function calculateHasBled() {\n            const checkboxes = document.querySelectorAll('.has-bled-criteria');\n            let score = 0;\n\n            checkboxes.forEach(checkbox => {\n                if (checkbox.checked) {\n                    score += parseInt(checkbox.value, 10);\n                }\n            });\n\n            const resultText = `Wynik HAS-BLED: ${score}`;\n            document.getElementById('has-bled-result').textContent = resultText;\n\n            const riskElement = document.getElementById('has-bled-risk');\n            if (score < 3) {\n                riskElement.textContent = 'Ryzyko ma\u0142e';\n                riskElement.style.color = 'green';\n            } else {\n                riskElement.textContent = 'Ryzyko du\u017ce';\n                riskElement.style.color = 'red';\n            }\n        }\n\n        document.querySelectorAll('.has-bled-criteria').forEach(checkbox => {\n            checkbox.addEventListener('change', calculateHasBled);\n        });\n    <\/script>\n    <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/pages\/2"}],"collection":[{"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":16,"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/pomocnikpoz.pl\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}