new.jsp 21 KB

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