home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / HIWBenefitsDatabase.asp < prev    next >
Text File  |  1997-11-01  |  45KB  |  2,582 lines

  1. <%
  2.  
  3.   ' Save URL of calling page as needed
  4.   SetURLCallHIW
  5.  
  6. %>
  7.  
  8. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  9. <HTML>
  10. <HEAD>
  11. <!--META TAGS ARE RECOMMENDED FOR THE SEARCH ENGINE-->
  12. <META NAME="DESCRIPTION" CONTENT="How It Works Page">
  13. <META NAME="KEYWORDS" CONTENT="help, code, source code, questions, explanation">
  14. <META NAME="GENERATOR" CONTENT="Microsoft Visual InterDev 1.0">
  15. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso8859-1">
  16. <!--END META TAGS-->
  17.  
  18. <TITLE>How The Benefit Database Works</TITLE>
  19. </HEAD>
  20.  
  21. <BODY  BGCOLOR=#FFFFFF TOPMARGIN=0 LEFTMARGIN=0 ALINK=#23238E VLINK=#808080 LINK=#FFCC00>
  22. <BASEFONT FACE="VERDANA, ARIAL, HELVETICA" SIZE=2>
  23.  
  24. <!--Change link color on mouseover
  25.     Only if running Internet Explorer 4.0 or later -->
  26. <!--#include file=../libHighlight.inc-->
  27.  
  28. <!--BEGIN TOP TABLE HOLDING GRAPHIC, NAVIGATIONAL LINK, AND MAIN CONTENT-->
  29. <TABLE WIDTH="100%" HEIGHT="100%" CELLPADDING=0 CELLSPACING=0  BGCOLOR="#000000" BORDER=0>
  30.   <TR>
  31.     <TD BGCOLOR="#000000" ALIGN=CENTER VALIGN=TOP WIDTH=170>
  32.       <BR>
  33.       <IMG SRC="../images/btslarge.jpg" HEIGHT=119 WIDTH=171  
  34.         ALT="Behind the Scenes at Exploration Air" BORDER=0 >
  35.       <BR>
  36.       <BR>
  37.       <BR>
  38.       <!--BACK BUTTON AND VARIABLE TO RETURN TO ORIGINATING PAGE-->
  39.       <A HREF="<%=Session("URLCallHIW")%>">
  40.         <IMG SRC="../images/barrowy.gif" HEIGHT=8 WIDTH=8 ALT="Return to Exploration Air Benefits"  
  41.           HSPACE=2 BORDER=0>
  42.       </A>
  43.       <FONT SIZE=2 FACE="VERDANA, ARIAL, HELVETICA"><STRONG>
  44.         <A HREF="<%=Session("URLCallHIW")%>" TITLE="Return to Exploration Air Benefits">
  45.           B  A  C  K 
  46.         </A>
  47.       </STRONG></FONT>
  48.       <BR> 
  49.       <BR>
  50.     </TD>
  51.     <TD BGCOLOR="#FFFFFF" BACKGROUND="../images/btsbg.gif" VALIGN=top>
  52.       <BR CLEAR=ALL>
  53.       <TABLE CELLPADDING=10 CELLSPACING=0 BORDER=0>   
  54.         <TR>
  55.           <TD VALIGN=top>
  56.  
  57.       <TABLE WIDTH="100%" CELLPADDING=10 CELLSPACING=0 BORDER=0>   
  58.         <TR>
  59.           <TD VALIGN=top>
  60.             <FONT FACE="VERDANA, ARIAL, HELVETICA" COLOR="#0000FF" SIZE=5>
  61.               How The Benefit Database Works
  62.             </FONT>
  63.             <P>
  64.             <HR>
  65.             <FONT FACE="VERDANA, ARIAL, HELVETICA" SIZE="3">
  66.  
  67. <H2>The Big Picture</H2>
  68. The Exploration Air Employee Benefits application stores its data in the database 
  69. ExAirBenefits, a SQL Server database created by Setup when IISSamples is installed.
  70.  
  71. <H2>What the Database Does</H2>
  72. The database stores data pertaining to the employee
  73. benefits. This data includes definition of the system (what benefits are available, how many
  74. days an employee has to change their insurance choices, and so on), and information about the
  75. individual employee's benefits choices (how much disability coverage, who the
  76. primary care physician is, which dependents are covered, and so on).
  77.  
  78. <P>A second purpose of the database is to ensure that the data stored is 
  79. valid and internally consistent. For example, it ensures that an employee's
  80. primary care physician is actually one of the available physicians, or that the employee
  81. cannot sign up for two different dental plans at the same time. 
  82.  
  83. <P>Another way the database ensures data consistency is by using identity columns for 
  84. primary keys (where appropriate). This allows the database itself to assign the key field 
  85. value, and ensures that no user or calling program action will result in a primary 
  86. key violation error.
  87.  
  88. <P>Another thing the database does is contain stored procedures, which are programs 
  89. written in the database language. These programs are sometimes used as an alternative to 
  90. simply executing a string of SQL code. The advantage of a stored procedure is that they
  91. are compiled in advance, as opposed to compiled on demand, so they make more efficient 
  92. use of database server resources, and therefore run faster.
  93.  
  94. <H2>Design Goals</H2>
  95. The design goal for the database is to store data in an appropriately structured manner,
  96. so that data integrity is maintained.
  97.  
  98. <H2>General Principles</H2>
  99. Identity columns are used for the primary key whenever possible. Identity columns are 
  100. integer fields which are incremented by the database. The use of an identity column for
  101. the primary key ensures that a primary key violation 
  102. will not occur in the table. If the primary key is not an identity column, it is a 
  103. compound key consisting of foreign keys to other tables in the database.
  104.  
  105. <P>Most tables include a Name column and a Label column. These two columns may 
  106. contain the same value, but they have separate purposes. The Name column 
  107. is to show to the application administrator, and the Label column is to show to the 
  108. application user. For example, each
  109. benefit is defined to apply to a specific year. If you want the site administration
  110. pages to remind you which year the benefit is for, but you want the client browser to  
  111. display only the name of the benefit, you can use the Name and Label fields to show the Name
  112. only on the administration page, and show only the Label on the client page.
  113.  
  114. <P>Rank fields are used to define a sort order for records in the table. For example, if you
  115. want to show dependents in order of dependent type, such as showing employee, then 
  116. spouse and then children, you can sort the recordset by DependentTypeRank.
  117.  
  118. <H2>Benefits Application Tables</H2>
  119. The following information summarizes the structure of the tables in the Benefits application.
  120. The notation for column names in other tables is <STRONG>TableName.ColumnName</STRONG>.
  121.  
  122. <HR>
  123.  
  124.  
  125. <A NAME=#Benefit>
  126.   <H3>Benefit</H3>
  127. </A>
  128.  
  129.     <H4>Overview</H4>
  130. The Benefit table stores information about the benefits that are part of the Benefits 
  131. application. Note that <STRONG>BenefitYear</STRONG> indicates the year to which the benefit applies.
  132.  
  133.     <H4>Primary Key</H4>
  134. <STRONG>BenefitId</STRONG>
  135.  
  136.     <H4>Foreign Key</H4>
  137. Benefit does not reference any columns in other tables:
  138.  
  139. <P>The following columns reference Benefit:
  140. <BR><STRONG><A HREF=#BenefitPlan>BenefitPlan</A>.BenefitId</STRONG>
  141. <BR><STRONG><A HREF=#BenefitQualifier>BenefitQualifier</A>.BenefitId</STRONG>
  142. <BR><STRONG><A HREF=#BenefitTaxStatus>BenefitTaxStatus</A>.BenefitId</STRONG>
  143. <BR><STRONG><A HREF=#EmployeeBenefit>EmployeeBenefit</A>.BenefitId</STRONG>
  144.  
  145.     <H4>Columns</H4>
  146. The following fields are in the Benefit table:
  147. <TABLE BORDER=1>
  148.   <TR>
  149.     <TH>
  150.       Column Name
  151.     </TH>
  152.     <TH>
  153.       Data Type
  154.     </TH>
  155.     <TH>
  156.       Data Length
  157.     </TH>
  158.   </TR>
  159.   <TR>
  160.     <TD>
  161.       BenefitId
  162.     </TD>
  163.     <TD>
  164.       Integer
  165.     </TD>
  166.     <TD>
  167.        
  168.     </TD>
  169.   </TR>      
  170.   <TR>
  171.     <TD>
  172.       BenefitYear
  173.     </TD>
  174.     <TD>
  175.       Integer
  176.     </TD>
  177.     <TD>
  178.        
  179.     </TD>
  180.   </TR>    
  181.   <TR>
  182.     <TD>
  183.       BenefitName
  184.     </TD>
  185.     <TD>
  186.       Character
  187.     </TD>
  188.     <TD>
  189.       100
  190.     </TD>
  191.   </TR>  
  192.   <TR>
  193.     <TD>
  194.       BenefitLabel
  195.     </TD>
  196.     <TD>
  197.       Character
  198.     </TD>
  199.     <TD>
  200.       100
  201.     </TD>
  202.   </TR>
  203.   <TR>
  204.     <TD>
  205.       BenefitDesc
  206.     </TD>
  207.     <TD>
  208.       Character
  209.     </TD>
  210.     <TD>
  211.       255
  212.     </TD>
  213.   </TR>
  214.   <TR>
  215.     <TD>
  216.       BenefitText
  217.     </TD>
  218.     <TD>
  219.       Text
  220.     </TD>
  221.     <TD>
  222.        
  223.     </TD>
  224.   </TR>
  225.   <TR>
  226.     <TD>
  227.       BenefitRank
  228.     </TD>
  229.     <TD>
  230.       Integer
  231.     </TD>
  232.     <TD>
  233.        
  234.     </TD>
  235.   </TR>    
  236.   <TR>
  237.     <TD>
  238.       DetailTemplate
  239.     </TD>
  240.     <TD>
  241.       Character
  242.     </TD>
  243.     <TD>
  244.       100
  245.     </TD>
  246.   </TR>
  247.   <TR>
  248.     <TD>
  249.       MinimumPlanRanking
  250.     </TD>
  251.     <TD>
  252.       Integer
  253.     </TD>
  254.     <TD>
  255.        
  256.     </TD>
  257.   </TR>     
  258.   <TR>
  259.     <TD>
  260.       QualifierRequired
  261.     </TD>
  262.     <TD>
  263.       Tiny Integer
  264.     </TD>
  265.     <TD>
  266.        
  267.     </TD>
  268.   </TR>
  269.   <TR>
  270.     <TD>
  271.       DependentCovered
  272.     </TD>
  273.     <TD>
  274.       Tiny Integer
  275.     </TD>
  276.     <TD>
  277.        
  278.     </TD>
  279.   </TR>     
  280.   <TR>
  281.     <TD>
  282.       SignatureRequired
  283.     </TD>
  284.     <TD>
  285.       Tiny Integer
  286.     </TD>
  287.     <TD>
  288.        
  289.     </TD>
  290.   </TR>
  291.   <TR>
  292.     <TD>
  293.       BenefitStatus
  294.     </TD>
  295.     <TD>
  296.       Tiny Integer
  297.     </TD>
  298.     <TD>
  299.        
  300.     </TD>
  301.   </TR>
  302. </TABLE>
  303.  
  304. <HR>
  305.  
  306.  
  307. <A NAME=#BenefitPlan>
  308.   <H3>BenefitPlan</H3>
  309. </A>
  310.  
  311.     <H4>Overview</H4>
  312. The BenefitPlan table defines which Plans correspond to which Benefits, and the rank of
  313. the plan within all the plans that are available for the benefit.
  314.  
  315.     <H4>Primary Key</H4>
  316. <STRONG>BenefitId</STRONG>
  317. <BR><STRONG>PlanId</STRONG>
  318.  
  319.     <H4>Foreign Key</H4>
  320. BenefitPlan references the following columns in other tables:
  321. <BR><STRONG><A HREF=#Benefit>Benefit</A>.BenefitId</STRONG>
  322. <BR><STRONG><A HREF=#Plans>Plan</A>.PlanId</STRONG>
  323.  
  324. <P>No columns in other tables reference BenefitPlan 
  325.  
  326.     <H4>Columns</H4>
  327. The following fields are in the BenefitPlan table:
  328. <TABLE BORDER=1>
  329.   <TR>
  330.     <TH>
  331.       Column Name
  332.     </TH>
  333.     <TH>
  334.       Data Type
  335.     </TH>
  336.     <TH>
  337.       Data Length
  338.     </TH>
  339.   </TR>
  340.   <TR>
  341.     <TD>
  342.       BenefitId
  343.     </TD>
  344.     <TD>
  345.       Integer
  346.     </TD>
  347.     <TD>
  348.        
  349.     </TD>
  350.   </TR>      
  351.   <TR>
  352.     <TD>
  353.       PlanId
  354.     </TD>
  355.     <TD>
  356.       Integer
  357.     </TD>
  358.     <TD>
  359.        
  360.     </TD>
  361.   </TR>
  362.   <TR>
  363.     <TD>
  364.       PlanRank
  365.     </TD>
  366.     <TD>
  367.       Integer
  368.     </TD>
  369.     <TD>
  370.        
  371.     </TD>
  372.   </TR>    
  373. </TABLE>
  374.  
  375. <HR>
  376.  
  377.  
  378. <A NAME=#BenefitQualifier>
  379.   <H3>BenefitQualifier</H3>
  380. </A>
  381.  
  382.     <H4>Overview</H4>
  383. The BenefitQualifier table defines which qualifiers make an employee eligible to change
  384. their choices for the specified benefit, and for how many days after the occurrence  of 
  385. the event.
  386.  
  387.     <H4>Primary Key</H4>
  388. <STRONG>BenefitId</STRONG>
  389. <BR><STRONG>QualifierId</STRONG>
  390.  
  391.     <H4>Foreign Key</H4>
  392. BenefitQualifier references the following columns in other tables:
  393. <BR><STRONG><A HREF=#Benefit>Benefit</A>.BenefitId</STRONG>
  394. <BR><STRONG><A HREF=#Qualifier>Qualifier</A>.QualifierId</STRONG>
  395.  
  396. <P>No columns in other tables reference BenefitQualifier 
  397.  
  398.     <H4>Columns</H4>
  399. The following fields are in the BenefitQualifier table:
  400. <TABLE BORDER=1>
  401.   <TR>
  402.     <TH>
  403.       Column Name
  404.     </TH>
  405.     <TH>
  406.       Data Type
  407.     </TH>
  408.     <TH>
  409.       Data Length
  410.     </TH>
  411.   </TR>
  412.   <TR>
  413.     <TD>
  414.       BenefitId
  415.     </TD>
  416.     <TD>
  417.       Integer
  418.     </TD>
  419.     <TD>
  420.        
  421.     </TD>
  422.   </TR>      
  423.   <TR>
  424.     <TD>
  425.       QualifierId
  426.     </TD>
  427.     <TD>
  428.       Integer
  429.     </TD>
  430.     <TD>
  431.        
  432.     </TD>
  433.   </TR>
  434.   <TR>
  435.     <TD>
  436.       ChangeDays
  437.     </TD>
  438.     <TD>
  439.       Integer
  440.     </TD>
  441.     <TD>
  442.        
  443.     </TD>
  444.   </TR>    
  445. </TABLE>
  446.  
  447. <HR>
  448.  
  449.  
  450. <A NAME=#BenefitStatus>
  451.   <H3>BenefitStatus</H3>
  452. </A>
  453.  
  454.     <H4>Overview</H4>
  455. The BenefitStatus table defines the <STRONG>BenefitStatusId</STRONG> for the Benefit table.
  456.  
  457.     <H4>Primary Key</H4>
  458. <STRONG>BenefitStatusId</STRONG>
  459.  
  460.     <H4>Foreign Key</H4>
  461. BenefitStatus does not reference any columns in other tables:
  462.  
  463. <P>The following columns reference BenefitStatus:
  464. <BR><STRONG><A HREF=#Benefit>Benefit</A>.BenefitStatusId</STRONG>
  465.  
  466.     <H4>Columns</H4>
  467. The following fields are in the BenefitStatus table:
  468. <TABLE BORDER=1>
  469.   <TR>
  470.     <TH>
  471.       Column Name
  472.     </TH>
  473.     <TH>
  474.       Data Type
  475.     </TH>
  476.     <TH>
  477.       Data Length
  478.     </TH>
  479.   </TR>
  480.   <TR>
  481.     <TD>
  482.       BenefitStatusId
  483.     </TD>
  484.     <TD>
  485.       Integer
  486.     </TD>
  487.     <TD>
  488.        
  489.     </TD>
  490.   </TR>      
  491.   <TR>
  492.     <TD>
  493.       BenefitStatusName
  494.     </TD>
  495.     <TD>
  496.       Character
  497.     </TD>
  498.     <TD>
  499.       100
  500.     </TD>
  501.   </TR>
  502.   <TR>
  503.     <TD>
  504.       BenefitStatusLabel
  505.     </TD>
  506.     <TD>
  507.       Character
  508.     </TD>
  509.     <TD>
  510.       100
  511.     </TD>
  512.   </TR>    
  513. </TABLE>
  514.  
  515. <HR>
  516.  
  517.  
  518. <A NAME=#BenefitTaxStatus>
  519.   <H3>BenefitTaxStatus</H3>
  520. </A>
  521.  
  522.     <H4>Overview</H4>
  523. The BenefitTaxStatus table defines which tax status can apply to each benefit, and whether
  524. a given tax status is the default for the benefit.
  525.  
  526.     <H4>Primary Key</H4>
  527. <STRONG>BenefitId</STRONG>
  528. <BR><STRONG>TaxStatusId</STRONG>
  529.  
  530.     <H4>Foreign Key</H4>
  531. BenefitTaxStatus references the following columns in other tables:
  532. <BR><STRONG><A HREF=#Benefit>Benefit</A>.BenefitId</STRONG>
  533. <BR><STRONG><A HREF=#TaxStatus>TaxStatus</A>.TaxStatusId</STRONG>
  534.  
  535. <P>No columns in other tables reference BenefitTaxStatus 
  536.  
  537.     <H4>Columns</H4>
  538. The following fields are in the BenefitTaxStatus table:
  539. <TABLE BORDER=1>
  540.   <TR>
  541.     <TH>
  542.       Column Name
  543.     </TH>
  544.     <TH>
  545.       Data Type
  546.     </TH>
  547.     <TH>
  548.       Data Length
  549.     </TH>
  550.   </TR>
  551.   <TR>
  552.     <TD>
  553.       BenefitId
  554.     </TD>
  555.     <TD>
  556.       Integer
  557.     </TD>
  558.     <TD>
  559.        
  560.     </TD>
  561.   </TR>      
  562.   <TR>
  563.     <TD>
  564.       TaxStatusId
  565.     </TD>
  566.     <TD>
  567.       Integer
  568.     </TD>
  569.     <TD>
  570.        
  571.     </TD>
  572.   </TR>
  573.   <TR>
  574.     <TD>
  575.       TaxDefault
  576.     </TD>
  577.     <TD>
  578.       Integer
  579.     </TD>
  580.     <TD>
  581.        
  582.     </TD>
  583.   </TR>    
  584. </TABLE>
  585.  
  586. <HR>
  587.  
  588.  
  589. <A NAME=#Dependent>
  590.   <H3>Dependent</H3>
  591. </A>
  592.  
  593.     <H4>Overview</H4>
  594. The Dependent table stores information about dependents. The employee also has a 
  595. record in the Dependent table.
  596.  
  597.     <H4>Primary Key</H4>
  598. <STRONG>DependentId</STRONG>
  599.  
  600.     <H4>Foreign Key</H4>
  601. Dependent references the following columns in other tables:
  602. <BR><STRONG><A HREF=#Gender>Gender</A>.GenderId</STRONG>
  603.  
  604. <P>The following columns reference Dependent:
  605. <BR><STRONG><A HREF=#EmployeeBenefitDependent>EmployeeBenefitDependent</A>.DependentId</STRONG>
  606. <BR><STRONG><A HREF=#EmployeeDependent>EmployeeDependent</A>.DependentId</STRONG>
  607.  
  608.     <H4>Columns</H4>
  609. The following fields are in the Dependent table:
  610. <TABLE BORDER=1>
  611.   <TR>
  612.     <TH>
  613.       Column Name
  614.     </TH>
  615.     <TH>
  616.       Data Type
  617.     </TH>
  618.     <TH>
  619.       Data Length
  620.     </TH>
  621.   </TR>
  622.   <TR>
  623.     <TD>
  624.       DependentId
  625.     </TD>
  626.     <TD>
  627.       Integer
  628.     </TD>
  629.     <TD>
  630.        
  631.     </TD>
  632.   </TR>      
  633.   <TR>
  634.     <TD>
  635.       LastName
  636.     </TD>
  637.     <TD>
  638.       Character
  639.     </TD>
  640.     <TD>
  641.       100
  642.     </TD>
  643.   </TR>    
  644.   <TR>
  645.     <TD>
  646.       FirstName
  647.     </TD>
  648.     <TD>
  649.       Character
  650.     </TD>
  651.     <TD>
  652.       100
  653.     </TD>
  654.   </TR>      
  655.   <TR>
  656.     <TD>
  657.       MiddleName
  658.     </TD>
  659.     <TD>
  660.       Character
  661.     </TD>
  662.     <TD>
  663.       100
  664.     </TD>
  665.   </TR>  
  666.   <TR>
  667.     <TD>
  668.       DependentBirthdate
  669.     </TD>
  670.     <TD>
  671.       Datetime
  672.     </TD>
  673.     <TD>
  674.       100
  675.     </TD>
  676.   </TR> 
  677.   <TR>
  678.     <TD>
  679.       DependentGenderId
  680.     </TD>
  681.     <TD>
  682.       Integer
  683.     </TD>
  684.     <TD>
  685.       100
  686.     </TD>
  687.   </TR> 
  688.   <TR>
  689.     <TD>
  690.       DependentSSN
  691.     </TD>
  692.     <TD>
  693.       Character
  694.     </TD>
  695.     <TD>
  696.       11
  697.     </TD>
  698.   </TR>   
  699. </TABLE>
  700.  
  701. <HR>
  702.  
  703.  
  704. <A NAME=#DependentType>
  705.   <H3>DependentType</H3>
  706. </A>
  707.  
  708.     <H4>Overview</H4>
  709. The DependentType table defines dependent types. The rank column is used to define a sort
  710. order of the various dependent types.
  711.  
  712.     <H4>Primary Key</H4>
  713. <STRONG>DependentTypeId</STRONG>
  714.  
  715.     <H4>Foreign Key</H4>
  716. DependentType does not reference any columns in other tables:
  717.  
  718. <P>The following columns reference DependentType:
  719. <BR><STRONG><A HREF=#EmployeeDependent>EmployeeDependent</A>.DependentTypeId</STRONG>
  720.  
  721.     <H4>Columns</H4>
  722. The following fields are in the DependentType table:
  723. <TABLE BORDER=1>
  724.   <TR>
  725.     <TH>
  726.       Column Name
  727.     </TH>
  728.     <TH>
  729.       Data Type
  730.     </TH>
  731.     <TH>
  732.       Data Length
  733.     </TH>
  734.   </TR>
  735.   <TR>
  736.     <TD>
  737.       DependentTypeId
  738.     </TD>
  739.     <TD>
  740.       Integer
  741.     </TD>
  742.     <TD>
  743.        
  744.     </TD>
  745.   </TR>      
  746.   <TR>
  747.     <TD>
  748.       DependentTypeName
  749.     </TD>
  750.     <TD>
  751.       Character
  752.     </TD>
  753.     <TD>
  754.       100
  755.     </TD>
  756.   </TR>
  757.   <TR>
  758.     <TD>
  759.       DependentTypeLabel
  760.     </TD>
  761.     <TD>
  762.       Character
  763.     </TD>
  764.     <TD>
  765.       100
  766.     </TD>
  767.   </TR>    
  768.   <TR>
  769.     <TD>
  770.       DependentTypeRank
  771.     </TD>
  772.     <TD>
  773.       Integer
  774.     </TD>
  775.     <TD>
  776.        
  777.     </TD>
  778.   </TR>    
  779. </TABLE>
  780.  
  781. <HR>
  782.  
  783.  
  784. <A NAME=#EBDStatus>
  785.   <H3>EBDStatus</H3>
  786. </A>
  787.  
  788.     <H4>Overview</H4>
  789. The EBDStatus table defines the <STRONG>EBDStatusId</STRONG> for the EmployeeBenefitDependent table.
  790.  
  791.     <H4>Primary Key</H4>
  792. <STRONG>EBDStatusId</STRONG>
  793.  
  794.     <H4>Foreign Key</H4>
  795. EBDStatus does not reference any columns in other tables:
  796.  
  797. <P>The following columns reference EBDStatus:
  798. <BR><STRONG><A HREF=#EmployeeBenefitDependent>EmployeeBenefitDependent</A>.EBDStatusId</STRONG>
  799.  
  800.     <H4>Columns</H4>
  801. The following fields are in the EBDStatus table:
  802. <TABLE BORDER=1>
  803.   <TR>
  804.     <TH>
  805.       Column Name
  806.     </TH>
  807.     <TH>
  808.       Data Type
  809.     </TH>
  810.     <TH>
  811.       Data Length
  812.     </TH>
  813.   </TR>
  814.   <TR>
  815.     <TD>
  816.       EBDStatusId
  817.     </TD>
  818.     <TD>
  819.       Integer
  820.     </TD>
  821.     <TD>
  822.        
  823.     </TD>
  824.   </TR>      
  825.   <TR>
  826.     <TD>
  827.       EBDStatusName
  828.     </TD>
  829.     <TD>
  830.       Character
  831.     </TD>
  832.     <TD>
  833.       100
  834.     </TD>
  835.   </TR>
  836.   <TR>
  837.     <TD>
  838.       EBDStatusLabel
  839.     </TD>
  840.     <TD>
  841.       Character
  842.     </TD>
  843.     <TD>
  844.       100
  845.     </TD>
  846.   </TR>    
  847. </TABLE>
  848.  
  849. <HR>
  850.  
  851.  
  852. <A NAME=#EDStatus>
  853.   <H3>EDStatus</H3>
  854. </A>
  855.  
  856.     <H4>Overview</H4>
  857. The EDStatus table defines the <STRONG>DependentStatusId</STRONG> for the EmployeeDependent table.
  858.  
  859.     <H4>Primary Key</H4>
  860. <STRONG>DependentStatusId</STRONG>
  861.  
  862.     <H4>Foreign Key</H4>
  863. EDStatus does not reference any columns in other tables:
  864.  
  865. <P>The following columns reference EDStatus:
  866. <BR><STRONG><A HREF=#EmployeeDependent>EmployeeDependent</A>.DependentStatusId</STRONG>
  867.  
  868.     <H4>Columns</H4>
  869. The following fields are in the EDStatus table:
  870. <TABLE BORDER=1>
  871.   <TR>
  872.     <TH>
  873.       Column Name
  874.     </TH>
  875.     <TH>
  876.       Data Type
  877.     </TH>
  878.     <TH>
  879.       Data Length
  880.     </TH>
  881.   </TR>
  882.   <TR>
  883.     <TD>
  884.       DependentStatusId
  885.     </TD>
  886.     <TD>
  887.       Integer
  888.     </TD>
  889.     <TD>
  890.        
  891.     </TD>
  892.   </TR>      
  893.   <TR>
  894.     <TD>
  895.       DependentStatusName
  896.     </TD>
  897.     <TD>
  898.       Character
  899.     </TD>
  900.     <TD>
  901.       100
  902.     </TD>
  903.   </TR>
  904.   <TR>
  905.     <TD>
  906.       DependentStatusLabel
  907.     </TD>
  908.     <TD>
  909.       Character
  910.     </TD>
  911.     <TD>
  912.       100
  913.     </TD>
  914.   </TR>    
  915. </TABLE>
  916.  
  917. <HR>
  918.  
  919.  
  920. <A NAME=#Employee>
  921.   <H3>Employee</H3>
  922. </A>
  923.  
  924.     <H4>Overview</H4>
  925. The Employee table stores information about employees. Some of the employee demographic
  926. information, such as name and birth date, is stored in the Dependent table.
  927.  
  928.     <H4>Primary Key</H4>
  929. <STRONG>EmployeeId</STRONG>
  930.  
  931.     <H4>Foreign Key</H4>
  932. Employee does not reference any columns in other tables:
  933.  
  934. Employee references the following columns:
  935. <BR><STRONG><A HREF=#GeoArea>GeoArea</A>.GeoAreaId</STRONG>
  936.  
  937. <P>The following columns reference Employee:
  938. <BR><STRONG><A HREF=#EmployeeBenefit>EmployeeBenefit</A>.EmployeeId</STRONG>
  939. <BR><STRONG><A HREF=#EmployeeDependent>EmployeeDependent</A>.EmployeeId</STRONG>
  940. <BR><STRONG><A HREF=#EmployeeQualifier>EmployeeQualifier</A>.EmployeeId</STRONG>
  941.  
  942.     <H4>Columns</H4>
  943. The following fields are in the Employee table:
  944. <TABLE BORDER=1>
  945.   <TR>
  946.     <TH>
  947.       Column Name
  948.     </TH>
  949.     <TH>
  950.       Data Type
  951.     </TH>
  952.     <TH>
  953.       Data Length
  954.     </TH>
  955.   </TR>
  956.   <TR>
  957.     <TD>
  958.       EmployeeId
  959.     </TD>
  960.     <TD>
  961.       Integer
  962.     </TD>
  963.     <TD>
  964.        
  965.     </TD>
  966.   </TR>      
  967.   <TR>
  968.     <TD>
  969.       KnownAs
  970.     </TD>
  971.     <TD>
  972.       Character
  973.     </TD>
  974.     <TD>
  975.       100
  976.     </TD>
  977.   </TR>     
  978.   <TR>
  979.     <TD>
  980.       NTUserName
  981.     </TD>
  982.     <TD>
  983.       Character
  984.     </TD>
  985.     <TD>
  986.       100
  987.     </TD>
  988.   </TR>
  989.   <TR>
  990.     <TD>
  991.       Address1
  992.     </TD>
  993.     <TD>
  994.       Character
  995.     </TD>
  996.     <TD>
  997.       100
  998.     </TD>
  999.   </TR>
  1000.   <TR>
  1001.     <TD>
  1002.       Address2
  1003.     </TD>
  1004.     <TD>
  1005.       Character
  1006.     </TD>
  1007.     <TD>
  1008.       100
  1009.     </TD>
  1010.   </TR>
  1011.   <TR>
  1012.     <TD>
  1013.       City
  1014.     </TD>
  1015.     <TD>
  1016.       Character
  1017.     </TD>
  1018.     <TD>
  1019.       100
  1020.     </TD>
  1021.   </TR>
  1022.   <TR>
  1023.     <TD>
  1024.       State
  1025.     </TD>
  1026.     <TD>
  1027.       Character
  1028.     </TD>
  1029.     <TD>
  1030.       100
  1031.     </TD>
  1032.   </TR>
  1033.   <TR>
  1034.     <TD>
  1035.       PostCode
  1036.     </TD>
  1037.     <TD>
  1038.       Character
  1039.     </TD>
  1040.     <TD>
  1041.       100
  1042.     </TD>
  1043.   </TR>
  1044.   <TR>
  1045.     <TD>
  1046.       Country
  1047.     </TD>
  1048.     <TD>
  1049.       Character
  1050.     </TD>
  1051.     <TD>
  1052.       100
  1053.     </TD>
  1054.   </TR>
  1055.   <TR>
  1056.     <TD>
  1057.       HomePhone
  1058.     </TD>
  1059.     <TD>
  1060.       Character
  1061.     </TD>
  1062.     <TD>
  1063.       100
  1064.     </TD>
  1065.   </TR>
  1066.   <TR>
  1067.     <TD>
  1068.       BusinessPhone
  1069.     </TD>
  1070.     <TD>
  1071.       Character
  1072.     </TD>
  1073.     <TD>
  1074.       100
  1075.     </TD>
  1076.   </TR>
  1077.   <TR>
  1078.     <TD>
  1079.       Fax
  1080.     </TD>
  1081.     <TD>
  1082.       Character
  1083.     </TD>
  1084.     <TD>
  1085.       100
  1086.     </TD>
  1087.   </TR>
  1088.   <TR>
  1089.     <TD>
  1090.       Email
  1091.     </TD>
  1092.     <TD>
  1093.       Character
  1094.     </TD>
  1095.     <TD>
  1096.       100
  1097.     </TD>
  1098.   </TR>
  1099.   <TR>
  1100.     <TD>
  1101.       PeriodEarnings
  1102.     </TD>
  1103.     <TD>
  1104.       Money
  1105.     </TD>
  1106.     <TD>
  1107.       100
  1108.     </TD>
  1109.   </TR>
  1110.   <TR>
  1111.     <TD>
  1112.       Exemptions
  1113.     </TD>
  1114.     <TD>
  1115.       Integer
  1116.     </TD>
  1117.     <TD>
  1118.        
  1119.     </TD>
  1120.   </TR>
  1121.   <TR>
  1122.     <TD>
  1123.       EmployeeGeoAreaId
  1124.     </TD>
  1125.     <TD>
  1126.       Integer
  1127.     </TD>
  1128.     <TD>
  1129.        
  1130.     </TD>
  1131.   </TR>
  1132.   <TR>
  1133.     <TD>
  1134.       EmployeeStatus
  1135.     </TD>
  1136.     <TD>
  1137.       Tiny Integer
  1138.     </TD>
  1139.     <TD>
  1140.        
  1141.     </TD>
  1142.   </TR>
  1143. </TABLE>
  1144.  
  1145. <HR>
  1146.  
  1147.  
  1148. <A NAME=#EmployeeBenefit>
  1149.   <H3>EmployeeBenefit</H3>
  1150. </A>
  1151.  
  1152.     <H4>Overview</H4>
  1153. The EmployeeBenefit table defines which benefits each employee has, and stores 
  1154. information about the employee's benefit choices.
  1155.  
  1156.     <H4>Primary Key</H4>
  1157. <STRONG>EmployeeId</STRONG>
  1158. <BR><STRONG>BenefitId</STRONG>
  1159.  
  1160.     <H4>Foreign Key</H4>
  1161. EmployeeBenefit references the following columns in other tables:
  1162. <BR><STRONG><A HREF=#Benefit>Benefit</A>.BenefitId</STRONG>
  1163. <BR><STRONG><A HREF=#Employee>Employee</A>.EmployeeId</STRONG>
  1164. <BR><STRONG><A HREF=#TaxStatus>TaxStatus</A>.TaxStatusId</STRONG>
  1165. <BR><STRONG><A HREF=#Plans>Plans</A>.PlanId</STRONG>
  1166.  
  1167. <P>The following columns reference EmployeeBenefit:
  1168. <BR><STRONG><A HREF=#EmployeeBenefitDependent>EmployeeBenefitDependent</A>.EmployeeId</STRONG>
  1169. <BR><STRONG><A HREF=#EmployeeBenefitDependent>EmployeeBenefitDependent</A>.BenefitId</STRONG>
  1170.  
  1171.     <H4>Columns</H4>
  1172. The following fields are in the EmployeeBenefit table:
  1173. <TABLE BORDER=1>
  1174.   <TR>
  1175.     <TH>
  1176.       Column Name
  1177.     </TH>
  1178.     <TH>
  1179.       Data Type
  1180.     </TH>
  1181.     <TH>
  1182.       Data Length
  1183.     </TH>
  1184.   </TR>
  1185.   <TR>
  1186.     <TD>
  1187.       EmployeeId
  1188.     </TD>
  1189.     <TD>
  1190.       Integer
  1191.     </TD>
  1192.     <TD>
  1193.        
  1194.     </TD>
  1195.   </TR>
  1196.   <TR>
  1197.     <TD>
  1198.       BenefitId
  1199.     </TD>
  1200.     <TD>
  1201.       Integer
  1202.     </TD>
  1203.     <TD>
  1204.        
  1205.     </TD>
  1206.   </TR>      
  1207.   <TR>
  1208.     <TD>
  1209.       PlanId
  1210.     </TD>
  1211.     <TD>
  1212.       Integer
  1213.     </TD>
  1214.     <TD>
  1215.        
  1216.     </TD>
  1217.   </TR>
  1218.   <TR>
  1219.     <TD>
  1220.       CreditAmount
  1221.     </TD>
  1222.     <TD>
  1223.       Money
  1224.     </TD>
  1225.     <TD>
  1226.        
  1227.     </TD>
  1228.   </TR>
  1229.   <TR>
  1230.     <TD>
  1231.       TaxStatusId
  1232.     </TD>
  1233.     <TD>
  1234.       Integer
  1235.     </TD>
  1236.     <TD>
  1237.        
  1238.     </TD>
  1239.   </TR>    
  1240.   <TR>
  1241.     <TD>
  1242.       EligibilityDate
  1243.     </TD>
  1244.     <TD>
  1245.       Datetime
  1246.     </TD>
  1247.     <TD>
  1248.        
  1249.     </TD>
  1250.   </TR>    
  1251. </TABLE>
  1252.  
  1253. <HR>
  1254.  
  1255.  
  1256. <A NAME=#EmployeeBenefitDependent>
  1257.   <H3>EmployeeBenefitDependent</H3>
  1258. </A>
  1259.  
  1260.     <H4>Overview</H4>
  1261. The EmployeeBenefitDependent table defines which benefits each employee has, and 
  1262. information about the employee's benefit choices.
  1263.  
  1264.     <H4>Primary Key</H4>
  1265. <STRONG>EmployeeId</STRONG>
  1266. <BR><STRONG>BenefitId</STRONG>
  1267. <BR><STRONG>DependentId</STRONG>
  1268.  
  1269.     <H4>Foreign Key</H4>
  1270. EmployeeBenefitDependent references the following columns:
  1271. <BR><STRONG><A HREF=#EmployeeBenefit>EmployeeBenefit</A>.EmployeeId and BenefitId</STRONG>
  1272. <BR><STRONG><A HREF=#Dependent>Dependent</A>.DependentId</STRONG>
  1273. <BR><STRONG><A HREF=#Physician>Physician</A>.PhysicianId</STRONG>
  1274.  
  1275. <P>No columns in other tables reference EmployeeBenefitDependent 
  1276.  
  1277.     <H4>Columns</H4>
  1278. The following fields are in the EmployeeBenefitDependent table:
  1279. <TABLE BORDER=1>
  1280.   <TR>
  1281.     <TH>
  1282.       Column Name
  1283.     </TH>
  1284.     <TH>
  1285.       Data Type
  1286.     </TH>
  1287.     <TH>
  1288.       Data Length
  1289.     </TH>
  1290.   </TR>
  1291.   <TR>
  1292.     <TD>
  1293.       EmployeeId
  1294.     </TD>
  1295.     <TD>
  1296.       Integer
  1297.     </TD>
  1298.     <TD>
  1299.        
  1300.     </TD>
  1301.   </TR>
  1302.   <TR>
  1303.     <TD>
  1304.       BenefitId
  1305.     </TD>
  1306.     <TD>
  1307.       Integer
  1308.     </TD>
  1309.     <TD>
  1310.        
  1311.     </TD>
  1312.   </TR>      
  1313.   <TR>
  1314.     <TD>
  1315.       DependentId
  1316.     </TD>
  1317.     <TD>
  1318.       Integer
  1319.     </TD>
  1320.     <TD>
  1321.        
  1322.     </TD>
  1323.   </TR>
  1324.   <TR>
  1325.     <TD>
  1326.       PhysicianId
  1327.     </TD>
  1328.     <TD>
  1329.       Integer
  1330.     </TD>
  1331.     <TD>
  1332.        
  1333.     </TD>
  1334.   </TR>
  1335.   <TR>
  1336.     <TD>
  1337.       EBDStatus
  1338.     </TD>
  1339.     <TD>
  1340.       Integer
  1341.     </TD>
  1342.     <TD>
  1343.        
  1344.     </TD>
  1345.   </TR>    
  1346. </TABLE>
  1347.  
  1348. <HR>
  1349.  
  1350.  
  1351. <A NAME=#EmployeeDependent>
  1352.   <H3>EmployeeDependent</H3>
  1353. </A>
  1354.  
  1355.     <H4>Overview</H4>
  1356. The EmployeeDependent table defines the relationship between employees and dependents.
  1357.  
  1358.     <H4>Primary Key</H4>
  1359. <STRONG>EmployeeId</STRONG>
  1360. <BR><STRONG>DependentId</STRONG>
  1361.  
  1362.     <H4>Foreign Key</H4>
  1363. EmployeeDependent references the following columns in other tables:
  1364. <BR><STRONG><A HREF=#Employee>Employee</A>.EmployeeId</STRONG>
  1365. <BR><STRONG><A HREF=#Dependent>Dependent</A>.DependentId</STRONG>
  1366. <BR><STRONG><A HREF=#DependentType>DependentType</A>.DependentTypeId</STRONG>
  1367.  
  1368. <P>No columns in other tables reference EmployeeDependent 
  1369.  
  1370.     <H4>Columns</H4>
  1371. The following fields are in the EmployeeDependent table:
  1372. <TABLE BORDER=1>
  1373.   <TR>
  1374.     <TH>
  1375.       Column Name
  1376.     </TH>
  1377.     <TH>
  1378.       Data Type
  1379.     </TH>
  1380.     <TH>
  1381.       Data Length
  1382.     </TH>
  1383.   </TR>
  1384.   <TR>
  1385.     <TD>
  1386.       EmployeeId
  1387.     </TD>
  1388.     <TD>
  1389.       Integer
  1390.     </TD>
  1391.     <TD>
  1392.        
  1393.     </TD>
  1394.   </TR>      
  1395.   <TR>
  1396.     <TD>
  1397.       DependentId
  1398.     </TD>
  1399.     <TD>
  1400.       Integer
  1401.     </TD>
  1402.     <TD>
  1403.        
  1404.     </TD>
  1405.   </TR>
  1406.   <TR>
  1407.     <TD>
  1408.       DependentTypeId
  1409.     </TD>
  1410.     <TD>
  1411.       Integer
  1412.     </TD>
  1413.     <TD>
  1414.        
  1415.     </TD>
  1416.   </TR>
  1417.   <TR>
  1418.     <TD>
  1419.       DependentStatus
  1420.     </TD>
  1421.     <TD>
  1422.       Integer
  1423.     </TD>
  1424.     <TD>
  1425.        
  1426.     </TD>
  1427.   </TR>    
  1428. </TABLE>
  1429.  
  1430. <HR>
  1431.  
  1432.  
  1433. <A NAME=#EmployeeQualifier>
  1434.   <H3>EmployeeQualifier</H3>
  1435. </A>
  1436.  
  1437.     <H4>Overview</H4>
  1438. The EmployeeQualifier table contains one record for each change qualifier that each 
  1439. employee has.
  1440.  
  1441.     <H4>Primary Key</H4>
  1442. <STRONG>EmployeeQualifierId</STRONG>
  1443.  
  1444.     <H4>Foreign Key</H4>
  1445. EmployeeQualifier references the following columns in other tables:
  1446. <BR><STRONG><A HREF=#Employee>Employee</A>.EmployeeId</STRONG>
  1447. <BR><STRONG><A HREF=#Qualifier>Qualifier</A>.QualifierId</STRONG>
  1448.  
  1449. <P>No columns in other tables reference EmployeeQualifier 
  1450.  
  1451.     <H4>Columns</H4>
  1452. The following fields are in the EmployeeQualifier table:
  1453. <TABLE BORDER=1>
  1454.   <TR>
  1455.     <TH>
  1456.       Column Name
  1457.     </TH>
  1458.     <TH>
  1459.       Data Type
  1460.     </TH>
  1461.     <TH>
  1462.       Data Length
  1463.     </TH>
  1464.   </TR>
  1465.   <TR>
  1466.     <TD>
  1467.       EmployeeQualifierId
  1468.     </TD>
  1469.     <TD>
  1470.       Integer
  1471.     </TD>
  1472.     <TD>
  1473.        
  1474.     </TD>
  1475.   </TR>
  1476.   <TR>
  1477.     <TD>
  1478.       EmployeeId
  1479.     </TD>
  1480.     <TD>
  1481.       Integer
  1482.     </TD>
  1483.     <TD>
  1484.        
  1485.     </TD>
  1486.   </TR>      
  1487.   <TR>
  1488.     <TD>
  1489.       QualifierId
  1490.     </TD>
  1491.     <TD>
  1492.       Integer
  1493.     </TD>
  1494.     <TD>
  1495.        
  1496.     </TD>
  1497.   </TR>
  1498.   <TR>
  1499.     <TD>
  1500.       QualifierDate
  1501.     </TD>
  1502.     <TD>
  1503.       Datetime
  1504.     </TD>
  1505.     <TD>
  1506.        
  1507.     </TD>
  1508.   </TR>    
  1509. </TABLE>
  1510.  
  1511. <HR>
  1512.  
  1513.  
  1514. <A NAME=#EmployeeStatus>
  1515.   <H3>EmployeeStatus</H3>
  1516. </A>
  1517.  
  1518.     <H4>Overview</H4>
  1519. The EmployeeStatus table defines the <STRONG>EmployeeStatusId</STRONG> for the Employee table.
  1520.  
  1521.     <H4>Primary Key</H4>
  1522. <STRONG>EmployeeStatusId</STRONG>
  1523.  
  1524.     <H4>Foreign Key</H4>
  1525. EmployeeStatus does not reference any columns in other tables:
  1526.  
  1527. <P>The following columns reference EmployeeStatus:
  1528. <BR><STRONG><A HREF=#Employee>Employee</A>.EmployeeStatusId</STRONG>
  1529.  
  1530.     <H4>Columns</H4>
  1531. The following fields are in the EmployeeStatus table:
  1532. <TABLE BORDER=1>
  1533.   <TR>
  1534.     <TH>
  1535.       Column Name
  1536.     </TH>
  1537.     <TH>
  1538.       Data Type
  1539.     </TH>
  1540.     <TH>
  1541.       Data Length
  1542.     </TH>
  1543.   </TR>
  1544.   <TR>
  1545.     <TD>
  1546.       EmployeeStatusId
  1547.     </TD>
  1548.     <TD>
  1549.       Integer
  1550.     </TD>
  1551.     <TD>
  1552.        
  1553.     </TD>
  1554.   </TR>      
  1555.   <TR>
  1556.     <TD>
  1557.       EmployeeStatusName
  1558.     </TD>
  1559.     <TD>
  1560.       Character
  1561.     </TD>
  1562.     <TD>
  1563.       100
  1564.     </TD>
  1565.   </TR>
  1566.   <TR>
  1567.     <TD>
  1568.       EmployeeStatusLabel
  1569.     </TD>
  1570.     <TD>
  1571.       Character
  1572.     </TD>
  1573.     <TD>
  1574.       100
  1575.     </TD>
  1576.   </TR>    
  1577. </TABLE>
  1578.  
  1579. <HR>
  1580.  
  1581.  
  1582. <A NAME=#Field>
  1583.   <H3>Field</H3>
  1584. </A>
  1585.  
  1586.     <H4>Overview</H4>
  1587. The Field table holds information that applies to a specific Plan, such as copayment 
  1588. amounts and pre-authorization requirements. Instead of creating a number of seldom-used
  1589. columns in another table, records are added to the Field table only as needed for a 
  1590. given plan. The PlanField table
  1591. defines which Plan each record in the Field table pertains to.
  1592.  
  1593.     <H4>Primary Key</H4>
  1594. <STRONG>FieldId</STRONG>
  1595.  
  1596.     <H4>Foreign Key</H4>
  1597. Field does not reference any columns in other tables:
  1598.  
  1599. <P>The following columns reference Field:
  1600. <BR><STRONG><A HREF=#PlanField>PlanField</A>.PlanId</STRONG>
  1601.  
  1602.     <H4>Columns</H4>
  1603. The following fields are in the Field table:
  1604. <TABLE BORDER=1>
  1605.   <TR>
  1606.     <TH>
  1607.       Column Name
  1608.     </TH>
  1609.     <TH>
  1610.       Data Type
  1611.     </TH>
  1612.     <TH>
  1613.       Data Length
  1614.     </TH>
  1615.   </TR>
  1616.   <TR>
  1617.     <TD>
  1618.       FieldId
  1619.     </TD>
  1620.     <TD>
  1621.       Integer
  1622.     </TD>
  1623.     <TD>
  1624.        
  1625.     </TD>
  1626.   </TR>
  1627.   <TR>
  1628.     <TD>
  1629.       FieldName
  1630.     </TD>
  1631.     <TD>
  1632.       Character
  1633.     </TD>
  1634.     <TD>
  1635.       100
  1636.     </TD>
  1637.   </TR>      
  1638.   <TR>
  1639.     <TD>
  1640.       FieldLabel
  1641.     </TD>
  1642.     <TD>
  1643.       Character
  1644.     </TD>
  1645.     <TD>
  1646.       100
  1647.     </TD>
  1648.   </TR>    
  1649. </TABLE>
  1650.  
  1651. <HR>
  1652.  
  1653.  
  1654. <A NAME=#Gender>
  1655.   <H3>Gender</H3>
  1656. </A>
  1657.  
  1658.     <H4>Overview</H4>
  1659. The Gender table defines gender records, such as Male or Female.
  1660.  
  1661.     <H4>Primary Key</H4>
  1662. <STRONG>GenderId</STRONG>
  1663.  
  1664.     <H4>Foreign Key</H4>
  1665. Gender does not reference any columns in other tables:
  1666.  
  1667. <P>The following columns reference Gender:
  1668. <BR><STRONG><A HREF=#Dependent>Dependent</A>.DependentGenderId</STRONG>
  1669.  
  1670.     <H4>Columns</H4>
  1671. The following fields are in the Gender table:
  1672. <TABLE BORDER=1>
  1673.   <TR>
  1674.     <TH>
  1675.       Column Name
  1676.     </TH>
  1677.     <TH>
  1678.       Data Type
  1679.     </TH>
  1680.     <TH>
  1681.       Data Length
  1682.     </TH>
  1683.   </TR>
  1684.   <TR>
  1685.     <TD>
  1686.       GenderId
  1687.     </TD>
  1688.     <TD>
  1689.       Integer
  1690.     </TD>
  1691.     <TD>
  1692.        
  1693.     </TD>
  1694.   </TR>
  1695.   <TR>
  1696.     <TD>
  1697.       GenderName
  1698.     </TD>
  1699.     <TD>
  1700.       Character
  1701.     </TD>
  1702.     <TD>
  1703.       100
  1704.     </TD>
  1705.   </TR>      
  1706.   <TR>
  1707.     <TD>
  1708.       GenderLabel
  1709.     </TD>
  1710.     <TD>
  1711.       Character
  1712.     </TD>
  1713.     <TD>
  1714.       100
  1715.     </TD>
  1716.   </TR>
  1717.   <TR>
  1718.     <TD>
  1719.       GenderRank
  1720.     </TD>
  1721.     <TD>
  1722.       Integer
  1723.     </TD>
  1724.     <TD>
  1725.        
  1726.     </TD>
  1727.   </TR>    
  1728. </TABLE>
  1729.  
  1730. <HR>
  1731.  
  1732.  
  1733. <A NAME=#GeoArea>
  1734.   <H3>GeoArea</H3>
  1735. </A>
  1736.  
  1737.     <H4>Overview</H4>
  1738. The GeoArea table defines geographic areas.
  1739.  
  1740.     <H4>Primary Key</H4>
  1741. <STRONG>GeoAreaId</STRONG>
  1742.  
  1743.     <H4>Foreign Key</H4>
  1744. GeoArea does not reference any columns in other tables:
  1745.  
  1746. <P>The following columns reference GeoArea:
  1747. <BR><STRONG><A HREF=#Employee>Employee</A>.EmployeeGeoAreaId</STRONG>
  1748. <BR><STRONG><A HREF=#PlanGeoArea>PlanGeoArea</A>.GeoAreaId</STRONG>
  1749.  
  1750.     <H4>Columns</H4>
  1751. The following fields are in the GeoArea table:
  1752. <TABLE BORDER=1>
  1753.   <TR>
  1754.     <TH>
  1755.       Column Name
  1756.     </TH>
  1757.     <TH>
  1758.       Data Type
  1759.     </TH>
  1760.     <TH>
  1761.       Data Length
  1762.     </TH>
  1763.   </TR>
  1764.   <TR>
  1765.     <TD>
  1766.       GeoAreaId
  1767.     </TD>
  1768.     <TD>
  1769.       Integer
  1770.     </TD>
  1771.     <TD>
  1772.        
  1773.     </TD>
  1774.   </TR>
  1775.   <TR>
  1776.     <TD>
  1777.       GeoAreaName
  1778.     </TD>
  1779.     <TD>
  1780.       Character
  1781.     </TD>
  1782.     <TD>
  1783.       100
  1784.     </TD>
  1785.   </TR>      
  1786.   <TR>
  1787.     <TD>
  1788.       GeoAreaLabel
  1789.     </TD>
  1790.     <TD>
  1791.       Character
  1792.     </TD>
  1793.     <TD>
  1794.       100
  1795.     </TD>
  1796.   </TR>    
  1797. </TABLE>
  1798.  
  1799. <HR>
  1800.  
  1801.  
  1802. <A NAME=#Physician>
  1803.   <H3>Physician</H3>
  1804. </A>
  1805.  
  1806.     <H4>Overview</H4>
  1807. The Physician table contains a list of approved physicians.
  1808.  
  1809.     <H4>Primary Key</H4>
  1810. <STRONG>PhysicianId</STRONG>
  1811.  
  1812.     <H4>Foreign Key</H4>
  1813. Physician does not reference any columns in other tables:
  1814.  
  1815. <P>The following columns reference Physician:
  1816. <BR><STRONG><A HREF=#EmployeeBenefitDependent>EmployeeBenefitDependent</A>.PhysicianId</STRONG>
  1817.  
  1818.     <H4>Columns</H4>
  1819. The following fields are in the Physician table:
  1820. <TABLE BORDER=1>
  1821.   <TR>
  1822.     <TH>
  1823.       Column Name
  1824.     </TH>
  1825.     <TH>
  1826.       Data Type
  1827.     </TH>
  1828.     <TH>
  1829.       Data Length
  1830.     </TH>
  1831.   </TR>
  1832.   <TR>
  1833.     <TD>
  1834.       PhysicianId
  1835.     </TD>
  1836.     <TD>
  1837.       Integer
  1838.     </TD>
  1839.     <TD>
  1840.        
  1841.     </TD>
  1842.   </TR>
  1843.   <TR>
  1844.     <TD>
  1845.       PhysicianName
  1846.     </TD>
  1847.     <TD>
  1848.       Character
  1849.     </TD>
  1850.     <TD>
  1851.       100
  1852.     </TD>
  1853.   </TR>      
  1854.   <TR>
  1855.     <TD>
  1856.       PhysicianLabel
  1857.     </TD>
  1858.     <TD>
  1859.       Character
  1860.     </TD>
  1861.     <TD>
  1862.       100
  1863.     </TD>
  1864.   </TR>    
  1865. </TABLE>
  1866.  
  1867. <HR>
  1868.  
  1869.  
  1870. <A NAME=#PlanField>
  1871.   <H3>PlanField</H3>
  1872. </A>
  1873.  
  1874.     <H4>Overview</H4>
  1875. The PlanField table defines the relationship between Plan records and Field records.
  1876.  
  1877.     <H4>Primary Key</H4>
  1878. <STRONG>PlanId</STRONG>
  1879. <BR><STRONG>FieldId</STRONG>
  1880.  
  1881.     <H4>Foreign Key</H4>
  1882. PlanField references the following columns in other tables:
  1883. <BR><STRONG><A HREF=#Field>Field</A>.FieldId</STRONG>
  1884. <BR><STRONG><A HREF=#Plans>Plans</A>.PlanId</STRONG>
  1885.  
  1886. <P>No columns in other tables reference PlanField 
  1887.  
  1888.     <H4>Columns</H4>
  1889. The following fields are in the PlanField table:
  1890. <TABLE BORDER=1>
  1891.   <TR>
  1892.     <TH>
  1893.       Column Name
  1894.     </TH>
  1895.     <TH>
  1896.       Data Type
  1897.     </TH>
  1898.     <TH>
  1899.       Data Length
  1900.     </TH>
  1901.   </TR>
  1902.   <TR>
  1903.     <TD>
  1904.       PlanId
  1905.     </TD>
  1906.     <TD>
  1907.       Integer
  1908.     </TD>
  1909.     <TD>
  1910.        
  1911.     </TD>
  1912.   </TR>  
  1913.   <TR>
  1914.     <TD>
  1915.       FieldId
  1916.     </TD>
  1917.     <TD>
  1918.       Integer
  1919.     </TD>
  1920.     <TD>
  1921.        
  1922.     </TD>
  1923.   </TR>
  1924.   <TR>
  1925.     <TD>
  1926.       FieldValue
  1927.     </TD>
  1928.     <TD>
  1929.       Character
  1930.     </TD>
  1931.     <TD>
  1932.       100
  1933.     </TD>
  1934.   </TR>    
  1935.   <TR>
  1936.     <TD>
  1937.       FieldRank
  1938.     </TD>
  1939.     <TD>
  1940.       Integer
  1941.     </TD>
  1942.     <TD>
  1943.        
  1944.     </TD>
  1945.   </TR>    
  1946. </TABLE>
  1947.  
  1948. <HR>
  1949.  
  1950.  
  1951. <A NAME=#PlanGeoArea>
  1952.   <H3>PlanGeoArea</H3>
  1953. </A>
  1954.  
  1955.     <H4>Overview</H4>
  1956. The PlanGeoArea table defines the relationship between Plan records and GeoArea records.
  1957.  
  1958.     <H4>Primary Key</H4>
  1959. <STRONG>PlanId</STRONG>
  1960. <BR><STRONG>GeoAreaId</STRONG>
  1961.  
  1962.     <H4>Foreign Key</H4>
  1963. PlanGeoArea references the following columns in other tables:
  1964. <BR><STRONG><A HREF=#GeoArea>GeoArea</A>.GeoAreaId</STRONG>
  1965. <BR><STRONG><A HREF=#Plans>Plans</A>.PlanId</STRONG>
  1966.  
  1967. <P>No columns in other tables reference PlanGeoArea 
  1968.  
  1969.     <H4>Columns</H4>
  1970. The following fields are in the PlanGeoArea table:
  1971. <TABLE BORDER=1>
  1972.   <TR>
  1973.     <TH>
  1974.       Column Name
  1975.     </TH>
  1976.     <TH>
  1977.       Data Type
  1978.     </TH>
  1979.     <TH>
  1980.       Data Length
  1981.     </TH>
  1982.   </TR>
  1983.   <TR>
  1984.     <TD>
  1985.       PlanId
  1986.     </TD>
  1987.     <TD>
  1988.       Integer
  1989.     </TD>
  1990.     <TD>
  1991.        
  1992.     </TD>
  1993.   </TR>  
  1994.   <TR>
  1995.     <TD>
  1996.       GeoAreaId
  1997.     </TD>
  1998.     <TD>
  1999.       Integer
  2000.     </TD>
  2001.     <TD>
  2002.         
  2003.     </TD>
  2004.   </TR>
  2005. </TABLE>
  2006.  
  2007. <HR>
  2008.  
  2009.  
  2010. <A NAME=#Plans>
  2011.   <H3>Plans</H3>
  2012. </A>
  2013.  
  2014.     <H4>Overview</H4>
  2015. The Plans table stores information about each plan.
  2016.  
  2017.     <H4>Primary Key</H4>
  2018. <STRONG>PlanId</STRONG>
  2019.  
  2020.     <H4>Foreign Key</H4>
  2021. Plans does not reference any columns in other tables:
  2022.  
  2023. <P>The following columns reference Plans:
  2024. <BR><STRONG><A HREF=#BenefitPlan>BenefitPlan</A>.PlanId</STRONG>
  2025. <BR><STRONG><A HREF=#EmployeeBenefit>EmployeeBenefit</A>.PlanId</STRONG>
  2026. <BR><STRONG><A HREF=#PlanField>PlanField</A>.PlanId</STRONG>
  2027. <BR><STRONG><A HREF=#PlanGeoArea>PlanGeoArea</A>.PlanId</STRONG>
  2028.  
  2029.     <H4>Columns</H4>
  2030. The following fields are in the Plans table:
  2031. <TABLE BORDER=1>
  2032.   <TR>
  2033.     <TH>
  2034.       Column Name
  2035.     </TH>
  2036.     <TH>
  2037.       Data Type
  2038.     </TH>
  2039.     <TH>
  2040.       Data Length
  2041.     </TH>
  2042.   </TR>
  2043.   <TR>
  2044.     <TD>
  2045.       PlanId
  2046.     </TD>
  2047.     <TD>
  2048.       Integer
  2049.     </TD>
  2050.     <TD>
  2051.        
  2052.     </TD>
  2053.   </TR>      
  2054.   <TR>
  2055.     <TD>
  2056.       PlanName
  2057.     </TD>
  2058.     <TD>
  2059.       Character
  2060.     </TD>
  2061.     <TD>
  2062.       100
  2063.     </TD>
  2064.   </TR>     
  2065.   <TR>
  2066.     <TD>
  2067.       PlanLabel
  2068.     </TD>
  2069.     <TD>
  2070.       Character
  2071.     </TD>
  2072.     <TD>
  2073.       100
  2074.     </TD>
  2075.   </TR>    
  2076.   <TR>
  2077.     <TD>
  2078.       PlanDesc
  2079.     </TD>
  2080.     <TD>
  2081.       Character
  2082.     </TD>
  2083.     <TD>
  2084.       255
  2085.     </TD>
  2086.   </TR>    
  2087.   <TR>
  2088.     <TD>
  2089.       PlanText
  2090.     </TD>
  2091.     <TD>
  2092.       Text
  2093.     </TD>
  2094.     <TD>
  2095.        
  2096.     </TD>
  2097.   </TR>
  2098.   <TR>
  2099.     <TD>
  2100.       PlanCost
  2101.     </TD>
  2102.     <TD>
  2103.       Money
  2104.     </TD>
  2105.     <TD>
  2106.        
  2107.     </TD>
  2108.   </TR>
  2109.   <TR>
  2110.     <TD>
  2111.       PhysicianRequired
  2112.     </TD>
  2113.     <TD>
  2114.       Tiny Integer
  2115.     </TD>
  2116.     <TD>
  2117.        
  2118.     </TD>
  2119.   </TR>
  2120.   <TR>
  2121.     <TD>
  2122.       PlanStatus
  2123.     </TD>
  2124.     <TD>
  2125.       Tiny Integer
  2126.     </TD>
  2127.     <TD>
  2128.        
  2129.     </TD>
  2130.   </TR>
  2131. </TABLE>
  2132.  
  2133. <HR>
  2134.  
  2135.  
  2136. <A NAME=#PlanStatus>
  2137.   <H3>PlanStatus</H3>
  2138. </A>
  2139.  
  2140.     <H4>Overview</H4>
  2141. The PlanStatus table defines the <STRONG>PlanStatusId</STRONG> for the Plans table.
  2142.  
  2143.     <H4>Primary Key</H4>
  2144. <STRONG>PlanStatusId</STRONG>
  2145.  
  2146.     <H4>Foreign Key</H4>
  2147. PlanStatus does not reference any columns in other tables:
  2148.  
  2149. <P>The following columns reference PlanStatus:
  2150. <BR><STRONG><A HREF=#Plans>Plans</A>.PlanStatusId</STRONG>
  2151.  
  2152.     <H4>Columns</H4>
  2153. The following fields are in the PlanStatus table:
  2154. <TABLE BORDER=1>
  2155.   <TR>
  2156.     <TH>
  2157.       Column Name
  2158.     </TH>
  2159.     <TH>
  2160.       Data Type
  2161.     </TH>
  2162.     <TH>
  2163.       Data Length
  2164.     </TH>
  2165.   </TR>
  2166.   <TR>
  2167.     <TD>
  2168.       PlanStatusId
  2169.     </TD>
  2170.     <TD>
  2171.       Integer
  2172.     </TD>
  2173.     <TD>
  2174.        
  2175.     </TD>
  2176.   </TR>      
  2177.   <TR>
  2178.     <TD>
  2179.       PlanStatusName
  2180.     </TD>
  2181.     <TD>
  2182.       Character
  2183.     </TD>
  2184.     <TD>
  2185.       100
  2186.     </TD>
  2187.   </TR>
  2188.   <TR>
  2189.     <TD>
  2190.       PlanStatusLabel
  2191.     </TD>
  2192.     <TD>
  2193.       Character
  2194.     </TD>
  2195.     <TD>
  2196.       100
  2197.     </TD>
  2198.   </TR>    
  2199. </TABLE>
  2200.  
  2201. <HR>
  2202.  
  2203.  
  2204. <A NAME=#Qualifier>
  2205.   <H3>Qualifier</H3>
  2206. </A>
  2207.  
  2208.     <H4>Overview</H4>
  2209. The Qualifier table defines change qualifiers. A valid change qualifier is required before
  2210. an employee can change their benefit options.
  2211.  
  2212.     <H4>Primary Key</H4>
  2213. <STRONG>QualifierId</STRONG>
  2214.  
  2215.     <H4>Foreign Key</H4>
  2216. Qualifier references the following columns in other tables:
  2217. <BR><STRONG><A HREF=#QualifierClass>QualifierClass</A>.QualifierClassId</STRONG>
  2218.  
  2219. <P>The following columns reference Qualifier:
  2220. <BR><STRONG><A HREF=#BenefitQualifier>BenefitQualifier</A>.QualifierId</STRONG>
  2221. <BR><STRONG><A HREF=#EmployeeQualifier>EmployeeQualifier</A>.QualifierId</STRONG>
  2222.  
  2223.     <H4>Columns</H4>
  2224. The following fields are in the Qualifier table:
  2225. <TABLE BORDER=1>
  2226.   <TR>
  2227.     <TH>
  2228.       Column Name
  2229.     </TH>
  2230.     <TH>
  2231.       Data Type
  2232.     </TH>
  2233.     <TH>
  2234.       Data Length
  2235.     </TH>
  2236.   </TR>
  2237.   <TR>
  2238.     <TD>
  2239.       QualifierId
  2240.     </TD>
  2241.     <TD>
  2242.       Integer
  2243.     </TD>
  2244.     <TD>
  2245.        
  2246.     </TD>
  2247.   </TR>
  2248.   <TR>
  2249.     <TD>
  2250.       QualifierName
  2251.     </TD>
  2252.     <TD>
  2253.       Character
  2254.     </TD>
  2255.     <TD>
  2256.       100
  2257.     </TD>
  2258.   </TR>      
  2259.   <TR>
  2260.     <TD>
  2261.       QualifierLabel
  2262.     </TD>
  2263.     <TD>
  2264.       Character
  2265.     </TD>
  2266.     <TD>
  2267.       100
  2268.     </TD>
  2269.   </TR>    
  2270.   <TR>
  2271.     <TD>
  2272.       QualifierClassId
  2273.     </TD>
  2274.     <TD>
  2275.       Integer
  2276.     </TD>
  2277.     <TD>
  2278.        
  2279.     </TD>
  2280.   </TR>    
  2281.   <TR>
  2282.     <TD>
  2283.       QualifierRank
  2284.     </TD>
  2285.     <TD>
  2286.       Integer
  2287.     </TD>
  2288.     <TD>
  2289.        
  2290.     </TD>
  2291.   </TR>    
  2292.   <TR>
  2293.     <TD>
  2294.       QualifierStatus
  2295.     </TD>
  2296.     <TD>
  2297.       Integer
  2298.     </TD>
  2299.     <TD>
  2300.        
  2301.     </TD>
  2302.   </TR>    
  2303. </TABLE>
  2304.  
  2305. <HR>
  2306.  
  2307.  
  2308. <A NAME=#QualifierClass>
  2309.   <H3>QualifierClass</H3>
  2310. </A>
  2311.  
  2312.     <H4>Overview</H4>
  2313. The QualifierClass table defines classes of change qualifiers. Examples are administrative
  2314. change qualifiers, system-applied change qualifiers, and employee-accessible change qualifiers.
  2315.  
  2316.     <H4>Primary Key</H4>
  2317. <STRONG>QualifierClassId</STRONG>
  2318.  
  2319.     <H4>Foreign Key</H4>
  2320. QualifierClass does not reference any columns in other tables:
  2321.  
  2322. <P>The following columns reference QualifierClass:
  2323. <BR><STRONG><A HREF=#Qualifier>Qualifier</A>.QualifierClassId</STRONG>
  2324.  
  2325.     <H4>Columns</H4>
  2326. The following fields are in the QualifierClass table:
  2327. <TABLE BORDER=1>
  2328.   <TR>
  2329.     <TH>
  2330.       Column Name
  2331.     </TH>
  2332.     <TH>
  2333.       Data Type
  2334.     </TH>
  2335.     <TH>
  2336.       Data Length
  2337.     </TH>
  2338.   </TR>
  2339.   <TR>
  2340.     <TD>
  2341.       QualifierClassId
  2342.     </TD>
  2343.     <TD>
  2344.       Integer
  2345.     </TD>
  2346.     <TD>
  2347.        
  2348.     </TD>
  2349.   </TR>
  2350.   <TR>
  2351.     <TD>
  2352.       QualifierClassName
  2353.     </TD>
  2354.     <TD>
  2355.       Character
  2356.     </TD>
  2357.     <TD>
  2358.       100
  2359.     </TD>
  2360.   </TR>      
  2361.   <TR>
  2362.     <TD>
  2363.       QualifierClassLabel
  2364.     </TD>
  2365.     <TD>
  2366.       Character
  2367.     </TD>
  2368.     <TD>
  2369.       100
  2370.     </TD>
  2371.   </TR>    
  2372. </TABLE>
  2373.  
  2374. <HR>
  2375.  
  2376.  
  2377. <A NAME=#QualifierStatus>
  2378.   <H3>QualifierStatus</H3>
  2379. </A>
  2380.  
  2381.     <H4>Overview</H4>
  2382. The QualifierStatus table defines the <STRONG>QualifierStatusId</STRONG> for the Qualifier table.
  2383.  
  2384.     <H4>Primary Key</H4>
  2385. <STRONG>QualifierStatusId</STRONG>
  2386.  
  2387.     <H4>Foreign Key</H4>
  2388. PlanStatus does not reference any columns in other tables:
  2389.  
  2390. <P>The following columns reference QualifierStatus:
  2391. <BR><STRONG><A HREF=#Qualifier>Qualifier</A>.QualifierStatusId</STRONG>
  2392.  
  2393.     <H4>Columns</H4>
  2394. The following fields are in the QualifierStatus table:
  2395. <TABLE BORDER=1>
  2396.   <TR>
  2397.     <TH>
  2398.       Column Name
  2399.     </TH>
  2400.     <TH>
  2401.       Data Type
  2402.     </TH>
  2403.     <TH>
  2404.       Data Length
  2405.     </TH>
  2406.   </TR>
  2407.   <TR>
  2408.     <TD>
  2409.       QualifierStatusId
  2410.     </TD>
  2411.     <TD>
  2412.       Integer
  2413.     </TD>
  2414.     <TD>
  2415.        
  2416.     </TD>
  2417.   </TR>      
  2418.   <TR>
  2419.     <TD>
  2420.       QualifierStatusName
  2421.     </TD>
  2422.     <TD>
  2423.       Character
  2424.     </TD>
  2425.     <TD>
  2426.       100
  2427.     </TD>
  2428.   </TR>
  2429.   <TR>
  2430.     <TD>
  2431.       QualifierStatusLabel
  2432.     </TD>
  2433.     <TD>
  2434.       Character
  2435.     </TD>
  2436.     <TD>
  2437.       100
  2438.     </TD>
  2439.   </TR>    
  2440. </TABLE>
  2441.  
  2442. <HR>
  2443.  
  2444.  
  2445. <A NAME=#TaxStatus>
  2446.   <H3>TaxStatus</H3>
  2447. </A>
  2448.  
  2449.     <H4>Overview</H4>
  2450. The TaxStatus table defines tax status codes such as Pre-tax and After-tax.
  2451.  
  2452.     <H4>Primary Key</H4>
  2453. <STRONG>TaxStatusId</STRONG>
  2454.  
  2455.     <H4>Foreign Key</H4>
  2456. TaxStatus does not reference any columns in other tables:
  2457.  
  2458. <P>The following columns reference TaxStatus:
  2459. <BR><STRONG><A HREF=#BenefitTaxStatus>BenefitTaxStatus</A>.TaxStatusId</STRONG>
  2460. <BR><STRONG><A HREF=#EmployeeBenefit>EmployeeBenefit</A>.TaxStatusId</STRONG>
  2461.  
  2462.     <H4>Columns</H4>
  2463. The following fields are in the TaxStatus table:
  2464. <TABLE BORDER=1>
  2465.   <TR>
  2466.     <TH>
  2467.       Column Name
  2468.     </TH>
  2469.     <TH>
  2470.       Data Type
  2471.     </TH>
  2472.     <TH>
  2473.       Data Length
  2474.     </TH>
  2475.   </TR>
  2476.   <TR>
  2477.     <TD>
  2478.       TaxStatusId
  2479.     </TD>
  2480.     <TD>
  2481.       Integer
  2482.     </TD>
  2483.     <TD>
  2484.        
  2485.     </TD>
  2486.   </TR>
  2487.   <TR>
  2488.     <TD>
  2489.       TaxStatusName
  2490.     </TD>
  2491.     <TD>
  2492.       Character
  2493.     </TD>
  2494.     <TD>
  2495.       100
  2496.     </TD>
  2497.   </TR>      
  2498.   <TR>
  2499.     <TD>
  2500.       TaxStatusLabel
  2501.     </TD>
  2502.     <TD>
  2503.       Character
  2504.     </TD>
  2505.     <TD>
  2506.       100
  2507.     </TD>
  2508.   </TR>    
  2509. </TABLE>
  2510.           </TD>
  2511.         </TR>
  2512.       </TABLE>
  2513.       <!--END TOP TABLE HOLDING GRAPHIC, NAVIGATIONAL LINK, AND MAIN CONTENT-->
  2514.  
  2515.       <BR>
  2516.       <BR>
  2517.  
  2518.       <CENTER>
  2519.       <!--BEGIN LEGAL INFORMATION-->
  2520.       <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
  2521.         <TR>
  2522.           <TD>
  2523.             <FONT FACE="VERDANA, ARIAL, HELVETICA" SIZE="1">
  2524.               <A HREF="../legal.htm">
  2525.                 ©1997 Microsoft Corporation. All rights reserved. Terms of Use.
  2526.               </A>
  2527.             </FONT>
  2528.             <P>
  2529.           </TD>
  2530.         </TR>
  2531.       </TABLE>
  2532.       </CENTER>
  2533.       <!--END LEGAL INFORMATION-->
  2534.     </TD>
  2535.   </TR>
  2536. </TABLE>
  2537.  
  2538. </BODY>
  2539. </HTML>
  2540. <!--END HTML-->
  2541.  
  2542. <%
  2543.  
  2544.   '
  2545.   ' SetURLCallHIW saves the name of the page in the application that called HIW page
  2546.   '
  2547.   Sub SetURLCallHIW
  2548.     ' Extract the last directory from path
  2549.     Dim strPathInfo, strLastChar, intLocation, ShortString, strLastDir
  2550.     strPathInfo = Request.ServerVariables("HTTP_REFERER")
  2551.     ' now str has a value like: "http://servername/exair/benefits/Default.asp"
  2552.     ' we need to extract "benefits"
  2553.     strLastChar = ""
  2554.     ShortString = strPathInfo
  2555.     intLocation = 0
  2556.     
  2557.     If Len(ShortString) > 0 Then
  2558.         ' Get position of beginning of file name
  2559.         Do Until strLastChar = "/"
  2560.           strLastChar = right(ShortString, 1)
  2561.           ShortString = left(ShortString, len(ShortString)-1)
  2562.           intLocation = intLocation + 1
  2563.         Loop
  2564.     
  2565.         ' Now get position of beginning of last directory name
  2566.         strLastChar = ""
  2567.         Do Until strLastChar = "/"
  2568.           strLastChar = right(ShortString, 1)
  2569.           ShortString = left(ShortString, len(ShortString)-1)
  2570.           intLocation = intLocation + 1
  2571.         Loop
  2572.         strLastDir = mid(strPathInfo, len(strPathInfo) - (intLocation - 2), 10)
  2573.     
  2574.         ' If last directory not 'HowItWorks', then save the calling URL
  2575.         If strLastDir <> "HowItWorks" Then
  2576.           Session("URLCallHIW") = strPathInfo
  2577.         End If
  2578.     End If
  2579.   End Sub
  2580.  
  2581. %>
  2582.