edit.jsp 46 KB

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