new.jsp 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  2. <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
  3. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
  4. <jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
  5. <script>
  6. $(function() {
  7. // Select2
  8. $(".select2").each(function() {
  9. $(this)
  10. .wrap("<div class=\"position-relative\"></div>")
  11. .select2({
  12. placeholder: "Select value",
  13. dropdownParent: $(this).parent()
  14. });
  15. })
  16. // Daterangepicker
  17. $("input[name=\"daterange\"]").daterangepicker({
  18. opens: "left"
  19. });
  20. $("input[name=\"datetimes\"]").daterangepicker({
  21. timePicker: true,
  22. opens: "left",
  23. startDate: moment().startOf("hour"),
  24. endDate: moment().startOf("hour").add(32, "hour"),
  25. locale: {
  26. format: "M/DD hh:mm A"
  27. }
  28. });
  29. $("input[name=\"datesingle\"]").daterangepicker({
  30. singleDatePicker: true,
  31. showDropdowns: true
  32. });
  33. // Datetimepicker
  34. $('#datetimepicker-minimum').datetimepicker();
  35. $('#datetimepicker-view-mode').datetimepicker({
  36. viewMode: 'years'
  37. });
  38. $('#datetimepicker-time').datetimepicker({
  39. format: 'LT'
  40. });
  41. $('#datetimepicker-date').datetimepicker({
  42. format: 'L'
  43. });
  44. var start = moment().subtract(29, "days");
  45. var end = moment();
  46. function cb(start, end) {
  47. $("#reportrange span").html(start.format("MMMM D, YYYY") + " - " + end.format("MMMM D, YYYY"));
  48. }
  49. $("#reportrange").daterangepicker({
  50. startDate: start,
  51. endDate: end,
  52. ranges: {
  53. "Today": [moment(), moment()],
  54. "Yesterday": [moment().subtract(1, "days"), moment().subtract(1, "days")],
  55. "Last 7 Days": [moment().subtract(6, "days"), moment()],
  56. "Last 30 Days": [moment().subtract(29, "days"), moment()],
  57. "This Month": [moment().startOf("month"), moment().endOf("month")],
  58. "Last Month": [moment().subtract(1, "month").startOf("month"), moment().subtract(1, "month").endOf("month")]
  59. }
  60. }, cb);
  61. cb(start, end);
  62. });
  63. </script>
  64. <script>
  65. $(function() {
  66. // Datatables basic
  67. $("#datatables-basic").DataTable({
  68. responsive: true
  69. });
  70. // Datatables with Buttons
  71. var datatablesButtons = $("#datatables-buttons").DataTable({
  72. responsive: true,
  73. lengthChange: !1,
  74. buttons: ["copy", "print"]
  75. });
  76. datatablesButtons.buttons().container().appendTo("#datatables-buttons_wrapper .col-md-6:eq(0)");
  77. // Datatables with Multiselect
  78. var datatablesMulti = $("#datatables-multi").DataTable({
  79. responsive: true,
  80. select: {
  81. style: "multi"
  82. }
  83. });
  84. });
  85. </script>
  86. </head>
  87. <body>
  88. <div class="wrapper">
  89. <jsp:include page="${data._INCLUDE}/sidebar.jsp"></jsp:include>
  90. <div class="main">
  91. <nav class="navbar navbar-expand navbar-light bg-white">
  92. <a class="sidebar-toggle d-flex mr-2">
  93. <i class="hamburger align-self-center"></i>
  94. </a>
  95. <div class="navbar-collapse collapse">
  96. <ul class="navbar-nav ml-auto">
  97. <li class="nav-item dropdown">
  98. <a class="nav-icon dropdown-toggle d-inline-block d-sm-none" href="#" data-toggle="dropdown">
  99. <i class="align-middle" data-feather="settings"></i>
  100. </a>
  101. <a class="nav-link dropdown-toggle d-none d-sm-inline-block" href="#" data-toggle="dropdown">
  102. <span class="text-dark">홍길동 선생님</span>
  103. </a>
  104. <div class="dropdown-menu dropdown-menu-right">
  105. <a class="dropdown-item" href="pages-profile.html"><i class="align-middle mr-1" data-feather="user"></i> 정보변경</a>
  106. <a class="dropdown-item" href="#"><i class="align-middle mr-1" data-feather="pie-chart"></i> 로그아웃</a>
  107. </div>
  108. </li>
  109. </ul>
  110. </div>
  111. </nav>
  112. <main class="content">
  113. <div class="container-fluid p-0">
  114. <!-- 환자관리 : 신규환자 등록 START -->
  115. <div class="row">
  116. <div class="col-12 col-lg-6">
  117. <h1 class="h3 mb-3">
  118. 환자정보
  119. </h1>
  120. </div>
  121. <div class="col-12 col-lg-6 text-right">
  122. <nav aria-label="breadcrumb">
  123. <ol class="breadcrumb">
  124. <li class="breadcrumb-item"><a href="javscript:;">Home</a></li>
  125. <li class="breadcrumb-item">환자관리</li>
  126. <li class="breadcrumb-item active">환자정보 등록</li>
  127. </ol>
  128. </nav>
  129. </div>
  130. </div>
  131. <div class="row">
  132. <div class="col-12">
  133. <div class="card">
  134. <div class="card-body">
  135. <table class="table mobile-table">
  136. <colgroup>
  137. <col style="width:15%">
  138. <col style="width:35%">
  139. <col style="width:15%">
  140. <col style="width:35%">
  141. </colgroup>
  142. <tr>
  143. <th>치료센터</th>
  144. <td>레몬종합병원</td>
  145. <th><span class="fix">*</span>입소일시</th>
  146. <td colspan="2">
  147. <div class="form-row">
  148. <div class="col-6">
  149. <input class="form-control" type="text" name="datesingle">
  150. </div>
  151. <div class="col-3">
  152. <select class="custom-select">
  153. <option selected="">시간</option>
  154. <option>1</option>
  155. <option>2</option>
  156. <option>3</option>
  157. <option>4</option>
  158. <option>5</option>
  159. <option>6</option>
  160. <option>7</option>
  161. </select>
  162. </div>
  163. <div class="col-3">
  164. <select class="custom-select">
  165. <option selected="">분</option>
  166. <option>1</option>
  167. <option>2</option>
  168. <option>3</option>
  169. <option>4</option>
  170. <option>5</option>
  171. <option>6</option>
  172. <option>7</option>
  173. </select>
  174. </div>
  175. </div>
  176. </td>
  177. </tr>
  178. <tr>
  179. <th><span class="fix">*</span>병동 번호</th>
  180. <td>
  181. <input type="text" class="form-control" placeholder="병동 번호를 입력해주세요">
  182. </td>
  183. <th><span class="fix">*</span>이름</th>
  184. <td>
  185. <input type="text" class="form-control" placeholder="이름을 입력해주세요">
  186. </td>
  187. </tr>
  188. <tr>
  189. <th><span class="fix">*</span>성별</th>
  190. <td>
  191. <label class="form-check form-check-inline">
  192. <input class="form-check-input" type="radio" name="inline-radios-example" value="option1">
  193. <span class="form-check-label">
  194. </span>
  195. </label>
  196. <label class="form-check form-check-inline">
  197. <input class="form-check-input" type="radio" name="inline-radios-example" value="option2">
  198. <span class="form-check-label">
  199. </span>
  200. </label>
  201. </td>
  202. <th><span class="fix">*</span>생년월일</th>
  203. <td>
  204. <div class="form-row">
  205. <div class="col-4">
  206. <select class="custom-select">
  207. <option selected="">년</option>
  208. <option>1999</option>
  209. <option>1998</option>
  210. <option>1997</option>
  211. </select>
  212. </div>
  213. <div class="col-4">
  214. <select class="custom-select">
  215. <option selected="">월</option>
  216. <option>1</option>
  217. <option>2</option>
  218. <option>3</option>
  219. <option>4</option>
  220. <option>5</option>
  221. <option>6</option>
  222. <option>7</option>
  223. <option>8</option>
  224. <option>9</option>
  225. <option>10</option>
  226. <option>11</option>
  227. <option>12</option>
  228. </select>
  229. </div>
  230. <div class="col-4">
  231. <select class="custom-select">
  232. <option selected="">일</option>
  233. <option>1</option>
  234. <option>2</option>
  235. <option>3</option>
  236. <option>4</option>
  237. <option>5</option>
  238. <option>6</option>
  239. <option>7</option>
  240. <option>8</option>
  241. <option>9</option>
  242. </select>
  243. </div>
  244. </div>
  245. </td>
  246. </tr>
  247. <tr>
  248. <th><span class="fix">*</span>연락처</th>
  249. <td>
  250. <input type="text" class="form-control" placeholder="연락처를 입력해주세요">
  251. </td>
  252. <th>보호자 연락처</th>
  253. <td>
  254. <input type="text" class="form-control" placeholder="보호자 연락처를 입력해주세요">
  255. </td>
  256. </tr>
  257. <tr>
  258. <th><span class="fix">*</span>증상시작일</th>
  259. <td>
  260. <div class="form-group mb-xl-0">
  261. <input class="form-control" type="text" name="datesingle">
  262. </div>
  263. </td>
  264. <th><span class="fix">*</span>확진일</th>
  265. <td>
  266. <div class="form-group mb-xl-0">
  267. <input class="form-control" type="text" name="datesingle">
  268. </div>
  269. </td>
  270. </tr>
  271. <tr>
  272. <th>격리해제일</th>
  273. <td colspan="3">
  274. <div class="form-group mb-xl-0">
  275. <input class="form-control" type="text" name="datesingle">
  276. </div>
  277. </td>
  278. </tr>
  279. <tr>
  280. <th><span class="fix">*</span>기저질환</th>
  281. <td>
  282. <label class="form-check form-check-inline">
  283. <input class="form-check-input" type="radio" name="inline-radios-example" value="option1">
  284. <span class="form-check-label">
  285. </span>
  286. </label>
  287. <label class="form-check form-check-inline">
  288. <input class="form-check-input" type="radio" name="inline-radios-example" value="option2">
  289. <span class="form-check-label">
  290. </span>
  291. </label>
  292. <label class="form-check form-check-inline">
  293. <input type="text" class="form-control" name="inline-radios-example">
  294. </label>
  295. </td>
  296. <th><span class="fix">*</span>임신</th>
  297. <td>
  298. <label class="form-check form-check-inline">
  299. <input class="form-check-input" type="radio" name="inline-radios-example" value="option1">
  300. <span class="form-check-label">
  301. </span>
  302. </label>
  303. <label class="form-check form-check-inline">
  304. <input class="form-check-input" type="radio" name="inline-radios-example" value="option2">
  305. <span class="form-check-label">
  306. </span>
  307. </label>
  308. <label class="form-check form-check-inline">
  309. <select class="custom-select">
  310. <option selected="">주</option>
  311. <option>1주</option>
  312. <option>2주</option>
  313. <option>3주</option>
  314. <option>4주</option>
  315. <option>5주</option>
  316. </select>
  317. </label>
  318. </td>
  319. </tr>
  320. <tr>
  321. <th rowspan="5"><span class="fix">*</span>입실당시 증상</th>
  322. <td colspan="3">
  323. <label class="form-check form-check-inline">
  324. <input class="form-check-input" type="checkbox" value="option1">
  325. <span class="form-check-label">
  326. 발열 (37.5℃ 이상, 입실 당시 체온 - 우 <input type="text" class="form-control form-control-sm w50" name="">℃ / - 좌 <input type="text" class="form-control form-control-sm w50" name="">℃
  327. </span>
  328. </label>
  329. </td>
  330. </tr>
  331. <tr>
  332. <td colspan="3">
  333. <label class="form-check form-check-inline">
  334. <input class="form-check-input" type="checkbox" value="option1">
  335. <span class="form-check-label">
  336. 기침
  337. </span>
  338. </label>
  339. <label class="form-check form-check-inline">
  340. <input class="form-check-input" type="checkbox" value="option1">
  341. <span class="form-check-label">
  342. 호흡곤란
  343. </span>
  344. </label>
  345. <label class="form-check form-check-inline">
  346. <input class="form-check-input" type="checkbox" value="option1">
  347. <span class="form-check-label">
  348. 오한
  349. </span>
  350. </label>
  351. <label class="form-check form-check-inline">
  352. <input class="form-check-input" type="checkbox" value="option1">
  353. <span class="form-check-label">
  354. 근육통
  355. </span>
  356. </label>
  357. <label class="form-check form-check-inline">
  358. <input class="form-check-input" type="checkbox" value="option1">
  359. <span class="form-check-label">
  360. 두통
  361. </span>
  362. </label>
  363. <label class="form-check form-check-inline">
  364. <input class="form-check-input" type="checkbox" value="option1">
  365. <span class="form-check-label">
  366. 인후통
  367. </span>
  368. </label>
  369. <label class="form-check form-check-inline">
  370. <input class="form-check-input" type="checkbox" value="option1">
  371. <span class="form-check-label">
  372. 후각/미각손실
  373. </span>
  374. </label>
  375. <label class="form-check form-check-inline">
  376. <input class="form-check-input" type="checkbox" value="option1">
  377. <span class="form-check-label">
  378. 피로
  379. </span>
  380. </label>
  381. </td>
  382. </tr>
  383. <tr>
  384. <td colspan="3">
  385. <label class="form-check form-check-inline">
  386. <input class="form-check-input" type="checkbox" value="option1">
  387. <span class="form-check-label">
  388. 식욕감소
  389. </span>
  390. </label>
  391. <label class="form-check form-check-inline">
  392. <input class="form-check-input" type="checkbox" value="option1">
  393. <span class="form-check-label">
  394. 가래
  395. </span>
  396. </label>
  397. <label class="form-check form-check-inline">
  398. <input class="form-check-input" type="checkbox" value="option1">
  399. <span class="form-check-label">
  400. 오신
  401. </span>
  402. </label>
  403. <label class="form-check form-check-inline">
  404. <input class="form-check-input" type="checkbox" value="option1">
  405. <span class="form-check-label">
  406. 구토
  407. </span>
  408. </label>
  409. <label class="form-check form-check-inline">
  410. <input class="form-check-input" type="checkbox" value="option1">
  411. <span class="form-check-label">
  412. 설사
  413. </span>
  414. </label>
  415. <label class="form-check form-check-inline">
  416. <input class="form-check-input" type="checkbox" value="option1">
  417. <span class="form-check-label">
  418. 어지러움
  419. </span>
  420. </label>
  421. <label class="form-check form-check-inline">
  422. <input class="form-check-input" type="checkbox" value="option1">
  423. <span class="form-check-label">
  424. 콧물/코막힘
  425. </span>
  426. </label>
  427. <label class="form-check form-check-inline">
  428. <input class="form-check-input" type="checkbox" value="option1">
  429. <span class="form-check-label">
  430. 기타 (<input type="text" class="form-control form-control-sm w150" name="">)
  431. </span>
  432. </label>
  433. </td>
  434. </tr>
  435. <tr>
  436. <td colspan="3">
  437. <label class="form-check form-check-inline">
  438. <input class="form-check-input" type="checkbox" value="option1">
  439. <span class="form-check-label">
  440. 맥박 ( <input type="text" class="form-control form-control-sm w150" name=""> )
  441. </span>
  442. </label>
  443. <label class="form-check form-check-inline">
  444. <input class="form-check-input" type="checkbox" value="option1">
  445. <span class="form-check-label">
  446. 호흡 ( <input type="text" class="form-control form-control-sm w150" name=""> )
  447. </span>
  448. </label>
  449. <label class="form-check form-check-inline">
  450. <input class="form-check-input" type="checkbox" value="option1">
  451. <span class="form-check-label">
  452. 혈압mmHg ( <input type="text" class="form-control form-control-sm w150" name=""> )
  453. </span>
  454. </label>
  455. </td>
  456. </tr>
  457. <tr>
  458. <td colspan="3">
  459. <table class="table">
  460. <colgroup>
  461. <col style="width:15%">
  462. <col style="width:35%">
  463. <col style="width:15%">
  464. <col style="width:35%">
  465. </colgroup>
  466. <tr>
  467. <th><span class="fix">*</span>중증도분류</th>
  468. <td>
  469. <input type="text" class="form-control form-control-sm" name="">
  470. </td>
  471. <th><span class="fix">*</span>산소포화도</th>
  472. <td>
  473. <input type="text" class="form-control form-control-sm" name="">
  474. </td>
  475. </tr>
  476. <tr>
  477. <th><span class="fix">*</span>흉부 X선 결과</th>
  478. <td colspan="3">
  479. <label class="form-check form-check-inline">
  480. <input class="form-check-input" type="checkbox" value="option1">
  481. <span class="form-check-label">
  482. 정상
  483. </span>
  484. </label>
  485. <label class="form-check form-check-inline">
  486. <input class="form-check-input" type="checkbox" value="option1">
  487. <span class="form-check-label">
  488. 폐렴
  489. </span>
  490. </label>
  491. <label class="form-check form-check-inline">
  492. <input class="form-check-input" type="checkbox" value="option1">
  493. <span class="form-check-label">
  494. 기타 ( <input type="text" class="form-control form-control-sm w150" name=""> )
  495. </span>
  496. </label>
  497. </td>
  498. </tr>
  499. </table>
  500. </td>
  501. </tr>
  502. <tr>
  503. <th>상태 및 특이사항</th>
  504. <td colspan="3">
  505. <div class="form-row">
  506. <div class="col-10">
  507. <textarea name="" class="form-control"></textarea>
  508. </div>
  509. <div class="col-2">
  510. 000/1000 byte
  511. </div>
  512. </div>
  513. </td>
  514. </tr>
  515. </table>
  516. <div class="row mt-3">
  517. <div class="col-12">
  518. <div class="text-right">
  519. <button class="btn btn-outline-primary w100" onclick="history.go(-1);">취소</button>
  520. <button class="btn btn-primary w100" onclick="location.href='./info';">저장</button>
  521. </div>
  522. </div>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. </div>
  528. <!-- 환자관리 : 신규환자 등록 END -->
  529. </div>
  530. </main>
  531. <jsp:include page="${data._INCLUDE}/footer.jsp"></jsp:include>
  532. </div>
  533. </div>
  534. </body>
  535. </html>