Vasoactive Inotropic Score (VIS) Calculator
Info
Created On: October 3, 2023
Created By:
Tags
AI
Model: chatgpt-plugin
Time: 0 seconds
Prompt Tokens: 0
Completion Tokens: 0
Total Token Cost: 0
Get This App On Your Website
Copy Code
1. Copy the code above with the iframe and link.
2. Paste the code into your website.
3. Resize the iframe to fit your website.
Javascript, HTML, CSS Code
Copy
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript"> window.addEventListener('error', function(event) { var message = JSON.parse(JSON.stringify(event.message)); var source = event.filename; var lineno = event.lineno; var colno = event.colno; var error = event.error; window.parent.postMessage({ type: 'iframeError', details: { message: message, source: source, lineno: lineno, colno: colno, error: error ? error.stack : '' } }, '*'); }); window.addEventListener('unhandledrejection', function(event) { window.parent.postMessage({ type: 'iframePromiseRejection', details: { reason: event.reason } }, '*'); }); </script>
<title>Vasoactive Inotropic Score (VIS) Calculator</title>
<meta name='description' content='A calculator for Vasoactive Inotropic Score (VIS)'>
<meta name='keywords' content='VIS, Vasoactive Inotropic Score, Calculator'>
<style>
body, input, label, h1, h2, p {
font-size: 18px;
}
</style>
<script>
function calculateVIS() {
var norepinephrine = parseFloat(document.getElementById('norepinephrine').value) || 0;
var epinephrine = parseFloat(document.getElementById('epinephrine').value) || 0;
var dopamine = parseFloat(document.getElementById('dopamine').value) || 0;
var vasopressin = parseFloat(document.getElementById('vasopressin').value) || 0;
var dobutamine = parseFloat(document.getElementById('dobutamine').value) || 0;
var milrinone = parseFloat(document.getElementById('milrinone').value) || 0;
var phenylephrine = parseFloat(document.getElementById('phenylephrine').value) || 0;
var score = dopamine * 1 + dobutamine * 1 + epinephrine * 100 + norepinephrine * 100 + milrinone * 10 + phenylephrine * 10 + vasopressin / 0.04 * 10;
document.getElementById('score').innerHTML = 'VIS Score: ' + score.toFixed(2);
if (score > 20) {
document.getElementById('recommendation').innerHTML = 'When the vasoactive inotropic score is > 20 coming off bypass, MCS should be considered, including: 1. IABP, or 2. Surgically placed microaxial flow pump (Impella 5.5), or 3.VA ECMO, peripheral, if not immediately, then, central initially and convert to peripheral when the patient stabilizes';
} else {
document.getElementById('recommendation').innerHTML = '';
}
}
</script>
<link rel="canonical" href="https://calculator.tools/prompt/7455/">
<meta charset="utf-8">
</head>
<body>
<h1>Vasoactive Inotropic Score (VIS) Calculator</h1>
<form>
<label for='norepinephrine'>Norepinephrine (0.1 mcg/kg/min = 10): </label><input type='number' id='norepinephrine'><br>
<label for='epinephrine'>Epinephrine (0.1 mcg/kg/min = 10): </label><input type='number' id='epinephrine'><br>
<label for='dopamine'>Dopamine (0.1 mcg/kg/min = 10): </label><input type='number' id='dopamine'><br>
<label for='vasopressin'>Vasopressin (0.04 U/min = 10): </label><input type='number' id='vasopressin'><br>
<label for='dobutamine'>Dobutamine (10 mcg/kg/min = 10): </label><input type='number' id='dobutamine'><br>
<label for='milrinone'>Milrinone (0.75 mcg/kg/min = 7.5): </label><input type='number' id='milrinone'><br>
<label for='phenylephrine'>Phenylephrine (μg/kg/min): </label><input type='number' id='phenylephrine'><br>
<input type='button' value='Calculate' onclick='calculateVIS()'>
</form>
<h2 id='score'></h2>
<p id='recommendation'></p>
<script type="text/javascript"> var localStoragePrefix = "ct-{{ cachebreaker }}"; var lastSave = 0; function saveLocal(data) { if (Date.now() - lastSave < 1000) { return; } let cookie = localStoragePrefix + "=" + JSON.stringify(data) + "; path=" + window.location.pathname + "'; SameSite=Strict"; cookie += "; expires=" + new Date(Date.now() + 1000 * 60 * 60 * 24 * 365 * 1000).toUTCString(); document.cookie = cookie; lastSave = Date.now(); } function loadLocal() { var cookiePrefix = localStoragePrefix + "="; var cookieStart = document.cookie.indexOf(cookiePrefix); if (cookieStart > -1) { let cookieEnd = document.cookie.indexOf(";", cookieStart); if (cookieEnd == -1) { cookieEnd = document.cookie.length; } var cookieData = document.cookie.substring(cookieStart + cookiePrefix.length, cookieEnd); return JSON.parse(cookieData); } } </script>
<script type="text/javascript"> window.addEventListener('load', function() { var observer = new MutationObserver(function() { window.parent.postMessage({height: document.documentElement.scrollHeight || document.body.scrollHeight},"*"); }); observer.observe(document.body, {attributes: true, childList: true, subtree: true}); window.parent.postMessage({height: document.documentElement.scrollHeight || document.body.scrollHeight},"*"); }); </script>
</body>
</html>