SMMNV31100_전광판통합관리(검사실).xrw 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472
  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. <ordschelist>
  11. <ordschelistinfo>
  12. <recoflag/>
  13. <rsrvtm/>
  14. <acpttm/>
  15. <pid/>
  16. <patnm/>
  17. <sna/>
  18. <roomcd/>
  19. <holdflag/>
  20. <comeflag/>
  21. <rsrvflag/>
  22. <selfstatuscd/>
  23. <patmsgcd/>
  24. <instcd/>
  25. <execprcpuniqno/>
  26. <endflag/>
  27. <rsrvtmseq/>
  28. <suppdeptcd/>
  29. <excuroomcd/>
  30. <rsrvdd/>
  31. </ordschelistinfo>
  32. <ordentroomlistinfo>
  33. <outflag/>
  34. <holdflag/>
  35. <rsrvtm/>
  36. <acpttm/>
  37. <pid/>
  38. <patnm/>
  39. <sna/>
  40. <selfstatuscd/>
  41. <execprcpuniqno/>
  42. </ordentroomlistinfo>
  43. <ordscheretelistinfo>
  44. <comeflag/>
  45. <rsrvtm/>
  46. <acpttm/>
  47. <pid/>
  48. <patnm/>
  49. <sna/>
  50. <execprcpuniqno/>
  51. </ordscheretelistinfo>
  52. <statusinfo>
  53. <wgdmnm/>
  54. <wgdmcd/>
  55. <suppdeptcd/>
  56. <excuroomcd/>
  57. <useflag/>
  58. </statusinfo>
  59. <patmsglist>
  60. <wgdmnm/>
  61. <wgdmcd/>
  62. <suppdeptcd/>
  63. <excuroomcd/>
  64. <useflag/>
  65. </patmsglist>
  66. <scrnmsginfo1>
  67. <msg/>
  68. </scrnmsginfo1>
  69. <scrnmsginfo2>
  70. <msg/>
  71. </scrnmsginfo2>
  72. <scrnmsginfo3>
  73. <msg/>
  74. <msgfromtm/>
  75. <msgtotm/>
  76. </scrnmsginfo3>
  77. <scrnmsginfo4>
  78. <msg/>
  79. <msgfromtm/>
  80. <msgtotm/>
  81. </scrnmsginfo4>
  82. </ordschelist>
  83. <chkvalue/>
  84. </main>
  85. <send>
  86. <srchmain>
  87. <rsrvdd/>
  88. <suppdeptcd/>
  89. <excuroomcd/>
  90. <recoflag>Y</recoflag>
  91. <srtflag>1</srtflag>
  92. <userid/>
  93. <autoactyn>Y</autoactyn>
  94. <excucnt>1</excucnt>
  95. <dayflag>3</dayflag>
  96. <unrsrvflag/>
  97. <statusinfo>
  98. <wgdmnm/>
  99. <wgdmcd/>
  100. <suppdeptcd/>
  101. <excuroomcd/>
  102. <useflag/>
  103. <setflag/>
  104. </statusinfo>
  105. <wgdscrnyn/>
  106. <excuroomgrp/>
  107. <prcpstatcd>Y</prcpstatcd>
  108. </srchmain>
  109. <svinfo>
  110. <flag/>
  111. <pid/>
  112. <execprcpuniqno/>
  113. <rsrvdd/>
  114. <suppdeptcd/>
  115. <excuroomcd/>
  116. <selfstatuscd/>
  117. <patmsgcd/>
  118. </svinfo>
  119. <data/>
  120. <scrnmsginfo>
  121. <cretno/>
  122. <orddeptcd/>
  123. <msg/>
  124. </scrnmsginfo>
  125. <savedata/>
  126. <globalinstance>
  127. <instance1/>
  128. </globalinstance>
  129. </send>
  130. <init>
  131. <cmb_info>
  132. <suppdeptlist>
  133. <suppdept>
  134. <suppdeptcd/>
  135. <depthngnm/>
  136. </suppdept>
  137. </suppdeptlist>
  138. <excuroomcdlist>
  139. <excuroom>
  140. <excuroomcd/>
  141. <excuroomnm/>
  142. </excuroom>
  143. </excuroomcdlist>
  144. <usersetinfolist>
  145. <userinfo>
  146. <dayflag/>
  147. <srtflag/>
  148. <userid/>
  149. <autoactyn/>
  150. <excucnt/>
  151. <wgdscrny/>
  152. <unrsrvflag/>
  153. <recoflag/>
  154. </userinfo>
  155. </usersetinfolist>
  156. <initexcuroomgrp>
  157. <excuroomgrpcdid/>
  158. <excuroomgrpcdnm/>
  159. </initexcuroomgrp>
  160. </cmb_info>
  161. </init>
  162. <hidden>
  163. <popupmenu>
  164. <menu>
  165. <item>
  166. <label>행삭제</label>
  167. <func>fMasterDel1</func>
  168. </item>
  169. </menu>
  170. <menu2>
  171. <item>
  172. <label>행삭제</label>
  173. <func>fMasterDel2</func>
  174. </item>
  175. </menu2>
  176. </popupmenu>
  177. </hidden>
  178. </root>
  179. </instance>
  180. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  181. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  182. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  183. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  184. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  185. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  186. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  187. <script type="javascript">
  188. <![CDATA[
  189. //=====================================================================================================================================================================================
  190. // @ 검색조건 - 검사일자/지원부서 콤보 조회
  191. //=====================================================================================================================================================================================
  192. function finit(){
  193. //지원부서코드 세팅
  194. aezfSetSuppDeptcd();
  195. model.setValue("/root/send/srchmain/suppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  196. //검사일자 세팅
  197. var CurrentDate = getCurrentDate();
  198. model.makeValue("/root/send/srchmain/rsrvdd",CurrentDate);
  199. //지원부서
  200. submit("TRMNV31101", false);
  201. //사용자 환경 설정
  202. fUserInfoList();
  203. //조회버튼
  204. fOrdScheList();
  205. }
  206. //=====================================================================================================================================================================================
  207. // @ 검색조건 - 검사실 콤보 조회
  208. //=====================================================================================================================================================================================
  209. function fUserInfoList(){
  210. submit("TRMNV31104", false);
  211. model.setValue("/root/send/srchmain/dayflag",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/dayflag"));
  212. model.setValue("/root/send/srchmain/srtflag",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/srtflag"));
  213. model.setValue("/root/send/srchmain/userid",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/userid"));
  214. model.setValue("/root/send/srchmain/autoactyn",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/autoactyn"));
  215. model.setValue("/root/send/srchmain/excucnt",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/excucnt"));
  216. model.setValue("/root/send/srchmain/wgdscrnyn",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/wgdscrnyn"));
  217. model.setValue("/root/send/srchmain/unrsrvflag",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/unrsrvflag"));
  218. model.setValue("/root/send/srchmain/recoflag",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/recoflag"));
  219. model.setValue("/root/send/srchmain/prcpstatcd",model.getValue("/root/init/cmb_info/usersetinfolist/userinfo/prcpstatcd"));
  220. }
  221. //=====================================================================================================================================================================================
  222. // @ 검색조건 - 검사실 콤보 조회
  223. //=====================================================================================================================================================================================
  224. function fExcuroomList(){
  225. submit("TRMNV31102", false);
  226. model.refresh();
  227. }
  228. //=====================================================================================================================================================================================
  229. // @ 사용자 환경 설정
  230. //=====================================================================================================================================================================================
  231. function fSaveWGDUserSet(){
  232. if(model.getValue("/root/send/srchmain/unrsrvflag") != "Y" ){
  233. model.setValue("/root/send/srchmain/unrsrvflag","");
  234. }
  235. if(model.getValue("/root/send/srchmain/wgdscrnyn") != "Y" ){
  236. model.setValue("/root/send/srchmain/wgdscrnyn","N");
  237. }
  238. if(model.getValue("/root/send/srchmain/autoactyn") != "Y" ){
  239. model.setValue("/root/send/srchmain/autoactyn","N");
  240. }
  241. submit("TXMNV31103",false);
  242. submit("TRMNV31104",false);
  243. fOrdScheList();
  244. //model.refresh();
  245. }
  246. //=====================================================================================================================================================================================
  247. // @ 대기자리스트 , 검사중/들어오실분, 검사실앞 대기환자, 보류환자조회
  248. //=====================================================================================================================================================================================
  249. function fOrdScheList(){
  250. //사용자 환경 설정
  251. fUserInfoList();
  252. submit("TRMNV31103",false);
  253. //대기 상태 리스트일때
  254. if( model.getValue("/root/send/srchmain/recoflag") == "1" && model.getValue("/root/send/srchmain/autoactyn") == "Y" ) {
  255. fOrdRoomInfrWaitPat(); // 진료대기예정자 리스트의 상위2명을 진료실 앞 대기 환자로 셋팅해주는 함수
  256. //입실 항목 비활성화
  257. grd_ordschelistinfo.colDisabled(9)=true;
  258. }else{
  259. //입실 항목 비활성화
  260. grd_ordschelistinfo.colDisabled(9)=false;
  261. }
  262. grd_statusmaster.addRow();
  263. grd_patmsg.addRow();
  264. model.refresh();
  265. }
  266. //=====================================================================================================================================================================================
  267. // @ 대기자리스트 값 수정
  268. //=====================================================================================================================================================================================
  269. function fChangedDspflag(grd){
  270. if(grd=="grd_ordschelistinfo"){ //대기자리스트
  271. //1. 회복중 처리
  272. if( grd_ordschelistinfo.col == 1 && isDataCell()) {
  273. var sPath = "/root/main/ordschelist/ordschelistinfo";
  274. model.removenode("/root/send/svinfo");
  275. //1-1. 회복중 설정
  276. if( model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/recoflag") == 'Y' ){
  277. //완료자리스트인 경우 완료여부도 'Y'로 처리한다.
  278. if( model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/endflag") == 'Y' ){
  279. model.makeValue("/root/send/svinfo/flag", "R1" );
  280. }else{
  281. model.makeValue("/root/send/svinfo/flag", "R2" );
  282. }
  283. }
  284. //1-2. 회복중 취소
  285. else{
  286. model.makeValue("/root/send/svinfo/flag", "R3" );
  287. }
  288. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/pid"));
  289. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  290. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/execprcpuniqno"));
  291. model.makeValue("/root/send/svinfo/selfstatuscd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/selfstatuscd"));
  292. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/patmsgcd"));
  293. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  294. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  295. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/rsrvtm"));
  296. }
  297. //2. 보류처리
  298. else if( grd_ordschelistinfo.col == 8 && isDataCell()) {
  299. var sPath = "/root/main/ordschelist/ordschelistinfo";
  300. model.removenode("/root/send/svinfo");
  301. model.makeValue("/root/send/svinfo/flag", "H" );
  302. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/pid"));
  303. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  304. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/execprcpuniqno"));
  305. model.makeValue("/root/send/svinfo/selfstatuscd", "H" ); //T 보류
  306. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/patmsgcd"));
  307. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  308. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  309. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/rsrvtm"));
  310. }
  311. //3. 대기처리 (완료자리스트에서)
  312. else if( grd_ordschelistinfo.col == 9 && isDataCell()) {
  313. var sPath = "/root/main/ordschelist/ordschelistinfo";
  314. model.removenode("/root/send/svinfo");
  315. model.makeValue("/root/send/svinfo/flag", "W" );
  316. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/pid"));
  317. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  318. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/execprcpuniqno"));
  319. model.makeValue("/root/send/svinfo/selfstatuscd", "W" ); //T 보류
  320. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/patmsgcd"));
  321. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  322. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  323. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/rsrvtm"));
  324. }
  325. //4. 상태변경
  326. else if( grd_ordschelistinfo.col == 11) {
  327. var sPath = "/root/main/ordschelist/ordschelistinfo";
  328. model.removenode("/root/send/svinfo");
  329. //[회복중]선택시 블러킹
  330. if( model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/selfstatuscd") == "R"){
  331. messageBox("맨 앞의 [회복]항목을 체크시 자동으로 완료된 처방이 [회복중]으로 변경됩니다. 다른 상태코드를","C002");
  332. }else{
  333. model.makeValue("/root/send/svinfo/flag", "S" );
  334. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/pid"));
  335. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  336. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/execprcpuniqno"));
  337. model.makeValue("/root/send/svinfo/selfstatuscd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/selfstatuscd"));
  338. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/patmsgcd"));
  339. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  340. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  341. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/rsrvtm"));
  342. }
  343. }
  344. //5. 개인메시지 변경
  345. else if( grd_ordschelistinfo.col == 12) {
  346. var sPath = "/root/main/ordschelist/ordschelistinfo";
  347. model.removenode("/root/send/svinfo");
  348. model.makeValue("/root/send/svinfo/flag", "P" );
  349. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/pid"));
  350. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  351. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/execprcpuniqno"));
  352. model.makeValue("/root/send/svinfo/selfstatuscd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/selfstatuscd"));
  353. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/patmsgcd"));
  354. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  355. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  356. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordschelistinfo.row +"]/rsrvtm"));
  357. }
  358. }else if(grd=="grd_ordinfoschelistinfo"){ //검사중/들어오실분
  359. //1. 보류처리
  360. if( grd_ordinfoschelistinfo.col == 2 && isDataCell()) { //검사중/들어오실분
  361. var sPath = "/root/main/ordschelist/ordentroomlistinfo";
  362. model.removenode("/root/send/svinfo");
  363. model.makeValue("/root/send/svinfo/flag", "H" );
  364. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/pid"));
  365. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  366. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/execprcpuniqno"));
  367. model.makeValue("/root/send/svinfo/selfstatuscd", "H" ); //T 보류
  368. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/patmsgcd"));
  369. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  370. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  371. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/rsrvtm"));
  372. }//2. 완료처리
  373. else if( grd_ordinfoschelistinfo.col == 1 && isDataCell()) { //검사중/들어오실분
  374. var sPath = "/root/main/ordschelist/ordentroomlistinfo";
  375. model.removenode("/root/send/svinfo");
  376. model.makeValue("/root/send/svinfo/flag", "E" );
  377. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/pid"));
  378. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  379. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/execprcpuniqno"));
  380. model.makeValue("/root/send/svinfo/selfstatuscd", "E" ); //E 완료
  381. model.makeValue("/root/send/svinfo/patmsgcd", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/patmsgcd"));
  382. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  383. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  384. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordinfoschelistinfo.row +"]/rsrvtm"));
  385. }
  386. }else if(grd=="grd_ordscheretelistinfo"){ //보류환자리스트
  387. //1. 대기처리
  388. if( grd_ordscheretelistinfo.col == 1 && isDataCell()) { // 보류환자리스트
  389. var sPath = "/root/main/ordschelist/ordscheretelistinfo";
  390. model.removenode("/root/send/svinfo");
  391. model.makeValue("/root/send/svinfo/flag", "W" );
  392. model.makeValue("/root/send/svinfo/pid", model.getValue(sPath + "[" + grd_ordscheretelistinfo.row +"]/pid"));
  393. model.makeValue("/root/send/svinfo/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  394. model.makeValue("/root/send/svinfo/execprcpuniqno", model.getValue(sPath + "[" + grd_ordscheretelistinfo.row +"]/execprcpuniqno"));
  395. model.makeValue("/root/send/svinfo/selfstatuscd", "-" );
  396. model.makeValue("/root/send/svinfo/suppdeptcd", model.getValue("/root/send/srchmain/suppdeptcd"));
  397. model.makeValue("/root/send/svinfo/excuroomcd", model.getValue("/root/send/srchmain/excuroomcd"));
  398. model.makeValue("/root/send/svinfo/rsrvtmseq", model.getValue(sPath + "[" + grd_ordscheretelistinfo.row +"]/rsrvtm"));
  399. }
  400. }
  401. if (submit("TXMNV31102", false)) {
  402. fOrdScheList();
  403. }
  404. }
  405. //=====================================================================================================================================================================================
  406. // @ 검사중/들어오실 분 리스트 조회 (상위 5명)
  407. //=====================================================================================================================================================================================
  408. function fOrdRoomInfrWaitPat(){
  409. model.removeNodeset("/root/main/ordschelist/ordentroomlistinfo");
  410. var cnt = 1;
  411. for(i=1; i <= getNodesetCount("/root/main/ordschelist/ordschelistinfo"); i++) {
  412. var rsrvtm=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/rsrvtm");
  413. var acpttm=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/acpttm");
  414. var pid=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/pid");
  415. var patnm=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/patnm");
  416. var sna=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/sna");
  417. var execprcpuniqno=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+i+"]/execprcpuniqno");
  418. var excucnt = model.getValue("/root/send/srchmain/excucnt") ;
  419. //상위 5명은 노란색으로 색깔 표시
  420. // grd_ordschelistinfo.rowstyle( i , "data" , "background-color" ) = "#ffff99";
  421. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/outflag","N");
  422. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/holdflag","N");
  423. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/rsrvtm",rsrvtm);
  424. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/acpttm",acpttm);
  425. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/pid",pid);
  426. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/patnm",patnm);
  427. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/sna",sna);
  428. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/selfstatuscd","-");
  429. model.makeValue("/root/main/ordschelist/ordentroomlistinfo"+"["+cnt+"]/execprcpuniqno",execprcpuniqno);
  430. cnt++;
  431. if(cnt > excucnt ) break; //excucnt 수 만큼 조회
  432. }
  433. model.refresh();
  434. }
  435. //=====================================================================================================================================================================================
  436. // @ 대기자리스트 상태별콤보 조회조건 (대기/완료/전체)
  437. //=====================================================================================================================================================================================
  438. function fChangeSrchStatus(){
  439. //대기 조회시
  440. if(model.getValue("/root/send/srchmain/recoflag") == "1"){
  441. chk_unrsrv.disabled=false;
  442. }
  443. //완료 조회시 미예약 무조건 포함
  444. else if(model.getValue("/root/send/srchmain/recoflag") == "2"){
  445. model.setValue("/root/send/srchmain/unrsrvflag","Y");
  446. chk_unrsrv.disabled=true;
  447. }
  448. //전체 조회
  449. else if(model.getValue("/root/send/srchmain/recoflag") == "3"){
  450. chk_unrsrv.disabled=false;
  451. }
  452. model.refresh();
  453. }
  454. //=====================================================================================================================================================================================
  455. // @검사상태/환자개인메시지 기준자료 등록
  456. //=====================================================================================================================================================================================
  457. function fMasterSet(grd){
  458. //검사상태(수동) 기준자료
  459. if(grd=="grd_statusmaster"){
  460. if( model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmcd") == "R"){
  461. messageBox("변경불가능한 상태코드입니다. 다른 상태코드를","C002");
  462. }else{
  463. model.makeValue("/root/send/srchmain/statusinfo/wgdmnm",model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmnm"));
  464. model.makeValue("/root/send/srchmain/statusinfo/wgdmcd",model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmcd"));
  465. model.makeValue("/root/send/srchmain/statusinfo/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  466. model.makeValue("/root/send/srchmain/statusinfo/excuroomcd",model.getValue("/root/send/srchmain/excuroomcd"));
  467. model.makeValue("/root/send/srchmain/statusinfo/useflag","A");
  468. model.makeValue("/root/send/srchmain/statusinfo/setflag","U");
  469. }
  470. }
  471. //환자개인메시지 기준자료
  472. else if(grd="grd_patmsg"){
  473. model.makeValue("/root/send/srchmain/statusinfo/wgdmnm",model.getValue("/root/main/ordschelist/patmsglist["+grd_patmsg.Row+"]/wgdmnm"));
  474. model.makeValue("/root/send/srchmain/statusinfo/wgdmcd",model.getValue("/root/main/ordschelist/patmsglist["+grd_patmsg.Row+"]/wgdmcd"));
  475. model.makeValue("/root/send/srchmain/statusinfo/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  476. model.makeValue("/root/send/srchmain/statusinfo/excuroomcd",model.getValue("/root/send/srchmain/excuroomcd"));
  477. model.makeValue("/root/send/srchmain/statusinfo/useflag","B");
  478. model.makeValue("/root/send/srchmain/statusinfo/setflag","U");
  479. }
  480. submit("TXMNV31101",false);
  481. fOrdScheList();
  482. }
  483. //=====================================================================================================================================================================================
  484. // @검사상태 기준자료 삭제
  485. //=====================================================================================================================================================================================
  486. function fMasterDel1(){
  487. if( model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmcd") == "R"){
  488. messageBox("삭제 불가능한 상태코드입니다. 다른 상태코드를","C002");
  489. }else{
  490. model.makeValue("/root/send/srchmain/statusinfo/wgdmnm",model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmnm"));
  491. model.makeValue("/root/send/srchmain/statusinfo/wgdmcd",model.getValue("/root/main/ordschelist/statusinfo["+grd_statusmaster.Row+"]/wgdmcd"));
  492. model.makeValue("/root/send/srchmain/statusinfo/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  493. model.makeValue("/root/send/srchmain/statusinfo/excuroomcd",model.getValue("/root/send/srchmain/excuroomcd"));
  494. model.makeValue("/root/send/srchmain/statusinfo/useflag","A");
  495. model.makeValue("/root/send/srchmain/statusinfo/setflag","D");
  496. }
  497. submit("TXMNV31101",false);
  498. fOrdScheList();
  499. }
  500. //=====================================================================================================================================================================================
  501. // @환자개인메시지 기준자료 삭제
  502. //=====================================================================================================================================================================================
  503. function fMasterDel2(){
  504. model.makeValue("/root/send/srchmain/statusinfo/wgdmnm",model.getValue("/root/main/ordschelist/patmsglist["+grd_patmsg.Row+"]/wgdmnm"));
  505. model.makeValue("/root/send/srchmain/statusinfo/wgdmcd",model.getValue("/root/main/ordschelist/patmsglist["+grd_patmsg.Row+"]/wgdmcd"));
  506. model.makeValue("/root/send/srchmain/statusinfo/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  507. model.makeValue("/root/send/srchmain/statusinfo/excuroomcd",model.getValue("/root/send/srchmain/excuroomcd"));
  508. model.makeValue("/root/send/srchmain/statusinfo/useflag","B");
  509. model.makeValue("/root/send/srchmain/statusinfo/setflag","D");
  510. submit("TXMNV31101",false);
  511. fOrdScheList();
  512. }
  513. //=====================================================================================================================================================================================
  514. // @대기자리스트 순서변경
  515. //=====================================================================================================================================================================================
  516. function fSetMenuGroupSeq(toSeq, type) // 순서 변경 함수
  517. {
  518. var isSeq = grd_ordschelistinfo.row; //클릭한 로우
  519. var fixRow = grd_ordschelistinfo.fixedRows;
  520. if(isSeq > 0){ // 클릭한 로우가 존재할 때
  521. var srcSeq = (isSeq > toSeq) ? isSeq+1 : isSeq; //클릭한 행과 이동할 행을 비교하여 클릭한 행이 클 때는
  522. grd_ordschelistinfo.insertRow(toSeq, type, false); // 이동할 위치에 행을 하나 삽입한다.
  523. model.copyNode("/root/main/ordschelist/ordschelistinfo["+grd_ordschelistinfo.row+"]", "/root/main/ordschelist/ordschelistinfo["+srcSeq+"]");
  524. // alert("srcSeq위치에행을삭제한다"+srcSeq);
  525. grd_ordschelistinfo.deleteRow(srcSeq, false);
  526. if(isSeq > toSeq){
  527. startRow = toSeq;
  528. endRow = isSeq;
  529. grd_ordschelistinfo.row = startRow; //위로 올릴때 포커스는 시작점
  530. //alert("start"+startRow);
  531. if(isSeq==startRow) // 순서 위로 변경시 변경한 순서와 처음 순서가 같을 때
  532. {
  533. model.makeValue("/root/chkvalue/chk","Y");
  534. //alert("위"+model.getValue("/root/chkvalue/chk"));
  535. }
  536. }else{
  537. startRow = isSeq;
  538. endRow = toSeq;
  539. grd_ordschelistinfo.row = endRow; //밑으로 내릴 때 포커스는 끝나는점
  540. //alert("end"+endRow);
  541. if(isSeq==endRow) // 순서 밑으로 변경시 변경한 순서와 처음 순서가 같을 때
  542. {
  543. model.makeValue("/root/chkvalue/chk","Y");
  544. //alert("아래"+model.getValue("/root/chkvalue/chk"));
  545. }
  546. }
  547. //바뀐 예약시간으로 설정
  548. fSetRsrvtmSeq();
  549. model.refresh();
  550. }else{
  551. messageBox("변경할 메뉴그룹을","C002");
  552. }
  553. }
  554. //=====================================================================================================================================================================================
  555. // @바뀐 예약시간으로 설정
  556. //=====================================================================================================================================================================================
  557. function fSetRsrvtmSeq(){
  558. /* var sPath = "/root/main/ordschelist/ordschelistinfo";
  559. var backRsrvtmseq = model.getValue(sPath+"["+ ( grd_ordschelistinfo.row + 1)+"]/rsrvtmseq");
  560. var frontRsrvtmseq = model.getValue(sPath+"["+ ( grd_ordschelistinfo.row - 1)+"]/rsrvtmseq");
  561. var selRsrvtmseq = model.getValue(sPath+"["+ grd_ordschelistinfo.row+"]/rsrvtmseq");
  562. model.setValue(sPath+"["+ grd_ordschelistinfo.row+"]/rsrvtmseq", ( backRsrvtmseq- 1 )); */
  563. var sPath = "/root/main/ordschelist/ordschelistinfo";
  564. for( var i=1 ; i < grd_ordschelistinfo.rows ; i++ ){
  565. model.setValue("/root/main/ordschelist/ordschelistinfo["+ i +"]/rsrvtmseq", i );
  566. }
  567. model.refresh();
  568. }
  569. //=====================================================================================================================================================================================
  570. // @ 바뀐 순서로 저장
  571. //=====================================================================================================================================================================================
  572. function fSetRsrvtmSeqSave(){
  573. var nodeList = instance1.selectNodes("/root/main/ordschelist/ordschelistinfo");
  574. var rCSV = getNodeListCSV(nodeList);
  575. model.makeValue("/root/send/data/ordschelist/ordschelistinfo", rCSV);
  576. if (submit("TXMNV31104", false)) {
  577. fOrdScheList();
  578. }
  579. }
  580. //=====================================================================================================================================================================================
  581. // @ 소대기/대대기 수시 공지 저장 (공지시간까지 공지)
  582. //=====================================================================================================================================================================================
  583. function fSetWaitRoomMsg(flag) {
  584. //입력 및 수정
  585. if(flag=="S"){
  586. //소대기 수시 공지
  587. if( model.getValue("/root/main/ordschelist/scrnmsginfo3/msg") != "" ){
  588. var msgfromtm=model.getValue("/root/main/ordschelist/scrnmsginfo3/msgfromtm");
  589. var msgtotm=model.getValue("/root/main/ordschelist/scrnmsginfo3/msgtotm");
  590. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  591. if(isNull(msgfromtm)){
  592. messageBox("공지사항 표시시간은","I003");
  593. model.setFocus("ipt_msgfromtm");
  594. return;
  595. }
  596. if(isNull(msgtotm)){
  597. messageBox("공지사항 표시시간은","I003");
  598. model.setFocus("ipt_msgtotm");
  599. return;
  600. }
  601. if(msgfromtm>msgtotm){
  602. messageBox("시작시간이 종료시간보다 클 수는","I004");
  603. model.setFocus("ipt_msgfromtm");
  604. return;
  605. }
  606. model.makeValue("/root/send/savedata/centcd","-");
  607. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  608. if(isNull(excuroomcd)){
  609. model.makeValue("/root/send/savedata/subdeptcd","-");
  610. }
  611. else{
  612. model.makeValue("/root/send/savedata/subdeptcd",model.getValue("/root/send/srchmain/excuroomcd"));
  613. }
  614. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  615. model.makeValue("/root/send/savedata/ordroomcd", "S"); //소대기
  616. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo3/msg"));
  617. model.makeValue("/root/send/savedata/msgfromtm",model.getValue("/root/main/ordschelist/scrnmsginfo3/msgfromtm"));
  618. model.makeValue("/root/send/savedata/msgtotm",model.getValue("/root/main/ordschelist/scrnmsginfo3/msgtotm"));
  619. model.makeValue("/root/send/savedata/delytm","");
  620. model.makeValue("/root/send/savedata/status","S"); //저장
  621. model.makeValue("/root/send/savedata/msgflag","M"); //M 수시 , N 일반
  622. submit("TXMNV31105",false);
  623. }
  624. //대대기 수시 공지
  625. if( model.getValue("/root/main/ordschelist/scrnmsginfo4/msg") != "" ){
  626. var msgfromtm=model.getValue("/root/main/ordschelist/scrnmsginfo4/msgfromtm");
  627. var msgtotm=model.getValue("/root/main/ordschelist/scrnmsginfo4/msgtotm");
  628. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  629. if(isNull(msgfromtm)){
  630. messageBox("공지사항 표시시간은","I003");
  631. model.setFocus("ipt_msgfromtm");
  632. return;
  633. }
  634. if(isNull(msgtotm)){
  635. messageBox("공지사항 표시시간은","I003");
  636. model.setFocus("ipt_msgtotm");
  637. return;
  638. }
  639. if(msgfromtm>msgtotm){
  640. messageBox("시작시간이 종료시간보다 클 수는","I004");
  641. model.setFocus("ipt_msgfromtm");
  642. return;
  643. }
  644. model.makeValue("/root/send/savedata/centcd","-");
  645. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  646. if(isNull(excuroomcd)){
  647. model.makeValue("/root/send/savedata/subdeptcd","-");
  648. }
  649. else{
  650. model.makeValue("/root/send/savedata/subdeptcd",model.getValue("/root/send/srchmain/excuroomcd"));
  651. }
  652. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  653. model.makeValue("/root/send/savedata/ordroomcd", "L"); //대대기
  654. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo4/msg"));
  655. model.makeValue("/root/send/savedata/msgfromtm",model.getValue("/root/main/ordschelist/scrnmsginfo4/msgfromtm"));
  656. model.makeValue("/root/send/savedata/msgtotm",model.getValue("/root/main/ordschelist/scrnmsginfo4/msgtotm"));
  657. model.makeValue("/root/send/savedata/delytm","");
  658. model.makeValue("/root/send/savedata/status","S"); //저장
  659. model.makeValue("/root/send/savedata/msgflag","M"); //M 수시 , N 일반
  660. submit("TXMNV31105",false);
  661. }
  662. }
  663. //삭제
  664. else if (flag=="D"){
  665. //소대기 수시 공지
  666. if( model.getValue("/root/main/ordschelist/scrnmsginfo3/msg") != "" ){
  667. model.makeValue("/root/send/savedata/centcd","-");
  668. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  669. if(isNull(excuroomcd)){
  670. model.makeValue("/root/send/savedata/subdeptcd","-");
  671. }
  672. else{
  673. model.makeValue("/root/send/savedata/subdeptcd",model.getValue("/root/send/srchmain/excuroomcd"));
  674. }
  675. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  676. model.makeValue("/root/send/savedata/ordroomcd", "S"); //소대기
  677. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo3/msg"));
  678. model.makeValue("/root/send/savedata/msgfromtm",model.getValue("/root/main/ordschelist/scrnmsginfo3/msgfromtm"));
  679. model.makeValue("/root/send/savedata/msgtotm",model.getValue("/root/main/ordschelist/scrnmsginfo3/msgtotm"));
  680. model.makeValue("/root/send/savedata/delytm","");
  681. model.makeValue("/root/send/savedata/status","D"); // 삭제
  682. model.makeValue("/root/send/savedata/msgflag","M"); //M 수시 , N 일반
  683. submit("TXMNV31105",false);
  684. }
  685. //대대기 수시 공지
  686. if( model.getValue("/root/main/ordschelist/scrnmsginfo4/msg") != "" ){
  687. model.makeValue("/root/send/savedata/centcd","-");
  688. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  689. if(isNull(excuroomcd)){
  690. model.makeValue("/root/send/savedata/subdeptcd","-");
  691. }
  692. else{
  693. model.makeValue("/root/send/savedata/subdeptcd",model.getValue("/root/send/srchmain/excuroomcd"));
  694. }
  695. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  696. model.makeValue("/root/send/savedata/ordroomcd", "L"); //대대기
  697. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo4/msg"));
  698. model.makeValue("/root/send/savedata/msgfromtm",model.getValue("/root/main/ordschelist/scrnmsginfo4/msgfromtm"));
  699. model.makeValue("/root/send/savedata/msgtotm",model.getValue("/root/main/ordschelist/scrnmsginfo4/msgtotm"));
  700. model.makeValue("/root/send/savedata/delytm","");
  701. model.makeValue("/root/send/savedata/status","D");
  702. model.makeValue("/root/send/savedata/msgflag","M"); //M 수시 , N 일반
  703. submit("TXMNV31105",false);
  704. }
  705. }
  706. fOrdScheList();
  707. }
  708. //=====================================================================================================================================================================================
  709. // @ 소대기/대대기 공지 저장 (삭제할때까지 공지)
  710. //=====================================================================================================================================================================================
  711. function fSetWaitRoomMsg2(flag) {
  712. //저장
  713. if (flag=="S"){
  714. //소대기 수시 공지
  715. if( model.getValue("/root/main/ordschelist/scrnmsginfo1/msg") != "" ){
  716. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  717. model.makeValue("/root/send/savedata/centcd","-");
  718. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  719. if(isNull(excuroomcd)){
  720. model.makeValue("/root/send/savedata/excuroomcd","-");
  721. }
  722. else{
  723. model.makeValue("/root/send/savedata/excuroomcd", excuroomcd );
  724. }
  725. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  726. model.makeValue("/root/send/savedata/ordroomcd", "S"); //소대기
  727. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo1/msg"));
  728. model.makeValue("/root/send/savedata/msgfromtm","9999");
  729. model.makeValue("/root/send/savedata/msgtotm","9999");
  730. model.makeValue("/root/send/savedata/delytm","");
  731. model.makeValue("/root/send/savedata/status","S");
  732. model.makeValue("/root/send/savedata/msgflag","N"); //M 수시 , N 일반
  733. submit("TXMNV31105",false);
  734. }
  735. //대대기 수시 공지
  736. if( model.getValue("/root/main/ordschelist/scrnmsginfo2/msg") != "" ){
  737. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  738. model.makeValue("/root/send/savedata/centcd","-");
  739. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  740. if(isNull(excuroomcd)){
  741. model.makeValue("/root/send/savedata/excuroomcd","-");
  742. }
  743. else{
  744. model.makeValue("/root/send/savedata/excuroomcd", excuroomcd );
  745. }
  746. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  747. model.makeValue("/root/send/savedata/ordroomcd", "L"); //대대기
  748. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo2/msg"));
  749. model.makeValue("/root/send/savedata/msgfromtm","9999");
  750. model.makeValue("/root/send/savedata/msgtotm","9999");
  751. model.makeValue("/root/send/savedata/delytm","");
  752. model.makeValue("/root/send/savedata/status","S");
  753. model.makeValue("/root/send/savedata/msgflag","N"); //M 수시 , N 일반
  754. submit("TXMNV31105",false);
  755. }
  756. }
  757. //삭제
  758. else if (flag=="D"){
  759. //소대기 수시 공지
  760. if( model.getValue("/root/main/ordschelist/scrnmsginfo1/msg") != "" ){
  761. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  762. model.makeValue("/root/send/savedata/centcd","-");
  763. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  764. if(isNull(excuroomcd)){
  765. model.makeValue("/root/send/savedata/excuroomcd","-");
  766. }
  767. else{
  768. model.makeValue("/root/send/savedata/excuroomcd",excuroomcd);
  769. }
  770. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  771. model.makeValue("/root/send/savedata/ordroomcd", "S"); //소대기
  772. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo1/msg"));
  773. model.makeValue("/root/send/savedata/msgfromtm","9999");
  774. model.makeValue("/root/send/savedata/msgtotm","9999");
  775. model.makeValue("/root/send/savedata/delytm","");
  776. model.makeValue("/root/send/savedata/status","D");
  777. model.makeValue("/root/send/savedata/msgflag","N"); //M 수시 , N 일반
  778. submit("TXMNV31105",false);
  779. }
  780. //대대기 수시 공지
  781. if( model.getValue("/root/main/ordschelist/scrnmsginfo2/msg") != "" ){
  782. var excuroomcd =model.getValue("/root/send/srchmain/excuroomcd");
  783. model.makeValue("/root/send/savedata/centcd","-");
  784. model.makeValue("/root/send/savedata/suppdeptcd",model.getValue("/root/send/srchmain/suppdeptcd"));
  785. if(isNull(excuroomcd)){
  786. model.makeValue("/root/send/savedata/excuroomcd","-");
  787. }
  788. else{
  789. model.makeValue("/root/send/savedata/excuroomcd", excuroomcd);
  790. }
  791. model.makeValue("/root/send/savedata/rsrvdd", model.getValue("/root/send/srchmain/rsrvdd"));
  792. model.makeValue("/root/send/savedata/ordroomcd", "L"); //대대기
  793. model.makeValue("/root/send/savedata/msg",model.getValue("/root/main/ordschelist/scrnmsginfo2/msg"));
  794. model.makeValue("/root/send/savedata/msgfromtm","9999");
  795. model.makeValue("/root/send/savedata/msgtotm","9999");
  796. model.makeValue("/root/send/savedata/delytm","");
  797. model.makeValue("/root/send/savedata/status","D");
  798. model.makeValue("/root/send/savedata/msgflag","N"); //M 수시 , N 일반
  799. submit("TXMNV31105",false);
  800. }
  801. }
  802. fOrdScheList();
  803. }
  804. ]]>
  805. </script>
  806. <!--지원부서 조회 콤보 리스트-->
  807. <submission id="TRMNV31101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info"/>
  808. <!--검사실 조회 콤보 리스트-->
  809. <submission id="TRMNV31102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
  810. <!--대기자리스트 등 리스트-->
  811. <submission id="TRMNV31103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchmain" resultref="/root/main/ordschelist"/>
  812. <!--대기자리트 값 변경-->
  813. <submission id="TXMNV07009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/svinfo"/>
  814. <!--검사상태(수동) 기준자료 등록-->
  815. <submission id="TXMNV31101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchmain/statusinfo"/>
  816. <!--보류처리-->
  817. <submission id="TXMNV31102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/svinfo"/>
  818. <!--사용자 환경 설정 저장-->
  819. <submission id="TXMNV31103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchmain" replace="instance"/>
  820. <!-- 사용자 환경 설정 조회-->
  821. <submission id="TRMNV31104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/usersetinfolist"/>
  822. <!-- 소대기/대대기 공지 저장-->
  823. <submission id="TXMNV07010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  824. <!-- 소대기/대대기 수시 공지 저장-->
  825. <submission id="TXMNV31105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  826. <script type="javascript" ev:event="xforms-ready">
  827. <![CDATA[
  828. finit();
  829. ]]>
  830. </script>
  831. <submission id="TXMNV31104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data"/>
  832. <submission id="submission1" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/scrnmsginfo"/>
  833. </model>
  834. </xhtml:head>
  835. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  836. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  837. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">전광판 통합 관리(검사실)</caption>
  838. </group>
  839. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:720px; ">
  840. <group id="grp_sea" style="left:0px; top:9px; width:1194px; height:40px; vertical-align:top; ">
  841. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  842. <button id="btn_sea" class="btn1_letter2" navindex="7" style="left:1110px; top:10px; width:56px; height:22px; ">
  843. <caption>조회</caption>
  844. <script type="javascript" ev:event="DOMActivate">
  845. <![CDATA[
  846. fOrdScheList();
  847. ]]>
  848. </script>
  849. </button>
  850. <caption id="caption10" class="search_name" style="left:565px; top:10px; width:86px; height:17px; ">구분 :</caption>
  851. <caption id="caption12" class="search_name" style="left:805px; top:10px; width:106px; height:17px; ">검사실 :</caption>
  852. <select1 id="cmb_deptcd" ref="/root/send/srchmain/excuroomgrp" navindex="3" appearance="minimal" editmode="inputsearch" style="left:628px; top:10px; width:125px; height:19px; ">
  853. <choices>
  854. <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
  855. <label ref="excuroomgrpcdnm"/>
  856. <value ref="excuroomgrpcdid"/>
  857. </itemset>
  858. </choices>
  859. </select1>
  860. <select1 id="cmb_excuroom" ref="/root/send/srchmain/excuroomcd" class="combo_default" navindex="4" appearance="minimal" editmode="inputsearch" style="left:886px; top:10px; width:149px; height:19px; ">
  861. <choices>
  862. <itemset nodeset="/root/init/cmb_info/initexecroom">
  863. <label ref="excuroomcdnm"/>
  864. <value ref="excuroomcdid"/>
  865. </itemset>
  866. </choices>
  867. </select1>
  868. <select1 id="combo1" ref="/root/send/srchmain/suppdeptcd" disabled="true" navindex="3" appearance="minimal" editmode="inputsearch" style="left:355px; top:10px; width:145px; height:19px; ">
  869. <choices>
  870. <itemset nodeset="/root/init/cmb_info/suppdept">
  871. <label ref="depthngnm"/>
  872. <value ref="suppdeptcd"/>
  873. </itemset>
  874. </choices>
  875. <script type="javascript" ev:event="xforms-value-changed">
  876. <![CDATA[
  877. fExcuroomList();
  878. ]]>
  879. </script>
  880. </select1>
  881. <caption id="caption2" class="search_name" style="left:265px; top:10px; width:91px; height:17px; ">지원부서 :</caption>
  882. <caption id="caption3" class="search_name" style="left:15px; top:10px; width:91px; height:17px; ">검사일자 :</caption>
  883. <input id="ipt_orddd" ref="/root/send/srchmain/rsrvdd" class="input_search" navindex="4" inputtype="date" style="left:110px; top:10px; width:95px; height:19px; "/>
  884. </group>
  885. <line id="line2" class="line_1" style="x1:0px; y1:109px; x2:625px; y2:109px; "/>
  886. <caption id="caption9" class="tit_2" style="left:0px; top:92px; width:105px; height:13px; ">대기자리스트</caption>
  887. <line id="line1" class="line_1" style="x1:632px; y1:275px; x2:932px; y2:275px; "/>
  888. <caption id="caption1" class="tit_2" style="left:635px; top:258px; width:203px; height:13px; ">보류환자</caption>
  889. <button id="btn_excucmtsave" class="btn2_letter2" style="left:583px; top:89px; width:42px; height:19px; ">
  890. <caption>저장</caption>
  891. <script type="javascript" ev:event="DOMActivate">
  892. <![CDATA[
  893. fSetRsrvtmSeqSave();
  894. ]]>
  895. </script>
  896. </button>
  897. <shape id="roundrect1" class="roundrect_example" appearance="roundrect" style="left:0px; top:53px; width:1195px; height:30px; "/>
  898. <caption id="caption47" class="cell_1" style="left:11px; top:58px; width:41px; height:20px; font-weight:bold; ">구분</caption>
  899. <select1 id="radio2" ref="/root/send/srchmain/dayflag" appearance="full" cols="3" overflow="visible" style="left:54px; top:59px; width:133px; height:20px; border-style:none; ">
  900. <choices>
  901. <item>
  902. <label>오전</label>
  903. <value>1</value>
  904. </item>
  905. <item>
  906. <label>오후</label>
  907. <value>2</value>
  908. </item>
  909. <item>
  910. <label>전체</label>
  911. <value>3</value>
  912. </item>
  913. </choices>
  914. </select1>
  915. <select1 id="combo4" ref="/root/send/srchmain/srtflag" class="combo_default" disabled="false" visibility="visible" appearance="minimal" style="left:189px; top:59px; width:176px; height:19px; font-weight:bold; ">
  916. <choices>
  917. <item>
  918. <label>예약시간으로 조회</label>
  919. <value>1</value>
  920. </item>
  921. <item>
  922. <label>도착순서로 조회</label>
  923. <value>2</value>
  924. </item>
  925. </choices>
  926. </select1>
  927. <select1 id="combo6" ref="/root/send/srchmain/excucnt" class="combo_default" disabled="false" visibility="visible" appearance="minimal" style="left:896px; top:58px; width:49px; height:19px; font-weight:bold; ">
  928. <choices>
  929. <item>
  930. <label>1명</label>
  931. <value>1</value>
  932. </item>
  933. <item>
  934. <label>2명</label>
  935. <value>2</value>
  936. </item>
  937. <item>
  938. <label>3명</label>
  939. <value>3</value>
  940. </item>
  941. <item>
  942. <label>4명</label>
  943. <value>4</value>
  944. </item>
  945. <item>
  946. <label>5명</label>
  947. <value>5</value>
  948. </item>
  949. </choices>
  950. <hint>
  951. <![CDATA[검사인원 명수를 지정하여 저장한 시점부터 해당 인원수만큼 "검사실 앞 대기환자" 수가 자동 지정됩니다.]]>
  952. </hint>
  953. </select1>
  954. <button id="btn_cfm" class="btn4_letter2" style="left:954px; top:58px; width:56px; height:22px; ">
  955. <caption>저장</caption>
  956. <script type="javascript" ev:event="DOMActivate">
  957. <![CDATA[
  958. fSaveWGDUserSet();
  959. ]]>
  960. </script>
  961. </button>
  962. <button id="button3" class="btn4_letter2" style="left:1012px; top:58px; width:56px; height:22px; ">
  963. <caption>삭제</caption>
  964. <script type="javascript" ev:event="DOMActivate">
  965. <![CDATA[
  966. ]]>
  967. </script>
  968. </button>
  969. <caption id="caption15" class="cell_1" style="left:829px; top:58px; width:63px; height:20px; font-weight:bold; text-align:left; ">
  970. <![CDATA[검사인원]]>
  971. <hint>
  972. <![CDATA[검사인원 명수를 지정하여 저장한 시점부터 해당 인원수만큼 "검사실 앞 대기환자" 수가 자동 지정됩니다.]]>
  973. </hint>
  974. </caption>
  975. <caption id="caption18" class="cell_1" style="left:677px; top:58px; width:130px; height:20px; font-weight:bold; text-align:left; ">
  976. <![CDATA[자동들어오실분여부]]>
  977. <hint>
  978. <![CDATA[체크 후 저장한 시점부터 대기환자 명단에서 "검사중/들어오실 분" 명단으로 자동전송 됩니다.]]>
  979. </hint>
  980. </caption>
  981. <button id="button7" class="icon_top" style="left:471px; top:89px; width:26px; height:19px; ">
  982. <caption/>
  983. <hint>
  984. <![CDATA[맨위로]]>
  985. </hint>
  986. <script type="javascript" ev:event="DOMActivate">
  987. <![CDATA[
  988. if(grd_ordschelistinfo.row<=0)
  989. {
  990. messageBox("환자를 선택","I008");
  991. return;
  992. }
  993. // 상위 두명도 순서를 변경할 수 있도록 해달라는 요청으로 기존 로직 삭제 : 2009. 04. 22 김영학 추가
  994. if ( grd_ordschelistinfo.row == "1") {
  995. messageBox("최상위환자입니다.", "I");
  996. return;
  997. } else {
  998. fSetMenuGroupSeq("1", "above");
  999. }
  1000. ]]>
  1001. </script>
  1002. </button>
  1003. <button id="button8" class="icon_bottom" style="left:555px; top:89px; width:26px; height:19px; ">
  1004. <caption/>
  1005. <hint>
  1006. <![CDATA[맨아래로]]>
  1007. </hint>
  1008. <script type="javascript" ev:event="DOMActivate">
  1009. <![CDATA[
  1010. if(grd_ordschelistinfo.row<=0)
  1011. {
  1012. messageBox("환자를 선택","I008");
  1013. return;
  1014. }
  1015. if( grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows > grd_ordschelistinfo.row ){
  1016. fSetMenuGroupSeq(grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows, "below");
  1017. }
  1018. else{
  1019. messageBox("최하위 메뉴그룹이","E005");
  1020. }
  1021. ]]>
  1022. </script>
  1023. </button>
  1024. <button id="button9" class="icon_top_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:499px; top:89px; width:26px; height:19px; ">
  1025. <caption/>
  1026. <hint>
  1027. <![CDATA[위로]]>
  1028. </hint>
  1029. <script type="javascript" ev:event="DOMActivate">
  1030. <![CDATA[
  1031. if(grd_ordschelistinfo.row<=0){
  1032. messageBox("환자를 선택","I008");
  1033. return;
  1034. }
  1035. else if (grd_ordschelistinfo.row <= 1 ) {
  1036. messageBox("최상위입니다.","I");
  1037. } else {
  1038. //위치변경
  1039. fSetMenuGroupSeq(grd_ordschelistinfo.row-1, "above");
  1040. }
  1041. ]]>
  1042. </script>
  1043. </button>
  1044. <button id="btn_to_down" class="icon_bottom_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:527px; top:89px; width:26px; height:19px; ">
  1045. <caption/>
  1046. <hint>
  1047. <![CDATA[아래로]]>
  1048. </hint>
  1049. <script type="javascript" ev:event="DOMActivate">
  1050. <![CDATA[
  1051. if(grd_ordschelistinfo.row<=0){
  1052. messageBox("환자를 선택","I008");
  1053. return;
  1054. }
  1055. else if( grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows > grd_ordschelistinfo.row ){
  1056. fSetMenuGroupSeq(grd_ordschelistinfo.row+1, "below");
  1057. }
  1058. else{
  1059. messageBox("최하위 메뉴그룹이","E005");
  1060. }
  1061. ]]>
  1062. </script>
  1063. </button>
  1064. <caption id="caption4" class="tit_2" style="left:635px; top:92px; width:203px; height:14px; ">검사중/치료중 안내 명단</caption>
  1065. <line id="line3" class="line_1" style="x1:632px; y1:109px; x2:932px; y2:109px; "/>
  1066. <caption id="caption14" class="tit_2" style="left:630px; top:579px; width:203px; height:13px; ">
  1067. <![CDATA[소대기/대대기 수시공지]]>
  1068. <hint>
  1069. <![CDATA[공지시간까지 공지]]>
  1070. </hint>
  1071. </caption>
  1072. <caption id="caption19" class="tit_2" style="left:939px; top:92px; width:208px; height:13px; ">검사상태(수동) 기준자료</caption>
  1073. <line id="line6" class="line_1" style="x1:939px; y1:109px; x2:1194px; y2:109px; "/>
  1074. <line id="line7" class="line_1" style="x1:633px; y1:596px; x2:933px; y2:596px; "/>
  1075. <caption id="caption20" class="tit_2" style="left:939px; top:579px; width:203px; height:13px; ">
  1076. <![CDATA[소대기/대대기 공지]]>
  1077. <hint>
  1078. <![CDATA[삭제할때까지 공지]]>
  1079. </hint>
  1080. </caption>
  1081. <line id="line8" class="line_1" style="x1:939px; y1:275px; x2:1194px; y2:275px; "/>
  1082. <caption id="caption21" class="tit_2" style="left:939px; top:258px; width:165px; height:13px; ">환자개인메시지 기준자료</caption>
  1083. <line id="line9" class="line_1" style="x1:939px; y1:596px; x2:1194px; y2:596px; "/>
  1084. <caption id="caption22" class="cell_1" style="left:633px; top:669px; width:26px; height:46px; vertical-align:middle; ">대</caption>
  1085. <line id="line18" class="line_3" style="x1:633px; y1:716px; x2:908px; y2:716px; "/>
  1086. <caption id="caption23" class="cell_1" style="left:633px; top:622px; width:26px; height:46px; vertical-align:middle; ">소</caption>
  1087. <caption id="caption24" class="cell_1" style="left:660px; top:601px; width:67px; height:20px; text-align:center; vertical-align:middle; ">공지시간</caption>
  1088. <caption id="caption25" class="cell_1" style="left:728px; top:601px; width:205px; height:20px; text-align:center; vertical-align:middle; ">공지내용</caption>
  1089. <caption id="caption26" class="cell_1" style="left:633px; top:601px; width:26px; height:20px; vertical-align:middle; "/>
  1090. <caption id="caption27" class="cell_1" style="left:939px; top:669px; width:26px; height:46px; vertical-align:middle; ">대</caption>
  1091. <caption id="caption28" class="cell_1" style="left:939px; top:622px; width:26px; height:46px; vertical-align:middle; ">소</caption>
  1092. <caption id="caption29" class="cell_1" style="left:967px; top:601px; width:225px; height:20px; text-align:center; vertical-align:middle; ">공지내용</caption>
  1093. <caption id="caption31" class="cell_1" style="left:939px; top:601px; width:26px; height:20px; vertical-align:middle; "/>
  1094. <line id="line10" class="line_3" style="x1:939px; y1:716px; x2:1194px; y2:716px; "/>
  1095. <button id="button1" class="btn2_letter2" style="left:1151px; top:576px; width:42px; height:19px; ">
  1096. <caption>삭제</caption>
  1097. <script type="javascript" ev:event="DOMActivate">
  1098. <![CDATA[
  1099. fSetWaitRoomMsg2("D");
  1100. ]]>
  1101. </script>
  1102. </button>
  1103. <button id="button2" class="btn2_letter2" style="left:1107px; top:576px; width:42px; height:19px; ">
  1104. <caption>저장</caption>
  1105. <script type="javascript" ev:event="DOMActivate">
  1106. <![CDATA[
  1107. var size1 = tar_largescrn1.value.length;
  1108. var size2 = tar_largescrn2.value.length;
  1109. if (size1 > "26" ) {
  1110. messageBox("현재 소대기 공지내용에 " + size1 + "자 입력되었습니다. \n최대 26자까지만 입력가능합니다.", "I");
  1111. return;
  1112. } else if (size2 > "50") {
  1113. messageBox("현재 대대기 공지내용에 " + size2 + "자 입력되었습니다. \n최대 50자까지만 입력가능합니다.", "I");
  1114. }else {
  1115. fSetWaitRoomMsg2("S");
  1116. }
  1117. ]]>
  1118. </script>
  1119. </button>
  1120. <button id="button4" class="btn2_letter2" style="left:891px; top:576px; width:42px; height:19px; ">
  1121. <caption>삭제</caption>
  1122. <script type="javascript" ev:event="DOMActivate">
  1123. <![CDATA[
  1124. fSetWaitRoomMsg("D");
  1125. ]]>
  1126. </script>
  1127. </button>
  1128. <button id="button5" class="btn2_letter2" style="left:847px; top:576px; width:42px; height:19px; ">
  1129. <caption>저장</caption>
  1130. <script type="javascript" ev:event="DOMActivate">
  1131. <![CDATA[
  1132. var size1 = tar_smallscrn1.value.length;
  1133. var size2 = tar_largescrn1.value.length;
  1134. if (size1 > "26" ) {
  1135. messageBox("현재 소대기 공지내용에 " + size1 + "자 입력되었습니다. \n최대 26자까지만 입력가능합니다.", "I");
  1136. return;
  1137. } else if (size2 > "50") {
  1138. messageBox("현재 대대기 공지내용에 " + size2 + "자 입력되었습니다. \n최대 50자까지만 입력가능합니다.", "I");
  1139. }else {
  1140. fSetWaitRoomMsg("S");
  1141. }
  1142. ]]>
  1143. </script>
  1144. </button>
  1145. <button id="button163" class="btn4_letter7" disabled="false" style="left:1071px; top:58px; width:116px; height:22px; ">
  1146. <caption>전광판 화면구성</caption>
  1147. <script type="javascript" ev:event="DOMActivate">
  1148. <![CDATA[
  1149. modal("SMMNV31000","1","1","1","SMMNV31000","","","","false");
  1150. ]]>
  1151. </script>
  1152. </button>
  1153. <datagrid id="grd_ordschelistinfo" nodeset="/root/main/ordschelist/ordschelistinfo" visibility="visible" caption="회복^예약^도착^등록번호^환자명^S/A^병실^보류^입실^예약^검사상태^환자개인메시지^instcd^execprcpuniqno^endflag^rsrvtmseq^suppdeptcd^excuroomcd^rsrvdd" colsep="^" colwidth="30, 38, 38, 71, 60, 38, 49, 30, 30, 46, 59, 124, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:114px; width:625px; height:603px; ">
  1154. <col checkvalue="Y,N" ref="recoflag" type="checkbox"/>
  1155. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  1156. <col ref="acpttm" format="hh:nn" style="text-align:center; "/>
  1157. <col ref="pid" style="text-align:center; "/>
  1158. <col ref="patnm" style="text-align:center; "/>
  1159. <col ref="sna" style="text-align:center; "/>
  1160. <col ref="roomcd" style="text-align:center; "/>
  1161. <col checkvalue="Y,N" ref="holdflag" type="checkbox"/>
  1162. <col checkvalue="Y,N" ref="comeflag" type="checkbox"/>
  1163. <col ref="rsrvflag" style="text-align:center; "/>
  1164. <col ref="selfstatuscd" type="combo" style="text-align:left; ">
  1165. <choices>
  1166. <itemset nodeset="/root/main/ordschelist/statusinfo">
  1167. <label ref="wgdmnm"/>
  1168. <value ref="wgdmcd"/>
  1169. </itemset>
  1170. </choices>
  1171. </col>
  1172. <col ref="patmsgcd" type="combo" style="text-align:left; ">
  1173. <choices>
  1174. <itemset nodeset="/root/main/ordschelist/patmsglist">
  1175. <label ref="wgdmnm"/>
  1176. <value ref="wgdmcd"/>
  1177. </itemset>
  1178. </choices>
  1179. </col>
  1180. <col ref="instcd" visibility="hidden"/>
  1181. <col ref="execprcpuniqno" visibility="hidden"/>
  1182. <col ref="endflag" visibility="hidden"/>
  1183. <col ref="rsrvtmseq"/>
  1184. <col ref="suppdeptcd" visibility="hidden"/>
  1185. <col ref="excuroomcd" visibility="hidden"/>
  1186. <col ref="rsrvdd" visibility="hidden"/>
  1187. <script type="javascript" ev:event="xforms-value-changed">
  1188. <![CDATA[
  1189. fChangedDspflag("grd_ordschelistinfo");
  1190. ]]>
  1191. </script>
  1192. </datagrid>
  1193. <input id="input3" ref="/root/main/ordschelist/scrnmsginfo4/msgfromtm" class="input_search" format="hh:nn" style="left:663px; top:670px; width:60px; height:19px; text-align:center; "/>
  1194. <input id="input4" ref="/root/main/ordschelist/scrnmsginfo4/msgtotm" class="input_search" format="hh:nn" style="left:663px; top:696px; width:60px; height:19px; text-align:center; "/>
  1195. <caption id="caption8" style="left:683px; top:634px; width:20px; height:25px; font-weight:bold; text-align:center; ">~</caption>
  1196. <caption id="caption13" style="left:683px; top:682px; width:20px; height:25px; font-weight:bold; text-align:center; ">~</caption>
  1197. <datagrid id="grd_ordinfoschelistinfo" nodeset="/root/main/ordschelist/ordentroomlistinfo" caption="완료^보류^예약^도착^등록번호^환자명^S/A^selfstatuscd^execprcpuniqno" colsep="^" colwidth="30, 30, 34, 34, 64, 49, 35, 72, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:632px; top:114px; width:300px; height:140px; ">
  1198. <col checkvalue="Y,N" ref="outflag" type="checkbox"/>
  1199. <col checkvalue="Y,N" ref="holdflag" type="checkbox"/>
  1200. <col ref="rsrvtm" format="hh:nn"/>
  1201. <col ref="acpttm" format="hh:nn"/>
  1202. <col ref="pid"/>
  1203. <col ref="patnm"/>
  1204. <col ref="sna"/>
  1205. <col ref="selfstatuscd" visibility="hidden"/>
  1206. <col ref="execprcpuniqno" visibility="hidden"/>
  1207. <script type="javascript" ev:event="xforms-value-changed">
  1208. <![CDATA[
  1209. fChangedDspflag("grd_ordinfoschelistinfo");
  1210. ]]>
  1211. </script>
  1212. </datagrid>
  1213. <datagrid id="grd_ordscheretelistinfo" nodeset="/root/main/ordschelist/ordscheretelistinfo" caption="대기^예약^도착^등록번호^환자명^S/A^execprcpuniqno" colsep="^" colwidth="30, 40, 37, 61, 44, 45, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:632px; top:280px; width:300px; height:140px; ">
  1214. <col checkvalue="Y,N" ref="comeflag" type="checkbox"/>
  1215. <col ref="rsrvtm" format="hh:nn"/>
  1216. <col ref="acpttm" format="hh:nn"/>
  1217. <col ref="pid"/>
  1218. <col ref="patnm"/>
  1219. <col ref="sna"/>
  1220. <col ref="execprcpuniqno" visibility="hidden"/>
  1221. <script type="javascript" ev:event="xforms-value-changed">
  1222. <![CDATA[
  1223. fChangedDspflag("grd_ordscheretelistinfo");
  1224. ]]>
  1225. </script>
  1226. </datagrid>
  1227. <datagrid id="grd_statusmaster" nodeset="/root/main/ordschelist/statusinfo" caption="내용^WGDMCD^suppdeptcd^excuroomcd^USEFLAG" colsep="^" colwidth="228, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:939px; top:114px; width:255px; height:140px; ">
  1228. <col ref="wgdmnm" type="input"/>
  1229. <col ref="wgdmcd" visibility="hidden"/>
  1230. <col ref="suppdeptcd" visibility="hidden"/>
  1231. <col ref="excuroomcd" visibility="hidden"/>
  1232. <col ref="useflag" visibility="hidden"/>
  1233. <script type="javascript" ev:event="xforms-value-changed">
  1234. <![CDATA[
  1235. fMasterSet("grd_statusmaster");
  1236. ]]>
  1237. </script>
  1238. <script type="javascript" ev:event="onmousedown">
  1239. <![CDATA[
  1240. setPopupMenu("grd_statusmaster", false, "/root/hidden/popupmenu/menu/item", "label", "func");
  1241. ]]>
  1242. </script>
  1243. </datagrid>
  1244. <select1 id="rdo_status" ref="/root/send/srchmain/recoflag" appearance="full" cols="3" overflow="visible" style="left:103px; top:90px; width:140px; height:20px; font-weight:bold; border-style:none; ">
  1245. <choices>
  1246. <item>
  1247. <label>대기</label>
  1248. <value>1</value>
  1249. </item>
  1250. <item>
  1251. <label>완료</label>
  1252. <value>2</value>
  1253. </item>
  1254. <item>
  1255. <label>전체</label>
  1256. <value>3</value>
  1257. </item>
  1258. </choices>
  1259. <script type="javascript" ev:event="xforms-value-changed">
  1260. <![CDATA[
  1261. fChangeSrchStatus();
  1262. ]]>
  1263. </script>
  1264. </select1>
  1265. <select id="chk_unrsrv" ref="/root/send/srchmain/unrsrvflag" overflow="visible" appearance="full" style="left:655px; top:59px; width:20px; height:20px; border-style:none; ">
  1266. <choices>
  1267. <item>
  1268. <label>.</label>
  1269. <value>Y</value>
  1270. </item>
  1271. </choices>
  1272. <script type="javascript" ev:event="xforms-value-changed">
  1273. <![CDATA[
  1274. ]]>
  1275. </script>
  1276. </select>
  1277. <datagrid id="grd_patmsg" nodeset="/root/main/ordschelist/patmsglist" caption="내용" colsep="^" colwidth="230" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:939px; top:280px; width:255px; height:140px; ">
  1278. <col ref="wgdmnm" type="input"/>
  1279. <col ref="wgdmcd" visibility="hidden"/>
  1280. <col ref="suppdeptcd" visibility="hidden"/>
  1281. <col ref="excuroomcd" visibility="hidden"/>
  1282. <col ref="useflag" visibility="hidden"/>
  1283. <script type="javascript" ev:event="xforms-value-changed">
  1284. <![CDATA[
  1285. fMasterSet("grd_patmsg");
  1286. ]]>
  1287. </script>
  1288. <script type="javascript" ev:event="onmousedown">
  1289. <![CDATA[
  1290. setPopupMenu("grd_patmsg", false, "/root/hidden/popupmenu/menu2/item", "label", "func");
  1291. ]]>
  1292. </script>
  1293. </datagrid>
  1294. <textarea id="tar_largescrn2" ref="/root/main/ordschelist/scrnmsginfo2/msg" visibility="visible" style="left:967px; top:669px; width:225px; height:46px; "/>
  1295. <textarea id="tar_largescrn1" ref="/root/main/ordschelist/scrnmsginfo4/msg" visibility="visible" style="left:728px; top:669px; width:205px; height:46px; "/>
  1296. <textarea id="tar_smallscrn2" ref="/root/main/ordschelist/scrnmsginfo1/msg" visibility="visible" style="left:967px; top:622px; width:225px; height:46px; "/>
  1297. <textarea id="tar_smallscrn1" ref="/root/main/ordschelist/scrnmsginfo3/msg" visibility="visible" style="left:728px; top:622px; width:205px; height:46px; "/>
  1298. <input id="ipt_msgfromtm" ref="/root/main/ordschelist/scrnmsginfo3/msgfromtm" class="input_search" format="hh:nn" style="left:663px; top:623px; width:60px; height:19px; text-align:center; "/>
  1299. <input id="ipt_msgtotm" ref="/root/main/ordschelist/scrnmsginfo3/msgtotm" class="input_search" format="hh:nn" style="left:663px; top:649px; width:60px; height:19px; text-align:center; "/>
  1300. <caption id="caption17" style="left:632px; top:423px; width:561px; height:150px; background-color:#ffff99; ">
  1301. <![CDATA[ 1. 자동들어오실분여부 체크 시 대기자리스트 우선순위 환자가 검사인원만큼 검사중/치료중 안내명단
  1302. 에 자동표시됩니다. 체크 해제시 수동으로 입실 체크해야 합니다.
  1303. 2. 대기자리스트의 대기 환자는 검사 액팅시 자동 완료 환자로 넘어가서 전광판에서 명단 사라집니다.
  1304. 단, 회복 체크된 환자는 체크 해제전까지 검사상태 회복중으로 표시되어 대기 명단에 남게됩니다.
  1305. 3. 검사상태(수동) 기준자료에 입력된 내용만 대기자리스트의 검사상태 콤보 지정 가능합니다. 검사
  1306. 상태(수동) 변경기능은 전광판에 표시하기 위한 목적이므로, 실제 검사상태를 변경시키지 않습니다.
  1307. 실제로 검사가 완료된 경우 검사상태가 자동 변경됩니다.
  1308. 4. 환자개인메시지 기준자료에 입력된 내용만 대기자리스트 환자개인메시지로 선택가능하며, 삭제 저장
  1309. 전까지 대대기 공지사항에 계속 공지됩니다.
  1310. 5. 소대기/대대기 수시공지 시간에는 수시공지 내용만 소대기/대대기에 공지됩니다.]]>
  1311. </caption>
  1312. <select id="checkbox1" ref="/root/send/srchmain/prcpstatcd" overflow="visible" appearance="full" cols="3" style="left:415px; top:59px; width:155px; height:20px; border-style:none; ">
  1313. <choices>
  1314. <item>
  1315. <label>예약</label>
  1316. <value>Y</value>
  1317. </item>
  1318. <item>
  1319. <label>접수</label>
  1320. <value>440</value>
  1321. </item>
  1322. <item>
  1323. <label>부분실시</label>
  1324. <value>600</value>
  1325. </item>
  1326. </choices>
  1327. <script type="javascript" ev:event="xforms-value-changed">
  1328. <![CDATA[
  1329. ]]>
  1330. </script>
  1331. </select>
  1332. <caption id="caption30" class="cell_1" style="left:370px; top:58px; width:41px; height:20px; font-weight:bold; ">상태</caption>
  1333. <select id="checkbox3" ref="/root/send/srchmain/autoactyn" overflow="visible" appearance="full" cols="3" style="left:810px; top:59px; width:20px; height:20px; border-style:none; ">
  1334. <choices>
  1335. <item>
  1336. <label>.</label>
  1337. <value>Y</value>
  1338. </item>
  1339. </choices>
  1340. <script type="javascript" ev:event="xforms-value-changed">
  1341. <![CDATA[
  1342. ]]>
  1343. </script>
  1344. </select>
  1345. <caption id="caption5" class="cell_1" style="left:575px; top:58px; width:77px; height:20px; font-weight:bold; ">미예약포함</caption>
  1346. </group>
  1347. <line id="line13" class="line_4" style="x1:1075px; y1:32px; x2:1075px; y2:54px; "/>
  1348. <group id="group5" scroll="auto" ref="/root/hidden/con/msg" style="left:0px; top:734px; width:1195px; height:45px; ">
  1349. <caption id="caption16" class="cell_1" style="left:4px; top:4px; width:105px; height:17px; font-weight:bold; ">전광판 조회</caption>
  1350. <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:45px; "/>
  1351. <caption id="caption35" style="left:110px; top:24px; width:1067px; height:17px; font-weight:bold; ">1.대대기에 표시할 검사실 지정 및 대/소대기 전광판 화면설정 가능함. 저장 즉시 전광판 화면구성이 변경됨. 2.대/소대기 전광판별로 대기화면 설정 가능함(병원이미지만 보여짐)</caption>
  1352. <caption id="caption7" class="cell_1" style="left:4px; top:24px; width:105px; height:17px; font-weight:bold; ">전광판 화면구성</caption>
  1353. <caption id="caption11" style="left:110px; top:5px; width:1082px; height:17px; font-weight:bold; ">1.구분 : (오전: ~12:59까지), (오후: 13:00~ ), (전체: 구분없음) 까지 예약/도착 시간별로 조회됨. 2.상태 : 예약/접수/부분실시/미예약포함(당일처방) 상태를 조합하여 조회 가능함.</caption>
  1354. </group>
  1355. </xhtml:body>
  1356. </xhtml:html>