<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/WEB-INF/dateformat.tld" prefix="da" %>
<%--
  ~ 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)
  --%>

<script type="text/javascript">
    setWebTitle('<fmt:message key="biobankModule" />');
    autocompleteOff();
</script>
<div class="window500">
    <div class="title"><fmt:message key="biobankModule"/></div>
    <div class="content">
        <div style="padding: 10px;">
            <table border="0" cellspacing="10" cellpadding="5">
                <tbody>
                <tr>
                    <td class="patientheader"></td>
                    <td><fmt:message key="biobankModule"/></td>
                </tr>
                </tbody>
            </table>
            <%--<table align="center" border="0" cellspacing="10" cellpadding="0">
                <tbody>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>--%>
            <div id="line" style="width: 476px;" class="patientline">
                <fmt:message key="BIOBANK_SAMPLE_DATA"/>
            </div>
            <%@ include file="../showembedederror.jsp" %>
            <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=${sample.analysisRequest.patient.id}">${sample.analysisRequest.patient.patientCode}</a>
                        </td>
                    </tr>
                    <c:if test="${not sample.analysisRequest.patient.named or not user.dataRecorder}">
                        <tr>
                            <td style="width: 120px;"><fmt:message key="monogram"/>:</td>
                            <td>
                                    ${sample.analysisRequest.patient.anonymousData.monogram}
                            </td>
                        </tr>
                    </c:if>
                    <c:if test="${sample.analysisRequest.patient.named and user.dataRecorder}">
                        <tr>
                            <td style="width: 120px;"><fmt:message key="BETEG_NEV"/>:</td>
                            <td>${sample.analysisRequest.patient.identity.patientName}</td>
                        </tr>
                        <tr>
                            <td style="width: 120px;"><fmt:message key="TAJ"/>:</td>
                            <td>${sample.analysisRequest.patient.identity.tajNumber}</td>
                        </tr>
                    </c:if>
                    <tr>
                        <td style="width: 120px;"><fmt:message key="sampleCode"/>:</td>
                        <td style="width: 340px;">${sample.sampleCode}</td>
                    </tr>
                    <tr>
                        <td style="width: 112px;"><fmt:message key="requestIdChooser"/>:</td>
                        <td style="width: 340px;"><c:if test="${not empty sample.analysisRequest}"><a
                                href="showrequest.html?request=${sample.analysisRequest.id}">${sample.analysisRequest.createdOnForWeb}
                            - <fmt:message key="${sample.analysisRequest.localizeableName}"/></a></c:if></td>
                    </tr>
                    </tbody>
                </table>
                <div class="patientline"><fmt:message key="sampleData"/></div>
                <%@ include file="../showembedederror.jsp" %>

            </div>
        </div>
    </div>
    <div class="copyright">
        &copy; 2009-2010 Astrid Research Inc.
    </div>
</div>
