SMARC00101_당일접수환자조회.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>당일접수환자조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <pat_list>
  12. <reqrgstyn/>
  13. <orddd/>
  14. <pid/>
  15. <sex/>
  16. <hngnm/>
  17. <rrgstno1/>
  18. <rrgstno2/>
  19. <depthngnm/>
  20. <orddrnm/>
  21. <histstatnm/>
  22. <rqstflagnm/>
  23. <fsexamflag/>
  24. <rsrvflag/>
  25. <cretno/>
  26. <acptseqno/>
  27. <engnm/>
  28. <brthdd/>
  29. <hometel/>
  30. <mpphontel/>
  31. <zipcd1/>
  32. <zipcd2/>
  33. <detladdr/>
  34. <forgeryn/>
  35. <nati/>
  36. <psptno/>
  37. <ordtm/>
  38. <religncd/>
  39. <orddrid/>
  40. <orddeptcd/>
  41. <zipcdseq/>
  42. <fstrgstrnm/>
  43. <fstrgstdt/>
  44. <lastupdtrnm/>
  45. <lastupdtdt/>
  46. </pat_list>
  47. </list>
  48. <patinfo>
  49. <patinfolist/>
  50. </patinfo>
  51. <popupendflag/>
  52. <hiecnt>
  53. <hiecnt/>
  54. </hiecnt>
  55. <hielist/>
  56. </main>
  57. <send>
  58. <search>
  59. <f_date/>
  60. <t_date/>
  61. <orddeptcd/>
  62. <orddrid/>
  63. <hngnm/>
  64. <pid/>
  65. <histstat/>
  66. <reqrgstyn/>
  67. <rqstflag/>
  68. <fsexamflag/>
  69. <rsrvflag/>
  70. </search>
  71. <doctor/>
  72. <cond/>
  73. <hiesearch>
  74. <refereeorgid>1.2.410.200050.582.2.1.1:H</refereeorgid>
  75. </hiesearch>
  76. </send>
  77. <init>
  78. <dept>
  79. <dept>
  80. </dept>
  81. </dept>
  82. <doctlist>
  83. <medispcl>
  84. <doctid/>
  85. <doctnm/>
  86. </medispcl>
  87. </doctlist>
  88. <rqstflag>
  89. <P0329>
  90. </P0329>
  91. </rqstflag>
  92. <fsexamflag>
  93. <P0021/>
  94. </fsexamflag>
  95. <timer>60</timer>
  96. <interval/>
  97. </init>
  98. <temp/>
  99. <hidden>
  100. <cnt/>
  101. </hidden>
  102. </root>
  103. </instance>
  104. <script type="javascript" ev:event="xforms-ready">
  105. <![CDATA[
  106. fInit();
  107. ]]>
  108. </script>
  109. <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  110. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  111. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  112. <submission id="TRARC01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doctor" resultref="/root/init/doctlist"/>
  113. <submission id="TRARC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list"/>
  114. <submission id="TRARC00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/hiesearch" resultref="/root/main/hielist"/>
  115. </model>
  116. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  117. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  121. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  122. <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
  123. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  124. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  125. <script type="javascript">
  126. <![CDATA[
  127. // 초기값
  128. var gTimerID;
  129. var gCount = 60;
  130. function fInit()
  131. {
  132. // 오늘 날짜로 세팅
  133. var CurrentDate = getCurrentDate();
  134. model.setValue("/root/send/search/f_date", CurrentDate);
  135. model.setValue("/root/send/search/t_date", CurrentDate);
  136. // 공통코드 목록 가져오기
  137. zbcfGetCodeList(new Array("P0329", "P0021"),
  138. new Array("/root/init/rqstflag", "/root/init/fsexamflag") , true);
  139. // 진료과
  140. //var instcd = "012";
  141. var instcd = getUserInfo("dutplceinstcd");
  142. //var standard_yn = "orduseyn";
  143. var standard_yn = "rcptuseyn";
  144. var ord_deptflag = 'D';
  145. var rslt_ref = "/root/init/dept";
  146. var sort_method = "depthngnm";
  147. //var sort_method = "depthcd";
  148. //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
  149. sort_field = "depthngnm"
  150. zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method);
  151. // 진료과
  152. addComboItem("cmb_orddeptcd", "", "", "above");
  153. fDoctSerach();
  154. // 의뢰서여부cmb_rqstflag
  155. addComboItem("cmb_rqstflag", "", "", "above");
  156. // 초재진 여부
  157. addComboItem("cmb_fsexamflag", "", "", "above");
  158. model.setValue("/root/send/search/rqstflag", "1");
  159. // 의뢰등록여부-미등록 default
  160. model.setValue("/root/send/search/reqrgstyn", "N");
  161. model.removeNodeset("/root/main/list/pat_list");
  162. model.refresh();
  163. }
  164. // 진료의사 조회
  165. function fDoctSerach()
  166. {
  167. // 진료의사
  168. model.resetInstanceNode("/root/init/doctlist");
  169. model.removenode("/root/send/doctor");
  170. model.makeValue("/root/send/doctor/orddd", model.getValue("/root/send/search/f_date"));
  171. model.makeValue("/root/send/doctor/orddeptcd", model.getValue("/root/send/search/orddeptcd"));
  172. submit("TRARC01302", false);
  173. cmb_orddrid.select(0);
  174. //model.setValue("/root/main/patient/orddrid", orddrid);
  175. }
  176. // 저장전 필수 체크
  177. function fCheckDate()
  178. {
  179. var fromdd = model.getValue("/root/send/search/f_date");
  180. var todd = model.getValue("/root/send/search/t_date");
  181. var pid = model.getValue("/root/send/search/pid");
  182. //alert(getDateInterval(fromdd, todd));
  183. if (isNull(pid) == true)
  184. {
  185. if( ! isValidDateTime( fromdd, 'YYYYMMDD') || ! isValidDateTime( todd, 'YYYYMMDD') ){
  186. messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
  187. return false;
  188. }
  189. if( getDateInterval(fromdd, todd) > 6 ){
  190. messageBox("조회가능한 최대 기간은 1주일입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
  191. return false;
  192. }
  193. if( getDateInterval(fromdd, todd) < 0 ){
  194. messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
  195. return false;
  196. }
  197. // 날짜 계산
  198. var daycnt = getDateInterval(fromdd, todd);
  199. // 1일이 아닌 경우는 조건을 타야 함
  200. if (daycnt != 0)
  201. {
  202. if (ipt_hngnm.currentText.length > 0 && ipt_hngnm.currentText.length < 2) {
  203. messageBox("환자명은 2글자 이상으로 해주십시요!","E999","");
  204. //model.setFocus("ipt_pid");
  205. return false;
  206. }
  207. // 진료과 체크
  208. if (model.getValue("/root/send/search/orddeptcd") == "")
  209. {
  210. messageBox("일자구분에서 하루 이상의 기간을 선택했을 경우, 진료과는 조회 필수 조건입니다. 진료과를 입력하세요.", "E999", "");
  211. //messageBox("진료과를 ","C002");
  212. return false;
  213. }
  214. }
  215. /*
  216. if (model.getValue("/root/send/search/orddeptcd") == "" && model.getValue("/root/send/search/pid") == ""
  217. && model.getValue("/root/send/search/hngnm") == "" && model.getValue("/root/send/search/rqstflag") == "")
  218. {
  219. messageBox("진료과, 등록번호, 환자명, 의뢰서여부 중 하나의 조건을 ","C002");
  220. return false;
  221. }
  222. */
  223. //alert(ipt_hngnm.currentText.length);
  224. }
  225. return true;
  226. }
  227. // 조회
  228. function fSearch()
  229. {
  230. // reqGetPatientList
  231. // getPatientList
  232. submit("TRARC00101", false);
  233. }
  234. // 등록번호 조회 팝업
  235. function fPatPopUp()
  236. {
  237. if (ipt_pid.currentText.length> 0)
  238. {
  239. model.makeValue("/root/temp/pid", model.getValue("/root/send/pid"));
  240. model.makeValue("/root/temp/srchcond","1");
  241. model.makeValue("/root/temp/autoflag","Y");
  242. }
  243. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
  244. //model.resetInstanceNode("/root/main/patinfo/patinfolist");
  245. //model.resetInstanceNode("/root/send/cond");
  246. if (model.getValue("/root/main/popupendflag") == "ok")
  247. {
  248. model.setValue("/root/send/search/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  249. model.setValue("/root/send/search/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  250. }
  251. //fHistSearch();
  252. model.refresh();
  253. }
  254. // 의뢰환자등록 화면 Call
  255. function fReqRgst()
  256. {
  257. var mainObj = getMainViewer();
  258. if (pat_list.rows <= 1) return;
  259. if (pat_list.row < 1) return;
  260. var idxRow = pat_list.row; //그리드에서 해당 환자 선택
  261. var instcd = getUserInfo("dutplceinstcd");
  262. var pid = model.getValue("/root/main/list/pat_list["+idxRow+"]/pid");
  263. var orddd = model.getValue("/root/main/list/pat_list["+idxRow+"]/orddd");
  264. var cretno = model.getValue("/root/main/list/pat_list["+idxRow+"]/cretno");
  265. var acptseqno = model.getValue("/root/main/list/pat_list["+idxRow+"]/acptseqno");
  266. var histstat = model.getValue("/root/main/list/pat_list["+idxRow+"]/histstat");
  267. clearParameter("pid");
  268. if (histstat == "R")
  269. {
  270. //var condparam = "O▦" + pid + "▦" + orddd + "▦" + cretno + "▦012▦" + acptseqno + "▦" + orddd;
  271. //var condparam = "O▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd + "▦" + getCurrentDate();
  272. var condparam = "O▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd + "▦" + orddd;
  273. //alert(condparam);
  274. setParameter("condparam", condparam);
  275. //modal("SPMMO08900");
  276. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  277. }
  278. else
  279. {
  280. if(getGlobalVariable("paminfo").length > 0){
  281. delPatientInfos();
  282. }
  283. var pid = setParameter("pid", pid);
  284. }
  285. var curEmrRecObj = getOpenWindow("SPARC00100"); //활성화된 진료기록 화면 object loading
  286. //var curCpObj = mainObj.javascript.getOpenWindow("SPARC00100"); //활성화된 CP Main 화면 object loading
  287. //alert(curCpObj);
  288. if (curEmrRecObj != null)
  289. {
  290. //alert("AA");
  291. curEmrRecObj.javascript.fInit();
  292. }
  293. else
  294. {
  295. //curCpObj.javascript.fInit();
  296. //alert("bb");
  297. open("SPARC00100",1,1,1, "SPARC00100", "", "", "", false);
  298. }
  299. }
  300. // 리스트 엑셀 파일로 저장
  301. function fExcel()
  302. {
  303. if (pat_list.rows <= 1) return;
  304. var fileName = window.fileDialog("save", ",", false, "당일접수환자 리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  305. if (fileName != ""){
  306. pat_list.saveExcel(fileName, "SheetName", false, false, "", "", false);
  307. }
  308. }
  309. // 초기화
  310. function fAllClear()
  311. {
  312. model.resetInstanceNode("/root/send/search");
  313. // 오늘 날짜로 세팅
  314. var CurrentDate = getCurrentDate();
  315. model.setValue("/root/send/search/f_date", CurrentDate);
  316. model.setValue("/root/send/search/t_date", CurrentDate);
  317. cmb_reqrgstyn.select(0);
  318. model.setValue("/root/send/search/rqstflag", "1");
  319. // 의뢰등록여부-미등록 default
  320. model.setValue("/root/send/search/reqrgstyn", "N");
  321. //model.resetInstanceNode("/root/init/doctlist");
  322. fDoctSerach();
  323. model.removeNodeset("/root/main/list/pat_list");
  324. model.refresh();
  325. }
  326. function fHIEstacpt() {
  327. if(gCount <= 0) {
  328. model.removeNodeset("/root/main/hielist");
  329. model.removeNodeset("/root/main/hiecnt");
  330. model.makeValue("/root/send/hiesearch/startdd",getCurrentDate());
  331. model.makeValue("/root/send/hiesearch/enddd",getCurrentDate());
  332. model.makeValue("/root/send/hiesearch/taskstatuscd","REQUEST/TRANSFER");
  333. model.makeValue("/root/send/hiesearch/transfermode","RECEIVE");
  334. if (submit("TRARC00105", false) == true) {
  335. model.makeValue("/root/main/hiecnt/hiecnt",getNodesetCount("/root/main/hielist"));
  336. }
  337. model.refresh();
  338. window.clearinterval(gTimerID);
  339. gCount = model.getValue("/root/init/timer");
  340. gTimerID = window.setInterval( "fHIEstacpt();", 1000);
  341. } else{
  342. gCount--;
  343. model.setValue("/root/init/interval", gCount);
  344. opt_interval.refresh();
  345. }
  346. }
  347. function fHIEStartStop() {
  348. var interval = model.getValue("/root/init/timer");
  349. if(interval <= 0){
  350. messageBox("Time이 0초인 상태로는 시작","E001");
  351. return;
  352. }
  353. if (btn_interval.attribute("text") == "HIE 시작"){
  354. btn_interval.attribute("text") = "HIE 멈춤";
  355. gCount = interval;
  356. model.refresh();
  357. gTimerID = window.setInterval( "fHIEstacpt();", 1000);
  358. } else {
  359. window.clearinterval(gTimerID);
  360. btn_interval.attribute("text") = "HIE 시작";
  361. model.refresh();
  362. }
  363. }
  364. ]]>
  365. </script>
  366. </xhtml:head>
  367. <xhtml:body guideline="1,2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  368. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
  369. <group id="group2" style="left:0px; top:13px; width:1195px; height:744px; vertical-align:top; ">
  370. <group id="group1" style="left:0px; top:10px; width:1194px; height:95px; vertical-align:top; ">
  371. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:90px; "/>
  372. <line id="line8" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:85px; "/>
  373. <caption id="caption9" class="search_name" style="left:20px; top:10px; width:94px; height:17px; ">조회일자 :</caption>
  374. <caption id="caption11" class="search_name" style="left:360px; top:10px; width:94px; height:17px; ">진료과 :</caption>
  375. <caption id="caption5" class="search_no_b" style="left:212px; top:10px; width:12px; height:17px; ">~</caption>
  376. <caption id="caption4" class="search_name" style="left:595px; top:10px; width:94px; height:17px; ">진료의사 :</caption>
  377. <caption id="caption1" class="search_name" style="left:360px; top:35px; width:94px; height:17px; ">환자명 :</caption>
  378. <caption id="caption3" class="search_name" style="left:20px; top:35px; width:94px; height:17px; ">등록번호 :</caption>
  379. <button id="btn_pat" class="icon_search" style="left:210px; top:36px; width:16px; height:16px; ">
  380. <caption/>
  381. <script type="javascript" ev:event="DOMActivate">
  382. <![CDATA[
  383. fPatPopUp();
  384. ]]>
  385. </script>
  386. </button>
  387. <input id="ipt_fromdd" ref="/root/send/search/f_date" class="input_search" inputtype="date" style="left:110px; top:10px; width:95px; height:19px; "/>
  388. <input id="ipt_todd" ref="/root/send/search/t_date" class="input_search" inputtype="date" style="left:230px; top:10px; width:95px; height:19px; "/>
  389. <select1 id="cmb_orddeptcd" ref="/root/send/search/orddeptcd" class="combo_search" appearance="minimal" style="left:440px; top:10px; width:100px; height:19px; ">
  390. <choices>
  391. <itemset nodeset="/root/init/dept/dept">
  392. <label ref="depthngnm"/>
  393. <value ref="deptcd"/>
  394. </itemset>
  395. </choices>
  396. <script type="javascript" ev:event="xforms-value-changed">
  397. <![CDATA[
  398. fDoctSerach();
  399. model.refresh();
  400. ]]>
  401. </script>
  402. </select1>
  403. <input id="ipt_pid" ref="/root/send/search/pid" appearance="input" style="left:110px; top:35px; width:95px; height:19px; "/>
  404. <input id="ipt_hngnm" ref="/root/send/search/hngnm" imemode="hangul" appearance="input" style="left:440px; top:35px; width:100px; height:19px; "/>
  405. <button id="btn_search" class="btn1_letter2" style="left:1126px; top:35px; width:56px; height:22px; ">
  406. <caption>조회</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. if ( !fCheckDate() ) return; //필수 저장여부 체크
  410. fSearch();
  411. model.refresh();
  412. ]]>
  413. </script>
  414. </button>
  415. <caption id="caption6" class="search_name" style="left:595px; top:35px; width:112px; height:17px; ">의뢰등록여부 :</caption>
  416. <select id="checkbox2" ref="/root/send/search/histstat" overflow="visible" appearance="full" style="left:855px; top:35px; width:115px; height:20px; border-style:none; ">
  417. <choices>
  418. <item>
  419. <label>접수변경/취소</label>
  420. <value>Y</value>
  421. </item>
  422. </choices>
  423. </select>
  424. <select1 id="cmb_reqrgstyn" ref="/root/send/search/reqrgstyn" class="combo_search" appearance="minimal" style="left:710px; top:35px; width:100px; height:19px; ">
  425. <choices>
  426. <item>
  427. <label>- 전 체 -</label>
  428. <value>A</value>
  429. </item>
  430. <item>
  431. <label>등록</label>
  432. <value>Y</value>
  433. </item>
  434. <item>
  435. <label>미등록</label>
  436. <value>N</value>
  437. </item>
  438. </choices>
  439. </select1>
  440. <caption id="caption7" class="search_name" style="left:855px; top:10px; width:112px; height:17px; ">의뢰서여부 :</caption>
  441. <select1 id="cmb_rqstflag" ref="/root/send/search/rqstflag" class="combo_search" appearance="minimal" style="left:960px; top:10px; width:100px; height:19px; ">
  442. <choices>
  443. <itemset nodeset="/root/init/rqstflag/P0329">
  444. <label ref="cdnm"/>
  445. <value ref="cdid"/>
  446. </itemset>
  447. </choices>
  448. </select1>
  449. <select1 id="cmb_orddrid" ref="/root/send/search/orddrid" class="combo_search" appearance="minimal" style="left:710px; top:10px; width:100px; height:19px; ">
  450. <choices>
  451. <itemset nodeset="/root/init/doctlist/medispcl">
  452. <label ref="doctnm"/>
  453. <value ref="doctid"/>
  454. </itemset>
  455. </choices>
  456. </select1>
  457. <caption id="caption10" class="search_name" style="left:20px; top:60px; width:112px; height:17px; ">초재진구분 :</caption>
  458. <caption id="caption12" class="search_name" style="left:360px; top:60px; width:175px; height:17px; ">Consult의뢰 :</caption>
  459. <select1 id="cmb_fsexamflag" ref="/root/send/search/fsexamflag" class="combo_search" appearance="minimal" style="left:125px; top:60px; width:100px; height:19px; ">
  460. <choices>
  461. <itemset nodeset="/root/init/fsexamflag/P0021">
  462. <label ref="cdnm"/>
  463. <value ref="cdid"/>
  464. </itemset>
  465. </choices>
  466. </select1>
  467. <select1 id="cmb_rsrvflag" ref="/root/send/search/rsrvflag" class="combo_search" appearance="minimal" style="left:475px; top:60px; width:100px; height:19px; ">
  468. <choices>
  469. <item>
  470. <label>- 전 체 -</label>
  471. <value/>
  472. </item>
  473. <item>
  474. <label>Y</label>
  475. <value>C</value>
  476. </item>
  477. <item>
  478. <label>N</label>
  479. <value>N</value>
  480. </item>
  481. </choices>
  482. </select1>
  483. </group>
  484. <datagrid id="pat_list" nodeset="/root/main/list/pat_list" visibility="visible" caption="의뢰등록여부^진료일자^등록번호^성별^환자명^주민번호^주민번호^진료과^진료의사^접수상태^의뢰서여부^초재진여부^Consult의뢰^최초등록자^최초등록일^최종수정자^최종수정일^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17" colsep="^" colwidth="88, 86, 90, 60, 118, 80, 80, 110, 110, 80, 80, 100, 80, 100, 122, 100, 122, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:133px; width:1195px; height:601px; text-align:center; vertical-align:middle; ">
  485. <col ref="reqrgstyn"/>
  486. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  487. <col ref="pid"/>
  488. <col disabled="true" ref="sex" type="combo" style="text-align:center; ">
  489. <choices>
  490. <item>
  491. <label>남</label>
  492. <value>M</value>
  493. </item>
  494. <item>
  495. <label>여</label>
  496. <value>F</value>
  497. </item>
  498. </choices>
  499. </col>
  500. <col ref="hngnm" style="left:280px; top:23px; width:80px; height:23px; "/>
  501. <col ref="rrgstno1" style="left:400px; top:23px; width:80px; height:23px; text-align:center; "/>
  502. <col ref="rrgstno2" secretstartposition="1" style="text-align:center; "/>
  503. <col ref="depthngnm" style="left:400px; top:23px; width:80px; height:23px; "/>
  504. <col ref="orddrnm" style="left:400px; top:23px; width:80px; height:23px; "/>
  505. <col ref="histstatnm"/>
  506. <col ref="rqstflagnm" style="text-align:center; "/>
  507. <col disabled="true" ref="fsexamflag" type="combo" style="text-align:center; ">
  508. <choices>
  509. <itemset nodeset="/root/init/fsexamflag/P0021">
  510. <label ref="cdnm"/>
  511. <value ref="cdid"/>
  512. </itemset>
  513. </choices>
  514. </col>
  515. <col disabled="true" ref="rsrvflag" type="combo">
  516. <choices>
  517. <item>
  518. <label>Y</label>
  519. <value>C</value>
  520. </item>
  521. <item>
  522. <label>N</label>
  523. <value>N</value>
  524. </item>
  525. </choices>
  526. </col>
  527. <col ref="fstrgstrnm"/>
  528. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  529. <col ref="lastupdtrnm"/>
  530. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  531. <col ref="cretno" visibility="hidden"/>
  532. <col ref="acptseqno" visibility="hidden"/>
  533. <col ref="engnm" visibility="hidden"/>
  534. <col ref="brthdd" visibility="hidden"/>
  535. <col ref="hometel" visibility="hidden"/>
  536. <col ref="mpphontel" visibility="hidden"/>
  537. <col ref="zipcd1" visibility="hidden"/>
  538. <col ref="zipcd2" visibility="hidden"/>
  539. <col ref="detladdr" visibility="hidden"/>
  540. <col ref="forgeryn" visibility="hidden"/>
  541. <col ref="nati" visibility="hidden"/>
  542. <col ref="psptno" visibility="hidden"/>
  543. <col ref="ordtm" visibility="hidden"/>
  544. <col ref="religncd" visibility="hidden"/>
  545. <col ref="orddrid" visibility="hidden"/>
  546. <col ref="orddeptcd" visibility="hidden"/>
  547. <col ref="zipcdseq" visibility="hidden"/>
  548. <script type="javascript" ev:event="ondblclick">
  549. <![CDATA[
  550. fReqRgst();
  551. ]]>
  552. </script>
  553. <script type="javascript" ev:event="onaftersort">
  554. <![CDATA[
  555. pat_list.gridToInstance();
  556. ]]>
  557. </script>
  558. </datagrid>
  559. <line id="line1" class="line_1" style="x1:0px; y1:129px; x2:1194px; y2:129px; "/>
  560. <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:109px; width:42px; height:22px; ">
  561. <caption>엑셀</caption>
  562. <script type="javascript" ev:event="DOMActivate">
  563. <![CDATA[
  564. fExcel();
  565. ]]>
  566. </script>
  567. </button>
  568. <caption id="caption8" class="tit_2" style="left:5px; top:112px; width:139px; height:16px; ">당일접수환자 리스트</caption>
  569. </group>
  570. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  571. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">당일접수환자조회</caption>
  572. </group>
  573. <group id="group6" style="left:0px; top:755px; width:1195px; height:27px; ">
  574. <button id="btn_allclear" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  575. <caption>초기화</caption>
  576. <script type="javascript" ev:event="DOMActivate">
  577. <![CDATA[
  578. fAllClear();
  579. ]]>
  580. </script>
  581. </button>
  582. <output id="out_hiecnt" ref="/root/main/hiecnt/hiecnt" class="output_fix" style="left:912px; top:5px; width:35px; height:19px; "/>
  583. <button id="btn_interval" class="btn4_letter4" style="left:955px; top:3px; width:152px; height:22px; ">
  584. <caption>HIE 시작</caption>
  585. <script type="javascript" ev:event="DOMActivate">
  586. <![CDATA[
  587. fHIEStartStop();
  588. ]]>
  589. </script>
  590. </button>
  591. </group>
  592. </group>
  593. <button id="btn_subtime" navindex="31" style="left:861px; top:756px; width:15px; height:15px; ">
  594. <caption>▼</caption>
  595. <script type="javascript" ev:event="DOMActivate">
  596. <![CDATA[
  597. if(ipt_timer.currentText > 0) {
  598. model.setValue("/root/init/timer", parseInt(model.getValue("/root/init/timer")) - 1);
  599. } else if(ipt_timer.currentText == 0 && btn_interval.attribute("text") == "HIE 멈춤") {
  600. window.clearinterval(gTimerID);
  601. btn_interval.attribute("text") = "HIE 시작";
  602. }
  603. model.refresh();
  604. ]]>
  605. </script>
  606. </button>
  607. <button id="btn_addtime" navindex="32" style="left:861px; top:768px; width:15px; height:15px; ">
  608. <caption>▲</caption>
  609. <script type="javascript" ev:event="DOMActivate">
  610. <![CDATA[
  611. model.setValue("/root/init/timer", parseInt(model.getValue("/root/init/timer")) + 1);
  612. model.refresh();
  613. ]]>
  614. </script>
  615. </button>
  616. <input id="ipt_timer" ref="/root/init/timer" class="input_search" navindex="30" style="left:834px; top:760px; width:25px; height:19px; ">
  617. <hint>
  618. <![CDATA[단위 : 초]]>
  619. </hint>
  620. </input>
  621. <output id="opt_interval" ref="/root/init/interval" class="output_fix" style="left:874px; top:760px; width:25px; height:19px; "/>
  622. <input id="ipt_refereeorgid" ref="/root/send/hiesearch/refereeorgid" disabled="true" visibility="hidden" style="left:755px; top:760px; width:25px; height:19px; "/>
  623. </xhtml:body>
  624. </xhtml:html>