Personal tools
Navigation
 

Mother to Child intrapartum HIV orders HTML

HTML icon MothertoChildHIVIntrapartumpageVer2JY.html — HTML, 10 kB (11230 bytes)

File contents

<html>
<head>

<script type="text/javascript" src="${oscar_javascript_path}eforms/faxControl.js"></script>

<script type="text/javascript" src="${oscar_image_path}jsgraphics.js"></script>

<link rel="stylesheet" type="text/css" media="print" href="${oscar_image_path}JSMPC.css" />
<!--<script language="javascript" type="text/javascript" media="print" src="${oscar_image_path}JSMPC.js"></script>	-->
	
<style type="text/css" media="print">
 .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 language="javascript" type="text/javascript">
		/****************************
		startup functions 
		****************************/
		function startUp()
		{			
			// shows the forms on development machine from notepad ++ - saves you from uploading to the server to input alignments
			var strLoc = window.location.href.toLowerCase();
			if(strLoc.indexOf("https") == -1)
			{
				// page1
				var src = document.getElementById('BGImage').src;				
				document.getElementById('BGImage').src = src.replace('$%7Boscar_image_path%7D','');

				// page2 Flow Chart (back page)
				var src2 = document.getElementById('BGImage2').href;
				document.getElementById('BGImage2').href = src2.replace('$%7Boscar_image_path%7D','');
			}
			// the input ID must match the ID for last name in the e-form.
			setDocumentTitle('Mother to Child HIV Prevention - Intrapartum',document.getElementById('PtName').value);
			setDefaults();			
		}

		function setDocumentTitle(Title,PtName)
		{
			// set document title
			document.title = Title + ' - ' + PtName;					
		}
		
		function setDefaults()
		{	            
			// check the newform flag to ensure this is the initial load of the form
			// can add further default, prechecked boxes by copying the last line and inserting the proper ID names
			if (document.getElementById("newForm").value == 'True')
			{
				//document.getElementById("").value = '';	
			}   
		}

		/****************************
			submit and print functions 
		****************************/
		function printSubmit()
		{
			printLetter();
			releaseDirtyFlag();			
			submission();
		}

		function printLetter()
		{
			// hide the bottom buttons
			if (document.getElementById('BottomButtons').style.display == '')
				document.getElementById('BottomButtons').style.display = 'none';
			// print the letter
			window.print();
		} 

		function submission()
		{
			setFlag();
			setTimeout('document.FormName.submit()',1000);			
		}

		function setFlag()
		{
		// indicate that the form has been submitted
		if (document.getElementById("newForm").value == 'True')
			document.getElementById("newForm").value = 'False';
		}
		
		function showButtons()
		{
			//show the bottom buttons if they are hidden
			if (document.getElementById('BottomButtons').style.display == 'none')
				document.getElementById('BottomButtons').style.display = '';
		}

		/****************************
			checkbox functions 
		****************************/
		function changeValue(x)
		{
			if (document.getElementById(x).value == '')
				document.getElementById(x).value = 'X';
			else
				document.getElementById(x).value = '';
		}

		function displayKeyCode(evt,x)
		{
			var charCode = (evt.which) ? evt.which : event.keyCode
			// any key press except tab will constitute a value change to the checkbox
			if (charCode != 9)
			{
				changeValue(x);
				return false;
			}
		}		
</script>

<!-------Script to optimize window on loading----------->
<script language="JavaScript">
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = 900;
}
}
</script>
<!----------End optimize window 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.
//this could be called when save button is clicked
}
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 for current time--------->
<script language="javascript">

<!-- hide javascript

function StartClock12() {
Time12 = new Date();
Cur12Hour = Time12.getHours();
Cur12Mins = Time12.getMinutes();
The12Time = 0;
The12Time = (Cur12Hour > 12) ? Cur12Hour - 12 : Cur12Hour;
The12Time += ((Cur12Mins < 10) ? ':0' : ':') + Cur12Mins;
The12Time += (Cur12Hour > 11) ? ' PM': ' AM';
window.status = The12Time;
setTimeout('StartClock12()',1000);
}

// done hiding -->
</script>

<script language="javascript" type="text/javascript">
function onLoad(){
      if (document.getElementById("newForm").value =='True'){
		(document.getElementById("newForm").value ='False');
		StartClock12();
       (document.FormName.Time.value=The12Time);
      }  
}
</script>
</head>

<body onload="startUp(); onLoad();" onMouseDown="showButtons();">
<img id='BGImage' src="${oscar_image_path}MothertoChildHIVIntrapartumpage1.png" style="position:absolute; left:0px; top:0px; width:750px">
<form method="post" action="" name="FormName" id="FormName">

