"; var footstr = ""; var newstr = document.all.item(printpage).innerHTML; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr+newstr+footstr; window.print(); document.body.innerHTML = oldstr; return false; } function savetodiv(printpage, header, filename) { var element = document.getElementById(printpage); var originalDisplay = element.style.display; element.style.display = 'block'; var opt = { margin: [60, 20, 40, 20], // Top, left, bottom, right filename: filename || 'document.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, useCORS: true }, jsPDF: { unit: 'pt', format: 'a4', orientation: 'portrait' } }; html2pdf().set(opt).from(element).toPdf().get('pdf').then(function (pdf) { const totalPages = pdf.internal.getNumberOfPages(); for (let i = 1; i <= totalPages; i++) { pdf.setPage(i); // Header pdf.setFontSize(10); pdf.text(header, 20, 30); // X, Y position // Footer pdf.setFontSize(10); pdf.text('Page ' + i + ' of ' + totalPages, 500, 820); // Adjust X, Y for bottom right pdf.text('Confidential - For Internal Use Only', 20, 820); // bottom left } }).save().then(() => { element.style.display = originalDisplay; }); } function add_vitals(patient_no) { var p_url= "https://nexus.wehopemedical.com/addvitals.php"; var p_user = "
Warning: Undefined variable $identity in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 309

Warning: Attempt to read property "userid" on null in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 309
"; jQuery.ajax({ type: "POST", url: p_url, data:{"patient_no": patient_no, "user": p_user}, success: function(data) { $('#vitalsigns').html(data); } }); } function reset_vitals() { var p_url= "https://nexus.wehopemedical.com/vitalstable.php"; var p_user = "
Warning: Undefined variable $identity in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 322

Warning: Attempt to read property "userid" on null in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 322
"; jQuery.ajax({ type: "POST", url: p_url, data:{"patient_no": patient_no, "user": p_user}, success: function(data) { $('#vitalsigns').html(data); } }); } function reset_requirements(patient_no) { var p_url = "https://nexus.wehopemedical.com/req_view.php"; var p_user = "
Warning: Undefined variable $identity in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 335

Warning: Attempt to read property "userid" on null in /home/wbyyvghcrvt1/public_html/wehopemedical.com/nexus/index.php on line 335
"; var p_mainurl = "https://nexus.wehopemedical.com"; jQuery.ajax({ type: "POST", url: p_url, data: { "patient_no": patient_no, "user": p_user, "mainurl": p_mainurl }, success: function(data) { $('#reqarea').html(data); // Initialize the dynamically loaded uploader initUploader(); } }); }

Dashboard Login