SMAER01000_촬영현황조회.xrw 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <subordlist>
  11. <subordlist1>
  12. <pid/>
  13. <patnm/>
  14. <prcpgenrflag/>
  15. <prcpdt/>
  16. <acptdt/>
  17. <excuexectodt/>
  18. <phofromdt/>
  19. <cnfmdt/>
  20. <prcpnm/>
  21. <examroomnm/>
  22. <rgstdepthngnm/>
  23. <rgstridnm/>
  24. <cnfmwait/>
  25. <execwait/>
  26. <inddcnt/>
  27. <indd/>
  28. <dschdd/>
  29. <dschnotidt/>
  30. <execrid1/>
  31. <execrid2/>
  32. <payflagnm/>
  33. <hisorderid/>
  34. <trdiagyn/>
  35. <wardnm/>
  36. <roomnm/>
  37. <orddeptnm/>
  38. <orddrnm/>
  39. <meddrnm/>
  40. <diagnm/>
  41. </subordlist1>
  42. </subordlist>
  43. <patinfo>
  44. <patinfolist/>
  45. </patinfo>
  46. </main>
  47. <send>
  48. <ddflag>execdd</ddflag>
  49. <fromdd/>
  50. <fromhh>00</fromhh>
  51. <fromnn>00</fromnn>
  52. <todd/>
  53. <tohh>23</tohh>
  54. <tonn>59</tonn>
  55. <prcpcd/>
  56. <prcpnm/>
  57. <execrid/>
  58. <cnfmmanid/>
  59. <execprcpstatcd/>
  60. <lrgcd/>
  61. <mdlcd/>
  62. <smlcd/>
  63. <prcpgenrflag/>
  64. <excuroomcd/>
  65. <rgstdeptcd/>
  66. <rgstrid/>
  67. <pid/>
  68. <indd/>
  69. <inddto/>
  70. <cdgrupid/>
  71. <globalinstance>
  72. <instance1/>
  73. </globalinstance>
  74. <disp_data>
  75. <rgstdeptnm/>
  76. <rgstrnm/>
  77. <hngnm/>
  78. <execrnm/>
  79. <cnfmmannm/>
  80. </disp_data>
  81. <offset/>
  82. <pagesize>999</pagesize>
  83. <prcpfromtm/>
  84. <prcptotm/>
  85. <examfromtm/>
  86. <examtotm/>
  87. <cnfmfromtm/>
  88. <cnfmtotm/>
  89. <wardcd/>
  90. </send>
  91. <init>
  92. <baseinfo>
  93. <initexecprcpstatcd/>
  94. <initprcpgenrflagcd/>
  95. </baseinfo>
  96. <cmb_info2>
  97. <initexecroom>
  98. <excuroomcdid/>
  99. <excuroomcdnm/>
  100. </initexecroom>
  101. </cmb_info2>
  102. <cmb_lrgcd>
  103. <lrgcdlist>
  104. <cdid/>
  105. <cdnm/>
  106. </lrgcdlist>
  107. </cmb_lrgcd>
  108. <cmb_mdlcd>
  109. <mdlcdlist>
  110. <mdlcdid/>
  111. <mdlcdnm/>
  112. </mdlcdlist>
  113. </cmb_mdlcd>
  114. <cmb_smlcd>
  115. <smlcdlist>
  116. <smlcdid/>
  117. <smlcdnm/>
  118. </smlcdlist>
  119. </cmb_smlcd>
  120. <popupmenu>
  121. <grid01>
  122. <item>
  123. <name>입원처방촬영현황</name>
  124. <func>fInExamList</func>
  125. </item>
  126. </grid01>
  127. </popupmenu>
  128. <basecode>
  129. <ward/>
  130. </basecode>
  131. </init>
  132. <hidden>
  133. <comcd/>
  134. <comcd2/>
  135. <comcd3/>
  136. <popdata>
  137. <pid/>
  138. </popdata>
  139. </hidden>
  140. <temp>
  141. <userinfolist/>
  142. <userpopupinfo>
  143. <param/>
  144. <flag/>
  145. <searchitem/>
  146. <searchitem_dutplce/>
  147. </userpopupinfo>
  148. <templst/>
  149. </temp>
  150. </root>
  151. </instance>
  152. <script type="javascript" ev:event="xforms-ready">
  153. <![CDATA[
  154. aezfSetSuppDeptcd();
  155. //20161207 메뉴에서 파라메터 가져오기
  156. var gvMenuParam = getScreenMenuParameter();
  157. //alert(gvMenuParam);
  158. if ( gvMenuParam != "" && gvMenuParam != "null") {
  159. model.setValue("/root/send/globalinstance/instance1", gvMenuParam );
  160. }
  161. ipt_fromdd.value = getCurrentDate();
  162. ipt_todd.value = getCurrentDate();
  163. submit("TRAEA01306", false);
  164. zbcfGetCodeList( new Array("M0011","M0010"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpgenrflagcd") );
  165. submit("TRZBC00101");
  166. aezfInsertInstance2("/root/hidden/comcd2", "M0011", "전체", "", "/root/init/baseinfo/initexecprcpstatcd");
  167. aezfInsertInstance2("/root/hidden/comcd", "M0010", "전체", "", "/root/init/baseinfo/initprcpgenrflagcd");
  168. chk_prcpgenrflag.attribute("cols")= 6;
  169. chk_prcpgenrflag.refresh();
  170. model.removeNode("/root/hidden/comcd/M0010[cdid='-']"); // 외래,입원구분 : 공통
  171. model.removeNode("/root/hidden/comcd/M0010[cdnm='전체']"); // 외래,입원구분 : 공통
  172. model.removeNode("/root/hidden/comcd2/M0011[cdid='150']"); // 상태구분 : 처방전출력
  173. model.removeNode("/root/hidden/comcd2/M0011[cdid='160']"); // 상태구분 : 처방전미출력
  174. model.removeNode("/root/hidden/comcd2/M0011[cdid='170']"); // 상태구분 : 검수완료
  175. model.removeNode("/root/hidden/comcd2/M0011[cdid='180']"); // 상태구분 : 처방보류
  176. model.removeNode("/root/hidden/comcd2/M0011[cdid='200']"); // 상태구분 : 부분계산
  177. model.removeNode("/root/hidden/comcd2/M0011[cdid='210']"); // 상태구분 : 수납대기
  178. model.removeNode("/root/hidden/comcd2/M0011[cdid='220']"); // 상태구분 : 계산(입원용)
  179. model.removeNode("/root/hidden/comcd2/M0011[cdid='300']"); // 상태구분 : 조제보류
  180. model.removeNode("/root/hidden/comcd2/M0011[cdid='310']"); // 상태구분 : 조제완료
  181. model.removeNode("/root/hidden/comcd2/M0011[cdid='320']"); // 상태구분 : 불출
  182. model.removeNode("/root/hidden/comcd2/M0011[cdid='330']"); // 상태구분 : 미불출
  183. model.removeNode("/root/hidden/comcd2/M0011[cdid='400']"); // 상태구분 : 바코드발행
  184. model.removeNode("/root/hidden/comcd2/M0011[cdid='410']"); // 상태구분 : 채취/채혈
  185. model.removeNode("/root/hidden/comcd2/M0011[cdid='420']"); // 상태구분 : 전달/확인
  186. model.removeNode("/root/hidden/comcd2/M0011[cdid='430']"); // 상태구분 : 검체접수
  187. model.removeNode("/root/hidden/comcd2/M0011[cdid='500']"); // 상태구분 : 접수
  188. model.removeNode("/root/hidden/comcd2/M0011[cdid='510']"); // 상태구분 : 검사중
  189. model.removeNode("/root/hidden/comcd2/M0011[cdid='505']"); // 상태구분 : 준비
  190. model.removeNode("/root/hidden/comcd2/M0011[cdid='520']"); // 상태구분 : 검사완료
  191. model.removeNode("/root/hidden/comcd2/M0011[cdid='530']"); // 상태구분 : 출고
  192. model.removeNode("/root/hidden/comcd2/M0011[cdid='525']"); // 상태구분 : 불출요청
  193. model.removeNode("/root/hidden/comcd2/M0011[cdid='540']"); // 상태구분 : 반납의뢰
  194. model.removeNode("/root/hidden/comcd2/M0011[cdid='550']"); // 상태구분 : 반납완료
  195. model.removeNode("/root/hidden/comcd2/M0011[cdid='560']"); // 상태구분 : 폐기의뢰
  196. model.removeNode("/root/hidden/comcd2/M0011[cdid='570']"); // 상태구분 : 폐기완료
  197. model.removeNode("/root/hidden/comcd2/M0011[cdid='700']"); // 상태구분 : 판독중
  198. model.removeNode("/root/hidden/comcd2/M0011[cdid='720']"); // 상태구분 : 중간결과
  199. model.removeNode("/root/hidden/comcd2/M0011[cdid='305']"); // 상태구분 : 조제중
  200. model.removeNode("/root/hidden/comcd2/M0011[cdid='315']"); // 상태구분 : 특조완료
  201. model.removeNode("/root/hidden/comcd2/M0011[cdid='725']"); // 상태구분 : Confirm확인
  202. model.setValue("/root/send/cdgrupid", "A0463");
  203. submit("TRAER01002", false);
  204. aezfInsertInstance2("/root/hidden/comcd3", "lrgcdlist", "전체", "", "/root/init/cmb_lrgcd");
  205. // // 진료과/진료의 조회
  206. // submit("TRAEB02802", false);
  207. zsdfGetWardDeptList(getUserInfo("dutplceinstcd"), '/root/init/basecode/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), 'after');
  208. addComboItem("cmb_wardcd","--전체--","","above");
  209. grd_mainordlist.rebuild();
  210. model.refresh();
  211. ]]>
  212. </script>
  213. <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  214. <submission id="TRAER01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/subordlist"/>
  215. <submission id="TRAER01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
  216. <submission id="TRAER01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_mdlcd"/>
  217. <submission id="TRAER01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_smlcd"/>
  218. <submission id="TRZBC00101"/>
  219. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  220. </model>
  221. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  222. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  223. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  224. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  225. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  226. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  227. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  228. <script type="javascript">
  229. <![CDATA[
  230. /* @group : 촬영현황조회
  231. * @ver : 2007.06.14
  232. * @by : 장준원
  233. * @-----------------------------------
  234. * @type : function
  235. * @access : public
  236. * @desc : 대량조회를 위한 Grid Scroll 제어 Function
  237. */
  238. function fSubmitOnScroll() {
  239. if(grd_mainordlist.vscroll.attribute("max") == grd_mainordlist.vscroll.attribute("pos")) {
  240. // end of scroll
  241. model.setValue("/root/send/offset", grd_mainordlist.rows-1); // grid의 header row는 제외
  242. //alert('offset->'+model.getValue("/root/send/offset"));
  243. //if ( messageBox("미조회된 건수가 존재합니다. 추가 조회를 하시겠습니까?","Q001")==6 ) {
  244. submit("TRAER01001");
  245. grd_mainordlist.dispatch("onmouseup");
  246. //}else {
  247. //}
  248. }
  249. }
  250. /* @group : 환자별 입원처방 촬영현황조회
  251. * @ver : 2009.10.13
  252. * @by : 박상준
  253. * @-----------------------------------
  254. * @type : function
  255. * @access : public
  256. * @desc : 환자별 입원처방 촬영현황조회 Function
  257. */
  258. function fInExamList() {
  259. //alert(grd_mainordlist.valueMatrix(grd_mainordlist.row, grd_mainordlist.colRef("pid")) );
  260. model.setValue("/root/hidden/popdata/pid", grd_mainordlist.valueMatrix(grd_mainordlist.row, grd_mainordlist.colRef("pid")) );
  261. // getValue로 가져올 경우 Sort하고 나면 정상적인값을 가져오지 못해 valueMatrix 사용 함
  262. //model.setValue("/root/hidden/popdata/pid", model.getValue("/root/main/subordlist/subordlist1["+ grd_mainordlist.row +"]/pid"));
  263. //alert("pid->"+model.getValue("/root/hidden/popdata/pid"));
  264. open("SPAER01000","","","","SPAER01000","/root/hidden/popdata/pid" ,"/root/send/pid");
  265. model.setValue("/root/hidden/popdata/pid", "");
  266. }
  267. ]]>
  268. </script>
  269. </xhtml:head>
  270. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  271. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:747px; ">
  272. <group id="group2" style="left:0px; top:5px; width:1195px; height:120px; vertical-align:top; ">
  273. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:120px; background-color:#fffbf2; border-color:#ffd799; "/>
  274. <line id="line1" style="x1:1120px; y1:15px; x2:1120px; y2:72px; border-color:#ffe4bb; border-left-style:solid; "/>
  275. <caption id="caption1" class="search_name" style="left:185px; top:6px; width:86px; height:17px; text-align:left; ">처방코드 :</caption>
  276. <input id="input2" ref="/root/send/rgstdeptcd" class="input_search" style="left:931px; top:5px; width:80px; height:19px; ">
  277. <script type="javascript" ev:event="onkeyup">
  278. <![CDATA[
  279. if(event.keyCode == "13") {
  280. inputEnterKey("button3","DOMActivate");
  281. }
  282. ]]>
  283. </script>
  284. </input>
  285. <caption id="caption8" class="search_name" style="left:842px; top:6px; width:92px; height:17px; text-align:left; ">처방부서 :</caption>
  286. <output id="output2" ref="/root/send/prcpnm" class="output_search" style="left:398px; top:5px; width:237px; height:19px; "/>
  287. <output id="output1" ref="/root/send/disp_data/rgstdeptnm" class="output_search" style="left:1033px; top:5px; width:80px; height:19px; "/>
  288. <caption id="cmb_lrgcd" class="search_name" style="left:643px; top:6px; width:90px; height:17px; ">대분류 :</caption>
  289. <select1 id="combo1" ref="/root/send/lrgcd" class="combo_search" appearance="minimal" editmode="input" style="left:736px; top:5px; width:95px; height:19px; ">
  290. <choices>
  291. <itemset nodeset="/root/hidden/comcd3/lrgcdlist">
  292. <label ref="cdnm"/>
  293. <value ref="cdid"/>
  294. </itemset>
  295. </choices>
  296. <script type="javascript" ev:event="xforms-value-changed">
  297. <![CDATA[
  298. model.setValue("/root/send/mdlcd", "");
  299. model.resetInstanceNode("/root/init/cmb_mdlcd/mdlcdlist");
  300. model.setValue("/root/send/smlcd", "");
  301. model.resetInstanceNode("/root/init/cmb_smlcd/smlcdlist");
  302. if ( model.getValue("/root/send/lrgcd") == "" ) {
  303. model.resetInstanceNode("/root/init/cmb_lrgcd/lrgcdlist");
  304. submit("TRAER01002");
  305. }else {
  306. submit("TRAER01003");
  307. }
  308. ]]>
  309. </script>
  310. </select1>
  311. <input id="input5" ref="/root/send/rgstrid" class="input_search" style="left:931px; top:27px; width:80px; height:19px; ">
  312. <script type="javascript" ev:event="onkeyup">
  313. <![CDATA[
  314. if(event.keyCode == "13") {
  315. inputEnterKey("button4","DOMActivate");
  316. }
  317. ]]>
  318. </script>
  319. </input>
  320. <caption id="caption4" class="search_name" style="left:842px; top:28px; width:92px; height:17px; text-align:left; ">처방의사 :</caption>
  321. <output id="output3" ref="/root/send/disp_data/rgstrnm" class="output_search" style="left:1033px; top:27px; width:80px; height:19px; "/>
  322. <caption id="caption7" class="search_name" style="left:842px; top:50px; width:92px; height:17px; text-align:left; ">등록번호 :</caption>
  323. <input id="input6" ref="/root/send/pid" class="input_search" style="left:931px; top:49px; width:80px; height:19px; ">
  324. <script type="javascript" ev:event="onkeyup">
  325. <![CDATA[
  326. if(event.keyCode == "13") {
  327. inputEnterKey("button5","DOMActivate");
  328. }
  329. ]]>
  330. </script>
  331. </input>
  332. <output id="output5" ref="/root/send/disp_data/execrnm" class="output_search" style="left:398px; top:27px; width:77px; height:19px; "/>
  333. <caption id="caption10" class="search_name" style="left:185px; top:28px; width:82px; height:17px; text-align:left; ">검사자 :</caption>
  334. <input id="ipt_execrid" ref="/root/send/execrid" class="input_search" style="left:276px; top:27px; width:99px; height:19px; ">
  335. <script type="javascript" ev:event="onkeyup">
  336. <![CDATA[
  337. if(event.keyCode == "13") {
  338. inputEnterKey("button6","DOMActivate");
  339. }
  340. ]]>
  341. </script>
  342. </input>
  343. <button id="button6" class="icon_search" style="left:378px; top:27px; width:16px; height:16px; ">
  344. <caption/>
  345. <script type="javascript" ev:event="DOMActivate">
  346. <![CDATA[
  347. // aezfCommUserInfoList("/root/temp/userpopupinfo", "/root/temp/userinfolist", "/root/send/execrid", "/root/send/disp_data/execrnm");
  348. clearParameter("SPZSU10103_");
  349. model.setValue("/root/temp/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
  350. model.setValue("/root/temp/userpopupinfo/flag", "userid"); // 사용자ID
  351. model.setValue("/root/temp/userpopupinfo/searchitem", model.getValue("/root/send/execrid")); // 처방의사 ID
  352. modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/temp/userpopupinfo", "/root/main/temp");
  353. var iParam = getParameter("SPZSU10103_");
  354. if (iParam != "") {
  355. setCSVToNode("/root/temp/userinfolist", iParam);
  356. model.setValue("/root/send/execrid", model.getValue("/root/temp/userinfolist/list/userid") ); // 사용자 ID
  357. model.setValue("/root/send/disp_data/execrnm", model.getValue("/root/temp/userinfolist/list/usernm") ); // 사용자 이름+등등
  358. } else {
  359. model.setValue("/root/send/execrid", ""); // 사용자 ID
  360. model.setValue("/root/send/disp_data/execrnm", "" ); // 사용자 이름+등등
  361. }
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </button>
  366. <output id="output6" ref="/root/send/disp_data/cnfmmannm" class="output_search" style="left:398px; top:49px; width:77px; height:19px; "/>
  367. <button id="button7" class="icon_search" style="left:378px; top:49px; width:16px; height:16px; ">
  368. <caption/>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. // aezfCommUserInfoList("/root/temp/userpopupinfo", "/root/temp/userinfolist", "/root/send/cnfmmanid", "/root/send/disp_data/cnfmmannm");
  372. clearParameter("SPZSU10103_");
  373. model.setValue("/root/temp/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
  374. model.setValue("/root/temp/userpopupinfo/flag", "userid"); // 사용자ID
  375. model.setValue("/root/temp/userpopupinfo/searchitem", model.getValue("/root/send/cnfmmanid")); // 처방의사 ID
  376. modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/temp/userpopupinfo", "/root/main/temp");
  377. var iParam = getParameter("SPZSU10103_");
  378. if (iParam != "") {
  379. setCSVToNode("/root/temp/userinfolist", iParam);
  380. model.setValue("/root/send/cnfmmanid", model.getValue("/root/temp/userinfolist/list/userid") ); // 사용자 ID
  381. model.setValue("/root/send/disp_data/cnfmmannm", model.getValue("/root/temp/userinfolist/list/usernm") ); // 사용자 이름+등등
  382. } else {
  383. model.setValue("/root/send/cnfmmanid", ""); // 사용자 ID
  384. model.setValue("/root/send/disp_data/cnfmmannm", "" ); // 사용자 이름+등등
  385. }
  386. model.refresh();
  387. ]]>
  388. </script>
  389. </button>
  390. <caption id="caption11" class="search_name" style="left:185px; top:50px; width:77px; height:17px; text-align:left; ">판독자 :</caption>
  391. <input id="ipt_cnfmmanid" ref="/root/send/cnfmmanid" class="input_search" style="left:276px; top:49px; width:99px; height:19px; ">
  392. <script type="javascript" ev:event="onkeyup">
  393. <![CDATA[
  394. if(event.keyCode == "13") {
  395. inputEnterKey("button7","DOMActivate");
  396. }
  397. ]]>
  398. </script>
  399. </input>
  400. <caption id="caption2" class="search_name" style="left:487px; top:28px; width:60px; height:17px; ">상태 :</caption>
  401. <select1 id="cmb_execprcpstatcd" ref="/root/send/execprcpstatcd" class="combo_search" appearance="minimal" style="left:550px; top:27px; width:85px; height:19px; ">
  402. <choices>
  403. <itemset nodeset="/root/hidden/comcd2/M0011">
  404. <label ref="cdnm"/>
  405. <value ref="cdid"/>
  406. </itemset>
  407. </choices>
  408. </select1>
  409. <caption id="caption5" class="search_name" style="left:185px; top:72px; width:98px; height:17px; ">외래/입원 :</caption>
  410. <select1 id="cmb_prcpgenrflag" ref="/root/send/prcpgenrflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:284px; top:57px; width:95px; height:19px; ">
  411. <choices>
  412. <itemset nodeset="/root/hidden/comcd/M0010">
  413. <label ref="cdnm"/>
  414. <value ref="cdid"/>
  415. </itemset>
  416. </choices>
  417. </select1>
  418. <caption id="caption9" class="search_name" style="left:643px; top:72px; width:90px; height:17px; text-align:left; ">촬영실 :</caption>
  419. <caption id="cmb_mdlcd" class="search_name" style="left:643px; top:28px; width:90px; height:17px; text-align:left; ">중분류 :</caption>
  420. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_search" appearance="minimal" style="left:736px; top:71px; width:95px; height:19px; ">
  421. <choices>
  422. <itemset nodeset="/root/init/cmb_info2/initexecroom">
  423. <label ref="excuroomcdnm"/>
  424. <value ref="excuroomcdid"/>
  425. </itemset>
  426. </choices>
  427. </select1>
  428. <select1 id="combo2" ref="/root/send/mdlcd" class="combo_search" appearance="minimal" editmode="input" style="left:736px; top:27px; width:95px; height:19px; ">
  429. <choices>
  430. <itemset nodeset="/root/init/cmb_mdlcd/mdlcdlist">
  431. <label ref="mdlcdnm"/>
  432. <value ref="mdlcdid"/>
  433. </itemset>
  434. </choices>
  435. <script type="javascript" ev:event="xforms-value-changed">
  436. <![CDATA[
  437. model.setValue("/root/send/smlcd", "");
  438. model.resetInstanceNode("/root/init/cmb_smlcd/smlcdlist");
  439. submit("TRAER01004");
  440. ]]>
  441. </script>
  442. </select1>
  443. <button id="btn_sea" class="btn1_letter2" style="left:1129px; top:35px; width:56px; height:22px; ">
  444. <caption>조회</caption>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. // 처방코드를 입력하였을 경우는 like검색 가능하게
  448. if( ipt_prcpcd.value.length > 0 ){
  449. if( ipt_prcpcd.value.length < 3 ){
  450. messageBox("검색어를 세자이상 " , "C001");
  451. model.setFocus("ipt_prcpcd");
  452. return ;
  453. }
  454. }
  455. // 대량조회-offset초기화
  456. model.removeNodeset("/root/main/subordlist/subordlist1");
  457. model.setValue("/root/send/offset","0");
  458. grd_mainordlist.rebuild();
  459. submit("TRAER01001");
  460. ]]>
  461. </script>
  462. </button>
  463. <select1 id="cmb_ddflag" ref="/root/send/ddflag" class="combo_search" appearance="minimal" style="left:5px; top:6px; width:100px; height:19px; ">
  464. <choices>
  465. <item>
  466. <label>처방일자</label>
  467. <value>prcpdd</value>
  468. </item>
  469. <item>
  470. <label>촬영일자</label>
  471. <value>execdd</value>
  472. </item>
  473. </choices>
  474. </select1>
  475. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" inputtype="date" style="left:5px; top:28px; width:100px; height:19px; "/>
  476. <input id="ipt_todd" ref="/root/send/todd" class="input_default" inputtype="date" style="left:5px; top:49px; width:100px; height:19px; "/>
  477. <input id="ipt_prcpcd" ref="/root/send/prcpcd" class="input_search" style="left:276px; top:6px; width:99px; height:19px; ">
  478. <script type="javascript" ev:event="onkeyup">
  479. <![CDATA[
  480. if(event.keyCode == "13") {
  481. inputEnterKey("button61","DOMActivate");
  482. }
  483. ]]>
  484. </script>
  485. </input>
  486. <select1 id="cmb_fromhh" ref="/root/send/fromhh" appearance="minimal" style="left:107px; top:28px; width:38px; height:19px; ">
  487. <choices>
  488. <item>
  489. <label>00</label>
  490. <value>00</value>
  491. </item>
  492. <item>
  493. <label>01</label>
  494. <value>01</value>
  495. </item>
  496. <item>
  497. <label>02</label>
  498. <value>02</value>
  499. </item>
  500. <item>
  501. <label>03</label>
  502. <value>03</value>
  503. </item>
  504. <item>
  505. <label>04</label>
  506. <value>04</value>
  507. </item>
  508. <item>
  509. <label>05</label>
  510. <value>05</value>
  511. </item>
  512. <item>
  513. <label>06</label>
  514. <value>06</value>
  515. </item>
  516. <item>
  517. <label>07</label>
  518. <value>07</value>
  519. </item>
  520. <item>
  521. <label>08</label>
  522. <value>08</value>
  523. </item>
  524. <item>
  525. <label>09</label>
  526. <value>09</value>
  527. </item>
  528. <item>
  529. <label>10</label>
  530. <value>10</value>
  531. </item>
  532. <item>
  533. <label>11</label>
  534. <value>11</value>
  535. </item>
  536. <item>
  537. <label>12</label>
  538. <value>12</value>
  539. </item>
  540. <item>
  541. <label>13</label>
  542. <value>13</value>
  543. </item>
  544. <item>
  545. <label>14</label>
  546. <value>14</value>
  547. </item>
  548. <item>
  549. <label>15</label>
  550. <value>15</value>
  551. </item>
  552. <item>
  553. <label>16</label>
  554. <value>16</value>
  555. </item>
  556. <item>
  557. <label>17</label>
  558. <value>17</value>
  559. </item>
  560. <item>
  561. <label>18</label>
  562. <value>18</value>
  563. </item>
  564. <item>
  565. <label>19</label>
  566. <value>19</value>
  567. </item>
  568. <item>
  569. <label>20</label>
  570. <value>20</value>
  571. </item>
  572. <item>
  573. <label>21</label>
  574. <value>21</value>
  575. </item>
  576. <item>
  577. <label>22</label>
  578. <value>22</value>
  579. </item>
  580. <item>
  581. <label>23</label>
  582. <value>23</value>
  583. </item>
  584. </choices>
  585. </select1>
  586. <select1 id="cmb_fromnn" ref="/root/send/fromnn" appearance="minimal" style="left:146px; top:28px; width:38px; height:19px; ">
  587. <choices>
  588. <item>
  589. <label>00</label>
  590. <value>00</value>
  591. </item>
  592. <item>
  593. <label>01</label>
  594. <value>01</value>
  595. </item>
  596. <item>
  597. <label>02</label>
  598. <value>02</value>
  599. </item>
  600. <item>
  601. <label>03</label>
  602. <value>03</value>
  603. </item>
  604. <item>
  605. <label>04</label>
  606. <value>04</value>
  607. </item>
  608. <item>
  609. <label>05</label>
  610. <value>05</value>
  611. </item>
  612. <item>
  613. <label>06</label>
  614. <value>06</value>
  615. </item>
  616. <item>
  617. <label>07</label>
  618. <value>07</value>
  619. </item>
  620. <item>
  621. <label>08</label>
  622. <value>08</value>
  623. </item>
  624. <item>
  625. <label>09</label>
  626. <value>09</value>
  627. </item>
  628. <item>
  629. <label>10</label>
  630. <value>10</value>
  631. </item>
  632. <item>
  633. <label>11</label>
  634. <value>11</value>
  635. </item>
  636. <item>
  637. <label>12</label>
  638. <value>12</value>
  639. </item>
  640. <item>
  641. <label>13</label>
  642. <value>13</value>
  643. </item>
  644. <item>
  645. <label>14</label>
  646. <value>14</value>
  647. </item>
  648. <item>
  649. <label>15</label>
  650. <value>15</value>
  651. </item>
  652. <item>
  653. <label>16</label>
  654. <value>16</value>
  655. </item>
  656. <item>
  657. <label>17</label>
  658. <value>17</value>
  659. </item>
  660. <item>
  661. <label>18</label>
  662. <value>18</value>
  663. </item>
  664. <item>
  665. <label>19</label>
  666. <value>19</value>
  667. </item>
  668. <item>
  669. <label>20</label>
  670. <value>20</value>
  671. </item>
  672. <item>
  673. <label>21</label>
  674. <value>21</value>
  675. </item>
  676. <item>
  677. <label>22</label>
  678. <value>22</value>
  679. </item>
  680. <item>
  681. <label>23</label>
  682. <value>23</value>
  683. </item>
  684. <item>
  685. <label>24</label>
  686. <value>24</value>
  687. </item>
  688. <item>
  689. <label>25</label>
  690. <value>25</value>
  691. </item>
  692. <item>
  693. <label>26</label>
  694. <value>26</value>
  695. </item>
  696. <item>
  697. <label>27</label>
  698. <value>27</value>
  699. </item>
  700. <item>
  701. <label>28</label>
  702. <value>28</value>
  703. </item>
  704. <item>
  705. <label>29</label>
  706. <value>29</value>
  707. </item>
  708. <item>
  709. <label>30</label>
  710. <value>30</value>
  711. </item>
  712. <item>
  713. <label>31</label>
  714. <value>31</value>
  715. </item>
  716. <item>
  717. <label>32</label>
  718. <value>32</value>
  719. </item>
  720. <item>
  721. <label>33</label>
  722. <value>33</value>
  723. </item>
  724. <item>
  725. <label>34</label>
  726. <value>34</value>
  727. </item>
  728. <item>
  729. <label>35</label>
  730. <value>35</value>
  731. </item>
  732. <item>
  733. <label>36</label>
  734. <value>36</value>
  735. </item>
  736. <item>
  737. <label>37</label>
  738. <value>37</value>
  739. </item>
  740. <item>
  741. <label>38</label>
  742. <value>38</value>
  743. </item>
  744. <item>
  745. <label>39</label>
  746. <value>39</value>
  747. </item>
  748. <item>
  749. <label>40</label>
  750. <value>40</value>
  751. </item>
  752. <item>
  753. <label>41</label>
  754. <value>41</value>
  755. </item>
  756. <item>
  757. <label>42</label>
  758. <value>42</value>
  759. </item>
  760. <item>
  761. <label>43</label>
  762. <value>43</value>
  763. </item>
  764. <item>
  765. <label>44</label>
  766. <value>44</value>
  767. </item>
  768. <item>
  769. <label>45</label>
  770. <value>45</value>
  771. </item>
  772. <item>
  773. <label>46</label>
  774. <value>46</value>
  775. </item>
  776. <item>
  777. <label>47</label>
  778. <value>47</value>
  779. </item>
  780. <item>
  781. <label>48</label>
  782. <value>48</value>
  783. </item>
  784. <item>
  785. <label>49</label>
  786. <value>49</value>
  787. </item>
  788. <item>
  789. <label>50</label>
  790. <value>50</value>
  791. </item>
  792. <item>
  793. <label>51</label>
  794. <value>51</value>
  795. </item>
  796. <item>
  797. <label>52</label>
  798. <value>52</value>
  799. </item>
  800. <item>
  801. <label>53</label>
  802. <value>53</value>
  803. </item>
  804. <item>
  805. <label>54</label>
  806. <value>54</value>
  807. </item>
  808. <item>
  809. <label>55</label>
  810. <value>55</value>
  811. </item>
  812. <item>
  813. <label>56</label>
  814. <value>56</value>
  815. </item>
  816. <item>
  817. <label>57</label>
  818. <value>57</value>
  819. </item>
  820. <item>
  821. <label>58</label>
  822. <value>58</value>
  823. </item>
  824. <item>
  825. <label>59</label>
  826. <value>59</value>
  827. </item>
  828. </choices>
  829. </select1>
  830. <select1 id="cmb_tohh" ref="/root/send/tohh" appearance="minimal" style="left:107px; top:49px; width:38px; height:19px; ">
  831. <choices>
  832. <item>
  833. <label>00</label>
  834. <value>00</value>
  835. </item>
  836. <item>
  837. <label>01</label>
  838. <value>01</value>
  839. </item>
  840. <item>
  841. <label>02</label>
  842. <value>02</value>
  843. </item>
  844. <item>
  845. <label>03</label>
  846. <value>03</value>
  847. </item>
  848. <item>
  849. <label>04</label>
  850. <value>04</value>
  851. </item>
  852. <item>
  853. <label>05</label>
  854. <value>05</value>
  855. </item>
  856. <item>
  857. <label>06</label>
  858. <value>06</value>
  859. </item>
  860. <item>
  861. <label>07</label>
  862. <value>07</value>
  863. </item>
  864. <item>
  865. <label>08</label>
  866. <value>08</value>
  867. </item>
  868. <item>
  869. <label>09</label>
  870. <value>09</value>
  871. </item>
  872. <item>
  873. <label>10</label>
  874. <value>10</value>
  875. </item>
  876. <item>
  877. <label>11</label>
  878. <value>11</value>
  879. </item>
  880. <item>
  881. <label>12</label>
  882. <value>12</value>
  883. </item>
  884. <item>
  885. <label>13</label>
  886. <value>13</value>
  887. </item>
  888. <item>
  889. <label>14</label>
  890. <value>14</value>
  891. </item>
  892. <item>
  893. <label>15</label>
  894. <value>15</value>
  895. </item>
  896. <item>
  897. <label>16</label>
  898. <value>16</value>
  899. </item>
  900. <item>
  901. <label>17</label>
  902. <value>17</value>
  903. </item>
  904. <item>
  905. <label>18</label>
  906. <value>18</value>
  907. </item>
  908. <item>
  909. <label>19</label>
  910. <value>19</value>
  911. </item>
  912. <item>
  913. <label>20</label>
  914. <value>20</value>
  915. </item>
  916. <item>
  917. <label>21</label>
  918. <value>21</value>
  919. </item>
  920. <item>
  921. <label>22</label>
  922. <value>22</value>
  923. </item>
  924. <item>
  925. <label>23</label>
  926. <value>23</value>
  927. </item>
  928. </choices>
  929. </select1>
  930. <select1 id="cmb_tonn" ref="/root/send/tonn" appearance="minimal" style="left:146px; top:49px; width:38px; height:19px; ">
  931. <choices>
  932. <item>
  933. <label>00</label>
  934. <value>00</value>
  935. </item>
  936. <item>
  937. <label>01</label>
  938. <value>01</value>
  939. </item>
  940. <item>
  941. <label>02</label>
  942. <value>02</value>
  943. </item>
  944. <item>
  945. <label>03</label>
  946. <value>03</value>
  947. </item>
  948. <item>
  949. <label>04</label>
  950. <value>04</value>
  951. </item>
  952. <item>
  953. <label>05</label>
  954. <value>05</value>
  955. </item>
  956. <item>
  957. <label>06</label>
  958. <value>06</value>
  959. </item>
  960. <item>
  961. <label>07</label>
  962. <value>07</value>
  963. </item>
  964. <item>
  965. <label>08</label>
  966. <value>08</value>
  967. </item>
  968. <item>
  969. <label>09</label>
  970. <value>09</value>
  971. </item>
  972. <item>
  973. <label>10</label>
  974. <value>10</value>
  975. </item>
  976. <item>
  977. <label>11</label>
  978. <value>11</value>
  979. </item>
  980. <item>
  981. <label>12</label>
  982. <value>12</value>
  983. </item>
  984. <item>
  985. <label>13</label>
  986. <value>13</value>
  987. </item>
  988. <item>
  989. <label>14</label>
  990. <value>14</value>
  991. </item>
  992. <item>
  993. <label>15</label>
  994. <value>15</value>
  995. </item>
  996. <item>
  997. <label>16</label>
  998. <value>16</value>
  999. </item>
  1000. <item>
  1001. <label>17</label>
  1002. <value>17</value>
  1003. </item>
  1004. <item>
  1005. <label>18</label>
  1006. <value>18</value>
  1007. </item>
  1008. <item>
  1009. <label>19</label>
  1010. <value>19</value>
  1011. </item>
  1012. <item>
  1013. <label>20</label>
  1014. <value>20</value>
  1015. </item>
  1016. <item>
  1017. <label>21</label>
  1018. <value>21</value>
  1019. </item>
  1020. <item>
  1021. <label>22</label>
  1022. <value>22</value>
  1023. </item>
  1024. <item>
  1025. <label>23</label>
  1026. <value>23</value>
  1027. </item>
  1028. <item>
  1029. <label>24</label>
  1030. <value>24</value>
  1031. </item>
  1032. <item>
  1033. <label>25</label>
  1034. <value>25</value>
  1035. </item>
  1036. <item>
  1037. <label>26</label>
  1038. <value>26</value>
  1039. </item>
  1040. <item>
  1041. <label>27</label>
  1042. <value>27</value>
  1043. </item>
  1044. <item>
  1045. <label>28</label>
  1046. <value>28</value>
  1047. </item>
  1048. <item>
  1049. <label>29</label>
  1050. <value>29</value>
  1051. </item>
  1052. <item>
  1053. <label>30</label>
  1054. <value>30</value>
  1055. </item>
  1056. <item>
  1057. <label>31</label>
  1058. <value>31</value>
  1059. </item>
  1060. <item>
  1061. <label>32</label>
  1062. <value>32</value>
  1063. </item>
  1064. <item>
  1065. <label>33</label>
  1066. <value>33</value>
  1067. </item>
  1068. <item>
  1069. <label>34</label>
  1070. <value>34</value>
  1071. </item>
  1072. <item>
  1073. <label>35</label>
  1074. <value>35</value>
  1075. </item>
  1076. <item>
  1077. <label>36</label>
  1078. <value>36</value>
  1079. </item>
  1080. <item>
  1081. <label>37</label>
  1082. <value>37</value>
  1083. </item>
  1084. <item>
  1085. <label>38</label>
  1086. <value>38</value>
  1087. </item>
  1088. <item>
  1089. <label>39</label>
  1090. <value>39</value>
  1091. </item>
  1092. <item>
  1093. <label>40</label>
  1094. <value>40</value>
  1095. </item>
  1096. <item>
  1097. <label>41</label>
  1098. <value>41</value>
  1099. </item>
  1100. <item>
  1101. <label>42</label>
  1102. <value>42</value>
  1103. </item>
  1104. <item>
  1105. <label>43</label>
  1106. <value>43</value>
  1107. </item>
  1108. <item>
  1109. <label>44</label>
  1110. <value>44</value>
  1111. </item>
  1112. <item>
  1113. <label>45</label>
  1114. <value>45</value>
  1115. </item>
  1116. <item>
  1117. <label>46</label>
  1118. <value>46</value>
  1119. </item>
  1120. <item>
  1121. <label>47</label>
  1122. <value>47</value>
  1123. </item>
  1124. <item>
  1125. <label>48</label>
  1126. <value>48</value>
  1127. </item>
  1128. <item>
  1129. <label>49</label>
  1130. <value>49</value>
  1131. </item>
  1132. <item>
  1133. <label>50</label>
  1134. <value>50</value>
  1135. </item>
  1136. <item>
  1137. <label>51</label>
  1138. <value>51</value>
  1139. </item>
  1140. <item>
  1141. <label>52</label>
  1142. <value>52</value>
  1143. </item>
  1144. <item>
  1145. <label>53</label>
  1146. <value>53</value>
  1147. </item>
  1148. <item>
  1149. <label>54</label>
  1150. <value>54</value>
  1151. </item>
  1152. <item>
  1153. <label>55</label>
  1154. <value>55</value>
  1155. </item>
  1156. <item>
  1157. <label>56</label>
  1158. <value>56</value>
  1159. </item>
  1160. <item>
  1161. <label>57</label>
  1162. <value>57</value>
  1163. </item>
  1164. <item>
  1165. <label>58</label>
  1166. <value>58</value>
  1167. </item>
  1168. <item>
  1169. <label>59</label>
  1170. <value>59</value>
  1171. </item>
  1172. </choices>
  1173. </select1>
  1174. <caption id="caption13" class="search_name" style="left:643px; top:50px; width:90px; height:17px; text-align:left; ">소분류 :</caption>
  1175. <select1 id="cmb_smlcd" ref="/root/send/smlcd" class="combo_search" appearance="minimal" editmode="input" style="left:736px; top:49px; width:95px; height:19px; ">
  1176. <choices>
  1177. <itemset nodeset="/root/init/cmb_smlcd/smlcdlist">
  1178. <label ref="smlcdnm"/>
  1179. <value ref="smlcdid"/>
  1180. </itemset>
  1181. </choices>
  1182. </select1>
  1183. <caption id="caption3" class="search_name" style="left:842px; top:72px; width:92px; height:17px; text-align:left; ">재원일수 :</caption>
  1184. <input id="ipt_indd" ref="/root/send/indd" class="input_search" format="#,###" style="left:931px; top:71px; width:80px; height:19px; text-align:center; "/>
  1185. <select id="chk_prcpgenrflag" ref="/root/send/prcpgenrflag" overflow="visible" appearance="full" style="left:280px; top:73px; width:290px; height:19px; border-style:none; ">
  1186. <choices>
  1187. <itemset nodeset="/root/hidden/comcd/M0010">
  1188. <label ref="cdnm"/>
  1189. <value ref="cdid"/>
  1190. </itemset>
  1191. </choices>
  1192. </select>
  1193. <input id="ipt_inddto" ref="/root/send/inddto" class="input_search" format="#,###" style="left:1033px; top:71px; width:80px; height:19px; text-align:center; "/>
  1194. <caption id="caption12" style="left:1015px; top:71px; width:15px; height:20px; ">~</caption>
  1195. <caption id="caption14" class="search_name" style="left:487px; top:50px; width:62px; height:17px; ">병동 :</caption>
  1196. <select1 id="cmb_wardcd" ref="/root/send/wardcd" class="combo_search" appearance="minimal" style="left:550px; top:49px; width:85px; height:19px; ">
  1197. <choices>
  1198. <itemset nodeset="/root/init/basecode/ward/dept">
  1199. <label ref="depthngnm"/>
  1200. <value ref="deptcd"/>
  1201. </itemset>
  1202. </choices>
  1203. </select1>
  1204. <caption id="caption17" style="left:389px; top:93px; width:15px; height:20px; ">~</caption>
  1205. <input id="input4" ref="/root/send/prcpfromtm" class="input_search" format="#,###" style="left:305px; top:93px; width:80px; height:19px; text-align:center; "/>
  1206. <caption id="caption18" class="search_name" style="left:185px; top:94px; width:112px; height:17px; text-align:left; ">처방시행일수 :</caption>
  1207. <input id="input7" ref="/root/send/prcptotm" class="input_search" format="#,###" style="left:407px; top:93px; width:80px; height:19px; text-align:center; "/>
  1208. <input id="input8" ref="/root/send/cnfmtotm" class="input_search" format="#,###" style="left:1033px; top:93px; width:80px; height:19px; text-align:center; "/>
  1209. <caption id="caption19" style="left:1015px; top:93px; width:15px; height:20px; ">~</caption>
  1210. <caption id="caption20" class="search_name" style="left:842px; top:94px; width:90px; height:17px; text-align:left; ">판독기간 :</caption>
  1211. <input id="input9" ref="/root/send/cnfmfromtm" class="input_search" format="#,###" style="left:931px; top:93px; width:80px; height:19px; text-align:center; "/>
  1212. <output id="output4" ref="/root/send/disp_data/hngnm" class="output_search" style="left:1033px; top:49px; width:80px; height:19px; "/>
  1213. <button id="button5" class="icon_search" style="left:1013px; top:49px; width:16px; height:19px; ">
  1214. <caption/>
  1215. <script type="javascript" ev:event="DOMActivate">
  1216. <![CDATA[
  1217. //aezfCommPatInfoList("/root/send/pid", "/root/send/disp_data/hngnm");
  1218. model.makeValue("/root/send/data2/srchcond", "1");
  1219. model.makeValue("/root/send/data2/pid", model.getValue("/root/send/pid"));
  1220. model.makeValue("/root/send/data2/autoflag", "Y");
  1221. modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/data2", "/root/send");
  1222. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  1223. model.setValue("/root/send/disp_data/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm")+" ["+model.getValue("/root/main/patinfo/patinfolist/sex")+'/'+model.getValue("/root/main/patinfo/patinfolist/age")+"]" );
  1224. model.refresh();
  1225. ]]>
  1226. </script>
  1227. </button>
  1228. <button id="button4" class="icon_search" style="left:1013px; top:27px; width:16px; height:16px; ">
  1229. <caption/>
  1230. <script type="javascript" ev:event="DOMActivate">
  1231. <![CDATA[
  1232. /// aezfCommUserInfoList("/root/temp/userpopupinfo", "/root/temp/userinfolist", "/root/send/rgstrid", "/root/send/disp_data/rgstrnm");
  1233. clearParameter("SPZSU10103_");
  1234. model.setValue("/root/temp/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
  1235. model.setValue("/root/temp/userpopupinfo/flag", "userid"); // 사용자ID
  1236. model.setValue("/root/temp/userpopupinfo/searchitem", model.getValue("/root/send/rgstrid")); // 처방의사 ID
  1237. modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/temp/userpopupinfo", "/root/main/temp");
  1238. var iParam = getParameter("SPZSU10103_");
  1239. if (iParam != "") {
  1240. setCSVToNode("/root/temp/userinfolist", iParam);
  1241. model.setValue("/root/send/rgstrid", model.getValue("/root/temp/userinfolist/list/userid") ); // 사용자 ID
  1242. model.setValue("/root/send/disp_data/rgstrnm", model.getValue("/root/temp/userinfolist/list/usernm") ); // 사용자 이름+등등
  1243. } else {
  1244. model.setValue("/root/send/rgstrid", ""); // 사용자 ID
  1245. model.setValue("/root/send/disp_data/rgstrnm", "" ); // 사용자 이름+등등
  1246. }
  1247. model.refresh();
  1248. ]]>
  1249. </script>
  1250. </button>
  1251. <button id="button3" class="icon_search" style="left:1013px; top:5px; width:16px; height:16px; ">
  1252. <caption/>
  1253. <script type="javascript" ev:event="DOMActivate">
  1254. <![CDATA[
  1255. // 공통 부서코드 조회 팝업창 호출
  1256. // aezfCommDeptCodeList("/root/send/rgstdeptcd", "/root/send/disp_data/rgstdeptnm");
  1257. var baseXpath = "/root/send/rgstdeptcd";
  1258. var baseXpath2 = "/root/send/disp_data/rgstdeptnm";
  1259. model.makeValue("/root/temp/prestdeptcd","");
  1260. model.makeValue("/root/temp/prestdeptnm","");
  1261. var search_condition = "deptnm";
  1262. var search_term = "";
  1263. var receive_deptcd_path = "/root/temp/prestdeptcd";
  1264. var receive_deptnm_path = "/root/temp/prestdeptnm";
  1265. model.setValue(receive_deptcd_path, "");
  1266. model.setValue(receive_deptnm_path, "");
  1267. var standard_yn = null;
  1268. var ord_deptflag = null;
  1269. zbcfOpenInstDeptCodeList(
  1270. search_condition,
  1271. search_term,
  1272. receive_deptcd_path,
  1273. receive_deptnm_path,
  1274. standard_yn,
  1275. ord_deptflag,
  1276. new Array("deptcd", "depthngnm")
  1277. );
  1278. model.setValue(baseXpath, model.getValue("/root/temp/prestdeptcd"));
  1279. model.setValue(baseXpath2, model.getValue("/root/temp/prestdeptnm"));
  1280. model.refresh();
  1281. ]]>
  1282. </script>
  1283. </button>
  1284. <button id="button61" class="icon_search" style="left:378px; top:6px; width:16px; height:16px; ">
  1285. <caption/>
  1286. <script type="javascript" ev:event="DOMActivate">
  1287. <![CDATA[
  1288. var vSrcXPath = "/root/temp/templst"
  1289. var sessiondept = model.getValue("/root/send/globalinstance/instance1");
  1290. fGetCalScorCd( "cd", model.getValue("/root/send/prcpcd"), "Y"/*bMultiyn*/ , vSrcXPath /*vMultiDestXPath*/, "" /*vCdDestXPath*/, "" /*vNmDestXPath*/, "" /*vAmtDestXPath*/);
  1291. var cnt = getNodesetCount(vSrcXPath);
  1292. if( cnt == 1 ) {
  1293. model.setValue("/root/send/prcpcd", model.getValue(vSrcXPath + "/list/calcscorcd" ));
  1294. model.setValue("/root/send/prcpnm", model.getValue(vSrcXPath + "/list/ordnm" ));
  1295. }
  1296. model.refresh();
  1297. ]]>
  1298. </script>
  1299. </button>
  1300. <input id="input1" ref="/root/send/examtotm" class="input_search" format="#,###" style="left:751px; top:93px; width:80px; height:19px; text-align:center; "/>
  1301. <caption id="caption15" style="left:734px; top:93px; width:15px; height:20px; ">~</caption>
  1302. <input id="input3" ref="/root/send/examfromtm" class="input_search" format="#,###" style="left:650px; top:93px; width:80px; height:19px; text-align:center; "/>
  1303. <caption id="caption16" class="search_name" style="left:530px; top:94px; width:112px; height:17px; text-align:left; ">검사대기시간 :</caption>
  1304. </group>
  1305. <line id="line2" class="line_1" style="x1:0px; y1:151px; x2:1195px; y2:151px; "/>
  1306. <datagrid id="grd_mainordlist" nodeset="/root/main/subordlist/subordlist1" class="datagrid2" autoresize="true" caption="HISORDERID^등록번호^환자명^구분^병동^병실^처방일시^ 예약 또는 접수일시^촬영일시^매칭일시^판독일시^처방명^촬영실^처방과^처방의^판독기간^처방&#xA;시행일수^검사&#xA;대기시간^검사시간^일수^진료과^주치의^담당의^진단명^입원일자^퇴원일자^퇴원통보일자^실시자^실시자2^급비여부^외상&#xA;환자유무^급비여부" colsep="^" colwidth="111, 65, 60, 45, 108, 60, 70, 70, 73, 70, 70, 200, 92, 73, 60, 60, 60, 60, 60, 40, 100, 57, 59, 165, 70, 70, 100, 60, 60, 60, 60" datatype="xml" explorerbar="sortshowmove" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:155px; width:1195px; height:589px; text-align:center; ">
  1307. <col ref="hisorderid"/>
  1308. <col ref="pid"/>
  1309. <col ref="patnm"/>
  1310. <col ref="prcpgenrflag"/>
  1311. <col ref="wardnm"/>
  1312. <col ref="roomnm"/>
  1313. <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
  1314. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  1315. <col ref="phofromdt" format="yyyy-mm-dd hh:nn:ss"/>
  1316. <col ref="excuexectodt" format="yyyy-mm-dd hh:nn:ss"/>
  1317. <col ref="cnfmdt" format="yyyy-mm-dd hh:nn:ss"/>
  1318. <col ref="prcpnm" style="text-align:left; "/>
  1319. <col ref="examroomnm"/>
  1320. <col ref="rgstdepthngnm"/>
  1321. <col ref="rgstridnm"/>
  1322. <col ref="cnfmwait"/>
  1323. <col ref="prcpwait" format="#,###"/>
  1324. <col ref="execwait" format="hh:nn:ss"/>
  1325. <col ref="phowait" format="hh:nn:ss"/>
  1326. <col ref="inddcnt" style="text-align:center; "/>
  1327. <col ref="orddeptnm"/>
  1328. <col ref="meddrnm"/>
  1329. <col ref="orddrnm"/>
  1330. <col ref="diagnm"/>
  1331. <col ref="indd" format="yyyy-mm-dd"/>
  1332. <col ref="dschdd" format="yyyy-mm-dd"/>
  1333. <col ref="dschnotidt" visibility="hidden"/>
  1334. <col ref="execrid1" style="text-align:center; "/>
  1335. <col ref="execrid2" style="text-align:center; "/>
  1336. <col ref="payflagnm" style="text-align:center; "/>
  1337. <col ref="trdiagyn" style="text-align:center; "/>
  1338. <script type="javascript" ev:event="onscroll">
  1339. <![CDATA[
  1340. ]]>
  1341. </script>
  1342. <script type="javascript" ev:event="onmousedown">
  1343. <![CDATA[
  1344. setPopupMenu("grd_mainordlist", false, "/root/init/popupmenu/grid01/item", "name", "func");
  1345. ]]>
  1346. </script>
  1347. <script type="javascript" ev:event="onaftersort">
  1348. <![CDATA[
  1349. grd_mainordlist.gridToInstance(); // 정렬 후 인스턴스 재구성
  1350. ]]>
  1351. </script>
  1352. <script type="javascript" ev:event="onscrolldown">
  1353. <![CDATA[
  1354. fSubmitOnScroll();
  1355. ]]>
  1356. </script>
  1357. </datagrid>
  1358. <button id="btn_reset" class="btn4_letter3" style="left:1049px; top:129px; width:68px; height:22px; ">
  1359. <caption>초기화</caption>
  1360. <script type="javascript" ev:event="DOMActivate">
  1361. <![CDATA[
  1362. // cmb_excuroom.deselect(0);
  1363. // cmb_orddept.deselect(0);
  1364. // cmb_ward.deselect(0);
  1365. // cmb_rsrvflag.deselect(0);
  1366. // cmb_rsrvstat.deselect(0);
  1367. ]]>
  1368. </script>
  1369. </button>
  1370. <button id="button2" class="btn4_letter3" style="left:1118px; top:129px; width:68px; height:22px; ">
  1371. <caption>Excel</caption>
  1372. <script type="javascript" ev:event="DOMActivate">
  1373. <![CDATA[
  1374. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  1375. if(file == "") return;
  1376. grd_mainordlist.saveExcel(file, "sheet1");
  1377. ]]>
  1378. </script>
  1379. </button>
  1380. </group>
  1381. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  1382. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">촬영현황조회</caption>
  1383. </group>
  1384. </xhtml:body>
  1385. </xhtml:html>