|
@@ -1,5 +1,6 @@
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
|
|
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
|
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
|
<jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
|
|
@@ -9,31 +10,34 @@
|
|
|
<div class="container">
|
|
|
<div class="header">
|
|
|
<div class="previous">
|
|
|
- <a href="./menu">이전</a>
|
|
|
+ <a href="./menu"><spring:message code="header.previous" /></a>
|
|
|
</div>
|
|
|
<div class="title">
|
|
|
- 기록보기
|
|
|
+ <spring:message code="title.viewRecord" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="examination">
|
|
|
<div class="daily">
|
|
|
- <a href="?date=${prevDate}" class="previous active">이전</a>
|
|
|
- <c:out value="${date}"/>
|
|
|
+ <a href="?date=${prevDate}" class="previous active"><spring:message code="header.previous" /></a>
|
|
|
+ <fmt:parseDate var="cDate" value="${date}" pattern="yyyy-MM-dd" />
|
|
|
+ <c:set var="currentDate"><fmt:formatDate value="${cDate}" type="date" /></c:set>
|
|
|
+ <c:out value="${currentDate}" />
|
|
|
+
|
|
|
<c:if test="${nextDate <= nowDate}">
|
|
|
- <a href="?date=${nextDate}" class="next active">다음</a>
|
|
|
+ <a href="?date=${nextDate}" class="next active"><spring:message code="header.next" /></a>
|
|
|
</c:if>
|
|
|
</div>
|
|
|
<div class="history">
|
|
|
<c:if test="${munjinCnt > 0}">
|
|
|
- <a href="./serveyhistory">문진 내역 보기 ▶</a>
|
|
|
+ <a href="./serveyhistory"><spring:message code="history.btn.serveyhistory" /> ▶</a>
|
|
|
</c:if>
|
|
|
<c:if test="${munjinCnt eq 0}">
|
|
|
- <a href="./servey">문진 내역 보기 ▶</a>
|
|
|
+ <a href="./servey"><spring:message code="history.btn.serveyhistory" /> ▶</a>
|
|
|
</c:if>
|
|
|
</div>
|
|
|
<div class="data">
|
|
|
<div class="point">
|
|
|
- 건강기록
|
|
|
+ <spring:message code="history.healthHistory" />
|
|
|
</div>
|
|
|
<div class="table">
|
|
|
<table>
|
|
@@ -44,18 +48,18 @@
|
|
|
</colgroup>
|
|
|
<thead class="gray">
|
|
|
<tr>
|
|
|
- <th>구분</th>
|
|
|
- <th>오전</th>
|
|
|
- <th>오후</th>
|
|
|
+ <th><spring:message code="history.division" /></th>
|
|
|
+ <th><spring:message code="history.morning" /></th>
|
|
|
+ <th><spring:message code="history.afternoon" /></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
- <th>체온</th>
|
|
|
+ <th><spring:message code="history.record.bodyTemp" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.amTemperature eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -70,7 +74,7 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.pmTemperature eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -83,11 +87,11 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th>맥박수/혈압</th>
|
|
|
+ <th><spring:message code="history.record.bloodPh" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.amPulseRate eq null and historyData.amSystolicBloodPressure eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -102,8 +106,8 @@
|
|
|
<c:set var="amSystolicBloodPressureData" value="${fn:split( historyData.amSystolicBloodPressure,'/' )[0]}" />
|
|
|
<c:set var="amSystolicBloodPressureDate" value="${fn:split( historyData.amSystolicBloodPressure,'/' )[1]}" />
|
|
|
<c:set var="amDiastolicBloodPressureData" value="${fn:split( historyData.amDiastolicBloodPressure,'/' )[0]}" />
|
|
|
- <div class="mini">수축기<c:out value="${amSystolicBloodPressureData}"/>mmHg</div>
|
|
|
- <div class="mini">이완기 <c:out value="${amDiastolicBloodPressureData}"/>mmHg</div>
|
|
|
+ <div class="mini"><spring:message code="history.bloodPressureLevelCon" /><c:out value="${amSystolicBloodPressureData}"/>mmHg</div>
|
|
|
+ <div class="mini"><spring:message code="history.bloodPressureLevelRel" /> <c:out value="${amDiastolicBloodPressureData}"/>mmHg</div>
|
|
|
<div class="date"><c:out value="${amSystolicBloodPressureDate}"/></div>
|
|
|
</c:if>
|
|
|
</c:otherwise>
|
|
@@ -112,7 +116,7 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.pmPulseRate eq null and historyData.pmSystolicBloodPressure eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -127,8 +131,8 @@
|
|
|
<c:set var="pmSystolicBloodPressureData" value="${fn:split( historyData.pmSystolicBloodPressure,'/' )[0]}" />
|
|
|
<c:set var="pmSystolicBloodPressureDate" value="${fn:split( historyData.pmSystolicBloodPressure,'/' )[1]}" />
|
|
|
<c:set var="pmDiastolicBloodPressureData" value="${fn:split( historyData.pmDiastolicBloodPressure,'/' )[0]}" />
|
|
|
- <div class="mini">수축기<c:out value="${pmSystolicBloodPressureData}"/>mmHg</div>
|
|
|
- <div class="mini">이완기 <c:out value="${pmDiastolicBloodPressureData}"/>mmHg</div>
|
|
|
+ <div class="mini"><spring:message code="history.bloodPressureLevelCon" /><c:out value="${pmSystolicBloodPressureData}"/>mmHg</div>
|
|
|
+ <div class="mini"><spring:message code="history.bloodPressureLevelRel" /><c:out value="${pmDiastolicBloodPressureData}"/>mmHg</div>
|
|
|
<div class="date"><c:out value="${pmSystolicBloodPressureDate}"/></div>
|
|
|
</c:if>
|
|
|
</c:otherwise>
|
|
@@ -136,11 +140,11 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th>산소포화도</th>
|
|
|
+ <th><spring:message code="history.record.oxygen" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.amOxygenSaturation eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -154,7 +158,7 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.pmOxygenSaturation eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -167,11 +171,11 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th>혈당</th>
|
|
|
+ <th><spring:message code="history.record.bloodSugar" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.amBloodSugar eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -185,7 +189,7 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${historyData.pmBloodSugar eq null}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
@@ -198,17 +202,17 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <th>임상증상</th>
|
|
|
+ <th><spring:message code="history.record.symptom" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${symptomTotal eq 0}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
|
<c:forEach var="sl" items="${symptomData}">
|
|
|
- <c:if test="${sl.ampm ne 'am' and fn:length(symptomData) eq 1}"><div>미측정</div></c:if>
|
|
|
+ <c:if test="${sl.ampm ne 'am' and fn:length(symptomData) eq 1}"><div><spring:message code="history.unmeasured" /></div></c:if>
|
|
|
<c:if test="${sl.ampm eq 'am'}">
|
|
|
<div class="check"><c:out value="${sl.symptomContent}"/></div>
|
|
|
<div class="date"><c:out value="${sl.createDate}"/></div>
|
|
@@ -221,12 +225,12 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${symptomTotal eq 0}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
|
<c:forEach var="sl" items="${symptomData}">
|
|
|
- <c:if test="${sl.ampm ne 'pm' and fn:length(symptomData) eq 1}"><div>미측정</div></c:if>
|
|
|
+ <c:if test="${sl.ampm ne 'pm' and fn:length(symptomData) eq 1}"><div><spring:message code="history.unmeasured" /></div></c:if>
|
|
|
<c:if test="${sl.ampm eq 'pm'}">
|
|
|
<div class="check"><c:out value="${sl.symptomContent}"/></div>
|
|
|
<div class="date"><c:out value="${sl.createDate}"/></div>
|
|
@@ -239,24 +243,27 @@
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
- <th>정신건강</th>
|
|
|
+ <th><spring:message code="history.record.mental" /></th>
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.amCount eq null or mentalData.amCount eq 0}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
|
<div class="check">
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.amStressTotal <= 1}">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.amStressTotal}점, 정상),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.amStressTotal}<spring:message code="history.score" />, <spring:message code="history.result.normal" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amStressTotal == 2 }">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.amStressTotal}점, 주의요망),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.amStressTotal}<spring:message code="history.score" />, <spring:message code="history.history.result.warning" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amStressTotal >= 3}">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.amStressTotal}점, 심한수준),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.amStressTotal}<spring:message code="history.score" />, <spring:message code="history.result.severe" />),
|
|
|
</c:when>
|
|
|
</c:choose>
|
|
|
|
|
@@ -264,29 +271,35 @@
|
|
|
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.amDepressedTotal <= 4}">
|
|
|
- 우울<br/>(${mentalData.amDepressedTotal}점, 정상),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.amDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.normal" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amDepressedTotal >= 5 and mentalData.amDepressedTotal <= 9}">
|
|
|
- 우울<br/>(${mentalData.amDepressedTotal}점, 경미한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.amDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.light" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amDepressedTotal >= 10 and mentalData.amDepressedTotal <= 14}">
|
|
|
- 우울<br/>(${mentalData.amDepressedTotal}점, 중간 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.amDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.middle" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amDepressedTotal >= 15 and mentalData.amDepressedTotal <= 19}">
|
|
|
- 우울<br/>(${mentalData.amDepressedTotal}점, 약간 심한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.amDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.slightlySevere" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.amDepressedTotal >= 20 and mentalData.amDepressedTotal <= 27}">
|
|
|
- 우울<br/>(${mentalData.amDepressedTotal}점, 심한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.amDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.severe" />),
|
|
|
</c:when>
|
|
|
</c:choose>
|
|
|
|
|
|
<br/><br/>
|
|
|
|
|
|
- 우울 9번 문항<br/>(${mentalData.amDepressedNine}점),
|
|
|
+
|
|
|
+ <spring:message code="history.depressed" /> 9<spring:message code="history.number" /> <spring:message code="history.question" /><br/>(${mentalData.amDepressedNine}<spring:message code="history.score" />),
|
|
|
|
|
|
<br/><br/>
|
|
|
|
|
|
- 주관적 심리적 고통정도<br/>(${mentalData.amVasTotal}점)
|
|
|
+ <spring:message code="history.vas" /><br/>(${mentalData.amVasTotal}<spring:message code="history.score" />)
|
|
|
</div>
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
@@ -294,20 +307,23 @@
|
|
|
<td>
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.pmCount eq null or mentalData.pmCount eq 0}">
|
|
|
- <div>미측정</div>
|
|
|
+ <div><spring:message code="history.unmeasured" /></div>
|
|
|
</c:when>
|
|
|
|
|
|
<c:otherwise>
|
|
|
<div class="check">
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.pmStressTotal <= 1}">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.pmStressTotal}점, 정상),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.pmStressTotal}<spring:message code="history.score" />, <spring:message code="history.result.normal" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmStressTotal == 2 }">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.pmStressTotal}점, 주의요망),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.pmStressTotal}<spring:message code="history.score" />, <spring:message code="history.result.warning" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmStressTotal >= 3}">
|
|
|
- 외상 후 스트레스 증상<br/>(${mentalData.pmStressTotal}점, 심한수준),
|
|
|
+ <spring:message code="history.injury.stressSymptoms" />
|
|
|
+ <br/>(${mentalData.pmStressTotal}<spring:message code="history.score" />, <spring:message code="history.result.severe" />),
|
|
|
</c:when>
|
|
|
</c:choose>
|
|
|
|
|
@@ -315,29 +331,33 @@
|
|
|
|
|
|
<c:choose>
|
|
|
<c:when test="${mentalData.pmDepressedTotal <= 4}">
|
|
|
- 우울<br/>(${mentalData.pmDepressedTotal}점, 정상),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.pmDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.normal" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmDepressedTotal >= 5 and mentalData.pmDepressedTotal <= 9}">
|
|
|
- 우울<br/>(${mentalData.pmDepressedTotal}점, 경미한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.pmDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.light" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmDepressedTotal >= 10 and mentalData.pmDepressedTotal <= 14}">
|
|
|
- 우울<br/>(${mentalData.pmDepressedTotal}점, 중간 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.pmDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.middle" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmDepressedTotal >= 15 and mentalData.pmDepressedTotal <= 19}">
|
|
|
- 우울<br/>(${mentalData.pmDepressedTotal}점, 약간 심한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.pmDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.slightlySevere" />),
|
|
|
</c:when>
|
|
|
<c:when test="${mentalData.pmDepressedTotal >= 20 and mentalData.pmDepressedTotal <= 27}">
|
|
|
- 우울<br/>(${mentalData.pmDepressedTotal}점, 심한 수준),
|
|
|
+ <spring:message code="history.depressed" />
|
|
|
+ <br/>(${mentalData.pmDepressedTotal}<spring:message code="history.score" />, <spring:message code="history.result.severe" />),
|
|
|
</c:when>
|
|
|
</c:choose>
|
|
|
|
|
|
<br/><br/>
|
|
|
|
|
|
- 우울 9번 문항<br/>(${mentalData.pmDepressedNine}점),
|
|
|
+ <spring:message code="history.depressed" /> 9<spring:message code="history.number" /> <spring:message code="history.question" /><br/>(${mentalData.pmDepressedNine}<spring:message code="history.score" />),
|
|
|
|
|
|
<br/><br/>
|
|
|
-
|
|
|
- 주관적 심리적 고통정도<br/>(${mentalData.pmVasTotal}점)
|
|
|
+ <spring:message code="history.vas" /><br/>(${mentalData.pmVasTotal}<spring:message code="history.number" />)
|
|
|
</div>
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
@@ -351,7 +371,7 @@
|
|
|
<div class="btn_group">
|
|
|
<ul>
|
|
|
<li>
|
|
|
- <a href="./menu" class="confirm"><span class="check">확인</span></a>
|
|
|
+ <a href="./menu" class="confirm"><span class="check"><spring:message code="history.confirm" /></span></a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|