SPPMC03902_환자별자격조회내역.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>환자 자격 조회 내역</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <msg2list>
  11. <msg2info>
  12. <orddd/>
  13. <workdt/>
  14. <proccorpcd/>
  15. <qualflag/>
  16. <qualflagnm/>
  17. <qualacqtdd/>
  18. <hshdnm/>
  19. <secuinstmark/>
  20. <estmmark/>
  21. <paylimdd/>
  22. <ownbflag/>
  23. <ownbflagnm/>
  24. <heallifeamtval/>
  25. <choicorpmark1/>
  26. <choicorpmark2/>
  27. <choicorpmark3/>
  28. <choicorpmark4/>
  29. <choicorpnm1/>
  30. <choicorpnm2/>
  31. <choicorpnm3/>
  32. <choicorpnm4/>
  33. <dcntrypsnyn/>
  34. <handicaprrgstdd/>
  35. <rareobsttrgtman/>
  36. <befwomntrgtman/>
  37. <scndsuptrgtman/>
  38. <serdiagtrgtman/>
  39. <pregremamt/>
  40. <burntrgtman/>
  41. <sugartrgtman/>
  42. <procdurdd/>
  43. <denttop/>
  44. <dentbottom/>
  45. <paylimrgstdd/>
  46. <selfcathcatheter/>
  47. <qlfrestrictcd/>
  48. <dentimpl1/>
  49. <dentimpl2/>
  50. <tbrcls/>
  51. <handicapyn/>
  52. <disregprson10/>
  53. <disregprson11/>
  54. <datainptdt/>
  55. <msgcd/>
  56. <msg/>
  57. <fstrgstrid/>
  58. <fstrgstrnm/>
  59. <fstrgstdt/>
  60. <lastupdtrid/>
  61. <lastupdtrnm/>
  62. <lastupdtdt/>
  63. </msg2info>
  64. </msg2list>
  65. </main>
  66. <send>
  67. <pid/>
  68. <hngnm/>
  69. <rrgstno1/>
  70. <rrgstno2/>
  71. <ordflag/>
  72. <ordfromdd/>
  73. <ordtodd/>
  74. <srchflag/>
  75. <srchfromdd/>
  76. <srchtodd/>
  77. </send>
  78. <hidden>
  79. <hngnm/>
  80. <rrgstno1/>
  81. <rrgstno2/>
  82. </hidden>
  83. </root>
  84. </instance>
  85. <submission id="TRPAC04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/msg2list/msg2info"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. model.setValue("/root/send/ordfromdd", getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  93. model.setValue("/root/send/ordtodd", getCurrentDate());
  94. model.setValue("/root/send/srchfromdd", getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  95. model.setValue("/root/send/srchtodd", getCurrentDate());
  96. ipt_ordfromdd.refresh();
  97. ipt_ordtodd.refresh();
  98. ipt_srchfromdd.refresh();
  99. ipt_srchtodd.refresh();
  100. if (checkOpener()) {
  101. var pid = opener.javascript.getParameter("SPPMC03900_ptmsg_pid");
  102. if (pid != null && pid.length > 0) {
  103. model.setValue("/root/send/pid", pid);
  104. ipt_pid.refresh();
  105. btn_search.dispatch("DOMActivate");
  106. }
  107. }
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  112. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:140px; height:13px; font-family:돋움; vertical-align:middle; ">환자 자격 조회 내역</caption>
  113. <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:85px; height:13px; font-weight:bold; ">조회 내역</caption>
  114. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
  115. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  116. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  117. <caption>조회</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. if (!submit("TRPAC04003")) {
  121. return;
  122. }
  123. if (instance1.selectNodes("/root/main/msg2list/msg2info").length > 0) {
  124. model.setValue("/root/hidden/hngnm", model.getValue("/root/main/msg2list/msg2info/hngnm"));
  125. model.setValue("/root/hidden/rrgstno1", model.getValue("/root/main/msg2list/msg2info/rrgstno").substr(0, 6));
  126. model.setValue("/root/hidden/rrgstno2", model.getValue("/root/main/msg2list/msg2info/rrgstno").substr(6, 7));
  127. cap_hngnm.refresh();
  128. cap_rrgstno1.refresh();
  129. cap_rrgstno2.refresh();
  130. }
  131. ]]>
  132. </script>
  133. </button>
  134. <line id="line13" style="x1:1119px; y1:28px; x2:1119px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
  135. <button id="btn_excel" class="btn2_letter4" style="left:1131px; top:65px; width:64px; height:19px; ">
  136. <caption>엑셀저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. var filename = window.fileDialog("save", ",", false, "환자 자격 조회 내역", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  140. grd_msg2.saveExcel(filename, "sheetname:환자 자격 조회 내역;colhiddenextend:true;rowhiddenextend:false;");
  141. messageBox("엑셀 저장이 완료되었습니다.", "I999");
  142. ]]>
  143. </script>
  144. </button>
  145. <datagrid id="grd_msg2" nodeset="/root/main/msg2list/msg2info" caption="진료일자^조회일시^의료급여기관기호^자격구분^자격구분^자격취득일^세대주성명^보장기관기호^시설기호^급여제한일자^본인부담구분^본인부담구분^건강생활유지비잔액^선택기관기호1^선택기관기호2^선택기관기호3^선택기관기호4^선택기관이름1^선택기관이름2^선택기관이름3^선택기관이름4^출국자여부^장애인등록일자^희귀난치대상자^산정특례(희귀)등록대상자^차상위대상자^산정특례(암)등록대상자^산전지원금잔액^산정특례(화상)등록대상자^당뇨병요양비대상자등록일^동일성분의약품제한자^노인틀니(상악)대상자^노인틀니(하악)대상자^자격상실처리일자^자가도뇨카테타대상자등록일자^급여제한여부^75세이상임플란트급여1^75세이상임플란트급여2^산정특례(결핵)등록정보^장애인여부^산정특례(극희귀)^산정특례(상세불명희귀)^송신일시^수신메시지코드^수신메시지^최초등록자ID^최초등록자^최초등록일시^최종수정자ID^최종수정자^최종수정일시" colsep="^" colwidth="70, 120, 0, 0, 120, 75, 70, 0, 0, 80, 0, 120, 120, 0, 0, 0, 0, 100, 100, 100, 100, 70, 95, 95, 150, 85, 140, 100, 150, 155, 130, 130, 130, 105, 180, 85, 135, 135, 140, 70, 120, 140, 120, 0, 250, 0, 70, 120, 0, 70, 120" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1195px; height:675px; text-align:center; ">
  146. <col ref="orddd" format="yyyy-mm-dd"/>
  147. <col ref="workdt" format="yyyy-mm-dd hh:nn:ss"/>
  148. <col ref="proccorpcd"/>
  149. <col ref="qualflag"/>
  150. <col ref="qualflagnm"/>
  151. <col ref="qualacqtdd" format="yyyy-mm-dd"/>
  152. <col ref="hshdnm"/>
  153. <col ref="secuinstmark"/>
  154. <col ref="estmmark"/>
  155. <col ref="paylimdd" format="yyyy-mm-dd"/>
  156. <col ref="ownbflag"/>
  157. <col ref="ownbflagnm" style="text-align:right; "/>
  158. <col ref="heallifeamtval" style="text-align:right; "/>
  159. <col ref="choicorpmark1"/>
  160. <col ref="choicorpmark2"/>
  161. <col ref="choicorpmark3"/>
  162. <col ref="choicorpmark4"/>
  163. <col ref="choicorpnm1"/>
  164. <col ref="choicorpnm2"/>
  165. <col ref="choicorpnm3"/>
  166. <col ref="choicorpnm4"/>
  167. <col ref="dcntrypsnyn"/>
  168. <col ref="handicaprrgstdd"/>
  169. <col ref="rareobsttrgtman"/>
  170. <col ref="befwomntrgtman"/>
  171. <col ref="scndsuptrgtman"/>
  172. <col ref="serdiagtrgtman"/>
  173. <col ref="pregremamt" style="text-align:right; "/>
  174. <col ref="burntrgtman"/>
  175. <col ref="sugartrgtman" format="yyyy-mm-dd"/>
  176. <col ref="procdurdd"/>
  177. <col ref="denttop"/>
  178. <col ref="dentbottom"/>
  179. <col ref="paylimrgstdd" format="yyyy-mm-dd"/>
  180. <col ref="selfcathcatheter"/>
  181. <col ref="qlfrestrictcd"/>
  182. <col ref="dentimpl1"/>
  183. <col ref="dentimpl2"/>
  184. <col ref="tbrcls"/>
  185. <col ref="handicapyn"/>
  186. <col ref="disregprson10"/>
  187. <col ref="disregprson11"/>
  188. <col ref="datainptdt" format="yyyy-mm-dd hh:nn:ss"/>
  189. <col ref="msgcd"/>
  190. <col ref="msg"/>
  191. <col ref="fstrgstrid"/>
  192. <col ref="fstrgstrnm"/>
  193. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  194. <col ref="lastupdtrid"/>
  195. <col ref="lastupdtrnm"/>
  196. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  197. </datagrid>
  198. <caption id="caption17" class="search_name" style="left:5px; top:33px; width:91px; height:17px; ">등록번호 :</caption>
  199. <input id="ipt_pid" ref="/root/send/pid" class="input_search" navindex="1" style="left:98px; top:32px; width:70px; height:19px; font-weight:bold; ">
  200. <script type="javascript" ev:event="onkeyup">
  201. <![CDATA[
  202. if(event.keyCode == "13") {
  203. inputEnterKey("btn_search", "DOMActivate");
  204. }
  205. ]]>
  206. </script>
  207. </input>
  208. <button id="btn_pid" class="icon_search" style="left:175px; top:33px; width:16px; height:16px; ">
  209. <caption/>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. model.makeNode("/root/main/patinfo/patinfolist");
  213. modal("SPPMC02500", "", "200", "200");
  214. if (model.getValue("/root/main/popupendflag") != "cancel") {
  215. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  216. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  217. model.setValue("/root/send/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  218. model.setValue("/root/send/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  219. ipt_pid.refresh();
  220. cap_hngnm.refresh();
  221. cap_rrgstno1.refresh();
  222. cap_rrgstno2.refresh();
  223. } else {
  224. model.removenode("/root/main/popupendflag");
  225. model.removenode("/root/main/patinfo");
  226. }
  227. ]]>
  228. </script>
  229. </button>
  230. <input id="ipt_ordfromdd" ref="/root/send/ordfromdd" class="input_search" disabled="true" inputtype="date" style="left:482px; top:32px; width:85px; height:19px; "/>
  231. <input id="ipt_ordtodd" ref="/root/send/ordtodd" class="input_search" disabled="true" inputtype="date" style="left:581px; top:32px; width:85px; height:19px; "/>
  232. <caption id="caption2" style="left:567px; top:35px; width:15px; height:15px; text-align:center; ">~</caption>
  233. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_search" disabled="true" inputtype="date" style="left:777px; top:32px; width:85px; height:19px; "/>
  234. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_search" disabled="true" inputtype="date" style="left:877px; top:32px; width:85px; height:19px; "/>
  235. <caption id="caption4" style="left:862px; top:35px; width:15px; height:15px; text-align:center; ">~</caption>
  236. <caption id="cap_hngnm" ref="/root/hidden/hngnm" style="left:200px; top:32px; width:50px; height:19px; text-align:center; background-color:#f0f0f0; border-color:#c0c0c0; border-style:solid; "/>
  237. <caption id="cap_rrgstno1" ref="/root/hidden/rrgstno1" style="left:255px; top:32px; width:50px; height:19px; text-align:center; background-color:#f0f0f0; border-color:#c0c0c0; border-style:solid; "/>
  238. <caption id="cap_rrgstno2" ref="/root/hidden/rrgstno2" style="left:314px; top:32px; width:55px; height:19px; text-align:center; background-color:#f0f0f0; border-color:#c0c0c0; border-style:solid; "/>
  239. <caption id="caption9" style="left:304px; top:32px; width:10px; height:19px; text-align:center; ">-</caption>
  240. <select id="chk_ordflag" ref="/root/send/ordflag" overflow="visible" appearance="full" style="left:410px; top:33px; width:70px; height:15px; font-weight:bold; border-style:none; ">
  241. <choices>
  242. <item>
  243. <label>진료일 :</label>
  244. <value>Y</value>
  245. </item>
  246. </choices>
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. ipt_ordfromdd.disabled = ipt_ordtodd.disabled = model.getValue("/root/send/ordflag") == "Y" ? false : true;
  250. ]]>
  251. </script>
  252. </select>
  253. <select id="chk_srchflag" ref="/root/send/srchflag" overflow="visible" appearance="full" style="left:705px; top:33px; width:70px; height:15px; font-weight:bold; border-style:none; ">
  254. <choices>
  255. <item>
  256. <label>조회일 :</label>
  257. <value>Y</value>
  258. </item>
  259. </choices>
  260. <script type="javascript" ev:event="xforms-value-changed">
  261. <![CDATA[
  262. ipt_srchfromdd.disabled = ipt_srchtodd.disabled = model.getValue("/root/send/srchflag") == "Y" ? false : true;
  263. ]]>
  264. </script>
  265. </select>
  266. </xhtml:body>
  267. </xhtml:html>