SMPMC00310_수진내역환자조회.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. <ptpmlist>
  11. <grdpatspectlist/>
  12. </ptpmlist>
  13. </main>
  14. <send>
  15. <data1>
  16. <srchcond1>1</srchcond1>
  17. <srchcond2/>
  18. </data1>
  19. </send>
  20. <init>
  21. <P0350list>
  22. <P0350>
  23. <cdnm/>
  24. <cdid/>
  25. </P0350>
  26. </P0350list>
  27. </init>
  28. <hidden>
  29. <uid>
  30. <myself/>
  31. <opener/>
  32. </uid>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. model.removeNodeset("/root/main/ptpmlist");
  39. model.makeNode("/root/main/ptpmlist");
  40. /*
  41. model.setValue("/root/send/data1/srchcond1","1");
  42. model.setValue("/root/send/data1/srchcond2","00036823");
  43. */
  44. if(submit("TRPMC03003")){ //TRPMC03005에서 RPMC03003으로 변경
  45. if( getNodesetCount("/root/hidden/rcv/ptpmlist/grdpatspectlist") > 0 ){
  46. copyNodeType("/root/main/ptpmlist","/root/hidden/rcv/ptpmlist","replace");
  47. }else{
  48. model.resetInstanceNode("/root/main/ptpmlist");
  49. }
  50. }
  51. model.refresh();
  52. ]]>
  53. </script>
  54. <submission id="TRPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
  55. </model>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  60. </xhtml:head>
  61. <xhtml:body pagewidth="534" pageheight="343" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  62. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
  63. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:13px; ">환자조회</caption>
  64. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:517px; y2:20px; "/>
  65. <datagrid id="grd_patspec" nodeset="/root/main/ptpmlist/grdpatspectlist" caption="공문접수일^접수번호^순번^환자번호^환자명^진료기간^처리상태^보험환불예상액^선택진료환불예상액^기관환불액^급여정산환불액^기관종료일^자료제출일^병원종결일자^진료시작일자^진료종료일자" colsep="^" colwidth="80, 60, 40, 65, 60, 120, 60, 100, 120, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:25px; width:517px; height:270px; ">
  66. <col ref="ofidocacptdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:90px; height:23px; text-align:center; "/>
  67. <col ref="ofidocdocuno" style="text-align:center; "/>
  68. <col ref="ofidocretno" visibility="visible" style="text-align:center; "/>
  69. <col ref="pid" style="text-align:center; "/>
  70. <col ref="hngnm" style="text-align:center; "/>
  71. <col ref="orddd" style="text-align:center; "/>
  72. <col ref="tretflag"/>
  73. <col ref="insuteamrtnfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
  74. <col ref="apntordrtnfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
  75. <col ref="instrtnamt" format="#,###" style="text-align:right; " visibility="hidden"/>
  76. <col ref="paycalcfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
  77. <col ref="lastenddd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
  78. <col ref="datadelivedd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
  79. <col ref="hospenddd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
  80. <col ref="ordfromdd" visibility="hidden"/>
  81. <col ref="ordtodd" visibility="hidden"/>
  82. <script type="javascript" ev:event="ondblclick">
  83. <![CDATA[
  84. if ( checkOpener() ) {
  85. row = grd_patspec.row;
  86. if( row > 0 ){
  87. if( getNodesetCount("/root/main/ptpmlist/grdpatspectlist") > 0 ){
  88. opener.model.setValue("/root/send/data3/ofidocacptdd", grd_patspec.valueMatrix(row,1));
  89. opener.model.setValue("/root/send/data3/pid", grd_patspec.valueMatrix(row,4));
  90. opener.model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,3));
  91. opener.model.makeNode("/root/main/popupendflag");
  92. opener.model.setValue("/root/main/popupendflag", "ok");
  93. opener.model.refresh();
  94. window.close();
  95. }
  96. }
  97. } else {
  98. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  99. }
  100. ]]>
  101. </script>
  102. </datagrid>
  103. </group>
  104. <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
  105. <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:402px; top:5px; width:56px; height:22px; ">
  106. <caption>확인</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. if ( checkOpener() ) {
  110. row = grd_patspec.row;
  111. opener.model.setValue("/root/main/popupendflag", "cancel");
  112. if( row > 0 ){
  113. if( getNodesetCount("/root/main/ptpmlist/grdpatspectlist") > 0 ){
  114. opener.model.setValue("/root/send/data5/ofidocacptdd", grd_patspec.valueMatrix(row,1));
  115. opener.model.setValue("/root/send/data5/pid", grd_patspec.valueMatrix(row,4));
  116. opener.model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,3));
  117. opener.model.makeNode("/root/main/popupendflag");
  118. opener.model.setValue("/root/main/popupendflag", "ok");
  119. }
  120. }else {
  121. messageBox("행이 정확히 선택되지", "E007");
  122. }
  123. } else {
  124. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  125. }
  126. opener.model.refresh();
  127. window.close();
  128. ]]>
  129. </script>
  130. </button>
  131. <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:461px; top:5px; width:56px; height:22px; ">
  132. <caption>취소</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. opener.model.setValue("/root/main/popupendflag", "cancel");
  136. window.close();
  137. ]]>
  138. </script>
  139. </button>
  140. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  141. </group>
  142. </xhtml:body>
  143. </xhtml:html>