title: Parsing a table with no id/class in a specific <div> with beautifulsoup
body: <p>I am trying to parse data from a section of an HTML page I grabbed with Beautiful Soup.</p>
  
  <p>I have two problems. There are numerous tables around the website, but they don't have unique identifiers to navigate easily. </p>
  
  <p>I have tried the following just as a test, to no avail:</p>
  
  <pre><code>for tag in soup.find_all('div'):
      print tag.find('span')
  </code></pre>
  
  <p>And this does not even find the div within the page I grabbed.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>EDIT</strong>
  UPDATED the source file.</p>
  
  <p>The code I have that returns an error of TypeError: expected string or buffer is:</p>
  
  <pre><code>soup = BeautifulSoup(data, 'html.parser')
  table = soup.findAll('a0:span', {"style":"font-family:Courier New,monospace; font-size:9pt;"})[0]
  
  trs = table('span')
  for tr in trs:
      print tr.th.text,
      print tr.td.text
  </code></pre>
  
  <p>This is obviously where data is the text file containing the above.</p>
  
  <hr>
  
  <p>EDIT: PAGE I'm trying to scrape.</p>
  
  <pre><code>&lt;!-- Copyright (c) 2001 TrakHealth Pty Limited. ALL RIGHTS RESERVED. --&gt;
  &lt;!-- This is a generic page used to display single simple components  --&gt;
  
  &lt;HTML XMLNS=TRAK&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt;&lt;/TITLE&gt;
  
   &lt;SCRIPT SRC="/csp/broker/cspbroker.js"&gt;&lt;/SCRIPT&gt;&lt;SCRIPT SRC="/csp/broker/cspxmlhttp.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../scripts/websys.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../custom/NHLS-LABTRAK/scripts/websys.js"&gt;&lt;/SCRIPT&gt;
  &lt;LINK REL="stylesheet" TYPE="text/css" HREF="../styles/modern/websys.css"&gt;
  &lt;LINK REL="stylesheet" TYPE="text/css" HREF="../custom/NHLS-LABTRAK/scripts/websys.css"&gt;
  
  &lt;SCRIPT language='javascript'&gt;
  var TRELOADPAGE='websys.csp';
  var TRELOADID='sRi1272LJScu4';
  var tkKeepOpen=0;
  function treload(csppage) {
   tkKeepOpen=1;
   window.location.href= "websys.csp?TRELOADID=sRi1272LJScu4&amp;TRELOAD=1";
  }
  var TRELOADPATLIST='';
  &lt;/SCRIPT&gt;
  
  &lt;script language=javascript&gt;
  var t=new Array();
  var tsc=new Array();
  var session=new Array();
  t['XMISSING']='is a required field but has not been entered';
  t['XINVALID']='does not have a valid entry';
  t['XDATE']='is a date field but does not have a valid date entered';
  t['XTIME']='is a time field but does not have a valid time entered';
  t['XNUMBER']='is a numeric field but does not have a valid number entered';
  t['XLAYOUTERR']='The TrakCare Layout Editor is not functioning or has not been installed.\\n\\n 1. Please check that your browser security settings allow you to initialize and script activeX controls.\\n 2. Please check that the TRAK Layout Editor has been installed.';
  t['XLOCKED']='Record is locked by another user.';
  t['XLOCKEDCT']='Code table updates are currently disabled.';
  t['XNOTCT']='You must connect to the code table server to update code tables.';
  t['XLOCKEDMT']='Record is locked by MEDTRAK.';
  t['XDAYS']='Sun,Mon,Tue,Wed,Thu,Fri,Sat';
  t['XMONTHS']='January,February,March,April,May,June,July,August,September,October,November,December';
  t['XUNSAVED']='There are unsaved changes on this page.';
  t['XSORTMAXROWS']='Rows retrieved for sorting exceeds maximum specified in system configuration. Sort terminated.';
  t['XDATERANGE']='Date From must be before Date To';
  t['XMAXCHARS']='Maximum number of characters exceeded. Text will be truncated to the mamimum allowable length.';
  t['XNOTAVAIL']='This functionality is not available.';
  t['XUNIQUE']='Code or description is not unique.';
  t['XLOADING']='Loading...';
  session['LOGON.USERID']='IN0546623';
  session['LOGON.USERCODE']='IN0546623';
  session['LOGON.USERNAME']='Dr Kate de Villiers';
  session['LOGON.GROUPID']='17';
  session['LOGON.GROUPDESC']='L0A0';
  session['LOGON.CTLOCID']='';
  session['XMONTHSSHORT']='Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec';
  session['CONTEXT']='W5';
  window.status=session['LOGON.USERCODE'];
  session['LOGON.SITECODE']='NHLS-LABTRAK';
  session['LOGON.REGION']='';
  session['LOGON.LANGID']='2';
  session['REMOTE_ADDR']='41.13.90.246';
  session['SESSIONID']='sRi12LJScu';
  
  function tkMakeServerCall(tkclass,tkmethod) {
   if ((tkclass=='')||(tkmethod=='')) return '';
   var args=new Array('6$Q4nJfQIibx6KRykS2G7fwIO_0CynE1PGbXHXH99mj48F9stJAfA0mxb2lAcJz4',tkclass,tkmethod);
   for (var i=2; i&lt;tkMakeServerCall.arguments.length; i++) {
    args[i+1]=tkMakeServerCall.arguments[i];
   }
   var retval=cspHttpServerMethod.apply(this,args);
   return retval;
  }
  var tkTUIDP="28"
  var tkTUIDG="R$J3Um0CXoe6SMG0APDutHiKdaJienpZcmL2DLLWSok-"
  var tkTUIDS="jJnWSu4mVW_TjQfKn6qV91tHsBeG9DAKkdbZxw3gyrk-"
  var tkOverlayMethod="b9XqGIkzXAsNiiMNrAW4qI2Pw8JI3a9uQfBtHGd5VbOkMojLvsvmef1ULxa3sbuS"
  var tkLongTextMethod="LU9BZtom$6x_UyWrWuudlFjUitSkkO9trUE_sYUqAlCekHzkMYqX0A9AQuZIEkaJ"
  &lt;/script&gt;
  
  &lt;/HEAD&gt;
  &lt;BODY&gt;&lt;DIV id="PageContent"&gt;
  &lt;INPUT TYPE="Button" value="&lt;&lt;" onClick="history.back()"&gt;&lt;INPUT TYPE="Button" value="&gt;&gt;" onClick="history.forward()"&gt;
  &lt;DIV id='cmp_DEBDebtor_Banner'&gt;&lt;!-- COMPONENT 
  Routine                  GCOM3.1
  Page Name                websys.default.csp
  Component ID             69
  Component Name           DEBDebtor.Banner
  websys.Component Version .51.1531 at 2015-07-14 03:14:18PM
  Component Version        L2010.1.1 on 2015-07-14 03:14:52PM
  Layout for               SYS.SYS 
  --&gt;
  &lt;DIV STYLE="LEFT: 0px; TOP: 0px" id='dDEBDebtor_Banner' onclick="websys_sckeys[String.fromCharCode(113)]='websys_help(\'69\',\'-100000000000000\',\'\');'"&gt;&lt;FORM ACTION='websys.csp' method=post name='fDEBDebtor_Banner' id='fDEBDebtor_Banner' autocomplete='off'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TFORM' NAME='TFORM' VALUE='DEBDebtor.Banner'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TPAGID' NAME='TPAGID' VALUE='sRi5912LJScu3'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TEVENT' NAME='TEVENT' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TXREFID' NAME='TXREFID' VALUE='3'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TOVERRIDE' NAME='TOVERRIDE' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TDIRTY' NAME='TDIRTY' VALUE='1'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFL' NAME='TWKFL' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLI' NAME='TWKFLI' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TFRAME' NAME='TFRAME' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLL' NAME='TWKFLL' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLJ' NAME='TWKFLJ' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TREPORT' NAME='TREPORT' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TRELOADCMP' NAME='TRELOADCMP' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TRELOADID' NAME='TRELOADID' VALUE="sRi1272LJScu4"&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TOVERLAY' NAME='TOVERLAY' VALUE=''&gt;
  &lt;input id="UseSameWin" name="UseSameWin" type="hidden" value=""&gt;
  &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;
  &lt;table border='1px'&gt;&lt;tr&gt;&lt;td&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='105px' &gt;&lt;span style='font-family:Arial; font-size:10pt; color:#000000;'&gt; Episode No.&lt;/span&gt;&lt;/td&gt;&lt;td width='139px' style='background-color:#0000FF;'&gt;&lt;span style='font-weight:bold; color:#FFFF00;'&gt;  PK01150438&lt;/span&gt;&lt;/td&gt;&lt;td width='48px' &gt;&lt;span style='color:#000000;'&gt; MRN&lt;/span&gt;&lt;/td&gt;&lt;td width='192px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#00FFFF;'&gt;  MRN46913203&lt;/span&gt;&lt;/td&gt;&lt;td width='39px' &gt;&lt;span style='color:#000000;'&gt; Lab&lt;/span&gt;&lt;/td&gt;&lt;td width='398px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  Nelspruit Laboratory&lt;/span&gt;&lt;/td&gt;&lt;td width='6px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='495px' &gt;&lt;span style='font-size:14pt; font-weight:bold; color:#0000FF;'&gt; Unknown MALE&lt;/span&gt;&lt;/td&gt;&lt;td width='37px' style='background-color:#0A246A;'&gt;&lt;span style='font-size:10pt; font-weight:bold; color:#D4D0C8;'&gt;  M&lt;/span&gt;&lt;/td&gt;&lt;td width='88px' style='background-color:#0A246A;'&gt;&lt;span style='font-size:9pt; font-weight:bold; color:#D4D0C8;'&gt;  27 y&lt;/span&gt;&lt;/td&gt;&lt;td width='130px' style='background-color:#0A246A;'&gt;&lt;span style='font-size:10pt; font-weight:bold; color:#D4D0C8;'&gt;  01/01/1988&lt;/span&gt;&lt;/td&gt;&lt;td width='176px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  &lt;/span&gt;&lt;/td&gt;&lt;td width='6px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='418px' &gt;&lt;span style='font-size:8pt; color:#000000;'&gt;  Clotted blood;EDTA blood&lt;/span&gt;&lt;/td&gt;&lt;td width='339px' &gt;&lt;span style='font-size:8pt; color:#000000;'&gt;  1&lt;/span&gt;&lt;/td&gt;&lt;td width='178px' style='background-color:#0A246A;'&gt;&lt;span style='font-size:10pt; font-weight:bold; color:#D4D0C8;'&gt;  Routine&lt;/span&gt;&lt;/td&gt;&lt;td width='3px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='40px' &gt;&lt;span style='font-size:10pt; color:#000000;'&gt; F.N.&lt;/span&gt;&lt;/td&gt;&lt;td width='154px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  08/120456&lt;/span&gt;&lt;/td&gt;&lt;td width='58px' &gt;&lt;span style='color:#000000;'&gt; Ref No&lt;/span&gt;&lt;/td&gt;&lt;td width='402px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  AAWC0287NOF&lt;/span&gt;&lt;/td&gt;&lt;td width='91px' &gt;&lt;span style='font-size:10pt; color:#000000;'&gt; Collection&lt;/span&gt;&lt;/td&gt;&lt;td width='115px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  02/07/2015&lt;/span&gt;&lt;/td&gt;&lt;td width='54px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  00:30&lt;/span&gt;&lt;/td&gt;&lt;td width='5px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='40px' &gt;&lt;span style='font-size:10pt; color:#000000;'&gt; Hosp&lt;/span&gt;&lt;/td&gt;&lt;td width='349px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  Rob Ferreira Hospital&lt;/span&gt;&lt;/td&gt;&lt;td width='26px' &gt;&lt;span style='color:#000000;'&gt; &lt;/span&gt;&lt;/td&gt;&lt;td width='240px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  013 741 3031&lt;/span&gt;&lt;/td&gt;&lt;td width='91px' &gt;&lt;span style='color:#000000;'&gt; Received&lt;/span&gt;&lt;/td&gt;&lt;td width='115px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  02/07/2015&lt;/span&gt;&lt;/td&gt;&lt;td width='54px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  02:45&lt;/span&gt;&lt;/td&gt;&lt;td width='6px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='40px' &gt;&lt;span style='font-size:10pt; color:#000000;'&gt;  &lt;/span&gt;&lt;/td&gt;&lt;td width='349px' style='background-color:#0A246A;'&gt;&lt;span style='font-size:10pt; font-weight:bold; color:#D4D0C8;'&gt;  Ward 4&lt;/span&gt;&lt;/td&gt;&lt;td width='26px' &gt;&lt;span style='color:#000000;'&gt; &lt;/span&gt;&lt;/td&gt;&lt;td width='158px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  &lt;/span&gt;&lt;/td&gt;&lt;td width='362px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table border='1px' cellspacing='0px' width='940px'&gt;&lt;tr&gt;&lt;td width='40px' &gt;&lt;span style='font-size:10pt; color:#000000;'&gt; Doc&lt;/span&gt;&lt;/td&gt;&lt;td width='349px' style='background-color:#0A246A;'&gt;&lt;span style='font-weight:bold; color:#D4D0C8;'&gt;  DR IN CHARGE &lt;/span&gt;&lt;/td&gt;&lt;td width='23px' &gt;&lt;span style='color:#000000;'&gt; &lt;/span&gt;&lt;/td&gt;&lt;td width='525px'&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
  &lt;/FORM&gt;
  &lt;SCRIPT SRC="../scripts_gen/debdebtor.banner.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../scripts/debdebtor.banner.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../custom/NHLS-LABTRAK/scripts/debdebtor.banner.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT&gt;
  t['DemographicPanel']='Demographic Panel';
  websys_sckeys[String.fromCharCode(113)]='websys_help(\'69\',\'-100000000000000\',\'\');';
  websys_sckeys[String.fromCharCode(220)]='if (top.frames[\'eprmenu\']) top.frames[\'eprmenu\'].ToggleMenu(null);';
  &lt;/SCRIPT&gt;
  &lt;/DIV&gt;
  &lt;!-- COMPONENT END DEBDebtor.Banner --&gt;
  &lt;SCRIPT language=javascript&gt;
    try { InitMe(); } catch(e) {};
  &lt;/SCRIPT&gt;
  
  &lt;/DIV&gt;
  
  
  &lt;DIV id='cmp_web_EPVisitTestSet_FullLabPreview'&gt;&lt;!-- COMPONENT 
  Routine                  GCOM66.1
  Page Name                websys.default.csp
  Component ID             79
  Component Name           web.EPVisitTestSet.FullLabPreview
  websys.Component Version .51.1531 at 2015-07-14 03:14:18PM
  Component Version        L2010.1.1 on 2015-07-14 03:14:52PM
  Layout for               SYS.SYS 
  --&gt;
  &lt;DIV STYLE="LEFT: 0px; TOP: 0px" id='dweb_EPVisitTestSet_FullLabPreview' onclick="websys_sckeys[String.fromCharCode(113)]='websys_help(\'79\',\'-100000000000000\',\'\');'"&gt;&lt;FORM ACTION='websys.csp' method=post name='fweb_EPVisitTestSet_FullLabPreview' id='fweb_EPVisitTestSet_FullLabPreview' autocomplete='off'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TFORM' NAME='TFORM' VALUE='web.EPVisitTestSet.FullLabPreview'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TPAGID' NAME='TPAGID' VALUE='sRi12LJS61cu8'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TEVENT' NAME='TEVENT' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TXREFID' NAME='TXREFID' VALUE='66'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TOVERRIDE' NAME='TOVERRIDE' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TDIRTY' NAME='TDIRTY' VALUE='1'&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFL' NAME='TWKFL' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLI' NAME='TWKFLI' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TFRAME' NAME='TFRAME' VALUE=''&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLL' NAME='TWKFLL' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TWKFLJ' NAME='TWKFLJ' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TREPORT' NAME='TREPORT' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TRELOADCMP' NAME='TRELOADCMP' VALUE=""&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TRELOADID' NAME='TRELOADID' VALUE="sRi1272LJScu4"&gt;
  &lt;INPUT TYPE='HIDDEN' ID='TOVERLAY' NAME='TOVERLAY' VALUE=''&gt;
  &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD colSpan=3&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Sodium&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Potassium&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Chloride&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Bicarbonate&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Urea&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Creatinine&lt;/span&gt;&lt;span style='font-weight:bold; font-family:Courier New,monospace; font-size:9pt; '&gt;                       &lt;/span&gt;&lt;span style='font-weight:bold; color:RED;font-family:Courier New,monospace; font-size:9pt; '&gt;       116 H&lt;/span&gt;&lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;    umol/L                    64 - 104&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       eGFR (MDRD formula)                     &gt;60      mL/min/1.73 m2&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            MDRD-derived estimation of GFR may significantly underestimate true GFR&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            in patients with GFR &gt; 60 mL/min/1.73m^2.  It may also be unreliable in&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            the case of: age &lt;18 years or &gt;70 years; pregnancy; serious co-morbid&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            conditions; acute renal failure; extremes of body habitus/unusual diet,&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            gross oedema. The MDRD-eGFR used here does not employ an ethnic factor&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            for race.&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            &lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Calcium                                2.44      mmol/L                  2.15 - 2.55&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Magnesium                              0.88      mmol/L                  0.63 - 1.05&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Inorganic phosphate&lt;/span&gt;&lt;span style='font-weight:bold; font-family:Courier New,monospace; font-size:9pt; '&gt;              &lt;/span&gt;&lt;span style='font-weight:bold; color:RED;font-family:Courier New,monospace; font-size:9pt; '&gt;      1.47 H&lt;/span&gt;&lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;    mmol/L                  0.78 - 1.42&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Total protein                            77      g/L                       60 - 78&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Albumin                                  48      g/L                       35 - 52&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Total bilirubin                           8      umol/L                     5 - 21&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Conjugated bilirubin (DBil)               1      umol/L                     0 - 3&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Alanine transaminase (ALT)&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Aspartate transaminase (AST)             26      U/L                       15 - 40&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Alkaline phosphatase (ALP)               61      U/L                       53 - 128&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 04/07/2015  at 17:02&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Gamma-glutamyl transferase (GGT)         18      U/L               &lt;68&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Thyroid stimulating hormone (TSH)&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Thyroxine (free T4)&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;            Specimen insufficient for test(s)&lt;/span&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;/pre&gt;
  &lt;pre&gt;
  &lt;span style='color:ORANGE;font-family:Courier New,monospace; font-size:9pt; '&gt;            Authorised by xx  on 02/07/2015  at 08:23&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       White Cell Count             9.75   x 109/L                              3.92 - 10.40&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Red Cell Count               5.29   x 1012/L                             4.19 - 5.85&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Haemoglobin                  15.9   g/dL                                 13.4 - 17.5&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Haematocrit                 0.474   L/L                                 0.390 - 0.510&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       MCV                          89.6   fL                                   83.1 - 101.6&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       MCH                          30.0   pg                                   27.8 - 34.8&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       MCHC                         33.5   g/dL                                 33.0 - 35.0&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       RDW                          13.6   %                                    12.1 - 16.3&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Platelet Count                217   x 109/L                               171 - 388&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       MPV                          10.0   fL                                    7.1 - 11.0&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Neutrophils                 65.60   %              6.40   x 109/L        1.60 - 6.98                                                                32.00 - 76.00&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Lymphocytes                 25.90   %              2.53   x 109/L        1.40 - 4.20                                                                   18.00 - 56.00&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Monocytes                    5.60   %              0.55   x 109/L        0.30 - 0.80                                                                    4.00 - 12.00&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Eosinophils                  0.50   %              0.05   x 109/L        0.00 - 0.95                                                                    0.00 - 8.00&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       Basophils                    0.20   %              0.02   x 109/L        0.00 - 0.10                                                                    0.00 - 2.00&lt;/span&gt;
  &lt;span style='font-family:Courier New,monospace; font-size:9pt; '&gt;       "Other" Cells                2.10   %              0.20   x 109/L&lt;/span&gt;
  &lt;/pre&gt;
  &lt;INPUT TYPE="HIDDEN" NAME="UnreadTSList" VALUE="PK01150438||C012||1,PK01150438||C013||1,PK01150438||C014||1,PK01150438||C015||1,PK01150438||C017||1,PK01150438||C002||1,PK01150438||C051||1,PK01150438||C053||1,PK01150438||C054||1,PK01150438||C056||1,PK01150438||C057||1,PK01150438||C058||1,PK01150438||C059||1,PK01150438||C060||1,PK01150438||C061||1,PK01150438||C062||1,PK01150438||C063||1,PK01150438||C150||1,PK01150438||C151||1,PK01150438||H002||1"&gt;&lt;INPUT TYPE="HIDDEN" NAME="UnviewedTSList" VALUE="PK01150438||C012||1,PK01150438||C013||1,PK01150438||C014||1,PK01150438||C015||1,PK01150438||C017||1,PK01150438||C002||1,PK01150438||C051||1,PK01150438||C053||1,PK01150438||C054||1,PK01150438||C056||1,PK01150438||C057||1,PK01150438||C058||1,PK01150438||C059||1,PK01150438||C060||1,PK01150438||C061||1,PK01150438||C062||1,PK01150438||C063||1,PK01150438||C150||1,PK01150438||C151||1,PK01150438||H002||1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;
  &lt;a href="#" id="MarkAllReadLink" name="MarkAllReadLink" tabIndex="1"&gt;Mark all unread as read&lt;/A&gt;
  &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;
  &lt;a href="#" id="MarkAllViewedLink" name="MarkAllViewedLink" tabIndex="1"&gt;Mark all unviewed as viewed&lt;/A&gt;
  &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;
  &lt;A id="PrintReport" name="PrintReport" href='#' onclick="websys_lu('websys.csp?TUID=63&amp;TUID=28',false,'top=30,left=20,width=800,height=600');return false;" TVARS="d79iPrintReport^sRi12L63JScu6" TUID='63'  tabIndex=1&gt;Print Report&lt;/A&gt;
  &lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
  &lt;/FORM&gt;
  &lt;SCRIPT language=javascript id='websysMoveJS64'&gt;
  websys_move(eval(screen.availWidth-760)/2,eval(screen.availHeight-540)/2,760,540);
  &lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../scripts_gen/web.epvisittestset.fulllabpreview.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../scripts/web.epvisittestset.fulllabpreview.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT SRC="../custom/NHLS-LABTRAK/scripts/web.epvisittestset.fulllabpreview.js"&gt;&lt;/SCRIPT&gt;
  &lt;SCRIPT&gt;
  t['result']='result';
  t['MarkAllReadLink']='Mark all unread as read';
  t['MarkAllViewedLink']='Mark all unviewed as viewed';
  t['PrintReport']='Print Report';
  websys_sckeys[String.fromCharCode(113)]='websys_help(\'79\',\'-100000000000000\',\'\');';
  websys_sckeys[String.fromCharCode(220)]='if (top.frames[\'eprmenu\']) top.frames[\'eprmenu\'].ToggleMenu(null);';
  &lt;/SCRIPT&gt;
  &lt;/DIV&gt;
  &lt;!-- COMPONENT END web.EPVisitTestSet.FullLabPreview --&gt;
  &lt;SCRIPT language=javascript&gt;
    try { InitMe(); } catch(e) {};
  &lt;/SCRIPT&gt;
  
  &lt;/DIV&gt;
  
  &lt;/DIV&gt;&lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>