SMABO01400_보험신청의뢰리스트.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. <popupendflag/>
  11. <insulist>
  12. <item>
  13. <hngnm/>
  14. <pid/>
  15. <reqnm/>
  16. <diagnm/>
  17. <trnptkind/>
  18. <trnptkindcd/>
  19. <dnornm/>
  20. <reqdd/>
  21. <reqid/>
  22. <reqqualyn/>
  23. <docuprepyn/>
  24. <insuaprvkind/>
  25. <InsuKind/>
  26. </item>
  27. <item2>
  28. <hngnm/>
  29. <pid/>
  30. <reqnm/>
  31. <trnptkind/>
  32. <trnptkindcd/>
  33. <scs/>
  34. <cond/>
  35. <gvhd/>
  36. <reqdd/>
  37. <trnptschedd/>
  38. <inschedd/>
  39. <reqqualyn/>
  40. <pcppyn/>
  41. <reqorddept/>
  42. <reqid/>
  43. <indirectrustyn/>
  44. </item2>
  45. </insulist>
  46. <patinfo>
  47. <patinfolist>
  48. </patinfolist>
  49. </patinfo>
  50. <hsctinfo>
  51. <patinfolist>
  52. <pid/>
  53. <hngnm/>
  54. <sex/>
  55. <age/>
  56. <rrgstno1/>
  57. <rrgstno2/>
  58. </patinfolist>
  59. </hsctinfo>
  60. <codedata>
  61. <popupmenu>
  62. <item>
  63. <name>입원의뢰서</name>
  64. <func>fOpenPopupInRequest</func>
  65. </item>
  66. </popupmenu>
  67. </codedata>
  68. </main>
  69. <send>
  70. <reqfromdd/>
  71. <reqtodd/>
  72. <pid/>
  73. <atdoctid/>
  74. <req>
  75. <data>
  76. <insulist/>
  77. <trnptlist/>
  78. </data>
  79. </req>
  80. <globalinstance>
  81. <instance1/>
  82. </globalinstance>
  83. </send>
  84. <init>
  85. <cmbinfo>
  86. <atdoctid>
  87. <A0536>
  88. <cdnm/>
  89. <cdid/>
  90. </A0536>
  91. </atdoctid>
  92. <sex/>
  93. </cmbinfo>
  94. </init>
  95. <hidden>
  96. <count/>
  97. <item>
  98. </item>
  99. </hidden>
  100. <temp>
  101. <tempcodeinfo/>
  102. <tempcodeinfo2/>
  103. </temp>
  104. </root>
  105. </instance>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  109. <submission id="TRABO01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/insulist"/>
  110. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  111. <script type="javascript" ev:event="xforms-ready">
  112. <![CDATA[
  113. // zbcfGetCodeList( new Array("A0536", "P0313"),
  114. // new Array("/root/init/cmbinfo/atdoctid", "/root/init/cmbinfo/sex" ));
  115. zbcfGetCodeList( new Array("P0313"),
  116. new Array("/root/init/cmbinfo/sex" ));
  117. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  118. aboGetCodeList(new Array("A0536"),
  119. new Array("/root/init/cmbinfo/atdoctid"));
  120. var reqfromdd = getCurrentDate().substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
  121. ipt_reqfromdd.value = reqfromdd;
  122. var reqtodd = getCurrentDate().substr(0,6) + reqfromdd.toDate().getMonthDay();
  123. ipt_reqtodd.value = reqtodd;
  124. fGetPatientInfo();
  125. //타부서에서는 버튼 비활성화
  126. btn_save.disabled = !checkAuth("X");
  127. ]]>
  128. </script>
  129. <submission id="TXABO01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/data" replace="instance" resultref="/root/hidden/item"/>
  130. </model>
  131. <script type="javascript">
  132. <![CDATA[
  133. /* @group : 이식신청 및 보험신청리스트
  134. * @ver : 2008.07.28
  135. * @by : 남수현
  136. * @type : function
  137. * @access : public
  138. * @desc : 환자의 보험신청 및 이식의뢰 리스트조회
  139. * @param :
  140. */
  141. function fGetPatientInfo() {
  142. model.setValue("/root/send/pid", model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  143. submit("TRABO01401");
  144. }
  145. /* @group : 이식신청 및 보험신청리스트
  146. * @ver : 2008.07.28
  147. * @by : 남수현
  148. * @type : function
  149. * @access : public
  150. * @desc : 입원의뢰서 화면 호출
  151. * @param : pid [등록번호]
  152. */
  153. function fOpenPopupInRequest() {
  154. var sPid = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/pid");
  155. var sHngNm = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/hngnm");
  156. var sOrdDept = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/reqorddept");
  157. var sReqID = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/reqid");
  158. var sInsuKind = "";
  159. var sSuppKind = "";
  160. var sOrdDD = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/inschedd");
  161. var sCretNo = "";
  162. var sIOFlag = "I";
  163. var sflag = sPid + "▦" + sHngNm + "▦" + sOrdDept + "▦" + sReqID + "▦" + sInsuKind + "▦" + sSuppKind + "▦" + sOrdDD + "▦" + sCretNo + "▦" + sIOFlag;
  164. var indirectrustyn = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/indirectrustyn");
  165. // alert(sflag);
  166. if (indirectrustyn == "Y"){
  167. setParameter("SPMMO00100_BMTDEPTCD", "3140000000" );
  168. setParameter("SPMMO00100_param", sflag);
  169. modal("SPMMO00100", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  170. }else{
  171. messageBox("입원장 위임을 받지 않아서 입원의뢰서를 작성할 수 없습니다.","E999");
  172. }
  173. }
  174. ]]>
  175. </script>
  176. </xhtml:head>
  177. <script src="../../../com/departmentcodeweb/js/ZSD001.js" type="javascript"/>
  178. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  179. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  180. <script src="../../../ast/commonweb/js/AST.js" type="javascript"/>
  181. <script src="../../../com/basiccodeweb/js/ZBC001.js" type="javascript"/>
  182. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  183. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  184. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:295px; height:14px; ">조혈모세포이식 신청/보험신청의뢰 리스트</caption>
  185. </group>
  186. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  187. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:200px; height:14px; ">조혈모세포이식 신청LIST</caption>
  188. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  189. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  190. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  191. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:112px; height:17px; ">기간(의뢰일) :</caption>
  192. <caption id="caption5" class="search_no_b" style="left:233px; top:10px; width:12px; height:17px; ">~</caption>
  193. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  194. <input id="ipt_reqfromdd" ref="/root/send/reqfromdd" class="input_s_essential" inputtype="date" style="left:130px; top:8px; width:100px; height:19px; "/>
  195. <input id="ipt_reqtodd" ref="/root/send/reqtodd" class="input_s_essential" inputtype="date" style="left:249px; top:8px; width:100px; height:19px; "/>
  196. <select1 id="cmb_adoct" ref="/root/send/atdoctid" class="combo_search" appearance="minimal" style="left:440px; top:8px; width:100px; height:19px; ">
  197. <choices>
  198. <itemset nodeset="/root/init/cmbinfo/atdoctid/A0536">
  199. <label ref="cdnm"/>
  200. <value ref="cdid"/>
  201. </itemset>
  202. </choices>
  203. </select1>
  204. <caption id="caption4" class="search_name" style="left:364px; top:9px; width:73px; height:17px; ">주치의 :</caption>
  205. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  206. <caption>조회</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. fGetPatientInfo();
  210. ]]>
  211. </script>
  212. </button>
  213. <caption id="caption7" class="search_name" style="left:555px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  214. <button id="btn_srchpat" class="icon_search" style="left:727px; top:10px; width:16px; height:16px; ">
  215. <caption/>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. model.setValue("/root/main/popupendflag", "cancel");
  219. if ( abofGetPamPatientSearch("/root/main/hsctinfo/patinfolist", "/root/main/patinfo/patinfolist", "P") ) {
  220. fGetPatientInfo();
  221. }
  222. ]]>
  223. </script>
  224. </button>
  225. <input id="input2" ref="/root/main/hsctinfo/patinfolist/pid" class="input_search" style="left:644px; top:8px; width:80px; height:19px; ">
  226. <script type="javascript" ev:event="onkeyup">
  227. <![CDATA[
  228. inputEnterKey("btn_sea", "DOMActivate");
  229. ]]>
  230. </script>
  231. </input>
  232. <output id="output17" ref="/root/main/hsctinfo/patinfolist/hngnm" class="output_search" style="left:746px; top:8px; width:80px; height:19px; text-align:center; "/>
  233. <output id="output5" ref="/root/main/hsctinfo/patinfolist/age" class="output_search" style="left:829px; top:8px; width:30px; height:19px; text-align:center; "/>
  234. <output id="output6" ref="/root/main/hsctinfo/patinfolist/sex" class="output_search" style="left:862px; top:8px; width:30px; height:19px; text-align:center; "/>
  235. </group>
  236. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
  237. <caption>엑셀저장</caption>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. var fileName = window.fileDialog("save", ",", false, "조혈모세포이식신청리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  241. if (fileName != "")
  242. {
  243. grd_trnptlist.saveExcel(fileName);
  244. }
  245. ]]>
  246. </script>
  247. </button>
  248. <datagrid id="grd_insulist" nodeset="/root/main/insulist/item" caption="환자명^등록번호^주치의^진단명^이식종류^이식종류^공여자명^의뢰일^의뢰자명^코디네이터실확인^서류준비여부^승인여부^보험여부" colsep="^" colwidth="76, 69, 65, 122, 65, 149, 75, 100, 100, 112, 87, 60, 65" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:435px; width:1194px; height:305px; text-align:center; ">
  249. <col ref="hngnm"/>
  250. <col ref="pid"/>
  251. <col ref="reqnm"/>
  252. <col ref="diagnm"/>
  253. <col ref="trnptkind"/>
  254. <col ref="trnptkindcd"/>
  255. <col ref="dnornm"/>
  256. <col ref="reqdd" format="yyyy-mm-dd"/>
  257. <col ref="reqnm"/>
  258. <col checkvalue="Y,N" ref="reqqualyn" type="checkbox"/>
  259. <col checkvalue="Y,N" ref="docuprepyn" type="checkbox"/>
  260. <col ref="insuaprvkind"/>
  261. <col checkvalue="Y,N" ref="InsuKind"/>
  262. <script type="javascript" ev:event="onaftersort">
  263. <![CDATA[
  264. grd_insulist.gridToInstance();
  265. ]]>
  266. </script>
  267. </datagrid>
  268. <caption id="caption3" class="tit_2" style="left:5px; top:415px; width:200px; height:13px; ">보험신청의뢰 리스트</caption>
  269. <button id="button1" class="btn2_letter4" style="left:1130px; top:410px; width:64px; height:19px; ">
  270. <caption>엑셀저장</caption>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. var fileName = window.fileDialog("save", ",", false, "보험신청의뢰리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  274. if (fileName != "")
  275. {
  276. grd_insulist.saveExcel(fileName);
  277. }
  278. ]]>
  279. </script>
  280. </button>
  281. <line id="line2" class="line_1" style="x1:0px; y1:430px; x2:1194px; y2:430px; "/>
  282. <datagrid id="grd_trnptlist" nodeset="/root/main/insulist/item2" caption="환자명^등록번호^주치의^이식종류^이식종류^Stem Cell Source^Conditioning regimen^GvHD prophylaxis^PCPP^의뢰일^이식예정일^입원예정일^확인" colsep="^" colwidth="80, 80, 80, 83, 100, 100, 140, 120, 43, 94, 91, 80, 40" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:330px; text-align:center; ">
  283. <col ref="hngnm" type="output"/>
  284. <col ref="pid" type="output"/>
  285. <col ref="reqnm" type="output"/>
  286. <col ref="trnptkind"/>
  287. <col ref="trnptkindcd"/>
  288. <col ref="scs"/>
  289. <col ref="cond"/>
  290. <col ref="gvhd"/>
  291. <col checkvalue="Y,N" ref="pcppyn" type="checkbox"/>
  292. <col ref="reqdd" format="yyyy-mm-dd"/>
  293. <col ref="trnptschedd" format="yyyy-mm-dd"/>
  294. <col ref="inschedd" format="yyyy-mm-dd"/>
  295. <col checkvalue="Y,N" ref="reqqualyn" type="checkbox"/>
  296. <script type="javascript" ev:event="onmousedown">
  297. <![CDATA[
  298. if ( (grd_trnptlist.mouseRow >= grd_trnptlist.fixedRows) && (grd_trnptlist.isCell(event.target))) {
  299. setPopupMenu("body", false, "/root/main/codedata/popupmenu/item", "name", "func");
  300. }
  301. ]]>
  302. </script>
  303. <script type="javascript" ev:event="onaftersort">
  304. <![CDATA[
  305. grd_trnptlist.gridToInstance();
  306. ]]>
  307. </script>
  308. <script type="javascript" ev:event="DOMFocusOut">
  309. <![CDATA[
  310. initPopupMenu();
  311. ]]>
  312. </script>
  313. </datagrid>
  314. </group>
  315. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  316. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  317. <caption>저장</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. model.setValue("/root/send/req/data/insulist", grd_insulist.getUpdateData());
  321. model.setValue("/root/send/req/data/trnptlist", grd_trnptlist.getUpdateData());
  322. submit("TXABO01401");
  323. fGetPatientInfo();
  324. ]]>
  325. </script>
  326. </button>
  327. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
  328. <caption>출력</caption>
  329. </button>
  330. </group>
  331. </xhtml:body>
  332. </xhtml:html>