source: extensions/net.sf.basedb.reggie/trunk/resources/index.jsp @ 1283

Last change on this file since 1283 was 1283, checked in by Nicklas Nordborg, 11 years ago

References #291: Personal information registration

Implemented first step with input fields for Case name and Personal number. The personal number is validated and when everything seems ok the second step with patient information is displayed. Existing patient information should be verified and for new patients some information needs to be entered. Functions for validating and going to the next step are not yet implemented.

File size: 1.3 KB
Line 
1<%@ page
2  pageEncoding="UTF-8"
3  session="false"
4  import="net.sf.basedb.core.Application"
5  import="net.sf.basedb.core.User"
6  import="net.sf.basedb.core.DbControl"
7  import="net.sf.basedb.core.SessionControl"
8  import="net.sf.basedb.clients.web.Base"
9  import="net.sf.basedb.clients.web.util.HTML"
10  import="net.sf.basedb.util.Values"
11%>
12<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
13<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %>
14<%
15final SessionControl sc = Base.getExistingSessionControl(request, true);
16final String ID = sc.getId();
17final float scale = Base.getScale(sc);
18DbControl dc = null;
19try
20{
21  dc = sc.newDbControl();
22  final User user = User.getById(dc, sc.getLoggedInUserId());
23%>
24<base:page type="default" >
25<base:head styles="path.css">
26</base:head>
27<base:body>
28
29  <p:path>
30    <p:pathelement title="Reggie" />
31  </p:path>
32
33  <table border="0" cellspacing="0" cellpadding="0" width="100%">
34  <tr valign="top">
35    <td width="50%">
36 
37    <h3 class="light">Reggie wizards</h3>
38    <div class="boxedbottom">
39      <ul>
40      <li><a href="persinfo.jsp?ID=<%=ID%>">Personal information registration</a>
41      </ul>
42   
43    </div>
44    </td>
45    <td width="50%">
46    </td>
47  </tr>
48  </table>
49
50
51</base:body>
52</base:page>
53<%
54}
55finally
56{
57  if (dc != null) dc.close();
58}
59%>
Note: See TracBrowser for help on using the repository browser.