SMPIJ02900_항암제투여현황및투여단계주기관리.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  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>항암제투여현황 및 투여단계주기관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist/>
  12. </patinfo>
  13. <tempanad>
  14. <row>
  15. <genrdd/>
  16. <genrno/>
  17. <histno/>
  18. <instcd/>
  19. <pid/>
  20. <orddd/>
  21. <cretno/>
  22. <genrflagcd/>
  23. <histcd/>
  24. <prcpdd/>
  25. <drugthrpcd/>
  26. <drugtims/>
  27. <drugpridstartno/>
  28. <drugpridstartdayno/>
  29. <drugpridendno/>
  30. <drugpridenddayno/>
  31. <rgstdeptcd/>
  32. <rgstdd/>
  33. <rgsttm/>
  34. <rgstrid/>
  35. <updtdeptcd/>
  36. <updtdd/>
  37. <updttm/>
  38. <updtrid/>
  39. <fstrgstrid/>
  40. <fstrgstdt/>
  41. <lastupdtrid/>
  42. <lastupdtdt/>
  43. <tempcol1/>
  44. <tempcol2/>
  45. <tempcol3/>
  46. <status/>
  47. <rgstrnm/>
  48. <updtrnm/>
  49. <payflagcd/>
  50. <drprcpetc8/>
  51. <prcptims/>
  52. <prcpdayno/>
  53. <prcpstatcd/>
  54. </row>
  55. </tempanad>
  56. <tempstnm>
  57. <row>
  58. <genrdd/>
  59. <genrno/>
  60. <histno/>
  61. <instcd/>
  62. <histcd/>
  63. <pid/>
  64. <orddd/>
  65. <cretno/>
  66. <orddeptcd/>
  67. <genrflagcd/>
  68. <icd10cd/>
  69. <diagcd/>
  70. <stagecd/>
  71. <tnmcd1/>
  72. <tnmcd2/>
  73. <tnmcd3/>
  74. <stageflag/>
  75. <cncrflag1/>
  76. <cncrflagkind1/>
  77. <cncrflag2/>
  78. <cncrflagkind2/>
  79. <inptimpsiflag/>
  80. <inptimpsiresncd/>
  81. <rgstdeptcd/>
  82. <rgstdd/>
  83. <rgsttm/>
  84. <rgstrid/>
  85. <updtdeptcd/>
  86. <updtdd/>
  87. <updttm/>
  88. <updtrid/>
  89. <fstrgstrid/>
  90. <fstrgstdt/>
  91. <lastupdtrid/>
  92. <lastupdtdt/>
  93. <inptimpsietcresnnm/>
  94. <mataflag/>
  95. <cncrflag/>
  96. <diagnm/>
  97. <attackflag/>
  98. <tempcol1/>
  99. <tempcol2/>
  100. <tempcol3/>
  101. <status/>
  102. <displaystage/>
  103. <rgstrnm/>
  104. <updtrnm/>
  105. </row>
  106. </tempstnm>
  107. </main>
  108. <send>
  109. <param>
  110. <srchcond/>
  111. <hngnm/>
  112. </param>
  113. <temp/>
  114. </send>
  115. <hidden>
  116. <send_smppi01000>
  117. <pid/>
  118. <execdd/>
  119. <ioflag/>
  120. <instcd/>
  121. <dpcdlist/>
  122. </send_smppi01000>
  123. </hidden>
  124. <init>
  125. <srchcond>
  126. <pid/>
  127. <fromdd/>
  128. <todd/>
  129. <dcsrch>false</dcsrch>
  130. <hngnm/>
  131. <sa/>
  132. <serdiagno/>
  133. <serdiagfromdd/>
  134. <serdiagtodd/>
  135. <prcpyn>Y</prcpyn>
  136. </srchcond>
  137. <genrflagcd/>
  138. <inptimpsiresncd/>
  139. <cncrflagkind2/>
  140. <cncrflagkind1/>
  141. <stageflag/>
  142. <drugthrpcd/>
  143. <M0010list>
  144. <M0010>
  145. <cdid/>
  146. <cdnm/>
  147. </M0010>
  148. </M0010list>
  149. <M0011list>
  150. <M0011>
  151. <cdid/>
  152. <cdnm/>
  153. </M0011>
  154. </M0011list>
  155. <autoresizeyn>Y</autoresizeyn>
  156. <M5000list/>
  157. </init>
  158. <result>
  159. <savetnmlist/>
  160. <savecncrlist/>
  161. </result>
  162. </root>
  163. </instance>
  164. <script type="javascript" ev:event="xforms-ready">
  165. <![CDATA[
  166. var vpid = opener.javascript.getParameter("pid");
  167. var vhngnm = opener.javascript.getParameter("hngnm");
  168. var dd = getCurrentDate();
  169. model.setValue("/root/init/srchcond/fromdd", (dd.toDate().getAddDate(-12, "M")).getDateFormat() );
  170. model.setValue("/root/init/srchcond/todd", dd);
  171. if ( getPatientInfo("pid") != '' ) {
  172. model.setValue("/root/init/srchcond/pid", getPatientInfo("pid") );
  173. model.setValue("/root/init/srchcond/hngnm", getPatientInfo("hngnm") );
  174. model.setValue("/root/init/srchcond/sa", getPatientInfo("sex") + '/' + getPatientInfo("age") );
  175. submit("TRPIJ02902", false);
  176. submit("TRPIJ02901", false);
  177. } else {
  178. model.setValue("/root/init/srchcond/pid", vpid);
  179. model.setValue("/root/init/srchcond/hngnm", vhngnm);
  180. submit("TRPIJ02902", false);
  181. submit("TRPIJ02901", false);
  182. }
  183. model.makeValue("/root/init/srchcond/prcpyn", "Y");
  184. model.refresh();
  185. fsetClolor();
  186. grd_anad.autoResize = true;
  187. ]]>
  188. </script>
  189. <script type="javascript">
  190. <![CDATA[
  191. function fsetClolor(){
  192. var rowcnt = grd_anad.rows;
  193. var color = "4";
  194. var prcpdd2 = "";
  195. var color = "#EAEAEA";
  196. for(var i = 1 ; i < rowcnt ; i++ ) {
  197. var status = grd_anad.rowHidden(i);
  198. if (status == false) {
  199. var prcpdd = grd_anad.valueMatrix(i, grd_anad.colRef("prcpdd"));
  200. var payflagcd = grd_anad.valueMatrix(i, grd_anad.colRef("payflagcd"));
  201. var tempcol2 = grd_anad.valueMatrix(i, grd_anad.colRef("tempcol2"));
  202. if (prcpdd == prcpdd2) {
  203. grd_anad.rowStyle(i,"data","background-color") = color;
  204. } else {
  205. prcpdd2 = prcpdd;
  206. if (color == "#ffffff") {
  207. grd_anad.rowStyle(i,"data","background-color") = "#EAEAEA";
  208. color = "#EAEAEA";
  209. } else {
  210. grd_anad.rowStyle(i,"data","background-color") = "#ffffff";
  211. color = "#ffffff";
  212. }
  213. }
  214. if (payflagcd == "1") {
  215. grd_anad.cellStyle("background-color", i, grd_anad.colRef("payflagcd"), i, grd_anad.colRef("payflagcd")) = "#00ff00";
  216. } else if (payflagcd == "2") {
  217. grd_anad.cellStyle("background-color", i, grd_anad.colRef("payflagcd"), i, grd_anad.colRef("payflagcd")) = "#ff99cc";
  218. } else if (tempcol2 == "AP603"){
  219. grd_anad.rowStyle(i,"data","background-color") = "#7BE6B7";
  220. } else if (tempcol2 == "AP603-1"){
  221. grd_anad.rowStyle(i,"data","background-color") = "#fec34d";
  222. }
  223. }
  224. // var regmcdyn = grd_anad.valueMatrix(i, grd_anad.colRef("regmcdyn"));
  225. // if (regmcdyn == "Y") {
  226. // alert(0);
  227. // grd_anad.cellStyle("background-image",i,grd_anad.colRef("regmcdyn")) = "../../../com/commonweb/images/icon_btn_s.gif";
  228. //
  229. // }
  230. }
  231. if (model.getValue("/root/main/adjuvantlist/row/flag") == "A"){
  232. caption12.visible = true;
  233. } else {
  234. caption12.visible = false;
  235. }
  236. }
  237. ]]>
  238. </script>
  239. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  240. <submission id="TRPIJ02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/srchcond" resultref="/root/main"/>
  241. <submission id="TXPIJ02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/result"/>
  242. <script type="javascript" ev:event="xforms-model-construct-done">
  243. <![CDATA[
  244. zbcfGetCodeList(new Array( "M0010","M0326","M0327","M0328","M0329", "M0331", "M0011", "M5000"),
  245. new Array("/root/init/genrflagcd", "/root/init/inptimpsiresncd", "/root/init/cncrflagkind2", "/root/init/cncrflagkind1","/root/init/stageflag", "/root/init/drugthrpcd", "/root/init/M0011list", "/root/init/M5000list"));
  246. ]]>
  247. </script>
  248. <submission id="TRPIJ02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/srchcond" resultref="/root/init/srchcond"/>
  249. </model>
  250. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  251. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  252. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  253. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  254. </xhtml:head>
  255. <xhtml:body pagewidth="1170" pageheight="780" guideline="1,1096;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  256. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1145px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
  257. <caption id="caption5" class="search_name" style="left:12px; top:12px; width:86px; height:17px; ">등록번호 :</caption>
  258. <caption id="caption2" class="search_name" style="left:528px; top:12px; width:86px; height:17px; ">내원일 :</caption>
  259. <caption id="caption3" class="tit_2" style="left:0px; top:79px; width:113px; height:13px; vertical-align:middle; ">Stage 분류</caption>
  260. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1145px; y2:95px; "/>
  261. <input id="ipt_pid" ref="/root/init/srchcond/pid" class="input_search" style="left:104px; top:10px; width:66px; height:19px; ">
  262. <script type="javascript" ev:event="onkeydown">
  263. <![CDATA[
  264. inputEnterKey("button1", "DOMActivate");
  265. ]]>
  266. </script>
  267. </input>
  268. <caption id="caption4" style="left:702px; top:5px; width:15px; height:30px; ">~</caption>
  269. <caption id="caption6" class="tit_2" style="left:0px; top:230px; width:118px; height:13px; vertical-align:middle; ">투여단계 및 주기</caption>
  270. <line id="line2" class="line_1" style="x1:0px; y1:250px; x2:1145px; y2:250px; "/>
  271. <input id="ipt_fromprcpdd" ref="/root/init/srchcond/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:608px; top:10px; width:90px; height:19px; "/>
  272. <input id="ipt_toprcpdd" ref="/root/init/srchcond/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:720px; top:10px; width:90px; height:19px; "/>
  273. <button id="btn_srch" class="btn1_letter4" style="left:1035px; top:20px; width:80px; height:22px; ">
  274. <caption>이력조회</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. submit ( "TRPIJ02901" , true);
  278. fsetClolor();
  279. ]]>
  280. </script>
  281. </button>
  282. <output id="opt_sa" ref="/root/init/srchcond/sa" class="output_search" style="left:423px; top:10px; width:51px; height:19px; "/>
  283. <caption id="caption1" class="search_name" style="left:11px; top:39px; width:117px; height:17px; ">중증등록번호 :</caption>
  284. <bool id="bool1" ref="/root/init/srchcond/dcsrch" style="left:609px; top:37px; width:25px; height:20px; "/>
  285. <caption id="caption7" style="left:630px; top:37px; width:55px; height:20px; ">
  286. <![CDATA[삭제포함]]>
  287. <script type="javascript" ev:event="onclick">
  288. <![CDATA[
  289. if ( model.getValue("/root/init/srchcond/dcsrch") == "true" )
  290. model.setValue("/root/init/srchcond/dcsrch", "false");
  291. else
  292. model.setValue("/root/init/srchcond/dcsrch", "true");
  293. model.refresh();
  294. ]]>
  295. </script>
  296. </caption>
  297. <output id="output1" ref="/root/init/srchcond/serdiagno" class="output_search" style="left:128px; top:37px; width:132px; height:19px; "/>
  298. <input id="ipt_hngnm" ref="/root/init/srchcond/hngnm" class="input_search" style="left:312px; top:10px; width:80px; height:19px; ">
  299. <script type="javascript" ev:event="onkeydown">
  300. <![CDATA[
  301. inputEnterKey("btn_patsrch", "DOMActivate");
  302. ]]>
  303. </script>
  304. </input>
  305. <caption id="caption8" class="search_name" style="left:231px; top:12px; width:86px; height:17px; ">환자명 :</caption>
  306. <button id="btn_patsrch" class="icon_search" navindex="3" style="left:396px; top:13px; width:16px; height:16px; ">
  307. <caption/>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. model.makeNode("/root/main/patinfo/patinfolist");
  311. model.setValue("/root/send/param/srchcond", "2");
  312. model.setValue("/root/send/param/hngnm", model.getValue("/root/init/srchcond/hngnm") );
  313. modal("SPPMC02500", "", "", "", "", "/root/send/param", "/root/send");
  314. model.setValue("/root/init/srchcond/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  315. submit("TRPIJ02902", true);
  316. ]]>
  317. </script>
  318. </button>
  319. <caption id="caption9" class="search_name" style="left:283px; top:39px; width:92px; height:17px; ">중증기간 :</caption>
  320. <output id="output2" ref="/root/init/srchcond/serdiagfromdd" class="output_search" format="yyyy-mm-dd" style="left:377px; top:37px; width:85px; height:19px; "/>
  321. <output id="output3" ref="/root/init/srchcond/serdiagtodd" class="output_search" format="yyyy-mm-dd" style="left:487px; top:37px; width:85px; height:19px; "/>
  322. <caption id="caption10" style="left:470px; top:38px; width:15px; height:20px; ">~</caption>
  323. <datagrid id="grd_stnm" nodeset="/root/main/tempstnm/row" autosizemouse="true" caption="구분^입력일시^진단코드^진단명^구분^T^N^M^Stage^입력불가^입력불가사유^소세포암^난소암^입력자^수정자" colsep="^" colwidth="32, 66, 55, 326, 65, 35, 35, 35, 38, 103, 108, 55, 49, 45, 46" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:99px; width:1145px; height:126px; ">
  324. <col disabled="true" ref="genrflagcd" type="combo">
  325. <choices>
  326. <itemset nodeset="/root/init/genrflagcd/M0010">
  327. <label ref="cdnm"/>
  328. <value ref="cdid"/>
  329. </itemset>
  330. </choices>
  331. </col>
  332. <col ref="rgstdd" format="yyyy-mm-dd"/>
  333. <col ref="icd10cd"/>
  334. <col ref="diagnm"/>
  335. <col disabled="true" ref="stageflag" type="combo">
  336. <choices>
  337. <itemset nodeset="/root/init/stageflag/M0329">
  338. <label ref="cdnm"/>
  339. <value ref="cdid"/>
  340. </itemset>
  341. </choices>
  342. </col>
  343. <col ref="tnmcd1"/>
  344. <col ref="tnmcd2"/>
  345. <col ref="tnmcd3"/>
  346. <col ref="stagecd"/>
  347. <col disabled="true" ref="inptimpsiresncd" type="combo">
  348. <choices>
  349. <itemset nodeset="/root/init/inptimpsiresncd/M0326">
  350. <label ref="cdnm"/>
  351. <value ref="cdid"/>
  352. </itemset>
  353. </choices>
  354. </col>
  355. <col ref="inptimpsietcresnnm"/>
  356. <col disabled="true" ref="cncrflagkind1" type="combo">
  357. <choices>
  358. <itemset nodeset="/root/init/cncrflagkind1/M0328">
  359. <label ref="cdnm"/>
  360. <value ref="cdid"/>
  361. </itemset>
  362. </choices>
  363. </col>
  364. <col disabled="true" ref="cncrflagkind2" type="combo">
  365. <choices>
  366. <itemset nodeset="/root/init/cncrflagkind2/M0327">
  367. <label ref="cdnm"/>
  368. <value ref="cdid"/>
  369. </itemset>
  370. </choices>
  371. </col>
  372. <col ref="rgstrnm"/>
  373. <col ref="updtrnm"/>
  374. <script type="javascript" ev:event="ondblclick">
  375. <![CDATA[
  376. var currow = grd_stnm.row;
  377. var curcol = grd_stnm.col;
  378. if( grd_stnm.isCell(event.target) && grd_stnm.row >= grd_stnm.fixedRows ) {
  379. inputEnterKey("btn_savestnm", "DOMActivate");
  380. }
  381. ]]>
  382. </script>
  383. </datagrid>
  384. <datagrid id="grd_anad" nodeset="/root/main/tempanad/row" class="datagrid3" autosizemouse="true" caption="구분^항암&#xA;차수^항암&#xA;차수^프로토콜명^처방코드^처방명^진행&#xA;상황^BSA^체중&#xA;%^처방상태^처방일^시행일^급&#xA;비^사전&#xA;신청^비고^1회량^횟수^일수^투여목적^투여단계^투여주기1^투여주기2^입력자^수정자^caption1^caption2" colsep="^" colwidth="32, 17, 17, 150, 68, 173, 30, 35, 35, 55, 66, 66, 25, 43, 183, 48, 30, 30, 173, 68, 70, 73, 45, 45, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:255px; width:1145px; height:495px; ">
  385. <col disabled="true" ref="genrflagcd" type="combo">
  386. <choices>
  387. <itemset nodeset="/root/init/genrflagcd/M0010">
  388. <label ref="cdnm"/>
  389. <value ref="cdid"/>
  390. </itemset>
  391. </choices>
  392. </col>
  393. <col ref="drugstage" type="input" style="text-align:center; "/>
  394. <col ref="drugcycle" type="input" style="text-align:center; "/>
  395. <col ref="tempcol1"/>
  396. <col ref="tempcol2"/>
  397. <col ref="tempcol3"/>
  398. <col ref="acptno" type="input" style="text-align:center; "/>
  399. <col ref="bsa" style="text-align:right; "/>
  400. <col ref="subtrvolrate" style="text-align:right; "/>
  401. <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
  402. <choices>
  403. <itemset nodeset="/root/init/M0011list/M0011">
  404. <label ref="cdnm"/>
  405. <value ref="cdid"/>
  406. </itemset>
  407. </choices>
  408. </col>
  409. <col ref="prcpdd" format="yyyy-mm-dd"/>
  410. <col ref="execdd" format="yyyy-mm-dd"/>
  411. <col disabled="true" ref="payflagcd" type="combo" style="text-align:center; ">
  412. <choices>
  413. <item>
  414. <label>급</label>
  415. <value>0</value>
  416. </item>
  417. <item>
  418. <label>100</label>
  419. <value>1</value>
  420. </item>
  421. <item>
  422. <label>비</label>
  423. <value>2</value>
  424. </item>
  425. </choices>
  426. </col>
  427. <col ref="regmcdyn" type="inputbutton"/>
  428. <col ref="bfjudgcmt" type="input" style="text-align:left; "/>
  429. <col ref="execprcpqty" style="text-align:right; "/>
  430. <col ref="execprcptims" style="text-align:right; "/>
  431. <col ref="execprcpdayno" style="text-align:right; "/>
  432. <col disabled="true" ref="drugthrpcd" type="combo" style="text-align:left; ">
  433. <choices>
  434. <itemset nodeset="/root/init/M5000list/M5000">
  435. <label ref="cdnm"/>
  436. <value ref="cdid"/>
  437. </itemset>
  438. </choices>
  439. </col>
  440. <col disabled="true" ref="drugtims" type="combo" visibility="hidden" style="text-align:center; ">
  441. <choices>
  442. <item>
  443. <label>1st-Line</label>
  444. <value>1</value>
  445. </item>
  446. <item>
  447. <label>2st-Line</label>
  448. <value>2</value>
  449. </item>
  450. <item>
  451. <label>3st-Line</label>
  452. <value>3</value>
  453. </item>
  454. <item>
  455. <label>4st-Line</label>
  456. <value>4</value>
  457. </item>
  458. <item>
  459. <label>5st-Line</label>
  460. <value>5</value>
  461. </item>
  462. <item>
  463. <label>6st-Line</label>
  464. <value>6</value>
  465. </item>
  466. </choices>
  467. </col>
  468. <col disabled="true" ref="drugpridstartno" type="combo" visibility="hidden" style="text-align:center; ">
  469. <choices>
  470. <item>
  471. <label>1st-cycle</label>
  472. <value>1</value>
  473. </item>
  474. <item>
  475. <label>2st-cycle</label>
  476. <value>2</value>
  477. </item>
  478. <item>
  479. <label>3st-cycle</label>
  480. <value>3</value>
  481. </item>
  482. <item>
  483. <label>4st-cycle</label>
  484. <value>4</value>
  485. </item>
  486. <item>
  487. <label>5st-cycle</label>
  488. <value>5</value>
  489. </item>
  490. <item>
  491. <label>6st-cycle</label>
  492. <value>6</value>
  493. </item>
  494. <item>
  495. <label>7st-cycle</label>
  496. <value>7</value>
  497. </item>
  498. <item>
  499. <label>8st-cycle</label>
  500. <value>8</value>
  501. </item>
  502. <item>
  503. <label>9st-cycle</label>
  504. <value>9</value>
  505. </item>
  506. <item>
  507. <label>10st-cycle</label>
  508. <value>10</value>
  509. </item>
  510. <item>
  511. <label>11st-cycle</label>
  512. <value>11</value>
  513. </item>
  514. <item>
  515. <label>12st-cycle</label>
  516. <value>12</value>
  517. </item>
  518. </choices>
  519. </col>
  520. <col disabled="true" type="combo" visibility="hidden" style="text-align:center; ">
  521. <choices>
  522. <item>
  523. <label>1st-cycle</label>
  524. <value>1</value>
  525. </item>
  526. <item>
  527. <label>2st-cycle</label>
  528. <value>2</value>
  529. </item>
  530. <item>
  531. <label>3st-cycle</label>
  532. <value>3</value>
  533. </item>
  534. <item>
  535. <label>4st-cycle</label>
  536. <value>4</value>
  537. </item>
  538. <item>
  539. <label>5st-cycle</label>
  540. <value>5</value>
  541. </item>
  542. <item>
  543. <label>6st-cycle</label>
  544. <value>6</value>
  545. </item>
  546. <item>
  547. <label>7st-cycle</label>
  548. <value>7</value>
  549. </item>
  550. <item>
  551. <label>8st-cycle</label>
  552. <value>8</value>
  553. </item>
  554. <item>
  555. <label>9st-cycle</label>
  556. <value>9</value>
  557. </item>
  558. <item>
  559. <label>10st-cycle</label>
  560. <value>10</value>
  561. </item>
  562. <item>
  563. <label>11st-cycle</label>
  564. <value>11</value>
  565. </item>
  566. <item>
  567. <label>12st-cycle</label>
  568. <value>12</value>
  569. </item>
  570. </choices>
  571. </col>
  572. <col ref="rgstrnm"/>
  573. <col ref="updtrnm"/>
  574. <col ref="prcpno" visibility="hidden" style="text-align:right; "/>
  575. <col ref="drprcpetc8" visibility="hidden" style="text-align:right; "/>
  576. <col ref="prcptims" visibility="hidden" style="text-align:right; "/>
  577. <col ref="prcpdayno" visibility="hidden" style="text-align:right; "/>
  578. <col ref="execprcpno" visibility="hidden" style="text-align:right; "/>
  579. <col ref="pid" visibility="hidden"/>
  580. <col ref="prcpcd" visibility="hidden"/>
  581. <script type="javascript" ev:event="ondblclick">
  582. <![CDATA[
  583. var currow = grd_anad.row;
  584. var curcol = grd_anad.col;
  585. if( grd_anad.isCell(event.target) && grd_anad.row >= grd_anad.fixedRows ) {
  586. inputEnterKey("btn_saveanad", "DOMActivate");
  587. }
  588. ]]>
  589. </script>
  590. <script type="javascript" ev:event="onkeyup">
  591. <![CDATA[
  592. /*
  593. if (event.keyCode == '13') {
  594. //model.setValue("/root/main/tempanad/row["+grd_anad.row+"]/bfjudgcmt", grd_anad.valueMatrix(grd_anad.row,grd_anad.colRef("bfjudgcmt")).currentText.removeMask('\n'));
  595. var rowno = grd_anad.row;
  596. model.makeNode("/root/hidden/prcpdd");
  597. model.makeNode("/root/hidden/prcpno");
  598. model.makeNode("/root/hidden/bfjudgcmt");
  599. model.setValue("/root/hidden/prcpdd", grd_anad.valueMatrix(rowno, grd_anad.colRef("prcpdd")));
  600. model.setValue("/root/hidden/prcpno", grd_anad.valueMatrix(rowno, grd_anad.colRef("prcpno")));
  601. model.setValue("/root/hidden/bfjudgcmt", grd_anad.valueMatrix(rowno, grd_anad.colRef("bfjudgcmt")));
  602. submit("TXPIJ02901");
  603. model.refresh();
  604. }
  605. */
  606. ]]>
  607. </script>
  608. <script type="javascript" ev:event="onbuttonclick">
  609. <![CDATA[
  610. if(grd_anad.col == grd_anad.colRef("regmcdyn")) {
  611. var currow = grd_anad.row;
  612. model.setValue("/root/hidden/send_smppi01000/ioflag", grd_anad.valueMatrix(currow, grd_anad.colRef("genrflagcd")));
  613. model.setValue("/root/hidden/send_smppi01000/execdd", grd_anad.valueMatrix(currow, grd_anad.colRef("execdd")));
  614. model.setValue("/root/hidden/send_smppi01000/pid", grd_anad.valueMatrix(currow, grd_anad.colRef("pid")));
  615. model.setValue("/root/hidden/send_smppi01000/instcd", getUserInfo("dutplceinstcd"));
  616. modal("SMPPI01000", "1", "10", "10", "SMPPI01000","/root/hidden/send_smppi01000","/root/send");
  617. btn_srch.dispatch("DOMActivate");
  618. }
  619. ]]>
  620. </script>
  621. </datagrid>
  622. <button id="btn_savestnm" class="btn2_letter2" style="left:1100px; top:75px; width:42px; height:19px; ">
  623. <caption>수정</caption>
  624. <script type="javascript" ev:event="DOMActivate">
  625. <![CDATA[
  626. if ( grd_stnm.row >= grd_stnm.fixedRows ) {
  627. model.resetInstanceNode("/root/result/savetnmlist");
  628. model.resetInstanceNode("/root/result/savecncrlist");
  629. copyNodeType("/root/result/savetnmlist", "/root/main/tempstnm/row[" + grd_stnm.row + "]", "replace");
  630. model.setValue("/root/result/savetnmlist/status", "U");
  631. modal ( "SPMMO08400", "", "", "", "prcpdetl", "/root/result", "/root/tempresult", "", false );
  632. submit ( "TRPIJ02901" , true);
  633. if ( getParameter ( "SPMMO08400_rtn1" ) != "Y" ){
  634. return false;
  635. }
  636. model.refresh();
  637. } else {
  638. messageBox("리스트에서 선택후 버튼을 눌러주시기 바랍니다.", "I")
  639. }
  640. ]]>
  641. </script>
  642. </button>
  643. <button id="button1" visibility="hidden" style="left:725px; top:70px; width:55px; height:20px; ">
  644. <caption>button1</caption>
  645. <script type="javascript" ev:event="DOMActivate">
  646. <![CDATA[
  647. submit("TRPIJ02902", true);
  648. submit ( "TRPIJ02901" , true);
  649. fsetClolor();
  650. ]]>
  651. </script>
  652. </button>
  653. <button id="button2" class="btn2_letter6" style="left:1013px; top:75px; width:86px; height:19px; ">
  654. <caption>신규이력생성</caption>
  655. <script type="javascript" ev:event="DOMActivate">
  656. <![CDATA[
  657. if ( grd_stnm.row >= grd_stnm.fixedRows ) {
  658. model.resetInstanceNode("/root/result/savetnmlist");
  659. model.resetInstanceNode("/root/result/savecncrlist");
  660. copyNodeType("/root/result/savetnmlist", "/root/main/tempstnm/row[" + grd_stnm.row + "]", "replace");
  661. var diagcd = model.getValue("/root/result/savetnmlist/diagcd");
  662. if ( diagcd.substr(diagcd.indexOf(".")+1, 3) == "444" ) {
  663. messageBox("선택된 행은 (구)OCS의 데이터이므로 2008/10/03일 이후 데이터를 선택하여 신규이력생성 하시기바랍니다.", "I");
  664. return false;
  665. }
  666. model.setValue("/root/result/savetnmlist/status", "I");
  667. modal ( "SPMMO08400", "", "", "", "prcpdetl", "/root/result", "/root/tempresult", "", false );
  668. submit ( "TRPIJ02901" , true);
  669. if ( getParameter ( "SPMMO08400_rtn1" ) != "Y" ){
  670. return false;
  671. }
  672. model.refresh();
  673. } else {
  674. messageBox("리스트에서 선택후 버튼을 눌러주시기 바랍니다.", "I")
  675. }
  676. ]]>
  677. </script>
  678. </button>
  679. <button id="button3" class="btn5_letter2" style="left:1102px; top:230px; width:42px; height:19px; ">
  680. <caption>저장</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. model.resetInstanceNode("/root/send/temp");
  684. if ( messageBox("","Q002")==6 ) {
  685. var update = getGridUpdateData(grd_anad);
  686. if(update == ""){
  687. messageBox("업데이트 정보가 없습니다.", "I");
  688. return 0;
  689. } else {
  690. model.setValue("/root/send/temp", update);
  691. submit("TXPIJ02901");
  692. }
  693. }
  694. btn_srch.dispatch("DOMActivate");
  695. ]]>
  696. </script>
  697. </button>
  698. <button id="button4" class="btn2_letter6" style="left:950px; top:230px; width:86px; height:19px; ">
  699. <caption>제외코드관리</caption>
  700. <script type="javascript" ev:event="DOMActivate">
  701. <![CDATA[
  702. open("SMPIJ02901")
  703. ]]>
  704. </script>
  705. </button>
  706. <bool id="bool2" checkvalue="Y,N" ref="/root/init/srchcond/prcpyn" style="left:694px; top:37px; width:25px; height:20px; "/>
  707. <caption id="caption11" style="left:715px; top:37px; width:105px; height:20px; ">
  708. <![CDATA[처방제외코드포함]]>
  709. <script type="javascript" ev:event="onclick">
  710. <![CDATA[
  711. if ( bool2.value == "Y" )
  712. model.setValue("/root/init/srchcond/dcsrch", "N");
  713. else
  714. model.setValue("/root/init/srchcond/dcsrch", "Y");
  715. model.refresh();
  716. ]]>
  717. </script>
  718. </caption>
  719. <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:1037px; top:230px; width:64px; height:19px; ">
  720. <caption>엑셀저장</caption>
  721. <script type="javascript" ev:event="DOMActivate">
  722. <![CDATA[
  723. //grd_anad.gridToInstance();
  724. if (grd_anad.rows > 1) {
  725. var fileName = window.fileDialog("save", "", false, caption6.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  726. if (fileName != "") {
  727. grd_anad.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;col_1:label;col_10:label;col_13:label;", true, true, "", "", true);
  728. } } else {
  729. messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  730. }
  731. ]]>
  732. </script>
  733. </button>
  734. <caption id="caption12" ref="/root/main/adjuvantlist/row/flag" style="left:175px; top:10px; width:25px; height:19px; font-weight:bold; color:#ff0000; text-align:center; ">
  735. <![CDATA[]]>
  736. <hint>
  737. <![CDATA[Adjuvant 등록환자 입니다.]]>
  738. </hint>
  739. <script type="javascript" ev:event="onclick">
  740. <![CDATA[
  741. if (model.getValue("/root/main/adjuvantlist/row/flag") == "A"){
  742. open("SMPPI00800");
  743. }
  744. ]]>
  745. </script>
  746. </caption>
  747. </xhtml:body>
  748. </xhtml:html>