<%--
  ~ This file is part of DebGen Biobank Software developed by ASTRID Research.
  ~ All rights reserved. Reproduction, modification, use or disclosure
  ~ to third parties without express authority is forbidden.
  ~
  ~ Copyright ASTRID Research Inc., Hungary, 2009-2011.
  ~
  ~ ASTRID Research
  ~ Headquaters: Csapo utca 42. Debrecen H-4029 HUNGARY
  ~ Phone: +36-52-533-173        Fax: +36-52-533-174
  ~ Web: http://www.astrid.hu    E-mail: info@astrid.hu
  ~
  ~ Project name: DebGen Biobank Software project.
  ~ URLS:
  ~ Developers: Istvan Zoltan Nagy (istvan.nagy@astrid.hu)
  --%>

<%--
    Document   : choosetype
    Created on : Dec 14, 2009, 10:40:14 AM
    Author     : inagy
--%>

<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="/WEB-INF/dateformat.tld" prefix="da" %>
<script type="text/javascript" src="javascript/telepulesek.js"></script>
<%--<link type="text/css" href="stylesheet/redmond/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="javascript/jquery-1.3.2.js"></script>
<script type="text/javascript" src="javascript/ui.core.js"></script>--%>
<script type="text/javascript" src="javascript/ui.datepicker.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheet/jquery.autocomplete.css" />
<%--<script type="text/javascript" src="http://www.google.com/jsapi"></script>--%>
<!--script type="text/javascript" src="javascript/jquery-1.3.1.min.js"></script-->
<script type="text/javascript">
    $(document).ready(function(){

        autocompleteOff();
    });

</script>
<script type="text/javascript" src="javascript/jquery.autocomplete.js"></script>
<div class="window500">
    <div class="title"><fmt:message key="BIOBANK_ANALYSIS" /></div>
    <div class="content">
        <div style="padding: 10px;">
            <table border="0" cellspacing="10" cellpadding="5">
                <tbody>
                    <tr>
                        <td id="head" class="patientheader" ></td>
                        <td><fmt:message key="BIOBANK_ANALYSIS_DATA" /></td>
                </tr>
                </tbody>
            </table>
            <div id="line" style="width: 476px;" class="patientline">
                <fmt:message key="BIOBANK_ANALYSIS_DATA" />
            </div>

            <div id="userdiv">
                <table class="formtable" border="0" width="477px" cellspacing="0" cellpadding="3">
                    <tbody>
                        <tr>
                            <td style="width: 120px;"><fmt:message key="patientCode" />:</td>
                    <td style="width: 340px;"><a href="showpatient.html?patient=${patient.id}">${patient.patientCode}</a>
                    </td>
                    </tr>
                    <c:if test="${not patient.named or not user.dataRecorder}">
                        <tr>
                            <td style="width: 120px;" ><fmt:message key="monogram" />:</td>
                        <td>
                            ${patient.anonymousData.monogram}
                        </td>
                        </tr>
                    </c:if>
                    <c:if test="${patient.named and user.dataRecorder}">
                        <tr>
                            <td style="width: 120px;"><fmt:message key="BETEG_NEV" />:</td>
                        <td>${patient.identity.patientName}</td>
                        </tr>
                        <tr>
                            <td style="width: 120px;"><fmt:message key="TAJ" />:</td>
                        <td>${patient.identity.tajNumber}</td>
                        </tr>
                    </c:if>
                    </tbody>
                </table>
                <div align="center" style="width: 477px;">
                    <%--<div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=1"><fmt:message key="commonAnalysisRequest" /></a>
                    </div>
                    <div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=2"><fmt:message key="chromoAnalysisRequest" /></a>
                    </div>
                    <div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=3"><fmt:message key="fishAnalysisRequest" /></a>
                    </div>--%>
                    <div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=5"><fmt:message key="bornAnalysisRequest" /></a>
                    </div>
                    <div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=6"><fmt:message key="onkohaemAnalysisRequest" /></a>
                    </div>
                    <div class="button" align="left"
                         style="width: 380px; padding-left: 20px; margin-top: 5px; height: 25px; background: url('pics/buttonbgr.png');"><a class="menulink" style="display: block; width: 380px; padding-top: 4px;" href="createrequest.html?patient=${patient.id}&type=4"><fmt:message key="constAnalysisRequest" /></a>
                    </div>                    
                </div>
            </div>
            <br/>
        </div>
    </div>
    <div class="copyright">
        &copy; 2009-2010 Astrid Research Inc.
    </div>
</div>
