Using HTTP-EQUIV to refresh a page

April 27, 2012

A patient enters a tele-health kiosk and fills out the an online InfoPath privacy form presented the kiosk computer. They submit the form, and the form shows a thank-you page as it alerts a nurse to begin an interactive session. When the session is closed, a new form automatically appears the browser window ready for the next patient session.

Using an HTTP-EQUIV meta tag is a simple way to automate this thank-you and form refresh process. The InfoPath form’s meta tag just needs to contain an &Source reference back to the original page. For example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<head>
		<meta HTTP-EQUIV="REFRESH" content="5; url=http://sitecollection.site/formlibrary/someungodlylongformstringhere...etc...&amp;Source=http://sitecollection/site/shareddocuments/ThankYouPage.htm&amp;DefaultItemOpen=1">
		<title>HIPAA Acknowledgement and Authorization for Treatment Success</title>
		<style type="text/css">
			body {
				background-color:#FFFff0
			}
			.thanks, 
			.note {
				margin-left:auto;
				margin-right:auto;
				width:70%;
				text-align:center;
				font-family:Arial, Helvetica, sans-serif;
				color:#666666;
			}
			.thanks {
				margin-top: 300px;
				font-size: 24px;
			}
			.note {
				font-size: 14px;
			}
		</style>
	</head>
	<body>
		<div class="thanks">Thank you.</div><br/>
		<div class="note">Your form has been sent, and the appointment will begin soon.</div>
	</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *