SMPMC01600_BMT환자관리.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>BMT환자관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <data1>
  11. <insureqfromdd/>
  12. <insureqtodd/>
  13. <pid/>
  14. </data1>
  15. <data2>
  16. <pid/>
  17. <trnptdg/>
  18. </data2>
  19. <data3>
  20. <updbmtpatlist/>
  21. </data3>
  22. <data4>
  23. <pid/>
  24. </data4>
  25. <data5>
  26. <s_hsrm/>
  27. </data5>
  28. </send>
  29. <main>
  30. <triflist01>
  31. <grdbmtpatlist/>
  32. </triflist01>
  33. <triflist02>
  34. <grdtrnpthistlist/>
  35. <grddnorlist/>
  36. <grdremlist/>
  37. </triflist02>
  38. <hsrm>
  39. <hsrm_hsctrem/>
  40. <hsrm_pid/>
  41. <hsrm_rgstseqno/>
  42. <hsrm_instcd/>
  43. <hsrm_rgstdd/>
  44. <hsrm_trnptdg/>
  45. <hsrm_inschedd/>
  46. <hsrm_status/>
  47. </hsrm>
  48. </main>
  49. <init>
  50. <A0158list>
  51. <A0158>
  52. <cdnm/>
  53. <cdid/>
  54. </A0158>
  55. </A0158list>
  56. <A0162list>
  57. <A0162>
  58. <cdnm/>
  59. <cdid/>
  60. </A0162>
  61. </A0162list>
  62. </init>
  63. <hidden>
  64. <rsltflag>
  65. <rem_cnt>
  66. <rem_cnt/>
  67. </rem_cnt>
  68. </rsltflag>
  69. <inptflag>
  70. <inpt_cnt/>
  71. </inptflag>
  72. </hidden>
  73. </root>
  74. </instance>
  75. <submission id="TRPMC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/triflist01"/>
  76. <submission id="TRPMC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/triflist02"/>
  77. <submission id="TXPMC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3/updbmtpatlist"/>
  78. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  79. <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  80. <submission id="TXPMC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rsltflag"/>
  81. <submission id="TRPMC01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data4" resultref="/root/hidden/inptflag"/>
  82. </model>
  83. <script type="javascript">
  84. <![CDATA[
  85. function fInitialize()
  86. {
  87. model.removeNodeset("/root/main/triflist01/grdbmtpatlist");
  88. model.removeNodeset("/root/main/triflist02/grdtrnpthistlist");
  89. model.removeNodeset("/root/main/triflist02/grddnorlist");
  90. model.removeNodeset("/root/main/triflist02/grdremlist");
  91. model.resetInstanceNode("/root/main/hsrm");
  92. model.refresh();
  93. }
  94. ]]>
  95. </script>
  96. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  101. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  102. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. fInitialize();
  106. zbcfGetCodeList(new Array("A0158", "A0162"), new Array("/root/init/A0158list", "/root/init/A0162list"));
  107. model.setValue("/root/send/data1/insureqfromdd",getCurrentDate());
  108. model.setValue("/root/send/data1/insureqtodd",getCurrentDate());
  109. model.refresh();
  110. ]]>
  111. </script>
  112. </xhtml:head>
  113. <xhtml:body guideline="1,1193;1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  114. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">BMT 보험승인 관리</caption>
  116. </group>
  117. <group id="group3" style="left:0px; top:13px; width:1195px; height:719px; ">
  118. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  119. <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; "/>
  120. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">요청기간 :</caption>
  121. <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  122. <caption id="caption17" class="search_name" style="left:372px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
  123. <input id="input32" ref="/root/send/data1/insureqfromdd" class="input_default" inputtype="date" style="left:104px; top:8px; width:115px; height:19px; "/>
  124. <input id="input38" ref="/root/send/data1/insureqtodd" class="input_default" inputtype="date" style="left:237px; top:8px; width:115px; height:19px; "/>
  125. <caption id="caption20" class="search_no_b" style="left:222px; top:8px; width:12px; height:17px; ">~</caption>
  126. <input id="input1" ref="/root/send/data1/pid" class="input_default" maxlength="10" style="left:461px; top:8px; width:115px; height:19px; ">
  127. <script type="javascript" ev:event="onkeypress">
  128. <![CDATA[
  129. if (event.keyCode=='13') {
  130. inputEnterKey("btn_search", "DOMActivate");
  131. }
  132. ]]>
  133. </script>
  134. </input>
  135. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  136. <caption>조회</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.removeNodeset("/root/main/triflist02/grdtrnpthistlist");
  140. model.removeNodeset("/root/main/triflist02/grddnorlist");
  141. model.removeNodeset("/root/main/triflist02/grdremlist");
  142. submit("TRPMC01601");
  143. model.refresh();
  144. ]]>
  145. </script>
  146. </button>
  147. </group>
  148. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">BMT 환자내역</caption>
  149. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  150. <caption id="caption3" class="tit_2" style="left:5px; top:561px; width:155px; height:14px; font-family:돋움; vertical-align:middle; ">BMT 이식 History</caption>
  151. <line id="line3" class="line_1" style="x1:0px; y1:576px; x2:392px; y2:576px; "/>
  152. <datagrid id="datagrid2" nodeset="/root/main/triflist02/grdtrnpthistlist" class="datagrid2" caption="BMT차수^이식종류^요청일자^승인여부^승인일자" colsep="^" colwidth="70, 60, 90, 60, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:581px; width:392px; height:138px; ">
  153. <col ref="trnptdg"/>
  154. <col ref="trnptkind" type="combo">
  155. <choices>
  156. <itemset nodeset="/root/init/A0158list/A0158">
  157. <label ref="cdnm"/>
  158. <value ref="cdid"/>
  159. </itemset>
  160. </choices>
  161. </col>
  162. <col ref="insureqdd" format="yyyy-mm-dd"/>
  163. <col ref="insuaprvkind" type="combo">
  164. <choices>
  165. <item>
  166. <label>급여</label>
  167. <value>1</value>
  168. </item>
  169. <item>
  170. <label>비급여</label>
  171. <value>2</value>
  172. </item>
  173. <item>
  174. <label>사후심사</label>
  175. <value>3</value>
  176. </item>
  177. </choices>
  178. </col>
  179. <col ref="insuaprvdd" format="yyyy-mm-dd"/>
  180. </datagrid>
  181. <caption id="caption4" class="tit_2" style="left:402px; top:561px; width:155px; height:13px; font-family:돋움; vertical-align:middle; ">공여자명단</caption>
  182. <datagrid id="datagrid3" nodeset="/root/main/triflist02/grddnorlist" class="datagrid2" caption="공여자번호^공여자명" colsep="^" colwidth="90, 120" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:397px; top:581px; width:232px; height:138px; ">
  183. <col ref="dnorid"/>
  184. <col ref="dnornm"/>
  185. </datagrid>
  186. <caption id="caption5" class="tit_2" style="left:639px; top:561px; width:214px; height:13px; font-family:돋움; vertical-align:middle; ">BMT환자 Remark 조회 및 작성</caption>
  187. <line id="line5" class="line_1" style="x1:634px; y1:576px; x2:1194px; y2:576px; "/>
  188. <line id="line4" class="line_1" style="x1:397px; y1:576px; x2:629px; y2:576px; "/>
  189. <textarea id="textarea1" ref="/root/main/hsrm/hsrm_hsctrem" style="left:965px; top:584px; width:229px; height:132px; "/>
  190. <caption id="caption7" class="cell_1" style="left:876px; top:581px; width:86px; height:114px; vertical-align:middle; ">Remark</caption>
  191. <caption id="caption8" class="cell_1" style="left:876px; top:696px; width:86px; height:23px; vertical-align:middle; "/>
  192. <button id="button8" class="btn2_letter6" style="left:876px; top:698px; width:86px; height:19px; ">
  193. <caption>Remark저장</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. if (grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
  197. var cur_row = grd_bmtpatlist.row;
  198. var cur_col = grd_bmtpatlist.col;
  199. model.setValue("/root/main/hsrm/hsrm_inschedd",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/inschedd"));
  200. model.setValue("/root/main/hsrm/hsrm_pid",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/pid"));
  201. model.setValue("/root/main/hsrm/hsrm_trnptdg",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/trnptdg"));
  202. copyNodeType("/root/send/data5/s_hsrm","/root/main/hsrm","replace");
  203. submit("TXPMC01602");
  204. model.refresh();
  205. } else {
  206. messageBox("BMT환재 내역의 환자를 선택하세요.!","E999","");
  207. return false;
  208. }
  209. ]]>
  210. </script>
  211. </button>
  212. <datagrid id="grd_bmtpatlist" nodeset="/root/main/triflist01/grdbmtpatlist" class="datagrid2" caption="요청일자^환자번호^환자명^주민번호^차수^이식종류^Stem cell source^이식일자^코디네이터실확인^승인여부^승인일자^입원예정일자^입원일자^BMT입원^급여여부^계좌번호^공여자명^공여자주민번호^진단명^심의일" colsep="^" colwidth="78, 72, 66, 100, 34, 50, 57, 78, 66, 66, 86, 86, 86, 63, 63, 130, 76, 110, 140, 78" dataheight="32" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:476px; ">
  213. <col ref="insureqdd" format="yyyy-mm-dd" style="left:20px; top:32px; width:78px; height:23px; "/>
  214. <col ref="pid"/>
  215. <col ref="hngnm"/>
  216. <col ref="rrgstno" format="999999-9999999"/>
  217. <col ref="trnptdg"/>
  218. <col disabled="true" ref="trnptkind" type="combo">
  219. <choices>
  220. <itemset nodeset="/root/init/A0158list/A0158">
  221. <label ref="cdnm"/>
  222. <value ref="cdid"/>
  223. </itemset>
  224. </choices>
  225. </col>
  226. <col disabled="true" ref="scs" type="combo">
  227. <choices>
  228. <itemset nodeset="/root/init/A0162list/A0162">
  229. <label ref="cdnm"/>
  230. <value ref="cdid"/>
  231. </itemset>
  232. </choices>
  233. </col>
  234. <col ref="trnptdd" format="yyyy-mm-dd"/>
  235. <col ref="reqqualyn"/>
  236. <col ref="insuaprvkind" type="combo">
  237. <choices>
  238. <item>
  239. <label>급여</label>
  240. <value>1</value>
  241. </item>
  242. <item>
  243. <label>비급여</label>
  244. <value>2</value>
  245. </item>
  246. <item>
  247. <label>사후심사</label>
  248. <value>3</value>
  249. </item>
  250. </choices>
  251. </col>
  252. <col ref="insuaprvdd" type="inputdate"/>
  253. <col ref="inschedd" format="yyyy-mm-dd"/>
  254. <col ref="indd" format="yyyy-mm-dd"/>
  255. <col disabled="true" ref="hsctyn" type="combo">
  256. <choices>
  257. <item>
  258. <label>시행</label>
  259. <value>Y</value>
  260. </item>
  261. <item>
  262. <label>미시행</label>
  263. <value>N</value>
  264. </item>
  265. </choices>
  266. </col>
  267. <col ref="insukind" type="combo">
  268. <choices>
  269. <item>
  270. <label>급여</label>
  271. <value>1</value>
  272. </item>
  273. <item>
  274. <label>비급여</label>
  275. <value>2</value>
  276. </item>
  277. </choices>
  278. </col>
  279. <col ref="acntno" type="input"/>
  280. <col ref="dnornm"/>
  281. <col ref="dnorrrgstno" format="999999-9999999"/>
  282. <col ref="diagcd"/>
  283. <col ref="aprvqualdd" format="yyyy-mm-dd"/>
  284. <script type="javascript" ev:event="ondblclick">
  285. <![CDATA[
  286. if (isDataCell() == true) {
  287. var cur_row = grd_bmtpatlist.row;
  288. var cur_col = grd_bmtpatlist.col;
  289. if (cur_col != grd_bmtpatlist.colRef("acntno")) {
  290. model.setValue("/root/send/data2/pid",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/pid"));
  291. model.setValue("/root/send/data2/trnptdg",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/trnptdg")); //이식차수
  292. //BMT 이식 히스토리,공여자명단,리마크조회
  293. submit("TRPMC01602");
  294. model.resetInstanceNode("/root/send/data2");
  295. model.resetInstanceNode("/root/main/hsrm");
  296. model.refresh();
  297. }
  298. }
  299. ]]>
  300. </script>
  301. <script type="javascript" ev:event="xforms-value-changed">
  302. <![CDATA[
  303. if (grd_bmtpatlist.col == grd_bmtpatlist.colRef("insuaprvkind")) {
  304. var ireq_insuaprvkind = model.getValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insuaprvkind");
  305. if (ireq_insuaprvkind == "1") {
  306. model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","1");
  307. grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = true;
  308. } else if (ireq_insuaprvkind == "2") {
  309. model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","2");
  310. grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = true;
  311. } else if (ireq_insuaprvkind == "3") {
  312. model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","");
  313. grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = false;
  314. }
  315. model.refresh();
  316. }
  317. ]]>
  318. </script>
  319. </datagrid>
  320. <iviewer id="iviewer1" visibility="hidden" src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw" style="left:460px; top:395px; width:450px; height:150px; "/>
  321. <datagrid id="grdremlist" nodeset="/root/main/triflist02/grdremlist" class="datagrid2" caption="입원예정일자^Remark^작성일자^작성자" colsep="^" colwidth="80, 200, 80, 70" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:634px; top:581px; width:239px; height:138px; ">
  322. <col ref="inschedd" format="yyyy-mm-dd"/>
  323. <col ref="hsctrem"/>
  324. <col ref="rgstdd" format="yyyy-mm-dd"/>
  325. <col ref="lastupdtrnm"/>
  326. <script type="javascript" ev:event="ondblclick">
  327. <![CDATA[
  328. if (isDataCell() == true) {
  329. if (grdremlist.row >= grdremlist.fixedRows) {
  330. var rem_row = grdremlist.row;
  331. model.setValue("/root/main/hsrm/hsrm_hsctrem",model.getValue("/root/main/triflist02/grdremlist[" + rem_row +"]/hsctrem"));
  332. model.refresh();
  333. }
  334. }
  335. ]]>
  336. </script>
  337. </datagrid>
  338. </group>
  339. <group id="group5" style="left:0px; top:732px; width:1195px; height:30px; ">
  340. <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  341. <caption>초기화</caption>
  342. <script type="javascript" ev:event="DOMActivate">
  343. <![CDATA[
  344. fInitialize();
  345. ]]>
  346. </script>
  347. </button>
  348. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  349. <button id="button5" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
  350. <caption>저장</caption>
  351. <script type="javascript" ev:event="DOMActivate">
  352. <![CDATA[
  353. model.resetInstanceNode("/root/send/data3");
  354. var cur_row = grd_bmtpatlist.row;
  355. model.setValue("/root/send/data3/updbmtpatlist",grd_bmtpatlist.getUpdateData());
  356. if (submit("TXPMC01601") == true) {
  357. submit("TRPMC01601")
  358. model.refresh();
  359. }
  360. ]]>
  361. </script>
  362. </button>
  363. <button id="button4" class="btn3_letter8" style="left:0px; top:5px; width:128px; height:22px; ">
  364. <caption>BMT환자총괄조회</caption>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. modal("../../../pam/patinfomngtweb/xrw/SPPMC03600", "1","10", "150", "SPPMC03600", "", "");
  368. ]]>
  369. </script>
  370. </button>
  371. <button id="button1" class="btn3_letter9" style="left:128px; top:5px; width:140px; height:22px; ">
  372. <caption>BMT입원예정자조회</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. //modal("../../../ast/hsctweb/xrw/SMABO01300", "1","10", "150", "SMABO01300", "", "");
  376. //modal("SMABO01300");
  377. modal("SMABO01300", "", "", "", "", "", "","width:1240px;height:850px;align:center;");
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="button3" class="btn3_letter6" style="left:268px; top:5px; width:104px; height:22px; ">
  382. <caption>BMT환자관리</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. modal("../../../ast/hsctweb/xrw/SMABO00100", "1","10", "150", "SMABO00100", "", "");
  386. ]]>
  387. </script>
  388. </button>
  389. <button id="button6" class="btn3_letter5" style="left:372px; top:5px; width:92px; height:22px; ">
  390. <caption>이식스케쥴</caption>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. modal("../../../ast/hsctweb/xrw/SMABO00800", "1","10", "150", "SMABO00800", "", "");
  394. ]]>
  395. </script>
  396. </button>
  397. <button id="button7" class="btn3_letter8" style="left:464px; top:5px; width:128px; height:22px; ">
  398. <caption>BMT대기자리스트</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. //modal("../../../ast/hsctweb/xrw/SMABO01100", "1","10", "150", "SMABO01100", "", "");
  402. modal("SMABO01100", "", "", "", "", "", "","width:1240px;height:850px;align:center;");
  403. ]]>
  404. </script>
  405. </button>
  406. <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
  407. <button id="button9" class="btn3_letter12" visibility="hidden" style="left:812px; top:5px; width:176px; height:22px; ">
  408. <caption>자가조혈모세포이식신청서</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
  412. var cur_col = grd_bmtpatlist.col;
  413. model.resetInstanceNode("/root/send/data4");
  414. model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
  415. //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  416. if (submit("TRPMC01603") == true) {
  417. var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
  418. if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
  419. //자가 조혈모 세포 이식신청서
  420. iviewer1.window.javascript.fGetOCRInfo("0000002950", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
  421. , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
  422. iviewer1.window.javascript.fPrint();
  423. } else {
  424. messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
  425. return false;
  426. }
  427. }
  428. }
  429. //동종 조혈모 세포 이식 신청서 0000002947
  430. //동종 조혈모 세포 공여 승낙서 0000002948
  431. //이식 등록 환자 동의서 0000002949
  432. //자가 조혈모 세포 이식신청서 0000002950
  433. ]]>
  434. </script>
  435. </button>
  436. <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
  437. <button id="button10" class="btn3_letter12" visibility="hidden" style="left:831px; top:5px; width:176px; height:22px; ">
  438. <caption>동종조혈모세포이식신청서</caption>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
  442. var cur_col = grd_bmtpatlist.col;
  443. model.resetInstanceNode("/root/send/data4");
  444. model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
  445. //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  446. if (submit("TRPMC01603") == true) {
  447. var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
  448. if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
  449. //자가 조혈모 세포 이식신청서
  450. iviewer1.window.javascript.fGetOCRInfo("0000002947", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
  451. , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
  452. iviewer1.window.javascript.fPrint();
  453. } else {
  454. messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
  455. return false;
  456. }
  457. }
  458. }
  459. ]]>
  460. </script>
  461. </button>
  462. <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
  463. <button id="button11" class="btn3_letter12" visibility="hidden" style="left:850px; top:5px; width:176px; height:22px; ">
  464. <caption>동종조혈포세포공여승낙서</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
  468. var cur_col = grd_bmtpatlist.col;
  469. model.resetInstanceNode("/root/send/data4");
  470. model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
  471. //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  472. if (submit("TRPMC01603") == true) {
  473. var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
  474. if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
  475. //자가 조혈모 세포 이식신청서
  476. iviewer1.window.javascript.fGetOCRInfo("0000002948", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
  477. , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
  478. iviewer1.window.javascript.fPrint();
  479. } else {
  480. messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
  481. return false;
  482. }
  483. }
  484. }
  485. ]]>
  486. </script>
  487. </button>
  488. <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
  489. <button id="button12" class="btn3_letter12" visibility="hidden" style="left:872px; top:5px; width:176px; height:22px; ">
  490. <caption>이식등록환자동의서</caption>
  491. <script type="javascript" ev:event="DOMActivate">
  492. <![CDATA[
  493. if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
  494. var cur_col = grd_bmtpatlist.col;
  495. model.resetInstanceNode("/root/send/data4");
  496. model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
  497. //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  498. if (submit("TRPMC01603") == true) {
  499. var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
  500. if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
  501. //자가 조혈모 세포 이식신청서
  502. iviewer1.window.javascript.fGetOCRInfo("0000002949", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
  503. , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
  504. iviewer1.window.javascript.fPrint();
  505. } else {
  506. messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
  507. return false;
  508. }
  509. }
  510. }
  511. ]]>
  512. </script>
  513. </button>
  514. <button id="button13" class="btn3_letter5" style="left:691px; top:5px; width:92px; height:22px; ">
  515. <caption>동의서반납</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. modal("../../../emr/formmngtweb/xrw/SMMRF02600", "1","10", "150", "SMMRF02600", "", "");
  519. ]]>
  520. </script>
  521. </button>
  522. <button id="button14" class="btn3_letter5" style="left:599px; top:5px; width:92px; height:22px; ">
  523. <caption>동의서출력</caption>
  524. <script type="javascript" ev:event="DOMActivate">
  525. <![CDATA[
  526. modal("../../../emr/formmngtweb/xrw/SMMRF02300", "1","10", "150", "SMMRF02300", "", "");
  527. ]]>
  528. </script>
  529. </button>
  530. </group>
  531. </xhtml:body>
  532. </xhtml:html>