SMMMO04501_opM.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common_mobile.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. <oppatinfo>
  11. <oppatlist>
  12. <ioflag/>
  13. <oproomnm/>
  14. <patinroomdt/>
  15. <cpyn/>
  16. <opfromtmcd/>
  17. <opendtmcd/>
  18. <opusetm/>
  19. <orddeptcd/>
  20. <pid/>
  21. <hngnm/>
  22. <sa/>
  23. <opnm/>
  24. <diagnm/>
  25. <roomcd/>
  26. <anstreqflag/>
  27. <anstdrnm/>
  28. <opstatcd/>
  29. <perfdrnm/>
  30. <waittime/>
  31. <conctypenm/>
  32. <preworkup/>
  33. <hsctpreday/>
  34. <trsntype/>
  35. <hsctday/>
  36. <postcxday/>
  37. <oprsrvno/>
  38. <ophistno/>
  39. <opcnfmdd/>
  40. <perfdeptcd/>
  41. <perfdrid/>
  42. <instcd/>
  43. </oppatlist>
  44. </oppatinfo>
  45. <cond>
  46. <opcnfmdd/>
  47. <perfdeptcd/>
  48. <perfdrid/>
  49. <opstatcd>A</opstatcd>
  50. <pid/>
  51. <hngnm/>
  52. <oproomcd/>
  53. <sortcol/>
  54. <orderby/>
  55. <recinfo/>
  56. </cond>
  57. <totcnt>
  58. <totcnt/>
  59. </totcnt>
  60. <patinfo>
  61. <patinfolist/>
  62. </patinfo>
  63. </main>
  64. <send>
  65. <reqdata/>
  66. <savedata/>
  67. </send>
  68. <hidden>
  69. <mmo>
  70. <oproomlist/>
  71. <oproomlists>
  72. <oproomlist/>
  73. </oproomlists>
  74. </mmo>
  75. </hidden>
  76. <init>
  77. <M0014/>
  78. <M0015/>
  79. <orddept/>
  80. <userlist/>
  81. <userlist2/>
  82. <pamkey/>
  83. <rsltgetdata>
  84. <getdata/>
  85. </rsltgetdata>
  86. <hardcdno/>
  87. <M0017/>
  88. <oproomlist/>
  89. <oproomlist2/>
  90. <M0623/>
  91. </init>
  92. <temp>
  93. <patpamkeylist>
  94. <pid/>
  95. <orddd/>
  96. <cretno/>
  97. <instcd/>
  98. <ioflag/>
  99. <medispclidnm/>
  100. <atdoctnm/>
  101. <hngnm/>
  102. </patpamkeylist>
  103. </temp>
  104. <operation/>
  105. <page>
  106. <curpage>1</curpage>
  107. <maxpage>1</maxpage>
  108. <offset/>
  109. <pagesize>10</pagesize>
  110. </page>
  111. </root>
  112. </instance>
  113. <bind id="bind1" ref="/root/main/cond/tot" readonly="&quot;true&quot;"/>
  114. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  115. <submission id="TRMOB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatinfo"/>
  116. <submission id="TRMMO04503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkeyinfo"/>
  117. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  118. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  119. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  120. <submission id="TRMMB01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
  121. <submission id="TXMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
  122. <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
  123. <submission id="TRMMO04504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkey"/>
  124. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  125. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  126. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  127. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  128. <submission id="TRMMO04129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/recinfo"/>
  129. <submission id="TRMMO02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/aftcert" resultref="/root/hidden/aftcert"/>
  130. <script type="javascript" ev:event="xforms-ready">
  131. <![CDATA[
  132. if ("SoonsuViewer" == document.userAgent)
  133. {
  134. group1.visible = true;
  135. group1.hide(0);
  136. }
  137. fInitialize_SMMMO04500();
  138. ]]>
  139. </script>
  140. </model>
  141. <script type="javascript" src="../../../emr/smmobileweb/js/mcommon.js"/>
  142. <script type="javascript" src="../../../emr/smmobileweb/js/SMMMO04100M.js"/>
  143. <script type="javascript" src="../../../emr/smmobileweb/js/SMMMO04500M.js"/>
  144. <script type="javascript">
  145. <![CDATA[
  146. var m_bSearchBarShow = false;
  147. function onclick()
  148. {
  149. if ("SoonsuViewer" == document.userAgent)
  150. {
  151. if ("xforms:cell" != document.all(event.target).elementName)
  152. {
  153. pop_group.visible = false;
  154. }
  155. }
  156. else
  157. {
  158. if ("xforms:col" != event.pTarget.elementName)
  159. {
  160. pop_group.visible = false;
  161. }
  162. }
  163. }
  164. ]]>
  165. </script>
  166. </xhtml:head>
  167. <xhtml:body pagewidth="463px" pageheight="400px">
  168. <button id="prepage" class="icon_pre_month" style="left:158px; top:290px; width:16px; height:16px; ">
  169. <caption/>
  170. <script type="javascript" ev:event="onclick">
  171. <![CDATA[
  172. var curpage = parseInt(model.getValue("root/page/curpage"));
  173. if(curpage > 1)
  174. {
  175. curpage = curpage - 1;
  176. model.setValue("root/page/curpage", String(curpage));
  177. fReqOPPatList();
  178. }
  179. ]]>
  180. </script>
  181. </button>
  182. <output id="maxpage" ref="/root/page/maxpage" style="left:218px; top:290px; width:40px; height:19px; text-align:center; "/>
  183. <button id="nextpage" class="icon_next_month" style="left:258px; top:290px; width:16px; height:16px; ">
  184. <caption/>
  185. <script type="javascript" ev:event="onclick">
  186. <![CDATA[
  187. var curpage = parseInt(model.getValue("root/page/curpage"));
  188. var maxpage = parseInt(model.getValue("root/page/maxpage"));
  189. if(curpage < maxpage)
  190. {
  191. curpage = curpage + 1;
  192. model.setValue("root/page/curpage", String(curpage));
  193. fReqOPPatList();
  194. }
  195. ]]>
  196. </script>
  197. </button>
  198. <datagrid id="grd_oppatlist" nodeset="/root/main/oppatinfo/oppatlist" caption="수술방^시작시간^집도과^등록번호^환자명^S/A^수술명^진단명^병실^마취종류^집도의^instcd^무통마취여부^oprsrvno^ophistno^opcnfmdd^perfdeptcd^perfdrid" colsep="^" colwidth="70, 63, 78, 67, 71, 50, 100, 100, 55, 60, 71, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:30px; width:463px; height:255px; ">
  199. <col disabled="true" ref="oproomnm" type="combo" style="text-align:center; ">
  200. <choices>
  201. <itemset nodeset="/root/init/oproomlist/oproomlist">
  202. <label ref="oproomnm"/>
  203. <value ref="oproomcd"/>
  204. </itemset>
  205. </choices>
  206. </col>
  207. <col disabled="true" ref="opfromtmcd" format="hh:nn" style="text-align:center; "/>
  208. <col ref="perfdeptnm" style="text-align:center; "/>
  209. <col ref="pid" style="text-align:center; "/>
  210. <col ref="hngnm" style="text-align:center; "/>
  211. <col ref="sa" style="text-align:center; "/>
  212. <col ref="opnm"/>
  213. <col ref="diagnm"/>
  214. <col ref="roomcd" style="text-align:center; "/>
  215. <col disabled="true" ref="anstreqflag" type="combo">
  216. <choices>
  217. <itemset nodeset="/root/init/M0017/M0017">
  218. <label ref="cdnm"/>
  219. <value ref="cdid"/>
  220. </itemset>
  221. </choices>
  222. </col>
  223. <col ref="perfdrnm" style="text-align:center; "/>
  224. <col ref="instcd"/>
  225. <col ref="painlessflag" visibility="hidden"/>
  226. <col ref="oprsrvno"/>
  227. <col ref="ophistno"/>
  228. <col ref="opcnfmdd"/>
  229. <col ref="perfdeptcd"/>
  230. <col ref="perfdrid"/>
  231. <script type="javascript" ev:event="onclick">
  232. <![CDATA[
  233. var row = grd_oppatlist.row;
  234. if (isDataCell() == true) {
  235. model.property("pid") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/pid"); //환자번호
  236. model.property("hngnm") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/hngnm"); //환자이름
  237. model.property("indd") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/indd"); //입원일자
  238. model.property("cretno") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/cretno"); //접수번호
  239. model.property("orddeptcd") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/orddeptcd"); //진료과코드
  240. model.property("deptnm") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/deptnm"); //진료과명
  241. model.property("medispclnm") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/medispclnm"); //주치의명
  242. model.property("medispclid") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/medispclid"); //주치의ID
  243. model.property("sexage") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/sa"); //나이성별
  244. model.property("wardroomnm") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/wardroomnm"); //병동병실
  245. model.property("wardcd") = model.getValue("/root/main/oppatinfo/oppatlist[" + row + "]/wardcd"); //병동코드
  246. }
  247. pop_group.attribute("left") = (event.clientX - 10) + "px";
  248. pop_group.attribute("top") = (event.clientY - 10) + "px";
  249. pop_group.visible = true;
  250. ]]>
  251. </script>
  252. </datagrid>
  253. <caption id="caption2" class="tit_2" style="left:0px; top:2px; width:155px; height:13px; vertical-align:middle; "> 수술환자 리스트</caption>
  254. <line id="line6" class="line_1" style="x1:0px; y1:27px; x2:459px; y2:27px; "/>
  255. <button id="button1" class="btn3_letter2" style="left:393px; top:0px; width:56px; height:22px; ">
  256. <caption>검색</caption>
  257. <script type="javascript" ev:event="onclick">
  258. <![CDATA[
  259. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  260. if ("SoonsuViewer" == document.userAgent)
  261. {
  262. if (m_bSearchBarShow)
  263. {
  264. group1.hide("slow");
  265. m_bSearchBarShow = false;
  266. }
  267. else
  268. {
  269. group1.show("slow");
  270. m_bSearchBarShow = true;
  271. }
  272. }
  273. else
  274. {
  275. if (m_bSearchBarShow)
  276. {
  277. group1.visible = false;
  278. m_bSearchBarShow = false;
  279. }
  280. else
  281. {
  282. group1.visible = true;
  283. m_bSearchBarShow = true;
  284. }
  285. }
  286. /////////////////////////////////////////////////////////////////////////////
  287. //mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D", String(getCurrentDate())); //부서코드 콤보
  288. //cmb_orddept.select(0);
  289. ]]>
  290. </script>
  291. </button>
  292. <output id="curpage" ref="/root/page/curpage" style="left:175px; top:290px; width:40px; height:19px; text-align:center; "/>
  293. <group id="pop_group" visibility="hidden" overflow="hidden" style="left:310px; top:160px; width:125px; height:215px; background-color:#e4e5e7; border-color:#bdc0c5; border-width:1px; border-style:solid; ">
  294. <button id="btn_pop1" class="btn_mobile2" style="left:9px; top:4px; width:73px; height:23px; ">
  295. <caption>처방조회</caption>
  296. <script type="javascript" ev:event="onclick">
  297. <![CDATA[
  298. window.load("SPMMO14901_orderSurchM.xrw", "modeless");
  299. ]]>
  300. </script>
  301. </button>
  302. <button id="button2" class="btn_mobile2" style="left:9px; top:32px; width:100px; height:23px; ">
  303. <caption>환자요약</caption>
  304. <script type="javascript" ev:event="onclick">
  305. <![CDATA[
  306. window.load("SSMMR04801_SummaryM.xrw", "modeless");
  307. ]]>
  308. </script>
  309. </button>
  310. <button id="button3" class="btn_mobile2" style="left:9px; top:59px; width:100px; height:23px; ">
  311. <caption>I/O조회</caption>
  312. <script type="javascript" ev:event="onclick">
  313. <![CDATA[
  314. window.load("SPMNR05801_IOSurchM.xrw", "modeless");
  315. ]]>
  316. </script>
  317. </button>
  318. <button id="button4" class="btn_mobile2" style="left:9px; top:86px; width:100px; height:23px; ">
  319. <caption>약품편람</caption>
  320. <script type="javascript" ev:event="onclick">
  321. <![CDATA[
  322. window.load("SMADB01901_druginfoM.xrw", "modeless");
  323. ]]>
  324. </script>
  325. </button>
  326. <button id="button5" class="btn_mobile2" style="left:9px; top:112px; width:100px; height:23px; ">
  327. <caption>진료정보</caption>
  328. <script type="javascript" ev:event="onclick">
  329. <![CDATA[
  330. window.load("SMMMO02501_PatPrcpSrcM.xrw", "modeless");
  331. ]]>
  332. </script>
  333. </button>
  334. <button id="button6" class="btn_mobile2" style="left:9px; top:139px; width:100px; height:23px; ">
  335. <caption>기록조회</caption>
  336. <script type="javascript" ev:event="onclick">
  337. <![CDATA[
  338. window.load("SMMMO04201_DoctRecordListM.xrw", "modeless");
  339. ]]>
  340. </script>
  341. </button>
  342. <button id="button7" class="btn_mobile2" style="left:9px; top:164px; width:100px; height:23px; ">
  343. <caption>임상관찰</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. window.load("SMMOB00900_NurseItemRecord.xrw", "modeless");
  347. ]]>
  348. </script>
  349. </button>
  350. <button id="button8" class="btn_mobile2" style="left:9px; top:189px; width:100px; height:23px; ">
  351. <caption>검사결과</caption>
  352. <script type="javascript" ev:event="onclick">
  353. <![CDATA[
  354. window.load("SMAER0081M_TestRsltSearchM.xrw", "modeless");
  355. ]]>
  356. </script>
  357. </button>
  358. </group>
  359. <group id="group1" visibility="hidden" overflow="hidden" style="left:0px; top:25px; width:463px; height:135px; background-color:transparent; ">
  360. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:463px; height:130px; background-color:#fffbf2; "/>
  361. <button id="btn_req" class="btn1_letter2" style="left:400px; top:90px; width:56px; height:22px; ">
  362. <caption>조회</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. model.setValue("/root/main/cond/orderby", "");
  366. model.setValue("/root/main/cond/sortcol", "");
  367. fReqOPPatList();
  368. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  369. if ("SoonsuViewer" == document.userAgent)
  370. {
  371. group1.hide("slow");
  372. m_bSearchBarShow = false;
  373. }
  374. else
  375. {
  376. group1.visible = false;
  377. m_bSearchBarShow = false;
  378. }
  379. /////////////////////////////////////////////////////////////////////////////
  380. ]]>
  381. </script>
  382. </button>
  383. <select1 id="cmb_oproomcd" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:86px; top:49px; width:190px; height:19px; ">
  384. <choices>
  385. <itemset nodeset="/root/hidden/mmo/oproomlists/oproomlist/oproomlist">
  386. <label ref="oproomnm"/>
  387. <value ref="oproomcd"/>
  388. </itemset>
  389. </choices>
  390. </select1>
  391. <select1 id="cmb_orddrid" ref="/root/main/cond/perfdrid" appearance="minimal" itemcount="30" style="left:341px; top:30px; width:98px; height:19px; ">
  392. <choices>
  393. <itemset nodeset="/root/init/userlist/usercombo">
  394. <label ref="usernm"/>
  395. <value ref="userid"/>
  396. </itemset>
  397. </choices>
  398. </select1>
  399. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" imemode="disabled" maxlength="10" style="left:92px; top:93px; width:98px; height:19px; ">
  400. <script type="javascript" ev:event="onkeypress">
  401. <![CDATA[
  402. inputEnterKey("btn_reqpatnm", "DOMActivate");
  403. ]]>
  404. </script>
  405. </input>
  406. <caption id="caption10" class="search_name" style="left:6px; top:74px; width:86px; height:17px; ">수술상태:</caption>
  407. <caption id="caption1" style="left:97px; top:8px; width:30px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
  408. <caption id="caption11" class="search_name" style="left:127px; top:10px; width:76px; height:17px; ">수 술 일 :</caption>
  409. <caption id="caption3" ref="/root/main/totcnt/totcnt" style="left:56px; top:8px; width:36px; height:20px; text-align:center; border-color:#ffffff; "/>
  410. <caption id="caption12" class="search_name" style="left:6px; top:29px; width:76px; height:17px; ">집 도 과 :</caption>
  411. <caption id="caption4" class="search_name" style="left:260px; top:30px; width:76px; height:17px; ">집 도 의 :</caption>
  412. <caption id="caption5" class="search_name" style="left:204px; top:95px; width:76px; height:17px; ">환 자 명</caption>
  413. <select1 id="radio1" ref="/root/main/cond/opstatcd" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:91px; top:73px; width:270px; height:20px; border-style:none; ">
  414. <choices>
  415. <item>
  416. <label>전체</label>
  417. <value>A</value>
  418. </item>
  419. <item>
  420. <label>미착</label>
  421. <value>M</value>
  422. </item>
  423. <item>
  424. <label>준비</label>
  425. <value>R</value>
  426. </item>
  427. <item>
  428. <label>진행</label>
  429. <value>I</value>
  430. </item>
  431. <item>
  432. <label>완료</label>
  433. <value>F</value>
  434. </item>
  435. </choices>
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. fReqOPPatList();
  439. ]]>
  440. </script>
  441. </select1>
  442. <input id="input1" ref="/root/main/cond/hngnm" class="input_search" style="left:282px; top:93px; width:98px; height:19px; ">
  443. <script type="javascript" ev:event="onkeyup">
  444. <![CDATA[
  445. //inputEnterKey("btn_patsrch", "DOMActivate");
  446. ]]>
  447. </script>
  448. </input>
  449. <caption id="caption6" class="search_name" style="left:6px; top:94px; width:86px; height:17px; ">등록번호:</caption>
  450. <button id="btn_patsrch" disabled="true" style="left:86px; top:50px; width:45px; height:20px; ">
  451. <caption/>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. var pid = model.getValue("/root/main/cond/pid");
  455. var hngnm = model.getValue("/root/main/cond/hngnm");
  456. if((pid =="")&&(hngnm !="")){
  457. fPatSrch(hngnm, "2");
  458. } else if((pid !="")&&(hngnm == "")){
  459. fPatSrch(pid, "1");
  460. } else {
  461. modal("SPPMC02500")
  462. }
  463. model.setValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  464. model.setValue("/root/main/cond/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  465. model.refresh();
  466. ]]>
  467. </script>
  468. </button>
  469. <caption id="caption7" class="search_name" style="left:5px; top:8px; width:50px; height:17px; ">총</caption>
  470. <caption id="caption8" class="search_name" style="left:6px; top:50px; width:76px; height:17px; ">수 술 방</caption>
  471. <select1 id="cmb_orddept" ref="/root/main/cond/perfdeptcd" class="combo" appearance="minimal" editmode="search" style="left:86px; top:29px; width:169px; height:19px; ">
  472. <choices>
  473. <itemset nodeset="/root/init/orddept/dept">
  474. <label ref="depthngnm"/>
  475. <value ref="deptcd"/>
  476. </itemset>
  477. </choices>
  478. <script type="javascript" ev:event="xforms-value-changed">
  479. <![CDATA[
  480. model.removeNodeset("/root/init/userlist");
  481. model.makeNode("/root/init/userlist/usercombo");
  482. //mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", "", String(getCurrentDate()), "N"); //집도의 조회
  483. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330", "", "N", "", "", "P");
  484. var deptcd = model.getValue("/root/main/cond/perfdeptcd");
  485. if (deptcd == "-") {
  486. model.makeValue("/root/init/userlist/usercombo/userid", "-");
  487. model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
  488. model.setValue("/root/main/cond/perfdrid", "-");
  489. } else {
  490. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  491. cmb_orddrid.select(1);
  492. }
  493. model.refresh();
  494. //fReqOPPatList();
  495. ]]>
  496. </script>
  497. </select1>
  498. <button id="btn_reqpatnm" disabled="true" style="left:150px; top:91px; width:45px; height:20px; ">
  499. <caption/>
  500. <script type="javascript" ev:event="DOMActivate">
  501. <![CDATA[
  502. // fPidTrim("/root/main/cond/pid");;
  503. // var pid = model.getValue("/root/main/cond/pid");
  504. // if(pid == ""){
  505. // return;
  506. // }
  507. //
  508. // var pid = model.getValue("/root/main/cond/pid");
  509. // if(reqPatInfo("pid", "ptbs", pid)==true){
  510. // var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
  511. // model.setValue("/root/main/cond/hngnm", hngnm);
  512. // model.refresh();
  513. //
  514. // fReqOPPatList();
  515. // }
  516. ]]>
  517. </script>
  518. </button>
  519. <input id="input11" ref="/root/main/cond/opcnfmdd" inputtype="date" style="left:220px; top:10px; width:90px; height:15px; "/>
  520. </group>
  521. </xhtml:body>
  522. </xhtml:html>