SMABO01100_이식대기자.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. <trnptwaitpsn>
  11. <item>
  12. <hngnm/>
  13. <pid/>
  14. <atdoctid/>
  15. <diagcd1/>
  16. <trnptkind/>
  17. <cntctel/>
  18. <mpphontel/>
  19. <insureqdd/>
  20. <insuaprvkind/>
  21. <insuaprvdd/>
  22. <insukind/>
  23. </item>
  24. </trnptwaitpsn>
  25. </main>
  26. <init>
  27. <cmbinfo>
  28. <deptcd>
  29. <A0478>
  30. <cdid/>
  31. <cdnm/>
  32. </A0478>
  33. </deptcd>
  34. <trnptkind>
  35. <A0161>
  36. <cdid/>
  37. <cdnm/>
  38. </A0161>
  39. </trnptkind>
  40. <lrglist>
  41. <item>
  42. <hsctlrgcd/>
  43. <hsctlrgnm/>
  44. </item>
  45. </lrglist>
  46. </cmbinfo>
  47. </init>
  48. <send>
  49. <req>
  50. <insufromdd/>
  51. <insutodd/>
  52. <atdoctid/>
  53. <deptcd/>
  54. <diagcd1/>
  55. <trnptkind/>
  56. <srchaprvyn/>
  57. <insuaprvkind/>
  58. <insukind/>
  59. </req>
  60. <lrggrupcd>DI</lrggrupcd>
  61. </send>
  62. <temp>
  63. <tempcodeinfo/>
  64. <tempcodeinfo2/>
  65. </temp>
  66. </root>
  67. </instance>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  70. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  71. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. // 공통코드 가져오기
  76. //zbcfGetCodeList( new Array("A0161", "A0478"), new Array("/root/init/cmbinfo/trnptkind", "/root/init/cmbinfo/deptcd") );
  77. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  78. aboGetCodeList( new Array("A0161", "A0478"), new Array("/root/init/cmbinfo/trnptkind", "/root/init/cmbinfo/deptcd") );
  79. var nodelist = instance1.selectNodes("/root/init/cmbinfo/trnptkind/" + "A0161");
  80. var newNode = instance1.createNode("element", "A0161", "");
  81. var childnode1 = instance1.createNode("element", "cdnm", "");
  82. var childnode2 = instance1.createNode("element", "cdid", "");
  83. newNode.appendChild(childnode1);
  84. newNode.appendChild(childnode2);
  85. if (nodelist.length > 0) {
  86. var currNode = root.init.cmbinfo.trnptkind.insertBefore(newNode, nodelist.item(0));
  87. model.setValue("/root/init/cmbinfo/trnptkind/" + "A0161" + "[2]/cdnm", "AUTO");
  88. model.setValue("/root/init/cmbinfo/trnptkind/" + "A0161" + "[2]/cdid", "00");
  89. }
  90. // 진단명
  91. abofGetBmtDIagLrgList();
  92. model.setValue("/root/send/req/insufromdd", getCurrentDate().toDate().getAddDate(-0,"M").getDateFormat("YYYYMMDD"));
  93. model.setValue("/root/send/req/insutodd", getCurrentDate());
  94. model.refresh()
  95. ]]>
  96. </script>
  97. <submission id="TRABO01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trnptwaitpsn"/>
  98. <submission id="TRABO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmbinfo/lrglist"/>
  99. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  100. </model>
  101. </xhtml:head>
  102. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">이식 대기자</caption>
  105. </group>
  106. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  107. <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:91px; height:13px; ">이식 대기자</caption>
  108. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
  109. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:61px; vertical-align:top; ">
  110. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  111. <caption id="caption2" class="search_name" style="left:345px; top:9px; width:73px; height:17px; ">스케쥴 :</caption>
  112. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:99px; height:17px; ">보험요청일 :</caption>
  113. <caption id="caption5" class="search_no_b" style="left:220px; top:10px; width:12px; height:17px; ">~</caption>
  114. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:51px; "/>
  115. <caption id="caption33" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">보험승인 :</caption>
  116. <input id="input1" ref="/root/send/req/insufromdd" class="input_s_essential" inputtype="date" style="left:117px; top:8px; width:100px; height:19px; "/>
  117. <input id="input25" ref="/root/send/req/insutodd" class="input_s_essential" inputtype="date" style="left:235px; top:8px; width:100px; height:19px; "/>
  118. <select1 id="radio10" ref="/root/send/req/insuaprvkind" appearance="full" cols="3" overflow="visible" style="left:117px; top:32px; width:178px; height:20px; background-color:transparent; border-style:none; ">
  119. <choices>
  120. <item>
  121. <label>급여</label>
  122. <value>1</value>
  123. </item>
  124. <item>
  125. <label>비급여</label>
  126. <value>2</value>
  127. </item>
  128. <item>
  129. <label>사후승인</label>
  130. <value>3</value>
  131. </item>
  132. </choices>
  133. </select1>
  134. <select1 id="radio5" ref="/root/send/req/srchaprvyn" appearance="full" cols="3" overflow="visible" style="left:434px; top:8px; width:146px; height:20px; background-color:transparent; border-style:none; ">
  135. <choices>
  136. <item>
  137. <label>전체</label>
  138. <value>A</value>
  139. </item>
  140. <item>
  141. <label>확정</label>
  142. <value>Y</value>
  143. </item>
  144. <item>
  145. <label>미확정</label>
  146. <value>N</value>
  147. </item>
  148. </choices>
  149. </select1>
  150. <select1 id="combo2" ref="/root/send/req/atdoctid" class="combo_search" appearance="minimal" style="left:740px; top:8px; width:100px; height:19px; ">
  151. <choices>
  152. <item>
  153. <label>combo1</label>
  154. <value>combo1</value>
  155. </item>
  156. </choices>
  157. </select1>
  158. <caption id="caption4" class="search_name" style="left:664px; top:9px; width:73px; height:17px; ">주치의 :</caption>
  159. <select1 id="combo1" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:944px; top:8px; width:150px; height:19px; ">
  160. <choices>
  161. <itemset nodeset="/root/init/cmbinfo/deptcd/A0478">
  162. <label ref="cdnm"/>
  163. <value ref="cdid"/>
  164. </itemset>
  165. </choices>
  166. </select1>
  167. <caption id="caption7" class="search_name" style="left:855px; top:9px; width:73px; height:17px; ">진료과 :</caption>
  168. <select1 id="combo4" ref="/root/send/req/trnptkind" class="combo_search" appearance="minimal" style="left:944px; top:32px; width:150px; height:19px; ">
  169. <choices>
  170. <itemset nodeset="/root/init/cmbinfo/trnptkind/A0161">
  171. <label ref="cdnm"/>
  172. <value ref="cdid"/>
  173. </itemset>
  174. </choices>
  175. </select1>
  176. <caption id="caption8" class="search_name" style="left:855px; top:33px; width:86px; height:17px; ">이식종류 :</caption>
  177. <select1 id="combo3" ref="/root/send/req/diagcd1" class="combo_search" appearance="minimal" style="left:740px; top:32px; width:100px; height:19px; ">
  178. <choices>
  179. <itemset nodeset="/root/init/cmbinfo/lrglist/item">
  180. <label ref="hsctlrgnm"/>
  181. <value ref="hsctlrgcd"/>
  182. </itemset>
  183. </choices>
  184. </select1>
  185. <caption id="caption9" class="search_name" style="left:664px; top:33px; width:73px; height:17px; ">진단명 :</caption>
  186. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  187. <caption>조회</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. submit("TRABO01101");
  191. ]]>
  192. </script>
  193. </button>
  194. <caption id="caption10" class="search_name" style="left:345px; top:33px; width:86px; height:17px; ">보험여부 :</caption>
  195. <select1 id="radio1" ref="/root/send/req/insukind" appearance="full" cols="2" overflow="visible" style="left:434px; top:32px; width:131px; height:20px; background-color:transparent; border-style:none; ">
  196. <choices>
  197. <item>
  198. <label>급여</label>
  199. <value>1</value>
  200. </item>
  201. <item>
  202. <label>비급여</label>
  203. <value>2</value>
  204. </item>
  205. </choices>
  206. </select1>
  207. </group>
  208. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:76px; width:64px; height:19px; ">
  209. <caption>엑셀저장</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. var fileName = window.fileDialog("save", ",", false, "이식대기자", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  213. if (fileName != "")
  214. {
  215. grd_trnptwaitpsn.saveExcel(fileName);
  216. }
  217. ]]>
  218. </script>
  219. </button>
  220. <datagrid id="grd_trnptwaitpsn" nodeset="/root/main/trnptwaitpsn/item" caption="환자명^등록번호^주치의^진단명^이식종류^연락처^휴대폰^보험요청일^승인여부^보험승인일^보험종류" colsep="^" colwidth="100, 100, 100, 100, 150, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="3" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:101px; width:1194px; height:639px; text-align:center; ">
  221. <col disabled="true" ref="hngnm" type="output"/>
  222. <col disabled="true" ref="pid" type="output"/>
  223. <col disabled="true" ref="atdoctid" type="output"/>
  224. <col disabled="true" ref="diagcd1" type="combo">
  225. <choices>
  226. <itemset nodeset="/root/init/cmbinfo/lrglist/item">
  227. <label ref="hsctlrgnm"/>
  228. <value ref="hsctlrgcd"/>
  229. </itemset>
  230. </choices>
  231. </col>
  232. <col disabled="true" ref="trnptkind" type="combo">
  233. <choices>
  234. <itemset nodeset="/root/init/cmbinfo/trnptkind/A0161">
  235. <label ref="cdnm"/>
  236. <value ref="cdid"/>
  237. </itemset>
  238. </choices>
  239. </col>
  240. <col disabled="true" ref="cntctel"/>
  241. <col disabled="true" ref="mpphontel"/>
  242. <col disabled="true" ref="insureqdd" format="yyyy-mm-dd"/>
  243. <col disabled="true" ref="insuaprvkind" type="combo">
  244. <choices>
  245. <item>
  246. <label>급여</label>
  247. <value>1</value>
  248. </item>
  249. <item>
  250. <label>비급여</label>
  251. <value>2</value>
  252. </item>
  253. <item>
  254. <label>사후승인</label>
  255. <value>3</value>
  256. </item>
  257. </choices>
  258. </col>
  259. <col disabled="true" ref="insuaprvdd" format="yyyy-mm-dd"/>
  260. <col disabled="true" ref="insukind" type="combo">
  261. <choices>
  262. <item>
  263. <label>급여</label>
  264. <value>1</value>
  265. </item>
  266. <item>
  267. <label>비급여</label>
  268. <value>2</value>
  269. </item>
  270. </choices>
  271. </col>
  272. <script type="javascript" ev:event="onaftersort">
  273. <![CDATA[
  274. grd_trnptwaitpsn.gridToInstance();
  275. ]]>
  276. </script>
  277. </datagrid>
  278. </group>
  279. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  280. <button id="btn_save" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  281. <caption>출력</caption>
  282. <script type="javascript" ev:event="DOMActivate">
  283. <![CDATA[
  284. exeReportPreview("RPABO01101", "XMLSTR", "/root/main/trnptwaitpsn");
  285. ]]>
  286. </script>
  287. </button>
  288. </group>
  289. </xhtml:body>
  290. </xhtml:html>