SPPMI02100_주부유형조회.xrw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <send>
  10. <pid/>
  11. <data1>
  12. <sess_posinstcd/>
  13. <ioflag/>
  14. </data1>
  15. </send>
  16. <main>
  17. <inptlist>
  18. <grdinrgstinfo/>
  19. </inptlist>
  20. </main>
  21. <init>
  22. <P0006list>
  23. <P0006>
  24. <cdnm/>
  25. <cdid/>
  26. </P0006>
  27. </P0006list>
  28. </init>
  29. <hidden>
  30. <list>
  31. <grdinrgstinfo/>
  32. </list>
  33. <init>
  34. <orddeptcd>
  35. <cd/>
  36. <nm/>
  37. </orddeptcd>
  38. <insukind>
  39. <cd/>
  40. <nm/>
  41. <up/>
  42. <io/>
  43. </insukind>
  44. </init>
  45. </hidden>
  46. </root>
  47. </instance>
  48. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  49. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/init"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. zbcfGetCodeList(new Array("P0006"),new Array("/root/init/P0006list"));
  57. model.setValue("/root/send/data1/sess_posinstcd", getUserInfo("dutplceinstcd"));
  58. model.setValue("/root/send/data1/ioflag","I");
  59. submit("TRPMI00106");
  60. model.refresh();
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="534" pageheight="300" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:265px; ">
  66. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">입원정보</caption>
  67. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:517px; y2:25px; "/>
  68. <datagrid id="grd_inrgstinfo" nodeset="/root/hidden/list/grdinrgstinfo" caption="유형구분^입원일자/시간^입원일자/시간^등록번호^진료과^보험유형^생성번호" colsep="^" colwidth="66, 88, 38, 66, 179, 77, 100" dataheight="23" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:0px; top:30px; width:517px; height:235px; ">
  69. <col disabled="true" ref="mskind" type="combo">
  70. <choices>
  71. <itemset nodeset="/root/init/P0006list/P0006">
  72. <label ref="cdnm"/>
  73. <value ref="cdid"/>
  74. </itemset>
  75. </choices>
  76. </col>
  77. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  78. <col ref="intm" format="hh:nn" style="text-align:center; "/>
  79. <col disabled="true" ref="pid"/>
  80. <col disabled="true" ref="orddeptcd" type="combo">
  81. <choices>
  82. <itemset nodeset="/root/hidden/init/orddeptcd">
  83. <label ref="nm"/>
  84. <value ref="cd"/>
  85. </itemset>
  86. </choices>
  87. </col>
  88. <col disabled="true" ref="insukind" type="combo">
  89. <choices>
  90. <itemset nodeset="/root/hidden/init/insukind">
  91. <label ref="nm"/>
  92. <value ref="cd"/>
  93. </itemset>
  94. </choices>
  95. </col>
  96. <col ref="cretno" visibility="hidden"/>
  97. <script type="javascript" ev:event="ondblclick">
  98. <![CDATA[
  99. if ( checkOpener() ) {
  100. row = grd_inrgstinfo.row;
  101. if( row > 0 ){
  102. if( getNodesetCount("/root/hidden/list/grdinrgstinfo") > 0 ){
  103. opener.model.copyNode("/root/hidden/popuplist", grd_inrgstinfo.getNode( row ));
  104. opener.model.setValue("/root/main/popupendflag", "ok");
  105. opener.model.refresh();
  106. window.close();
  107. }
  108. }
  109. } else {
  110. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  111. }
  112. ]]>
  113. </script>
  114. </datagrid>
  115. </group>
  116. <group id="group1" scroll="auto" style="left:0px; top:265px; width:518px; height:27px; ">
  117. <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:402px; top:5px; width:56px; height:22px; ">
  118. <caption>확인</caption>
  119. </button>
  120. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:461px; top:5px; width:56px; height:22px; ">
  121. <caption>취소</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. opener.model.setValue("/root/main/popupendflag", "cancel");
  125. window.close();
  126. ]]>
  127. </script>
  128. </button>
  129. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  130. </group>
  131. </xhtml:body>
  132. </xhtml:html>