edit.jsp 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  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. if ($this.val() == "Y") {
  47. $("#pregnancyWeek").prop("disabled", false);
  48. } else {
  49. $("#pregnancyWeek").prop("disabled", true);
  50. $("#pregnancyWeek").val("");
  51. }
  52. });
  53. //입소일시
  54. $( ".hospitalizationDate" ).on( "change", function(){
  55. var ymd = $( "#hospitalizationDateYmd" ).val();
  56. var hour = $( "#hospitalizationDateHour" ).val();
  57. var min = $( "#hospitalizationDateMin" ).val();
  58. hour = Number(hour) < 10 ? "0" + hour : hour;
  59. min = Number(min) < 10 ? "0" + min : min;
  60. $( "#hospitalizationDate" ).val( ymd + " " + hour + ":" + min + ":00" );
  61. });
  62. //성별 남선택시 임신유무 고정
  63. $( "input[name='gender']" ).on( "click", function(){
  64. var gender = $( this ).val();
  65. console.log( gender );
  66. if( gender == "M" ) {
  67. $( "input[name='pregnancyStatus']:input[value='N']" ).prop( "checked", true );
  68. $( "input[name='pregnancyStatus']:input[value='Y']" ).prop( "disabled", true );
  69. $( "#pregnancyWeek" ).val( "" ).prop( "disabled", true );
  70. } else {
  71. $( "input[name='pregnancyStatus']:input[value='N']" ).prop( "checked", false );
  72. $( "input[name='pregnancyStatus']:input[value='Y']" ).prop( "disabled", false );
  73. }
  74. });
  75. //생년월일
  76. $( ".select-date" ).on( "change", function(){
  77. var $this = $( this );
  78. var wrap = $this.closest( "div.date" );
  79. var dateYear = wrap.find( ".date-year" ).val();
  80. var dateMonth = wrap.find( ".date-month" ).val();
  81. var dateDay = wrap.find( ".date-day" ).val();
  82. dateMonth = Number(dateMonth) < 10 ? "0" + dateMonth : dateMonth;
  83. dateDay = Number(dateDay) < 10 ? "0" + dateDay : dateDay;
  84. wrap.find( "input.error-box" ).val( dateYear + "-" + dateMonth + "-" + dateDay );
  85. });
  86. $( "input.date" ).daterangepicker({
  87. singleDatePicker : true,
  88. showDropdowns : true,
  89. locale : {
  90. format : "YYYY-MM-DD"
  91. }
  92. });
  93. $( "input.date-no-req" ).daterangepicker({
  94. singleDatePicker : true,
  95. showDropdowns : true,
  96. locale : {
  97. format : "YYYY-MM-DD"
  98. },
  99. autoUpdateInput: false
  100. });
  101. $('input.date-no-req').on('apply.daterangepicker', function(ev, picker) {
  102. $(this).val(picker.startDate.format('YYYY-MM-DD'));
  103. });
  104. $( "#state" ).on( "change", function(){
  105. stateCheck();
  106. });
  107. }
  108. function stateCheck(){
  109. if( $( "#state" ).val() == "H" ){
  110. $( "input[name='disisolationDate']" ).prop( "disabled", true ).val( "" );
  111. $( "#state-label").text( "" );
  112. } else {
  113. $( "input[name='disisolationDate']" ).prop( "disabled", false ).val( getNowYmd() );
  114. $( "#state-label").text( "(" + $( "#state option:checked" ).text() + ")" );
  115. }
  116. }
  117. $( function(){
  118. patientNewInit();
  119. setEventHandler();
  120. stateCheck();
  121. $( ".hospitalizationDate" ).trigger( "change" );
  122. $( ".select-date" ).trigger( "change" );
  123. $( "#patientForm" ).validate({
  124. rules: {
  125. hospitalizationDate : {
  126. date : true
  127. },
  128. patientPhone : {
  129. phoneValid : true
  130. },
  131. guardianPhone : {
  132. phoneValid : true
  133. },
  134. jumin : {
  135. date : true
  136. },
  137. symptomStartDate : {
  138. date : true
  139. },
  140. disisolationDate : {
  141. date : true
  142. }
  143. },
  144. messages : {
  145. // jumin : "생년월일을 모두 선택해주세요",
  146. gender: "성별을 선택해주세요",
  147. // wardNumber : "동을 입력해주세요",
  148. roomNumber : "호실을 입력해주세요",
  149. hospitalizationDate : "입소일시를 선택해주세요"
  150. },
  151. onkeyup: function( element, event ) {
  152. $( element ).valid();
  153. },
  154. onfocusout: function (element) {
  155. $( element ).val( $.trim( $( element ).val() ) );
  156. $( element ).valid();
  157. },
  158. errorPlacement: function(error, element) {
  159. if (element.attr("type") == "radio") {
  160. error.insertBefore(element);
  161. } else {
  162. error.insertAfter(element);
  163. }
  164. },
  165. submitHandler: function(form) {
  166. form.submit();
  167. }
  168. });
  169. });
  170. </script>
  171. </head>
  172. <body>
  173. <div class="wrapper">
  174. <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
  175. <div class="main">
  176. <jsp:include page="${data._INCLUDE}/top.jsp"></jsp:include>
  177. <main class="content">
  178. <div class="container-fluid p-0">
  179. <!-- 환자관리 : 신규환자 등록 START -->
  180. <div class="row">
  181. <div class="col-12 col-lg-6">
  182. <h1 class="h3 mb-3">환자정보 수정</h1>
  183. </div>
  184. <div class="col-12 col-lg-6 text-right">
  185. <nav aria-label="breadcrumb">
  186. <ol class="breadcrumb">
  187. <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
  188. <li class="breadcrumb-item">환자관리</li>
  189. <li class="breadcrumb-item active">환자정보 수정</li>
  190. </ol>
  191. </nav>
  192. </div>
  193. </div>
  194. <div class="row">
  195. <div class="col-12">
  196. <div class="card">
  197. <div class="card-body">
  198. <c:if test="${centerCount eq 0}">
  199. <table class="table mobile-table">
  200. <tr>
  201. <th>치료센터</th>
  202. <td class="text-danger">등록된 생활치료센터가 없습니다. <br/>생활치료센터 신규 등록을 해주세요. </td>
  203. </tr>
  204. </table>
  205. </c:if>
  206. <c:if test="${centerCount > 0}">
  207. <c:set var="now" value="<%=new java.util.Date()%>" />
  208. <c:set var="action" value="/patient/edit/update" />
  209. <form id="patientForm" action="${action}" method="post" onsubmit="return false">
  210. <input type="hidden" value="${patientIdx}" name="patientIdx">
  211. <table class="table mobile-table">
  212. <colgroup>
  213. <col style="width:15%">
  214. <col style="width:35%">
  215. <col style="width:15%">
  216. <col style="width:35%">
  217. </colgroup>
  218. <tr>
  219. <th>치료센터</th>
  220. <td><c:out value="${centerName}"/></td>
  221. <th><span class="fix">*</span>입소일시</th>
  222. <td colspan="2">
  223. <fmt:parseDate var="hospitalizationDate" value="${patientData.hospitalizationDate}" pattern="yyyy-MM-dd HH:mm" />
  224. <c:set var="sysYmd"><fmt:formatDate value="${hospitalizationDate}" pattern="yyyy-MM-dd" /></c:set>
  225. <!-- 입소일시 -->
  226. <div class="form-group calendar-bar mb-xl-0">
  227. <input class="form-control date hospitalizationDate" type="text" value="${sysYmd}" name="hospitalizationDate" id="hospitalizationDateYmd">
  228. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  229. </div>
  230. </td>
  231. </tr>
  232. <tr>
  233. <th><span class="fix">*</span>병동 번호</th>
  234. <td>
  235. <div class="form-check-inline">
  236. <!-- 병동 번호 (동 /호실) -->
  237. <input type="text" value="${patientData.wardNumber}" class="form-control" name="wardNumber"> <span>동</span>
  238. <input type="text" value="${patientData.roomNumber}" class="form-control" name="roomNumber" required> <span>호</span>
  239. </div>
  240. </td>
  241. <th><span class="fix">*</span>이름</th>
  242. <td>
  243. <!-- 환자 이름 -->
  244. <input type="text" name="patientName" class="form-control" value="${patientData.patientName}" placeholder="이름을 입력해주세요" required>
  245. </td>
  246. </tr>
  247. <tr>
  248. <th><span class="fix">*</span>성별</th>
  249. <td>
  250. <!-- 성별 -->
  251. <label class="form-check form-check-inline">
  252. <input class="form-check-input" type="radio" name="gender" value="M" required <c:if test="${patientData.gender eq 'M'}">checked="checked"</c:if>>
  253. <span class="form-check-label">남</span>
  254. </label>
  255. <label class="form-check form-check-inline">
  256. <input class="form-check-input" type="radio" name="gender" value="F" required <c:if test="${patientData.gender eq 'F'}">checked="checked"</c:if>>
  257. <span class="form-check-label">여</span>
  258. </label>
  259. </td>
  260. <th><span class="fix">*</span>생년월일</th>
  261. <td>
  262. <fmt:parseDate var="juminDate" value="${patientData.jumin}" pattern="yyyyMMdd" />
  263. <c:set var="jumin"><fmt:formatDate value="${juminDate}" pattern="yyyy-MM-dd" /></c:set>
  264. <!-- 생년월일 -->
  265. <div class="form-group calendar-bar mb-xl-0">
  266. <input type="text" class="form-control date jumin" id="jumin" name="jumin" autocomplete="off" value="${jumin}" placeholder="yyyy-mm-dd 형식으로 입력하세요" required>
  267. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  268. </div>
  269. </td>
  270. </tr>
  271. <tr>
  272. <th><span class="fix">*</span>연락처</th>
  273. <td>
  274. <input type="text" name="patientPhone" value="${patientData.patientPhone}" class="form-control" placeholder="연락처를 입력해주세요" required>
  275. </td>
  276. <th>보호자 연락처</th>
  277. <td>
  278. <input type="text" name="guardianPhone" value="${patientData.guardianPhone}" class="form-control" placeholder="보호자 연락처를 입력해주세요">
  279. </td>
  280. </tr>
  281. <tr>
  282. <th>증상시작일</th>
  283. <td>
  284. <div class="form-group calendar-bar mb-xl-0">
  285. <fmt:parseDate var="symptomStartDateTime" value="${patientData.symptomStartDate}" pattern="yyyy-MM-dd HH:mm" />
  286. <c:set var="symptomStartDate"><fmt:formatDate value="${symptomStartDateTime}" pattern="yyyy-MM-dd" /></c:set>
  287. <input class="form-control date-no-req" type="text" value="${symptomStartDate}" name="symptomStartDate" autocomplete="off">
  288. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  289. </div>
  290. </td>
  291. <th><span class="fix">*</span>확진일</th>
  292. <td>
  293. <div class="form-group calendar-bar mb-xl-0">
  294. <input class="form-control date" type="text" value="${patientData.confirmationDate}" name="confirmationDate" autocomplete="off">
  295. <i class="align-middle mr-2 fas fa-fw fa-calendar-alt"></i>
  296. </div>
  297. </td>
  298. </tr>
  299. <tr>
  300. <!-- <th>격리해제 예정일</th> -->
  301. <th>상태 변경일</br>(퇴소, 지정병원이송, 기타)</th>
  302. <td>
  303. <div class="form-group calendar-bar mb-xl-0" style="position:relative;">
  304. <div id="state-label" style="position:absolute;top:5px;left:90px;"></div>
  305. <fmt:parseDate var="disisolationDateTime" value="${patientData.disisolationDate}" pattern="yyyy-MM-dd HH:mm" />
  306. <c:set var="disisolationDate"><fmt:formatDate value="${disisolationDateTime}" pattern="yyyy-MM-dd" /></c:set>
  307. <input class="form-control date-no-req" type="text" value="${disisolationDate}" name="disisolationDate" autocomplete="off">
  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" id="state" 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>>
  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>>
  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>