edit.jsp 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  2. <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  4. <%@ taglib uri = "http://java.sun.com/jsp/jstl/functions" prefix = "fn" %>
  5. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  6. <jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
  7. <script type="text/javascript">
  8. function patientNewInit() {
  9. if( $( "#basalN" ).is( ":checked" ) ) {
  10. $( "td.basalDisease input" ).prop( "disabled", true );
  11. }
  12. $( "label.label-readonly-check" ).each( function( i, v ){
  13. var $this = $(v);
  14. var checkbox = $this.find( "input[type='checkbox']" );
  15. var textbox = $this.find( "input[type='text']" );
  16. if( !checkbox.is(":checked") ){
  17. textbox.prop( "readonly", true );
  18. }
  19. });
  20. };
  21. function setEventHandler(){
  22. //체크yes시 content입력 처리
  23. $( "label.label-readonly-check input[type='checkbox']" ).on( "click", function(){
  24. var $this = $( this );
  25. $this.closest( "label" ).find( "input[type='text']" ).prop( "readonly", $this.is( ":checked" ) === false );
  26. if( $this.is( ":checked" ) === false ) {
  27. $this.closest( "label" ).find( "input[type='text']" ).val( "" );
  28. } else {
  29. $this.closest( "label" ).find( "input[type='text']" ).focus();
  30. };
  31. });
  32. //기저질환유무 처리
  33. $( "input[name='basalDiseaseYn']" ).on( "click", function(){
  34. var $this = $( this );
  35. if( $this.val() == "Y" ){
  36. patientNewInit();
  37. $( ".basalDisease input" ).prop( "disabled", false );
  38. } else {
  39. $( "td.basalDisease input" ).prop( "disabled", true );
  40. $( "td.basalDisease input[type='checkbox']" ).prop( "checked", false );
  41. $( "td.basalDisease input[type='text']" ).val( "" );
  42. }
  43. });
  44. $( "input[name='pregnancyStatus']" ).on( "click", function(){
  45. var $this = $( this );
  46. console.log("!@#!@# -- > " + $this.val());
  47. if ($this.val() == "Y") {
  48. $("#pregnancyWeek").prop("disabled", false);
  49. } else {
  50. $("#pregnancyWeek").prop("disabled", true);
  51. $("#pregnancyWeek").val("");
  52. }
  53. });
  54. //입소일시
  55. $( ".hospitalizationDate" ).on( "change", function(){
  56. var ymd = $( "#hospitalizationDateYmd" ).val();
  57. var hour = $( "#hospitalizationDateHour" ).val();
  58. var min = $( "#hospitalizationDateMin" ).val();
  59. hour = Number(hour) < 10 ? "0" + hour : hour;
  60. min = Number(min) < 10 ? "0" + min : min;
  61. $( "#hospitalizationDate" ).val( ymd + " " + hour + ":" + min + ":00" );
  62. });
  63. //생년월일
  64. $( ".select-date" ).on( "change", function(){
  65. var $this = $( this );
  66. var wrap = $this.closest( "div.date" );
  67. var dateYear = wrap.find( ".date-year" ).val();
  68. var dateMonth = wrap.find( ".date-month" ).val();
  69. var dateDay = wrap.find( ".date-day" ).val();
  70. dateMonth = Number(dateMonth) < 10 ? "0" + dateMonth : dateMonth;
  71. dateDay = Number(dateDay) < 10 ? "0" + dateDay : dateDay;
  72. wrap.find( "input.error-box" ).val( dateYear + "-" + dateMonth + "-" + dateDay );
  73. });
  74. }
  75. $( function(){
  76. patientNewInit();
  77. setEventHandler();
  78. $( ".hospitalizationDate" ).trigger( "change" );
  79. $( ".select-date" ).trigger( "change" );
  80. $( "input.date" ).daterangepicker({
  81. singleDatePicker : true,
  82. showDropdowns : true,
  83. locale : {
  84. format : "YYYY-MM-DD"
  85. }
  86. });
  87. $( "#patientForm" ).validate({
  88. rules: {
  89. hospitalizationDate : {
  90. dateTime : true
  91. },
  92. patientPhone : {
  93. phoneValid : true
  94. },
  95. guardianPhone : {
  96. phoneValid : true
  97. },
  98. jumin : {
  99. date : true
  100. }
  101. },
  102. messages : {
  103. // jumin : "생년월일을 모두 선택해주세요",
  104. gender: "성별을 선택해주세요",
  105. wardNumber : "동을 입력해주세요",
  106. roomNumber : "호실을 입력해주세요",
  107. hospitalizationDate : {
  108. dateTime:"입소일시를 선택해주세요"
  109. }
  110. },
  111. onkeyup: function( element, event ) {
  112. $( element ).valid();
  113. },
  114. onfocusout: function (element) {
  115. $( element ).val( $.trim( $( element ).val() ) );
  116. $( element ).valid();
  117. },
  118. errorPlacement: function(error, element) {
  119. if (element.attr("type") == "radio") {
  120. error.insertBefore(element);
  121. } else {
  122. error.insertAfter(element);
  123. }
  124. },
  125. submitHandler: function(form) {
  126. form.submit();
  127. }
  128. });
  129. });
  130. </script>
  131. </head>
  132. <body>
  133. <div class="wrapper">
  134. <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
  135. <div class="main">
  136. <jsp:include page="${data._INCLUDE}/top.jsp"></jsp:include>
  137. <main class="content">
  138. <div class="container-fluid p-0">
  139. <!-- 환자관리 : 신규환자 등록 START -->
  140. <div class="row">
  141. <div class="col-12 col-lg-6">
  142. <h1 class="h3 mb-3">환자정보 수정</h1>
  143. </div>
  144. <div class="col-12 col-lg-6 text-right">
  145. <nav aria-label="breadcrumb">
  146. <ol class="breadcrumb">
  147. <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
  148. <li class="breadcrumb-item">환자관리</li>
  149. <li class="breadcrumb-item active">환자정보 수정</li>
  150. </ol>
  151. </nav>
  152. </div>
  153. </div>
  154. <div class="row">
  155. <div class="col-12">
  156. <div class="card">
  157. <div class="card-body">
  158. <c:if test="${centerCount eq 0}">
  159. <table class="table mobile-table">
  160. <tr>
  161. <th>치료센터</th>
  162. <td class="text-danger">등록된 생활치료센터가 없습니다. <br/>생활치료센터 신규 등록을 해주세요. </td>
  163. </tr>
  164. </table>
  165. </c:if>
  166. <c:if test="${centerCount > 0}">
  167. <c:set var="now" value="<%=new java.util.Date()%>" />
  168. <c:set var="action" value="/patient/edit/update" />
  169. <form id="patientForm" action="${action}" method="post">
  170. <input type="hidden" value="${patientIdx}" name="patientIdx">
  171. <table class="table mobile-table">
  172. <colgroup>
  173. <col style="width:15%">
  174. <col style="width:35%">
  175. <col style="width:15%">
  176. <col style="width:35%">
  177. </colgroup>
  178. <tr>
  179. <th>치료센터</th>
  180. <td><c:out value="${centerName}"/></td>
  181. <th><span class="fix">*</span>입소일시</th>
  182. <td colspan="2">
  183. <div class="form-row">
  184. <!-- 입소일시 -->
  185. <fmt:parseDate var="hospitalizationDate" value="${patientData.hospitalizationDate}" pattern="yyyy-MM-dd HH:mm" />
  186. <c:set var="sysYmd"><fmt:formatDate value="${hospitalizationDate}" pattern="yyyy-MM-dd" /></c:set>
  187. <c:set var="sysHour"><fmt:formatDate value="${hospitalizationDate}" pattern="h" /></c:set>
  188. <c:set var="sysMin"><fmt:formatDate value="${hospitalizationDate}" pattern="m" /></c:set>
  189. <div class="col-6 calendar-bar">
  190. <input class="form-control date hospitalizationDate" type="text" value="${sysYmd}" id="hospitalizationDateYmd">
  191. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  192. </div>
  193. <div class="col-3">
  194. <select class="custom-select hospitalizationDate" id="hospitalizationDateHour">
  195. <option value="" selected="">시</option>
  196. <c:forEach var="h" begin="1" end="24" step="1">
  197. <option value="${h}" <c:if test="${sysHour eq h}">selected="selected"</c:if>>${h} 시</option>
  198. </c:forEach>
  199. </select>
  200. </div>
  201. <div class="col-3">
  202. <select class="custom-select hospitalizationDate" id="hospitalizationDateMin">
  203. <option value="" selected="">분</option>
  204. <c:forEach var="i" begin="0" end="59" step="1">
  205. <option value="${i}" <c:if test="${sysMin eq i}">selected="selected"</c:if>>${i} 분</option>
  206. </c:forEach>
  207. </select>
  208. </div>
  209. <input type="text" id="hospitalizationDate" name="hospitalizationDate" class="error-box" required>
  210. </div>
  211. </td>
  212. </tr>
  213. <tr>
  214. <th><span class="fix">*</span>병동 번호</th>
  215. <td>
  216. <div class="form-check-inline">
  217. <!-- 병동 번호 (동 /호실) -->
  218. <input type="text" value="${patientData.wardNumber}" class="form-control" name="wardNumber" required> <span>동</span>
  219. <input type="text" value="${patientData.roomNumber}" class="form-control" name="roomNumber" required> <span>호</span>
  220. </div>
  221. </td>
  222. <th><span class="fix">*</span>이름</th>
  223. <td>
  224. <!-- 환자 이름 -->
  225. <input type="text" name="patientName" class="form-control" value="${patientData.patientName}" placeholder="이름을 입력해주세요" required>
  226. </td>
  227. </tr>
  228. <tr>
  229. <th><span class="fix">*</span>성별</th>
  230. <td>
  231. <!-- 성별 -->
  232. <label class="form-check form-check-inline">
  233. <input class="form-check-input" type="radio" name="gender" value="M" required <c:if test="${patientData.gender eq 'M'}">checked="checked"</c:if>>
  234. <span class="form-check-label">남</span>
  235. </label>
  236. <label class="form-check form-check-inline">
  237. <input class="form-check-input" type="radio" name="gender" value="F" required <c:if test="${patientData.gender eq 'F'}">checked="checked"</c:if>>
  238. <span class="form-check-label">여</span>
  239. </label>
  240. </td>
  241. <th><span class="fix">*</span>생년월일</th>
  242. <td>
  243. <!-- 생년월일 -->
  244. <div class="form-row date">
  245. <div class="col-4">
  246. <c:set var="sysYear"><fmt:formatDate value="${now}" pattern="yyyy" /></c:set>
  247. <c:set var="juminYear" value="${fn:substring(patientData.jumin, 0, 4)}" />
  248. <c:set var="juminMonth" value="${fn:substring(patientData.jumin, 4, 6)}" /><fmt:parseNumber var="juminMonth" type="number" value="${juminMonth}" />
  249. <c:set var="juminDay" value="${fn:substring(patientData.jumin, 6, 8)}" /><fmt:parseNumber var="juminDay" type="number" value="${juminDay}" />
  250. <select class="custom-select select-date date-year">
  251. <option value="" selected="">년</option>
  252. <c:forEach var="y" begin="1940" end="${sysYear}" step="1">
  253. <option value="${y}" <c:if test="${juminYear eq y}">selected="selected"</c:if>>${y} 년</option>
  254. </c:forEach>
  255. </select>
  256. </div>
  257. <div class="col-4">
  258. <select class="custom-select select-date date-month">
  259. <option value="" selected="">월</option>
  260. <c:forEach var="m" begin="1" end="12" step="1">
  261. <option value="${m}" <c:if test="${juminMonth eq m}">selected="selected"</c:if>>${m} 월</option>
  262. </c:forEach>
  263. </select>
  264. </div>
  265. <div class="col-4">
  266. <select class="custom-select select-date date-day">
  267. <option value="" selected="">일</option>
  268. <c:forEach var="d" begin="1" end="31" step="1">
  269. <option value="${d}" <c:if test="${juminDay eq d}">selected="selected"</c:if>>${d} 일</option>
  270. </c:forEach>
  271. </select>
  272. </div>
  273. <input type="text" class="error-box" id="jumin" name="jumin" required>
  274. </div>
  275. </td>
  276. </tr>
  277. <tr>
  278. <th><span class="fix">*</span>연락처</th>
  279. <td>
  280. <input type="text" name="patientPhone" value="${patientData.patientPhone}" class="form-control" placeholder="연락처를 입력해주세요" required>
  281. </td>
  282. <th>보호자 연락처</th>
  283. <td>
  284. <input type="text" name="guardianPhone" value="${patientData.guardianPhone}" class="form-control" placeholder="보호자 연락처를 입력해주세요">
  285. </td>
  286. </tr>
  287. <tr>
  288. <th><span class="fix">*</span>증상시작일</th>
  289. <td>
  290. <div class="form-group calendar-bar mb-xl-0">
  291. <input class="form-control date" type="text" value="${patientData.symptomStartDate}" name="symptomStartDate">
  292. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  293. </div>
  294. </td>
  295. <th><span class="fix">*</span>확진일</th>
  296. <td>
  297. <div class="form-group calendar-bar mb-xl-0">
  298. <input class="form-control date" type="text" value="${patientData.confirmationDate}" name="confirmationDate">
  299. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  300. </div>
  301. </td>
  302. </tr>
  303. <tr>
  304. <th>격리해제 예정일</th>
  305. <td>
  306. <div class="form-group calendar-bar mb-xl-0">
  307. <input class="form-control date" type="text" value="${patientData.disisolationDate}" name="disisolationDate">
  308. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  309. </div>
  310. </td>
  311. <th>상태</th>
  312. <td>
  313. <select class="custom-select" name="state">
  314. <option value="H" <c:if test="${patientData.state eq 'H'}">selected="selected"</c:if>>입소</option>
  315. <option value="D" <c:if test="${patientData.state eq 'D'}">selected="selected"</c:if>>퇴소</option>
  316. <option value="T" <c:if test="${patientData.state eq 'T'}">selected="selected"</c:if>>지정병원 이송</option>
  317. <option value="E" <c:if test="${patientData.state eq 'E'}">selected="selected"</c:if>>기타</option>
  318. </select>
  319. </td>
  320. </tr>
  321. <tr>
  322. <th>최근약복용<br />(최근 24시간 이내)</th>
  323. <td>
  324. <label class="form-check form-check-inline">
  325. <input class="form-check-input" type="radio" value="N" name="drugYn" <c:if test="${patientData.drugYn eq 'N'}">checked="checked"</c:if> onclick="$('#drugContent').attr('readonly', true).val('');">
  326. <span class="form-check-label">미복용</span>
  327. </label>
  328. <label class="form-check form-check-inline">
  329. <input class="form-check-input" type="radio" value="Y" name="drugYn" <c:if test="${patientData.drugYn eq 'Y'}">checked="checked"</c:if> onclick="$('#drugContent').removeAttr('readonly');">
  330. <span class="form-check-label">복용</span>
  331. </label>
  332. <label class="form-check form-check-inline">
  333. <input type="text" id="drugContent" class="form-control" name="drugContent" placeholder="약명을 입력하세요." value="${patientData.drugContent}" <c:if test="${patientData.drugYn eq 'N'}">readonly</c:if>>
  334. </label>
  335. </td>
  336. <th>임신</th>
  337. <td>
  338. <label class="form-check form-check-inline">
  339. <input class="form-check-input" type="radio" name="pregnancyStatus" value="N" <c:if test="${patientData.pregnancyStatus eq 'N'}">checked="checked"</c:if>>
  340. <span class="form-check-label">무</span>
  341. </label>
  342. <label class="form-check form-check-inline">
  343. <input class="form-check-input" type="radio" name="pregnancyStatus" value="Y" <c:if test="${patientData.pregnancyStatus eq 'Y'}">checked="checked"</c:if>>
  344. <span class="form-check-label">유</span>
  345. </label>
  346. <label class="form-check form-check-inline">
  347. <select class="custom-select" name="pregnancyWeek" id="pregnancyWeek" disabled>
  348. <option value="" selected="">임신 주차</option>
  349. <c:forEach var="p" begin="1" end="40" step="1">
  350. <option value="${p}" <c:if test="${patientData.pregnancyWeek eq p}">selected="selected"</c:if>>${p} 주</option>
  351. </c:forEach>
  352. </select>
  353. </label>
  354. </td>
  355. </tr>
  356. <tr>
  357. <th rowspan="4">기저질환 여부</th>
  358. <td colspan="3">
  359. <label class="form-check form-check-inline">
  360. <input class="form-check-input" type="radio" id="basalY" name="basalDiseaseYn" value="Y" <c:if test="${patientData.basalDiseaseYn eq 'Y'}">checked="checked"</c:if> required>
  361. <span class="form-check-label">예</span>
  362. </label>
  363. <label class="form-check form-check-inline">
  364. <input class="form-check-input" type="radio" id="basalN" name="basalDiseaseYn" value="N" <c:if test="${patientData.basalDiseaseYn eq 'N'}">checked="checked"</c:if> required>
  365. <span class="form-check-label">아니오</span>
  366. </label>
  367. (예인 경우 하단의 기저질환을 선택하세요)
  368. </td>
  369. </tr>
  370. <tr>
  371. <td colspan="3" class="basalDisease">
  372. <label class="form-check form-check-inline">
  373. <input class="form-check-input" name="highBloodPressureCheck" type="checkbox" value="Y" <c:if test="${patientData.highBloodPressureCheck eq 'Y'}">checked="checked"</c:if>>
  374. <span class="form-check-label">고혈압</span>
  375. </label>
  376. <label class="form-check form-check-inline">
  377. <input class="form-check-input" name="lowBloodPressureCheck" type="checkbox" value="Y" <c:if test="${patientData.lowBloodPressureCheck eq 'Y'}">checked="checked"</c:if>>
  378. <span class="form-check-label">저혈압</span>
  379. </label>
  380. <label class="form-check form-check-inline">
  381. <input class="form-check-input" name="organTransplantCheck" type="checkbox" value="Y" <c:if test="${patientData.organTransplantCheck eq 'Y'}">checked="checked"</c:if>>
  382. <span class="form-check-label">장기이식(신장, 간 등)</span>
  383. </label>
  384. <label class="form-check form-check-inline">
  385. <input class="form-check-input" name="diabetesCheck" type="checkbox" value="Y" <c:if test="${patientData.diabetesCheck eq 'Y'}">checked="checked"</c:if>>
  386. <span class="form-check-label">당뇨병</span>
  387. </label>
  388. <label class="form-check form-check-inline">
  389. <input class="form-check-input" name="respiratoryDiseaseCheck" type="checkbox" value="Y" <c:if test="${patientData.respiratoryDiseaseCheck eq 'Y'}">checked="checked"</c:if>>
  390. <span class="form-check-label">호흡기 질환</span>
  391. </label>
  392. <label class="form-check form-check-inline">
  393. <input class="form-check-input" name="immunologicalDiseaseCheck" type="checkbox" value="Y" <c:if test="${patientData.immunologicalDiseaseCheck eq 'Y'}">checked="checked"</c:if>>
  394. <span class="form-check-label">면역질환(류마티스 등)</span>
  395. </label>
  396. </td>
  397. </tr>
  398. <tr>
  399. <td colspan="3" class="basalDisease">
  400. <label class="form-check form-check-inline">
  401. <input class="form-check-input" name="heartDisease" type="checkbox" value="Y" <c:if test="${patientData.heartDisease eq 'Y'}">checked="checked"</c:if>>
  402. <span class="form-check-label">심장질환</span>
  403. </label>
  404. <label class="form-check form-check-inline">
  405. <input class="form-check-input" name="liverDisease" type="checkbox" value="Y" <c:if test="${patientData.liverDisease eq 'Y'}">checked="checked"</c:if>>
  406. <span class="form-check-label">간질환</span>
  407. </label>
  408. <label class="form-check form-check-inline label-readonly-check">
  409. <input class="form-check-input" name="operation" type="checkbox" value="Y" <c:if test="${patientData.operation eq 'Y'}">checked="checked"</c:if>>${patientData.operationContent}
  410. <%-- ( <input type="text" id="operationContent" value="${patientData.operationContent}" name="operationContent" class="form-control form-control-sm w150" <c:if test="${patientData.operation eq 'N'}">readonly</c:if>> ) --%>
  411. <span class="form-check-label">수술</span>
  412. </label>
  413. <label class="form-check form-check-inline">
  414. <input class="form-check-input" name="allergyCheck" type="checkbox" value="Y" <c:if test="${patientData.allergyCheck eq 'Y'}">checked="checked"</c:if>>
  415. <span class="form-check-label">알레르기</span>
  416. </label>
  417. <label class="form-check form-check-inline">
  418. <input class="form-check-input" name="kidneyDisease" type="checkbox" value="Y" <c:if test="${patientData.kidneyDisease eq 'Y'}">checked="checked"</c:if>>
  419. <span class="form-check-label">신장질환</span>
  420. </label>
  421. </td>
  422. </tr>
  423. <tr>
  424. <td colspan="3" class="basalDisease">
  425. <label class="form-check form-check-inline label-readonly-check">
  426. <input class="form-check-input" name="cancerCheck" type="checkbox" value="Y" <c:if test="${patientData.cancerCheck eq 'Y'}">checked="checked"</c:if>>
  427. <span class="form-check-label">암 ( <input type="text" name="cancerName" value="${patientData.cancerName}" class="form-control form-control-sm w150"> )</span>
  428. </label>
  429. <label class="form-check form-check-inline label-readonly-check">
  430. <input class="form-check-input" name="etcCheckDisease" type="checkbox" value="Y" <c:if test="${patientData.etcCheckDisease eq 'Y'}">checked="checked"</c:if>>
  431. <span class="form-check-label">기타 ( <input type="text" name="etcContentDisease" value="${patientData.etcContentDisease}" class="form-control form-control-sm w150"> )</span>
  432. </label>
  433. </td>
  434. </tr>
  435. <!-- 현재 증상 (입소 당시) -->
  436. <tr>
  437. <th rowspan="3">현재 증상<br />(입소 당시)</th>
  438. <td colspan="3">
  439. <label class="form-check form-check-inline">
  440. <input class="form-check-input" name="feverCheck" type="checkbox" value="Y" <c:if test="${patientData.feverCheck eq 'Y'}">checked="checked"</c:if>>
  441. <span class="form-check-label">열감(열나는 느낌)</span>
  442. </label>
  443. <label class="form-check form-check-inline">
  444. <input class="form-check-input" name="coughCheck" type="checkbox" value="Y" <c:if test="${patientData.coughCheck eq 'Y'}">checked="checked"</c:if>>
  445. <span class="form-check-label">기침</span>
  446. </label>
  447. <label class="form-check form-check-inline">
  448. <input class="form-check-input" name="colic" type="checkbox" value="Y" <c:if test="${patientData.colic eq 'Y'}">checked="checked"</c:if>>
  449. <span class="form-check-label">복통(배아픔)</span>
  450. </label>
  451. <label class="form-check form-check-inline">
  452. <input class="form-check-input" name="coldFitCheck" type="checkbox" value="Y" <c:if test="${patientData.coldFitCheck eq 'Y'}">checked="checked"</c:if>>
  453. <span class="form-check-label">오한(추운 느낌)</span>
  454. </label>
  455. <label class="form-check form-check-inline">
  456. <input class="form-check-input" name="sputumCheck" type="checkbox" value="Y" <c:if test="${patientData.sputumCheck eq 'Y'}">checked="checked"</c:if>>
  457. <span class="form-check-label">가래</span>
  458. </label>
  459. <label class="form-check form-check-inline">
  460. <input class="form-check-input" name="ocinCheck" type="checkbox" value="Y" <c:if test="${patientData.ocinCheck eq 'Y'}">checked="checked"</c:if>>
  461. <span class="form-check-label">오심(구역질)</span>
  462. </label>
  463. <label class="form-check form-check-inline">
  464. <input class="form-check-input" name="chestPain" type="checkbox" value="Y" <c:if test="${patientData.chestPain eq 'Y'}">checked="checked"</c:if>>
  465. <span class="form-check-label">흉통(가슴 통증)</span>
  466. </label>
  467. </td>
  468. </tr>
  469. <tr>
  470. <td colspan="3">
  471. <label class="form-check form-check-inline">
  472. <input class="form-check-input" name="noseCheck" type="checkbox" value="Y" <c:if test="${patientData.noseCheck eq 'Y'}">checked="checked"</c:if>>
  473. <span class="form-check-label">콧물 또는 코 막힘</span>
  474. </label>
  475. <label class="form-check form-check-inline">
  476. <input class="form-check-input" name="vomitingCheck" type="checkbox" value="Y" <c:if test="${patientData.vomitingCheck eq 'Y'}">checked="checked"</c:if>>
  477. <span class="form-check-label">구토</span>
  478. </label>
  479. <label class="form-check form-check-inline">
  480. <input class="form-check-input" name="musclePainCheck" type="checkbox" value="Y" <c:if test="${patientData.musclePainCheck eq 'Y'}">checked="checked"</c:if>>
  481. <span class="form-check-label">근육통(몸살)</span>
  482. </label>
  483. <label class="form-check form-check-inline">
  484. <input class="form-check-input" name="soreThroatCheck" type="checkbox" value="Y" <c:if test="${patientData.soreThroatCheck eq 'Y'}">checked="checked"</c:if>>
  485. <span class="form-check-label">인후통(목 아픔)</span>
  486. </label>
  487. <label class="form-check form-check-inline">
  488. <input class="form-check-input" name="diarrheaCheck" type="checkbox" value="Y" <c:if test="${patientData.diarrheaCheck eq 'Y'}">checked="checked"</c:if>>
  489. <span class="form-check-label">설사</span>
  490. </label>
  491. <label class="form-check form-check-inline">
  492. <input class="form-check-input" name="headacheCheck" type="checkbox" value="Y" <c:if test="${patientData.headacheCheck eq 'Y'}">checked="checked"</c:if>>
  493. <span class="form-check-label">두통(머리아픔)</span>
  494. </label>
  495. <label class="form-check form-check-inline">
  496. <input class="form-check-input" name="dyspneaCheck" type="checkbox" value="Y" <c:if test="${patientData.dyspneaCheck eq 'Y'}">checked="checked"</c:if>>
  497. <span class="form-check-label">호흡곤란(숨가쁨)</span>
  498. </label>
  499. <label class="form-check form-check-inline">
  500. <input class="form-check-input" name="fatigueCheck" type="checkbox" value="Y" <c:if test="${patientData.fatigueCheck eq 'Y'}">checked="checked"</c:if>>
  501. <span class="form-check-label">권태감(피곤함)</span>
  502. </label>
  503. </td>
  504. </tr>
  505. <tr>
  506. <td colspan="3">
  507. <label class="form-check form-check-inline label-readonly-check">
  508. <input class="form-check-input" name="etcCheckSymptom" type="checkbox" value="Y" <c:if test="${patientData.etcCheckSymptom eq 'Y'}">checked="checked"</c:if>>
  509. <span class="form-check-label">기타 ( <input type="text" name="etcContentSymptom" class="form-control form-control-sm w150" value="${patientData.etcContentSymptom}" <c:if test="${patientData.etcCheckDisease eq 'N'}">readonly</c:if>> )</span>
  510. </label>
  511. </td>
  512. </tr>
  513. <tr>
  514. <th>체온</th>
  515. <td>우측 (<input type="text" class="form-control form-control-sm w50" name="feverRight" value="${patientData.feverRight}">)℃ / 좌측 (<input type="text" value="${patientData.feverLeft}" class="form-control form-control-sm w50" name="feverLeft">)℃</td>
  516. <th>맥박수</th>
  517. <td>
  518. (<input type="text" class="form-control form-control-sm w50" name="pulseRate" value="${patientData.pulseRate}">) 회/분
  519. </td>
  520. </tr>
  521. <tr>
  522. <th>호흡수</th>
  523. <td>
  524. (<input type="text" class="form-control form-control-sm w50" name="respirationRate" value="${patientData.respirationRate}">) 회/분
  525. </td>
  526. <th>혈압</th>
  527. <td>수축기 (
  528. <input type="text" class="form-control form-control-sm w50" name="bloodPressureLevelCon" value="${patientData.bloodPressureLevelCon}">)mmHg
  529. / 이완기 (
  530. <input type="text" class="form-control form-control-sm w50" name="bloodPressureLevelRel" value="${patientData.bloodPressureLevelRel}">)mmHg
  531. </td>
  532. </tr>
  533. <tr>
  534. <th>산소포화도</th>
  535. <td colspan="3">
  536. (<input type="text" class="form-control form-control-sm w50" name="oxygenSaturation" value="${patientData.oxygenSaturation}">) %
  537. </td>
  538. </tr>
  539. </table>
  540. <div class="row mt-3">
  541. <div class="col-12">
  542. <div class="text-right">
  543. <button type="button" class="btn btn-outline-primary w100" onclick="history.back();">취소</button>
  544. <button type="submit" class="btn btn-primary w100">수정</button>
  545. </div>
  546. </div>
  547. </div>
  548. </form>
  549. </c:if>
  550. </div>
  551. </div>
  552. </div>
  553. </div>
  554. <!-- 환자관리 : 신규환자 등록 END -->
  555. </div>
  556. </main>
  557. <jsp:include page="${data._INCLUDE}/footer.jsp"></jsp:include>
  558. </div>
  559. </div>
  560. </body>
  561. </html>