SMMNP07200_안전점검.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>안전점검</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <MainData>
  11. <safecheckitemlist>
  12. <opcnfmdd/>
  13. <opstatnm/>
  14. <perfdeptnm/>
  15. <oproomnm/>
  16. <oppatflagnm/>
  17. <hngnm/>
  18. <pid/>
  19. <sa/>
  20. <diagcdnm/>
  21. <opcdnm/>
  22. <perfdrnm/>
  23. <opposition/>
  24. <anstmthdcdnm/>
  25. <item1/>
  26. <item2/>
  27. <item3/>
  28. <item4/>
  29. <item5/>
  30. <item6/>
  31. <item7/>
  32. <item8/>
  33. <item9/>
  34. <item10/>
  35. <item11/>
  36. <item12/>
  37. <item13/>
  38. <item14/>
  39. <item15/>
  40. <item16/>
  41. <item17/>
  42. <item18/>
  43. <item19/>
  44. <item20/>
  45. <reconurse/>
  46. </safecheckitemlist>
  47. <anstsafecheckitemlist>
  48. <opcnfmdd/>
  49. <opstatnm/>
  50. <perfdeptnm/>
  51. <oproomnm/>
  52. <oppatflagnm/>
  53. <hngnm/>
  54. <pid/>
  55. <sa/>
  56. <diagcdnm/>
  57. <opcdnm/>
  58. <perfdrnm/>
  59. <andrnm/>
  60. <opposition/>
  61. <anstmthdcdnm/>
  62. <item1_1/>
  63. <item1_2/>
  64. <item1_3/>
  65. <item1_4/>
  66. <item1_5/>
  67. <item1_6/>
  68. <item1_7/>
  69. <item1_8/>
  70. <item1_9/>
  71. <item1_10/>
  72. <item1_11/>
  73. <item1_12/>
  74. <item1_13/>
  75. <item1_14/>
  76. <item1_15/>
  77. <item1_16/>
  78. <item1_17/>
  79. <item1_18/>
  80. <item1_19/>
  81. <item1_20/>
  82. <anstnurse1/>
  83. <item2_1/>
  84. <item2_2/>
  85. <item2_3/>
  86. <item2_4/>
  87. <item2_5/>
  88. <item2_6/>
  89. <item2_7/>
  90. <item2_8/>
  91. <item2_9/>
  92. <item2_10/>
  93. <item2_11/>
  94. <item2_12/>
  95. <item2_13/>
  96. <item2_14/>
  97. <item2_15/>
  98. <item2_16/>
  99. <item2_17/>
  100. <item2_18/>
  101. <item2_19/>
  102. <item2_20/>
  103. <anstnurse2/>
  104. </anstsafecheckitemlist>
  105. </MainData>
  106. <condition>
  107. <opcnfromdd/>
  108. <opcntodd/>
  109. <oproomcd/>
  110. <opstatcd/>
  111. <anstmthdcd/>
  112. <patflag>R</patflag>
  113. </condition>
  114. </main>
  115. <init>
  116. <oproom>
  117. <oproominfo>
  118. <oproomcd/>
  119. <oproomnm/>
  120. </oproominfo>
  121. </oproom>
  122. </init>
  123. <send/>
  124. <hidden>
  125. <safecheckitemlist>
  126. <opcnfmdd/>
  127. <opstatnm/>
  128. <perfdeptnm/>
  129. <oproomnm/>
  130. <oppatflagnm/>
  131. <hngnm/>
  132. <pid/>
  133. <sa/>
  134. <diagcdnm/>
  135. <opcdnm/>
  136. <perfdrnm/>
  137. <opposition/>
  138. <anstmthdcdnm/>
  139. <item1/>
  140. <item2/>
  141. <item3/>
  142. <item4/>
  143. <item5/>
  144. <item6/>
  145. <item7/>
  146. <item8/>
  147. <item9/>
  148. <item10/>
  149. <item11/>
  150. <item12/>
  151. <item13/>
  152. <item14/>
  153. <item15/>
  154. <item16/>
  155. <item17/>
  156. <item18/>
  157. <item19/>
  158. <item20/>
  159. <reconurse/>
  160. </safecheckitemlist>
  161. </hidden>
  162. <hidden2>
  163. <anstsafecheckitemlist>
  164. <opcnfmdd/>
  165. <opstatnm/>
  166. <perfdeptnm/>
  167. <oproomnm/>
  168. <oppatflagnm/>
  169. <hngnm/>
  170. <pid/>
  171. <sa/>
  172. <diagcdnm/>
  173. <opcdnm/>
  174. <perfdrnm/>
  175. <andrnm/>
  176. <opposition/>
  177. <anstmthdcdnm/>
  178. <item1_1/>
  179. <item1_2/>
  180. <item1_3/>
  181. <item1_4/>
  182. <item1_5/>
  183. <item1_6/>
  184. <item1_7/>
  185. <item1_8/>
  186. <item1_9/>
  187. <item1_10/>
  188. <item1_11/>
  189. <item1_12/>
  190. <item1_13/>
  191. <item1_14/>
  192. <item1_15/>
  193. <item1_16/>
  194. <item1_17/>
  195. <item1_18/>
  196. <item1_19/>
  197. <item1_20/>
  198. <anstnurse1/>
  199. <item2_1/>
  200. <item2_2/>
  201. <item2_3/>
  202. <item2_4/>
  203. <item2_5/>
  204. <item2_6/>
  205. <item2_7/>
  206. <item2_8/>
  207. <item2_9/>
  208. <item2_10/>
  209. <item2_11/>
  210. <item2_12/>
  211. <item2_13/>
  212. <item2_14/>
  213. <item2_15/>
  214. <item2_16/>
  215. <item2_17/>
  216. <item2_18/>
  217. <item2_19/>
  218. <item2_20/>
  219. <anstnurse2/>
  220. </anstsafecheckitemlist>
  221. </hidden2>
  222. <temp>
  223. <recosafelist>
  224. <resmlist>
  225. <cdid/>
  226. <cdnm/>
  227. <grupdetldesc/>
  228. </resmlist>
  229. </recosafelist>
  230. <anstsafelist>
  231. <resmlist>
  232. <cdgrupid/>
  233. <cdid/>
  234. <cdnm/>
  235. <grupdetldesc/>
  236. </resmlist>
  237. </anstsafelist>
  238. </temp>
  239. <printdata>
  240. </printdata>
  241. </root>
  242. </instance>
  243. <script type="javascript" ev:event="xforms-ready">
  244. <![CDATA[
  245. /* 폼 로드 */
  246. fInit(); // 초기화
  247. fSearch("Init"); // 초기 조회
  248. ]]>
  249. </script>
  250. <script type="javascript">
  251. <![CDATA[
  252. /* 전역공간 */
  253. // 안전점검 분류코드 변수
  254. var resafegrupcd_reco = "";
  255. var resafegrupcd_anst1 = "";
  256. var resafegrupcd_anst2 = "";
  257. var patFlag = ""; // 환자 구분
  258. var openerFlag = ""; // opener 구분자 (회복, 마취)
  259. var exeRecoFlag = "No"; // 회복 실행 여부
  260. var exeAnstFlag = "No"; // 마취 실행 여부
  261. // 초기 함수
  262. function fInit(){
  263. openerFlag = opener.javascript.getParameter("openerFlag");
  264. resafegrupcd_reco = "003"; // 회복안전점검 기준 분류 코드
  265. resafegrupcd_anst1 = "001"; // 마취안전점검
  266. resafegrupcd_anst2 = "002"; // 마취환자안전관리점검
  267. if(openerFlag=="R"){
  268. patFlag = "R"; // 회복환자
  269. model.setValue("/root/main/condition/patflag", patFlag);
  270. combo1.select(0);
  271. document.title ="회복간호 안전점검"; // title 변경
  272. caption6.value = "회복간호 안전점검"; // 준title 변경
  273. // 각각 2개의 데이터그리드로 회복과 마취 데이터 display
  274. grd_anstsafecheckitemlist.visible = false;
  275. grd_safecheckitemlist.visible = true;
  276. }else if (openerFlag=="A"){
  277. patFlag = "A"; // 마취환자
  278. model.setValue("/root/main/condition/patflag", patFlag);
  279. combo1.select(1);
  280. document.title ="마취간호 안전점검";
  281. caption6.value = "마취간호 안전점검";
  282. grd_anstsafecheckitemlist.visible = true;
  283. grd_safecheckitemlist.visible = false;
  284. }
  285. submit("TRMNP07203"); // 수술방 조회
  286. addComboItem( "combo2", "전체", "A"); // 수술방 '전체' 조건 추가
  287. model.setValue("/root/main/condition/oproomcd", "A"); // 초기 수술방 전체 조회값 설정
  288. combo2.refresh();
  289. // default 조회조건 setting
  290. if(patFlag =="R"){ // 회복
  291. model.setValue("/root/main/condition/opstatcd", "60"); // 진행상태 '회복' 체크
  292. checkbox4.refresh();
  293. }else if (patFlag =="A"){ // 마취
  294. model.setValue("/root/main/condition/opstatcd", "40"); // 진행상태 '수술' 체크
  295. model.setValue("/root/main/condition/anstmthdcd","01 02"); // 조회조건 '전신', '부위'로 setting
  296. checkbox3.refresh();
  297. checkbox4.refresh();
  298. }
  299. var opcnfromdd = getAddDay(getCurrentDate(),0); // 당일로 설정
  300. var opcntodd = getCurrentDate();
  301. model.setValue("/root/main/condition/opcnfromdd",opcnfromdd);
  302. model.setValue("/root/main/condition/opcntodd",opcntodd);
  303. model.refresh();
  304. }
  305. // 환자구분 변경 함수 (2010-05-04)
  306. function fChangePF(){
  307. model.removenode("/root/main/condition/opstatcd");
  308. model.removenode("/root/main/condition/anstmthdcd");
  309. if(model.getValue("/root/main/condition/patflag") == "R"){
  310. patFlag = "R";
  311. document.title ="회복간호 안전점검";
  312. caption6.value = "회복간호 안전점검";
  313. grd_anstsafecheckitemlist.visible = false;
  314. grd_safecheckitemlist.visible = true;
  315. // default
  316. model.makeValue("/root/main/condition/opstatcd", "60"); // 진행상태 '회복' 체크
  317. model.makeValue("/root/main/condition/anstmthdcd",""); // 마취 구분 체크
  318. checkbox3.refresh();
  319. checkbox4.refresh();
  320. }else if(model.getValue("/root/main/condition/patflag") == "A"){
  321. patFlag = "A";
  322. document.title ="마취간호 안전점검";
  323. caption6.value = "마취간호 안전점검";
  324. grd_anstsafecheckitemlist.visible = true;
  325. grd_safecheckitemlist.visible = false;
  326. // default
  327. model.makeValue("/root/main/condition/opstatcd", "40"); // 기본으로 진행상태 '수술' 체크
  328. model.makeValue("/root/main/condition/anstmthdcd","01 02"); // 마취구분 '전신','부위'로 setting
  329. checkbox3.refresh();
  330. checkbox4.refresh();
  331. }
  332. }
  333. // 조회 함수
  334. function fSearch(caseFlag){
  335. var opcnfdd = model.getValue("/root/main/condition/opcnfromdd");
  336. var opcntdd = model.getValue("/root/main/condition/opcntodd");
  337. var interval = getDateInterval(opcnfdd, opcntdd, "yyyy");
  338. var maxyear = 3; // 조회기간 제한
  339. // 조회구간이 3년을 넘으면 제어
  340. if(interval >= maxyear){
  341. messageBox("조회구간은 최대 3년만 가능합니다.","I");
  342. return;
  343. }else{
  344. // 환자구분 콤보 클릭시 조회 로직 구분 (초기 조회 <-> 재 조회)
  345. if(caseFlag=="Init_Re"){
  346. if(patFlag == openerFlag) caseFlag = "Re";
  347. else caseFlag = "Init";
  348. if((patFlag == "R")&&(exeRecoFlag == "Yes")) caseFlag = "Re";
  349. else if((patFlag == "A")&&(exeAnstFlag == "Yes")) caseFlag = "Re";
  350. }
  351. // 조회 값 setting
  352. model.removenode("/root/send");
  353. model.makeValue("/root/send/opcnfromdd", model.getValue("/root/main/condition/opcnfromdd"));
  354. model.makeValue("/root/send/opcntodd", model.getValue("/root/main/condition/opcntodd"));
  355. model.makeValue("/root/send/resafegrupcd", resafegrupcd_reco); // 회복
  356. model.makeValue("/root/send/resafegrupcd1", resafegrupcd_anst1); // 마취
  357. model.makeValue("/root/send/resafegrupcd2", resafegrupcd_anst2);
  358. model.makeValue("/root/send/oproomcd", model.getValue("/root/main/condition/oproomcd"));
  359. model.makeValue("/root/send/anstmthdcd", model.getValue("/root/main/condition/anstmthdcd"));
  360. model.makeValue("/root/send/opstatcd", model.getValue("/root/main/condition/opstatcd"));
  361. model.makeValue("/root/send/patflag", patFlag);
  362. switch (caseFlag) {
  363. case "Init" : { // 초기 조회
  364. var colSize = 60;
  365. /* === 회 복 === */
  366. if(patFlag=="R"){
  367. exeRecoFlag = "Yes"; // 실행 여부
  368. submit("TRMNP07202"); // 회복간호 안전점검 기준자료 조회
  369. var startColCnt = 1 + parseInt(grd_safecheckitemlist.colRef("anstmthdcdnm")); // 기준항목 시작 컬럼
  370. var endColCnt = startColCnt + parseInt(getNodesetCount("/root/temp/recosafelist/resmlist")); // 데이터그리드 끝 컬럼
  371. // 조회된 기준항목만큼 컬럼 구성
  372. for (i=startColCnt; i<=endColCnt; i++){
  373. if(i != endColCnt){
  374. grd_safecheckitemlist.addColumn("ref:item"+((i-startColCnt)+1)+";text-align:center;", false);
  375. grd_safecheckitemlist.colwidth(i) = colSize;
  376. grd_safecheckitemlist.valueMatrix(0, i) = model.getValue("/root/temp/recosafelist/resmlist[" + ((i-startColCnt)+1)+ "]/cdnm");
  377. }
  378. else if(i==endColCnt){
  379. grd_safecheckitemlist.addColumn("ref:reconurse;text-align:center;", false);
  380. grd_safecheckitemlist.valueMatrix(0, i) = "회복실 간호사";
  381. }
  382. }
  383. submit("TRMNP07201"); // 회복간호 스케쥴 및 안전점검 항목 체크 여부 조회
  384. /* === 마 취 === */
  385. }else if(patFlag=="A"){
  386. exeAnstFlag = "Yes"; // 실행 여부
  387. submit("TRMNP07205"); // 마취간호 안전점검 기준자료 조회
  388. var startColCnt1 = 1 + parseInt(grd_anstsafecheckitemlist.colRef("anstmthdcdnm")); // 기준항목 시작 컬럼
  389. var tmpCnt1 = 0; // 마취안전점검 항목수
  390. var tmpCnt2 = 0; // 마취환자안전관리점검 항목수
  391. for (i=1; i<=getNodesetCount("/root/temp/anstsafelist/resmlist"); i++){
  392. if(model.getValue("/root/temp/anstsafelist/resmlist[" + i + "]/cdgrupid") == resafegrupcd_anst1) tmpCnt1++;
  393. else tmpCnt2++;
  394. }
  395. var endColCnt1 = startColCnt1 + tmpCnt1;
  396. // 조회된 기준항목만큼 컬럼 구성 (마취의 경우 2줄로)
  397. for(i=0; i<2; i++){
  398. for (var j=startColCnt1; j<=endColCnt1; j++){
  399. if(j != endColCnt1){
  400. if(i==0) grd_anstsafecheckitemlist.addColumn("ref:item1_"+((j-startColCnt1)+1)+";text-align:center;", false);
  401. grd_anstsafecheckitemlist.colwidth(j) = colSize;
  402. grd_anstsafecheckitemlist.valueMatrix(i, j) = (i==0 ? "마취안전점검" : model.getValue("/root/temp/anstsafelist/resmlist[" + ((j-startColCnt1)+1)+ "]/cdnm"));
  403. }
  404. else if(j==endColCnt1){
  405. if(i==0)grd_anstsafecheckitemlist.addColumn("ref:anstnurse1;text-align:center;", false);
  406. grd_anstsafecheckitemlist.valueMatrix(i, j) = (i==0 ? "마취안전점검" : "마취 간호사");
  407. }
  408. }
  409. }
  410. var startColCnt2 = 1 + endColCnt1;
  411. var endColCnt2 = startColCnt2 + tmpCnt2;
  412. // 조회된 기준항목만큼 컬럼 구성 (마취의 경우 2줄로)
  413. for(i=0; i<2; i++){
  414. for (var j=startColCnt2; j<=endColCnt2; j++){
  415. if(j != endColCnt2){
  416. if(i==0) grd_anstsafecheckitemlist.addColumn("ref:item2_"+((j-startColCnt2)+1)+";text-align:center;", false);
  417. grd_anstsafecheckitemlist.colwidth(j) = colSize;
  418. grd_anstsafecheckitemlist.valueMatrix(i, j) = (i==0 ? "마취환자안전관리점검" : model.getValue("/root/temp/anstsafelist/resmlist[" + ((j-startColCnt2)+1+tmpCnt1)+ "]/cdnm"));
  419. }
  420. else if(j==endColCnt2){
  421. if(i==0) grd_anstsafecheckitemlist.addColumn("ref:anstnurse2;text-align:center;", false);
  422. grd_anstsafecheckitemlist.valueMatrix(i, j) = (i==0 ? "마취환자안전관리점검" : "마취 간호사");
  423. }
  424. }
  425. }
  426. submit("TRMNP07204"); // 마취간호 스케쥴 및 안전점검 항목 체크 여부 조회
  427. } // patFlag 구분 if 끝
  428. model.refresh();
  429. break; // switch 탈출
  430. }
  431. case "Re" : { // 재 조회
  432. if(patFlag == "R"){
  433. submit("TRMNP07201"); // 회복간호 스케쥴 및 안전점검 항목 체크 여부 조회
  434. }else if (patFlag == "A"){
  435. submit("TRMNP07204"); // 마취간호 스케쥴 및 안전점검 항목 체크 여부 조회
  436. }// else 끝 ( 회복-마취 구분 조건)
  437. model.refresh();
  438. break;
  439. }
  440. } // Switch 끝
  441. } // else 끝 (조회구간 3년 제한)
  442. } // f함수 끝
  443. // 출력 함수
  444. function fPrint(){
  445. if(patFlag == "R"){
  446. // 출력용 데이터 복사
  447. if(getNodesetCount("/root/main/MainData/safecheckitemlist") !="0"){
  448. model.copyNode("/root/printdata", "/root/main/MainData");
  449. }else {
  450. model.copyNode("/root/printdata", "/root/hidden");
  451. }
  452. model.makeValue("/root/printdata/condition/opcnfromdd", model.getValue("/root/main/condition/opcnfromdd"));
  453. model.makeValue("/root/printdata/condition/opcntodd", model.getValue("/root/main/condition/opcntodd"));
  454. // 회복간호 출력
  455. exeReportPreview("RPMNP07200_회복간호안전점검출력", "XMLSTR", "/root/printdata");
  456. }else if (patFlag == "A"){
  457. // 출력용 데이터 복사
  458. if(getNodesetCount("/root/main/MainData/anstsafecheckitemlist") !="0"){
  459. model.copyNode("/root/printdata", "/root/main/MainData");
  460. }else {
  461. model.copyNode("/root/printdata", "/root/hidden2");
  462. }
  463. model.makeValue("/root/printdata/condition/opcnfromdd", model.getValue("/root/main/condition/opcnfromdd"));
  464. model.makeValue("/root/printdata/condition/opcntodd", model.getValue("/root/main/condition/opcntodd"));
  465. // 마취간호 출력
  466. exeReportPreview("RPMNP07201_마취간호안전점검출력", "XMLSTR", "/root/printdata");
  467. }
  468. }
  469. // 엑셀 저장 함수
  470. function fExcelSave(){
  471. if(patFlag == "R"){
  472. var fileName_R = window.fileDialog("save", ",", false, "회복안전점검항목_"+getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  473. grd_safecheckitemlist.saveExcel(fileName_R, "sheetname:회복안전점검항목;colhiddenextend:true;rowhiddenextend:true;");
  474. }
  475. else if (patFlag == "A"){
  476. var fileName_A = window.fileDialog("save", ",", false, "마취안전점검항목_"+getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  477. grd_anstsafecheckitemlist.saveExcel(fileName_A, "sheetname:마취안전점검항목;colhiddenextend:true;rowhiddenextend:true;");
  478. }
  479. }
  480. // 날짜 계산 함수
  481. function getAddDay(inputday,addend){
  482. var backDate ="";
  483. var rt = 0;
  484. var yyyy = inputday.substring(0,4) +"";
  485. var mm = inputday.substring(4,6) +"";
  486. var dd = inputday.substring(6,8) +"";
  487. var startDate = new Date(yyyy,(eval(mm)-1),dd);
  488. startDate.setTime(startDate.getTime()+(86400000*addend));
  489. NowYear = startDate.getYear();// 년
  490. NowMonth = startDate.getMonth()+1;// 월
  491. NowDay = startDate.getDate(); // 일
  492. backDate += NowYear ; //년도
  493. if (NowMonth < 10 ) backDate += "0" + NowMonth ;
  494. else backDate += (startDate.getMonth() + 1);
  495. if (NowDay < 10 ) backDate += "0" + NowDay ;
  496. else backDate += (startDate.getDate());
  497. return backDate ;
  498. }
  499. ]]>
  500. </script>
  501. <submission id="TRMNP07201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/MainData"/>
  502. <submission id="TRMNP07202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/recosafelist"/>
  503. <submission id="TRMNP07203" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproom"/>
  504. <submission id="TRMNP07204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/MainData"/>
  505. <submission id="TRMNP07205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/anstsafelist"/>
  506. </model>
  507. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  508. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  509. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  510. <script type="javascript" src="../../../emr/carecomweb/js/SPMNZ001.js"/>
  511. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  512. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  513. </xhtml:head>
  514. <xhtml:body guideline="1,1189;2,785;1,581;1,291;1,298;1,590;1,281;" style="font-family:Courier New; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  515. <group id="grp_query" style="left:0px; top:0px; width:1191px; height:13px; ">
  516. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">안전점검</caption>
  517. </group>
  518. <group id="group6" style="left:0px; top:18px; width:1191px; height:57px; vertical-align:top; ">
  519. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1191px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  520. <line id="line1" class="line_4" style="x1:1055px; y1:5px; x2:1055px; y2:48px; "/>
  521. <caption id="caption1" class="search_name" style="left:8px; top:6px; width:99px; height:17px; vertical-align:middle; ">조회기간 :</caption>
  522. <input id="input7" ref="/root/main/condition/opcnfromdd" inputtype="date" style="left:100px; top:6px; width:100px; height:19px; "/>
  523. <button id="button9" class="btn1_letter2" style="left:1063px; top:16px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  524. <caption>조회</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. fSearch("Re"); //재 조회
  528. ]]>
  529. </script>
  530. </button>
  531. <input id="input1" ref="/root/main/condition/opcntodd" inputtype="date" style="left:220px; top:6px; width:100px; height:19px; "/>
  532. <caption id="caption2" style="left:205px; top:6px; width:20px; height:20px; font-weight:bold; ">~</caption>
  533. <button id="btn_exel" class="btn1_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1128px; top:16px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  534. <caption>엑셀</caption>
  535. <script type="javascript" ev:event="DOMActivate">
  536. <![CDATA[
  537. fExcelSave(); // 엑셀 저장
  538. ]]>
  539. </script>
  540. </button>
  541. <select id="checkbox3" ref="/root/main/condition/anstmthdcd" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:473px; top:33px; width:160px; height:16px; border-style:none; ">
  542. <choices>
  543. <item>
  544. <label>전신</label>
  545. <value>01</value>
  546. </item>
  547. <item>
  548. <label>부위</label>
  549. <value>02</value>
  550. </item>
  551. <item>
  552. <label>국소</label>
  553. <value>03</value>
  554. </item>
  555. </choices>
  556. </select>
  557. <select id="checkbox4" ref="/root/main/condition/opstatcd" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:752px; top:8px; width:265px; height:16px; border-style:none; ">
  558. <choices>
  559. <item>
  560. <label>예정</label>
  561. <value>20</value>
  562. </item>
  563. <item>
  564. <label>대기</label>
  565. <value>30</value>
  566. </item>
  567. <item>
  568. <label>수술</label>
  569. <value>40</value>
  570. </item>
  571. <item>
  572. <label>회복</label>
  573. <value>60</value>
  574. </item>
  575. <item>
  576. <label>종료</label>
  577. <value>50</value>
  578. </item>
  579. </choices>
  580. </select>
  581. <caption id="caption3" class="search_name" style="left:380px; top:6px; width:90px; height:17px; vertical-align:middle; ">수술방 :</caption>
  582. <select1 id="combo2" ref="/root/main/condition/oproomcd" class="combo_default" appearance="minimal" style="left:459px; top:6px; width:100px; height:19px; ">
  583. <choices>
  584. <itemset nodeset="/root/init/oproom/oproominfo">
  585. <label ref="oproomnm"/>
  586. <value ref="oproomcd"/>
  587. </itemset>
  588. </choices>
  589. </select1>
  590. <caption id="caption69" class="search_name" style="left:658px; top:6px; width:90px; height:17px; vertical-align:middle; ">진행상태 :</caption>
  591. <caption id="caption47" class="search_name" style="left:380px; top:31px; width:90px; height:17px; vertical-align:middle; ">마취구분 :</caption>
  592. <caption id="caption4" class="search_name" style="left:8px; top:30px; width:90px; height:17px; vertical-align:middle; ">환자구분 :</caption>
  593. <select1 id="combo1" ref="/root/main/condition/patflag" class="combo_default" appearance="minimal" style="left:100px; top:30px; width:100px; height:19px; ">
  594. <choices>
  595. <item>
  596. <label>회복환자</label>
  597. <value>R</value>
  598. </item>
  599. <item>
  600. <label>마취환자</label>
  601. <value>A</value>
  602. </item>
  603. </choices>
  604. <script type="javascript" ev:event="xforms-value-changed">
  605. <![CDATA[
  606. fChangePF(); // 환자구분 변경
  607. fSearch("Init_Re"); // 초기 & 재 조회 구분
  608. ]]>
  609. </script>
  610. </select1>
  611. </group>
  612. <caption id="caption44" class="tit_2" style="left:5px; top:78px; width:108px; height:13px; vertical-align:middle; ">수술스케쥴</caption>
  613. <button id="btn_gridctrl" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1148px; top:74px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  614. <caption>출력</caption>
  615. <script type="javascript" ev:event="DOMActivate">
  616. <![CDATA[
  617. fPrint(); // 출력
  618. ]]>
  619. </script>
  620. </button>
  621. <datagrid id="grd_safecheckitemlist" nodeset="/root/main/MainData/safecheckitemlist" visibility="visible" overflow="scroll" scroll="auto" caption="수술일자^진행상태^집도과^수술방^환자구분^환자명^등록번호^S/A^진단명^수술명^집도의^수술체위^마취방법" colsep="^" colwidth="55, 55, 60, 53, 58, 62, 71, 49, 215, 375, 60, 100, 64, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1191px; height:680px; ">
  622. <col ref="opcnfmdd"/>
  623. <col ref="opstatnm" visibility="hidden" style="left:20px; top:23px; width:55px; height:23px; text-align:center; "/>
  624. <col ref="perfdeptnm" visibility="hidden" style="text-align:center; "/>
  625. <col ref="oproomnm" visibility="hidden" style="text-align:center; "/>
  626. <col ref="oppatflagnm" style="text-align:center; "/>
  627. <col ref="hngnm" style="text-align:center; "/>
  628. <col ref="pid" style="text-align:center; "/>
  629. <col ref="sa" style="text-align:center; "/>
  630. <col ref="diagcdnm" visibility="hidden"/>
  631. <col ref="opcdnm"/>
  632. <col ref="perfdrnm" visibility="hidden" style="text-align:center; "/>
  633. <col ref="opposition" visibility="hidden"/>
  634. <col ref="anstmthdcdnm" style="text-align:center; "/>
  635. <!-- ref="item1~item20, reconurse"!-->
  636. </datagrid>
  637. <datagrid id="grd_anstsafecheckitemlist" nodeset="/root/main/MainData/anstsafecheckitemlist" visibility="visible" overflow="scroll" scroll="auto" caption="수술일자^진행상태^집도과^수술방^환자구분^환자명^등록번호^S/A^진단명^수술명^집도의^마취의^수술체위^마취방법|수술일자^진행상태^집도과^수술방^환자구분^환자명^등록번호^S/A^진단명^수술명^집도의^마취의^수술체위^마취방법" colsep="^" colwidth="55, 55, 60, 53, 58, 62, 71, 49, 215, 375, 60, 160, 100, 64" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1191px; height:680px; ">
  638. <col ref="opcnfmdd"/>
  639. <col ref="opstatnm" visibility="hidden" style="left:20px; top:23px; width:55px; height:23px; text-align:center; "/>
  640. <col ref="perfdeptnm" visibility="hidden" style="text-align:center; "/>
  641. <col ref="oproomnm" visibility="hidden" style="text-align:center; "/>
  642. <col ref="oppatflagnm" style="text-align:center; "/>
  643. <col ref="hngnm" style="text-align:center; "/>
  644. <col ref="pid" style="text-align:center; "/>
  645. <col ref="sa" style="text-align:center; "/>
  646. <col ref="diagcdnm" visibility="hidden"/>
  647. <col ref="opcdnm"/>
  648. <col ref="perfdrnm" visibility="hidden" style="text-align:center; "/>
  649. <col ref="andrnm" visibility="hidden" style="text-align:center; "/>
  650. <col ref="opposition" visibility="hidden"/>
  651. <col ref="anstmthdcdnm" style="text-align:center; "/>
  652. <!-- ref="item1_1~item1_20, anstnurse1, item2_1~item2_20, anstnurse2"!-->
  653. </datagrid>
  654. </xhtml:body>
  655. </xhtml:html>