<?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT -->
<!-- THIS FILE AFFECTS THE LAYOUT OF PATIENT REPORTS -->
<!-- INCORRECT CHANGES TO THIS FILE COULD CAUSE MISSING OR CORRUPT REPORTS -->

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="VirtuaReport">
  <html>
  <body>
  	<table width="780px">
  	<tr><td>
	  	<table width="100%">
		  	<tr>
		  	<td><img src="Logo.jpg"/></td>
		    <td align="right" valign="top">
		    	<table>
		    	<tr><td align="left" valign="top">
		    	<xsl:value-of select="Site/SiteName"/><br />
		    	<xsl:for-each select="Site/SiteAddress">
		        	<xsl:value-of select="."/><br/>
		    	</xsl:for-each>
		    	<xsl:value-of select="Site/SitePhoneNumber"/><br/>
		    	</td></tr>
			    </table>
		    </td>
		    </tr>
		    <tr><td colspan="2"><hr/></td></tr>
			<tr>
			<td align="left" valign="top">
				<xsl:value-of select="Patient/PatientName"/><br/>
	    		<xsl:for-each select="Patient/PatientAddress">
	        		<xsl:value-of select="."/><br/>
	    		</xsl:for-each>
	    		<xsl:value-of select="Patient/PatientPhoneNumber"/><br/>
	    	</td>
	    	<td align="right" valign="top">
			    <table>
		    	<tr><td align="left" valign="top">
			    Patient ID: <xsl:value-of select="Patient/PatientID"/><br/>
	    		DOB: <xsl:value-of select="Patient/PatientBirthDate"/><br/>
	    		Sex: <xsl:value-of select="Patient/PatientSex"/><br/>
		    	</td></tr>
			    </table>
	    	</td>
	    	</tr>
	    </table>
	    <br/>
	    Accession Number: <xsl:value-of select="Study/AccessionNumber"/><br/>
	    Filler Order Number: <xsl:value-of select="Study/FillerOrderNumber"/><br/>
	    Exam Date: <xsl:value-of select="Study/ExamDate"/><br/>
	    Modality: <xsl:value-of select="Study/Modality"/><br/>
	    <br/>
	    Service Identifier: <xsl:value-of select="Study/UniversalServiceID"/><br/>
	    Ordering Provider: <xsl:value-of select="Study/OrderingProvider"/><br/>
	    Reaons For Study: <xsl:value-of select="Study/ReasonForStudy"/><br/>
	    <br/>
	    <hr/><br/>
	    FINAL INTERPRETATION:<br/>
	    <xsl:value-of select="Study/ObservationIdentifier"/><br/>
	    <br/>
	    <!-- <xsl:value-of select="Study/ObservationText"/><br/> -->
	    <table width="100%">
		    <xsl:for-each select="Study/ObservationText">
			  	<tr><td> <xsl:value-of select="."/> </td></tr>
		    </xsl:for-each>
		</table>
	    <br/>
	    Exam Read By: <xsl:value-of select="Study/PrincipalResultsInterpreter"/><br/>
	    Exam Transcribed By: <xsl:value-of select="Study/Transcriptionist"/><br/>
	    <hr/>
	    <font size="1">Codonics Virtua Medical Disc Publisher</font>
  	</td></tr>
  	</table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>
