001 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
002 <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
003 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
004 <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
005 <%@ taglib uri="/WEB-INF/sslext.tld" prefix="sslext"%>
006 <%@ page import="com.bea.medrec.actions.PhysicianConstants,
007 java.util.Map,
008 java.util.HashMap" %>
009
010 <html:html>
011 <head>
012 <title><bean:message key="title.MedRec"/> - <bean:message key="title.physician.app"/></title>
013 <link rel="stylesheet" type="text/css" HREF="stylesheet.css">
014 </head>
015 <body bgcolor="white" topmargin="0" leftmargin="0">
016
017 <!-- START Header -->
018 <jsp:include page="PatientHeader.jsp" flush="true"/>
019 <!-- END Header -->
020
021 <!-- START Padding for Content -->
022 <table width="100%" border="0" cellspacing="1" cellpadding="10">
023 <tr>
024 <td>
025
026 <!-- START Breadcrumbs -->
027 <sslext:link page="/search.do">
028 <span class="pagetitle-md">
029 <bean:message key="page.title.physcian.home"/>
030 </span>
031 </sslext:link> >
032 <span class="pagetitle-md"><bean:message key="page.title.patient.record"/></span>
033 <!-- END Breadcrumbs -->
034
035 <!-- START Content -->
036 <br/><br/>
037 <%
038 Map m = new HashMap();
039 m.put(PhysicianConstants.ACTION, PhysicianConstants.NEW_VISIT);
040 pageContext.setAttribute("params",m);
041 %>
042 <sslext:link page="/medicalrecord.do">
043 <bean:message key="link.refresh"/>
044 </sslext:link>
045 |
046 <sslext:link page="/visit.do" name="params" scope="page">
047 <bean:message key="link.new.visit"/>
048 </sslext:link>
049 |
050 <sslext:link page="/search.do">
051 <bean:message key="link.close.chart"/>
052 </sslext:link>
053 <br/><br/>
054 <!-- START Visit Content -->
055 <p class="title"><bean:message key="Visits"/></p>
056 <table border="0" cellspacing="0" cellpadding="2">
057 <tr>
058 <td> </td>
059 <td>
060 <table border="1" cellspacing="0" cellpadding="2">
061 <!-- Visit Title -->
062 <!-- Note that the style 'coltitle-patient' should vary
063 (coltitle-patient, coltitle-patient) for the user type -->
064 <tr>
065 <td class="patientbanner2"><bean:message key="Date"/></td>
066 <td class="patientbanner2"><bean:message key="VisitReason"/></td>
067 <td class="patientbanner2"><bean:message key="Physician"/></td>
068 </tr>
069 <!-- START Dynamic Record Content -->
070 <bean:define id="recordBeans" name="<%=PhysicianConstants.RECORD_BEANS%>" scope="request"/>
071 <bean:size id="recSize" name="recordBeans"/>
072 <logic:equal name="recSize" value="0" >
073 <tr><td colspan="3"><bean:message key="message.no.records.found"/></td></tr>
074 </logic:equal>
075 <logic:greaterThan name="recSize" value="0" >
076 <logic:iterate id="recordBean" name="recordBeans" type="com.bea.medrec.beans.RecordBean">
077 <td>
078 <html:link page="/record.do" paramId="id"
079 paramName="recordBean" paramProperty="id">
080 <bean:write name="recordBean" property="date"/>
081 </html:link>
082 </td>
083 <td><bean:write name="recordBean" property="symptoms"/></td>
084 <td><bean:write name="recordBean" property="physicianName"/></td>
085 </tr>
086 </logic:iterate>
087 </logic:greaterThan>
088 <!-- END Dynamic Record Content -->
089 </table>
090 </td>
091 </tr>
092 </table>
093 <!-- END Visit Content -->
094 <br/>
095 <br/>
096 <br/>
097
098 <!-- START Prescriptions -->
099 <p class="title"><bean:message key="Prescriptions"/></p>
100 <table border="0" cellspacing="0" cellpadding="2"><tr><td> </td><td>
101 <table border="1" cellspacing="0" cellpadding="2">
102 <tr>
103 <td class="patientbanner2"><bean:message key="DateStarted"/></td>
104 <td class="patientbanner2"><bean:message key="Drug"/></td>
105 <td class="patientbanner2"><bean:message key="Dosage"/></td>
106 <td class="patientbanner2"><bean:message key="Frequency"/></td>
107 <td class="patientbanner2"><bean:message key="Refills"/></td>
108 <td class="patientbanner2"><bean:message key="Instructions"/></td>
109 </tr>
110 <!-- START Dynamic Prescription Content -->
111 <bean:define id="prescriptionBeans" name="<%=PhysicianConstants.PRESCRIPTION_BEANS%>" scope="request"/>
112 <bean:size id="prescriptionsSize" name="prescriptionBeans"/>
113 <logic:equal name="prescriptionsSize" value="0" >
114 <tr><td colspan="6"><bean:message key="message.no.prescriptions.prescribed"/></td></tr>
115 </logic:equal>
116 <logic:greaterThan name="prescriptionsSize" value="0" >
117 <logic:iterate id="prescriptionBean" name="prescriptionBeans" type="com.bea.medrec.beans.PrescriptionBean">
118 <tr>
119 <td><bean:write name="prescriptionBean" property="datePrescribed"/></td>
120 <td><bean:write name="prescriptionBean" property="drug"/></td>
121 <td><bean:write name="prescriptionBean" property="dosage"/></td>
122 <td><bean:write name="prescriptionBean" property="frequency"/></td>
123 <td><bean:write name="prescriptionBean" property="refillsRemaining"/></td>
124 <td><bean:write name="prescriptionBean" property="instructions"/> </td>
125 </tr>
126 </logic:iterate>
127 </logic:greaterThan>
128 <!-- END Dynamic Record Content -->
129 </table>
130 </td>
131 </tr>
132 </table>
133
134
135 <!-- END Content -->
136 </td>
137 </tr>
138 </table>
139 <!-- END Padding for Content -->
140
141
142
143 </body>
144 </html:html>
|