SMPMO03000_일반유형예약환자조회.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMPMO03000_일반유형예약환자조회.xrw
  4. * 설 명 : 일반유형 예약환자조회
  5. * 설 계 자 : 강태훈
  6. * 작 성 자 : 강태훈
  7. * 작 성 일 : 2010.03.29
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>일반유형예약환자조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <baseinfo>
  20. <orddd/>
  21. </baseinfo>
  22. <patinfo>
  23. <patinfolist>
  24. <orddd/>
  25. <pid/>
  26. <hngnm/>
  27. <orddeptnm/>
  28. <orddrid/>
  29. <rsrvflag/>
  30. <histstat/>
  31. </patinfolist>
  32. </patinfo>
  33. </main>
  34. <send>
  35. <orddd/>
  36. </send>
  37. <hidden>
  38. <session>
  39. <userid/>
  40. <usernm/>
  41. <posinstcd/>
  42. <posinstnm/>
  43. <dutplcecd/>
  44. <dutplcenm/>
  45. <dutinstnm/>
  46. </session>
  47. </hidden>
  48. </root>
  49. </instance>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fInit();
  53. fGetUserInfo2();
  54. ]]>
  55. </script>
  56. <submission id="TRPMO03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  65. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. function fInit()
  69. {
  70. // 그리드 초기화
  71. model.removeNodeset("/root/main/patinfo/patinfolist");
  72. grd_patinfo.rebuild();
  73. // 현재날짜 세팅
  74. var curDate = getCurrentDate();
  75. model.setValue("/root/main/baseinfo/orddd", curDate);
  76. model.refresh();
  77. }
  78. //로그인한 사용자 정보조회
  79. function fGetUserInfo2(){
  80. var sUserInfosS = getUserInfos();
  81. sUserInfosS = sUserInfosS + "|";
  82. var UserInfosS_Array = sUserInfosS.split("|");
  83. var userid = UserInfosS_Array[0]; //사용자번호
  84. var usernm = UserInfosS_Array[1]; //사용자이름
  85. var posinstcd = UserInfosS_Array[2]; //소속기관코드
  86. var posinstnm = UserInfosS_Array[3]; //소속기관명
  87. var dutplcecd = UserInfosS_Array[4]; //근무지부서코드
  88. var dutplcenm = UserInfosS_Array[5]; //근무지부서명
  89. var dutinstnm = UserInfosS_Array[7]; //근무지기관명
  90. model.setValue("/root/hidden/session/userid",userid);
  91. model.setValue("/root/hidden/session/usernm",usernm);
  92. model.setValue("/root/hidden/session/posinstcd",posinstcd);
  93. model.setValue("/root/hidden/session/posinstnm",posinstnm);
  94. model.setValue("/root/hidden/session/dutplcecd",dutplcecd);
  95. model.setValue("/root/hidden/session/dutplcenm",dutplcenm);
  96. model.setValue("/root/hidden/session/dutinstnm",dutinstnm);
  97. }
  98. ]]>
  99. </script>
  100. </xhtml:head>
  101. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  102. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  103. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">일반유형 예약환자 조회</caption>
  104. </group>
  105. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  106. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  107. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:845px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <caption id="caption2" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">진료일자 :</caption>
  109. <button id="button1" class="btn1_letter2" style="left:778px; top:7px; width:56px; height:22px; ">
  110. <caption>조회</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. model.setValue("/root/send/orddd", model.getValue("/root/main/baseinfo/orddd"));
  114. submit("TRPMO03000");
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line13" class="line_4" style="x1:768px; y1:7px; x2:768px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  120. <input id="ipt_crtdate" ref="/root/main/baseinfo/orddd" inputtype="date" style="left:108px; top:7px; width:100px; height:19px; "/>
  121. <button id="button2" class="btn6_letter2" style="left:704px; top:7px; width:56px; height:22px; ">
  122. <caption>출력</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. exeReportPreview("RPPMO03000", "XMLSTR", "", "", "true", "", "", "", "", "","", "", "", "", "", "1", "");
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:157px; height:14px; ">일반유형 예약환자 조회</caption>
  131. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:844px; y2:70px; "/>
  132. <datagrid id="grd_patinfo" nodeset="/root/main/patinfo/patinfolist" caption="진료일자^환자번호^환자명^진료과^진료의사^예약구분^진찰료수납" colsep="^" colwidth="120, 120, 120, 120, 120, 120, 125" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:75px; width:845px; height:665px; ">
  133. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  134. <col ref="pid" style="text-align:center; "/>
  135. <col ref="hngnm" style="text-align:center; "/>
  136. <col ref="orddeptnm" style="text-align:center; "/>
  137. <col ref="orddrid" style="text-align:center; "/>
  138. <col ref="rsrvflag" style="text-align:center; "/>
  139. <col ref="histstat" style="text-align:center; "/>
  140. </datagrid>
  141. </group>
  142. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  143. <button id="button10" class="btn4_letter3" style="left:777px; top:5px; width:68px; height:22px; ">
  144. <caption>초기화</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. fInit();
  148. ]]>
  149. </script>
  150. </button>
  151. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:844px; y2:0px; "/>
  152. </group>
  153. </xhtml:body>
  154. </xhtml:html>