SPMMO50300_DRG조회.xrw 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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>DRG조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <drgno/>
  11. <drgnm/>
  12. <drgboth/>
  13. <drgmin/>
  14. <drgcel/>
  15. <drgagefrom/>
  16. <drgageto/>
  17. </main>
  18. <send>
  19. <reqdata>
  20. <srchnm/>
  21. <orddeptcd/>
  22. </reqdata>
  23. </send>
  24. <init>
  25. </init>
  26. <temp/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. var deptcd=opener.javascript.getParameter("deptcd");
  32. if(deptcd=="" || deptcd == null){
  33. messageBox("부서 정보가 없습니다.", "I", "");
  34. model.close();
  35. return;
  36. }else{
  37. model.makeValue("/root/send/reqdata/orddeptcd", deptcd);
  38. }
  39. fInitialize();
  40. ]]>
  41. </script>
  42. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  43. <submission id="TRMMO50001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. function fInitialize(){
  52. submit("TRMMO50001");
  53. }
  54. ]]>
  55. </script>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="680" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <caption id="caption1" class="tit_2" style="left:18px; top:5px; width:85px; height:13px; ">DRG조회</caption>
  59. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:16px; top:26px; width:469px; height:29px; "/>
  60. <button id="btn_search" class="btn1_letter2" style="left:415px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  61. <caption>조회</caption>
  62. <script type="javascript" ev:event="DOMActivate">
  63. <![CDATA[
  64. submit("TRMMO50001");
  65. ]]>
  66. </script>
  67. </button>
  68. <caption id="caption2" class="search_name" style="left:20px; top:30px; width:86px; height:17px; ">DRG명:</caption>
  69. <datagrid id="drg_grd" nodeset="/root/main" allowuserresize="true" autoresize="true" caption="대표번호^DRG명^양안^소절개^복강경^연령시작^연령종료" colsep="^" colwidth="100, 530, 42, 42, 42, 60, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:15px; top:70px; width:647px; height:405px; text-align:center; ">
  70. <col ref="drgno" style="text-align:center; "/>
  71. <col ref="drgnm" style="text-align:left; "/>
  72. <col ref="drgboth" visibility="hidden"/>
  73. <col ref="drgmin" visibility="hidden"/>
  74. <col ref="drgcel" visibility="hidden"/>
  75. <col ref="drgagefrom" visibility="hidden"/>
  76. <col ref="drgageto" visibility="hidden"/>
  77. <script type="javascript" ev:event="ondblclick">
  78. <![CDATA[
  79. var sel_row=drg_grd.row;
  80. if(drg_grd.fixedRows<=sel_row){
  81. parent.javascript.model.makeValue("/root/temp/drgno", drg_grd.valueMatrix(sel_row, drg_grd.colRef("drgno")));
  82. parent.javascript.model.makeValue("/root/temp/drgnm", drg_grd.valueMatrix(sel_row, drg_grd.colRef("drgnm")));
  83. model.close();
  84. }
  85. ]]>
  86. </script>
  87. </datagrid>
  88. <input id="input1" ref="/root/send/reqdata/srchnm" length="20" style="left:92px; top:31px; width:318px; height:19px; ">
  89. <script type="javascript" ev:event="onkeyup">
  90. <![CDATA[
  91. inputEnterKey("btn_search", "DOMActivate");
  92. ]]>
  93. </script>
  94. </input>
  95. </xhtml:body>
  96. </xhtml:html>