Using HTTP-EQUIV to refresh a page

Consider this scenario. A patient enters a tele-health kiosk, fills out an InfoPath survey and privacy agreement form and clicks a submit button. The form thanks the patient for filling out the info and alerts a nurse to start an interactive session. As the nurse and patient interact in their session, the form automatically brings up a new form in the browser window ready for the next patient.

There’s probably a better way to do it, but using HTTP-EQUIV in the tag is a simple way to automate that InfoPath thank and refresh process. For example, have the InfoPath form open to a ThankYou page that contains something like the following Meta tag which opens the form and uses &Source to refer back to itself:


<!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...&Source=http://sitecollection/site/shareddocuments/ThankYouPage.htm&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>

References:
See article and article

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s