<input type="hidden" name="PtName" id="PtName" oscarDB=patient_name>

<a name="BGImage2" id="BGImage2" class="DoNotPrint" style="position: absolute; left:150px; top:35px;" href="${oscar_image_path}MothertoChildHIVIntrapartumpage2.png" target="_blank">Flow Chart (back page)</a>
<a name="OaktreeWebPage" class="DoNotPrint" style="position: absolute; left:150px; top:55px;" href="http://www.oaktreeclinic.bc.ca" target="_blank" >Oak Tree Web Page</a>

<textarea name="Label" id="Label" class="noborder" style="position:absolute; left:449px; top:16px; width:280px; height:173px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" oscarDB=label></textarea>

<input name="Allergies" id="Allergies" type="text" class="noborder" style="position:absolute; left:65px; top:208px; width:649px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" oscarDB=allergies_des_no_archived>

<input name="Weight" id="Weight" type="text" class="noborder" style="position:absolute; left:118px; top:272px; width:40px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:16px; text-align:center; background-color:white;" oscarDB=m$WT#value>

<input name="StartIV" id="StartIV" type="text" style="position:absolute; left:68px; top:641px; width:16px; height:16px;border: 1px solid #000000;font-weight:bold; text-align:center;" onkeypress="javascript:return displayKeyCode(event,this.id);" onmousedown="changeValue(this.id);setDirtyFlag()" onkeypress="javascript:return displayKeyCode(event,this.id);">
<input name="IVzidovuden" id="IVzidovuden" type="text" style="position:absolute; left:68px; top:660px; width:16px; height:16px;border: 1px solid #000000;font-weight:bold; text-align:center;" onkeypress="javascript:return displayKeyCode(event,this.id);" onmousedown="changeValue(this.id);setDirtyFlag()" onkeypress="javascript:return displayKeyCode(event,this.id);">
<input name="mg" id="mg" type="text" class="noborder" style="position:absolute; left:179px; top:682px; width:39px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" value="">
<input name="mghr" id="mghr" type="text" class="noborder" style="position:absolute; left:179px; top:703px; width:39px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" value="">
<input name="Nevirapine" id="Nevirapine" type="text" style="position:absolute; left:68px; top:735px; width:16px; height:16px;border: 1px solid #000000;font-weight:bold; text-align:center;" onkeypress="javascript:return displayKeyCode(event,this.id);" onmousedown="changeValue(this.id);setDirtyFlag()" onkeypress="javascript:return displayKeyCode(event,this.id);">

<textarea name="Comments" id="Comments" style="position:absolute; left:90px; top:782px; width:635px; height:93px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:16px; text-align:left; background-color:white;"></textarea>

<input name="Date" id="Date" type="text" class="noborder" style="position:absolute; left:63px; top:899px; width:128px; height:20px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" oscarDB=today>
<input name="Time" id="Time" type="text" class="noborder" style="position:absolute; left:200px; top:899px; width:81px; height:20px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" value="">
<span style=" position: absolute; left:291px; top:899px; font-family:Arial; font-weight:bold; font-size:16px;"><i>&quotElectronically Signed&quot</i></span>
<input name="PrintedName" id="PrintedName" type="text" class="noborder" style="position:absolute; left:505px; top:899px; width:214px; height:20px; font-family:sans-serif; font-style:normal; font-weight:normal; font-size:14px; text-align:left; background-color:white;" oscarDB=current_user>
<!-- --------------------- End of form inputs -------------------------------------->

<!-- ---------------------The submit/print/reset buttons -------------------------------------->
<div class="DoNotPrint" id="BottomButtons" style="position:absolute; left:55px; top:925px;">
<div id="faxControl">&nbsp;</div>
		<table><tr><td>
			<input type="hidden" id="newForm" name="newForm" value="True" />				
		Subject: <input name="subject" size="40" type="text"> 
			<input value="Submit" name="SubmitButton" id="SubmitButton" type="submit" onclick="document.FormName.submit(); releaseDirtyFlag();"> 
			<input value="Reset" name="ResetButton" id="ResetButton" type="reset"> 
			<input value="Print" name="PrintButton" id="PrintButton" type="button" onclick="window.print();"> 
			<input value="Print & Submit" name="PrintSubmitButton" id="PrintSubmitButton" type="button" onclick="window.print();releaseDirtyFlag(); setTimeout('SubmitButton.click()',1000);"> 
		</td></tr></table>
</div>
</form>
</body></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)