Personal tools
Navigation
 

Billing Timer eForm (encounter time)

Update November 13-2015 - Includes error checking for "undefined time" (If you click on "Paste to Encounter" prior to selecting a time or if you click on "View" in the green bar in the generated encounter screen). This eform is meant to be loaded as a patient independent eform

HTML icon Encounter_time.html — HTML, 3 kB (3405 bytes)

File contents

<html>

<head>
<title></title>
<style media="print" type="text/css">
.DoNotPrint {
	display: none;
}
.noborder {
	border : 0px;
	background: transparent;
	scrollbar-3dlight-color: transparent;
	scrollbar-3dlight-color: transparent;
	scrollbar-arrow-color: transparent;
	scrollbar-base-color: transparent;
	scrollbar-darkshadow-color: transparent;
	scrollbar-face-color: transparent;
	scrollbar-highlight-color: transparent;
	scrollbar-shadow-color: transparent;
	scrollbar-track-color: transparent;
	background: transparent;
	overflow: hidden;
}
</style>
<script src="${oscar_javascript_path}jquery/jquery-1.4.2.js" type="text/javascript"></script>
<script src="${oscar_javascript_path}eforms/printControl.js" type="text/javascript"></script>
<script language="javascript">
function formPrint(){
			window.print();
} 
</script>
<!-- scripts to confirm closing of window if it hadn't been saved yet -->
<script language="javascript">
//keypress events trigger dirty flag
var needToConfirm = false;
document.onkeyup=setDirtyFlag;
function setDirtyFlag(){
		needToConfirm = true;
}

function releaseDirtyFlag(){
needToConfirm = false; //Call this function if doesn't requires an alert.

}

window.onbeforeunload = confirmExit;
function confirmExit(){
	 if (needToConfirm){
		 return "You have attempted to leave this page. If you have made any changes to the fields without clicking the Save button, your changes will be lost. Are you sure you want to exit this page?";
	 }
}
</script>
<script>
function SaveandExit(){
screen1=params.myparam1
screen2=params.myparam2
//alert(screen1)
if(!screen1||screen1.trim()==":"){
alert("Time not defined")
window.close()
return false
}

document.FormName.subject.value = "Start Time "+screen1+"  End Time "+screen2
document.getElementById("timeline").value = "Start Time "+screen1+"  End Time "+screen2
document.getElementById("FormName").submit();
}

//=====Get Parameters============
var params = {};
if (location.search) {
    var parts = location.search.substring(1).split('&');
    for (var i = 0; i < parts.length; i++) {
        var nv = parts[i].split('=');
        if (!nv[0]) continue;
        params[nv[0]] = nv[1] || true;
    }
}
</script>
</head>

<html>

<body onload="SaveandExit()">

<img id="BGImage" src="${oscar_image_path}" style="position: absolute; left: 0px; top: 0px; width: 750px">
<form id="FormName" action="" method="post" name="FormName">
<br><br><br><br><br><br><br>
<input type="date" name="timeline" id="timeline" size="60">
<!--
<template>
    <encounternote>$t{timeline}</encounternote>
</template>
-->






	<div id="BottomButtons" class="DoNotPrint" style="position: absolute; top: 0px; left: 0px;">
		<table>
			<tr>
				<td>Subject: <input name="subject" size="40" type="text">
				<input id="SubmitButton" name="SubmitButton" onclick=" releaseDirtyFlag();" type="submit" value="Submit">
				<input id="ResetButton" name="ResetButton" type="reset" value="Reset">
				<input id="PrintButton" name="PrintButton" onclick="formPrint();" type="button" value="Print">
				<input id="PrintSubmitButton" name="PrintSubmitButton" onclick="formPrint();releaseDirtyFlag();setTimeout('SubmitButton.click()',1000);" type="button" value="Print &amp; Submit">
				</td>
			</tr>
		</table>
	</div>
</form>
</body>
</html>
</html>

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)