SPABO60700_제대혈조혈모세포이식요양급여신청서.xrw 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122
  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. <baseinfo>
  11. <appinfo1>
  12. <jreqyn/>
  13. <ageexcsyn>5</ageexcsyn>
  14. <refreqyn/>
  15. <hngnm/>
  16. <age/>
  17. <sex/>
  18. <rrgstno1/>
  19. <rrgstno2/>
  20. <forgneryn/>
  21. <diagcd/>
  22. <diagnm/>
  23. <insuflag/>
  24. <insuflagnm/>
  25. <fstexamdd/>
  26. <trnptschedd1/>
  27. <trnptschedd2/>
  28. <fstexamtisscmt/>
  29. <lastchemexecdd/>
  30. <fsttissdd/>
  31. <fsttisscmt/>
  32. <scndtissdd/>
  33. <scndtisscmt/>
  34. <anticncr/>
  35. <tisscmt/>
  36. <blodrec/>
  37. <bfcure1/>
  38. <bfcure2/>
  39. <fcstprgno>양호</fcstprgno>
  40. <tisspata1/>
  41. <tisspata2/>
  42. <tisspatb1/>
  43. <tisspatb2/>
  44. <tisspatdr1/>
  45. <tisspatdr2/>
  46. <trnptdg/>
  47. <patbdwt/>
  48. <appdd/>
  49. <hospnm/>
  50. <atdoctid/>
  51. <atdoctnm/>
  52. <etcrem/>
  53. <pid/>
  54. <rgstseq/>
  55. <appflag/>
  56. <iudgb/>
  57. <trnptkindcd1/>
  58. <trnptkindcd2/>
  59. </appinfo1>
  60. <dnorinfo>
  61. <dnorflag/>
  62. <dnorid/>
  63. <dnorrrgstno/>
  64. <tissdnora/>
  65. <tissdnora2/>
  66. <tissdnorb/>
  67. <tissdnorb2/>
  68. <tissdnordr/>
  69. <tissdnordr2/>
  70. <valicellcnt/>
  71. <benicellcnt/>
  72. <pid/>
  73. <rgstseq/>
  74. <appflag/>
  75. <dnorseqno/>
  76. </dnorinfo>
  77. <paminsuflag>
  78. <insuflag/>
  79. <insuflagnm/>
  80. </paminsuflag>
  81. </baseinfo>
  82. <hsctinfo>
  83. <patinfolist>
  84. <hngnm/>
  85. <rrgstno1/>
  86. <rrgstno2/>
  87. <sex/>
  88. <age/>
  89. <pid/>
  90. </patinfolist>
  91. </hsctinfo>
  92. <popupendflag/>
  93. <item>
  94. <rgstseq/>
  95. <maxrgstseq/>
  96. </item>
  97. <trnptsrchinfo>
  98. <srchdetlinfo>
  99. <a1/>
  100. <a2/>
  101. <b1/>
  102. <b2/>
  103. <cw1/>
  104. <cw2/>
  105. <drb11/>
  106. <drb12/>
  107. </srchdetlinfo>
  108. </trnptsrchinfo>
  109. </main>
  110. <send>
  111. <req>
  112. <pid/>
  113. <rgstseq/>
  114. <appflag>3</appflag>
  115. <trnptflag>C</trnptflag>
  116. </req>
  117. <execdata>
  118. <appinfo1/>
  119. <dnorinfo/>
  120. </execdata>
  121. </send>
  122. <init>
  123. <cmbinfo>
  124. <sex>
  125. <P0313>
  126. <cdid/>
  127. <cdnm/>
  128. </P0313>
  129. </sex>
  130. <insuflag>
  131. <P0008>
  132. <cdid/>
  133. <cdnm/>
  134. </P0008>
  135. </insuflag>
  136. <scs>
  137. <A0159>
  138. <chk/>
  139. <cdid/>
  140. <cdnm/>
  141. </A0159>
  142. </scs>
  143. <diagcd/>
  144. <fstexamtisscmt/>
  145. <anticncr/>
  146. <tisscmt/>
  147. <bfcure1/>
  148. <boneassocd2>
  149. <A0164>
  150. <cdid/>
  151. <cdnm/>
  152. </A0164>
  153. </boneassocd2>
  154. <trnptkindcd>
  155. <A0161>
  156. <cdid/>
  157. <cdnm/>
  158. </A0161>
  159. </trnptkindcd>
  160. </cmbinfo>
  161. </init>
  162. <hidden>
  163. <psex/>
  164. <pinsuflag/>
  165. <pscs/>
  166. <hlainfo>
  167. <hlalist>
  168. <chk/>
  169. <dnorflag/>
  170. <dnorid/>
  171. <dnorrrgstno/>
  172. <tissdnora/>
  173. <tissdnora2/>
  174. <tissdnorb/>
  175. <tissdnorb2/>
  176. <tissdnordr/>
  177. <tissdnordr2/>
  178. <pid/>
  179. <trnptdg/>
  180. <appflag/>
  181. </hlalist>
  182. </hlainfo>
  183. <ret>
  184. <item/>
  185. </ret>
  186. </hidden>
  187. <temp>
  188. <tisscmtlist>
  189. <tisscmt>
  190. <cdid>01</cdid>
  191. <cdnm>Complete Remission</cdnm>
  192. </tisscmt>
  193. <tisscmt>
  194. <cdid>02</cdid>
  195. <cdnm>InComplete Remission</cdnm>
  196. </tisscmt>
  197. </tisscmtlist>
  198. <bmtpatientinfo/>
  199. <paminfo/>
  200. <tempcodeinfo/>
  201. <tempcodeinfo2/>
  202. <rgstseqlist>
  203. <rgstseq>
  204. <cdnm/>
  205. <cdid/>
  206. </rgstseq>
  207. </rgstseqlist>
  208. </temp>
  209. <rgstseqlist>
  210. <rgstseq>
  211. <cdnm/>
  212. <cdid/>
  213. </rgstseq>
  214. <maxrgstseq/>
  215. </rgstseqlist>
  216. </root>
  217. </instance>
  218. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  219. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  220. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  221. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  222. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  223. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  224. <submission id="TRABO00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/hsctinfo"/>
  225. <submission id="TRABO60501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/baseinfo"/>
  226. <submission id="TXABO60501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" replace="instance" resultref="/root/hidden/ret"/>
  227. <submission id="TXABO60502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  228. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  229. <script type="javascript" ev:event="xforms-ready">
  230. <![CDATA[
  231. //zbcfGetCodeList( new Array("P0313", "P0008", "A0530", "A0531", "A0532", "A0533", "A0534", "A0164"), new Array("/root/init/cmbinfo/sex", "/root/init/cmbinfo/insuflag", "/root/init/cmbinfo/diagcd", "/root/init/cmbinfo/fstexamtisscmt", "/root/init/cmbinfo/anticncr", "/root/init/cmbinfo/tisscmt", "/root/init/cmbinfo/bfcure1", "/root/init/cmbinfo/boneassocd2"));
  232. zbcfGetCodeList( new Array("P0313", "P0008"), new Array("/root/init/cmbinfo/sex", "/root/init/cmbinfo/insuflag"));
  233. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  234. aboGetCodeList(new Array("A0530", "A0531", "A0532", "A0533", "A0534", "A0164", "A0161"), new Array("/root/init/cmbinfo/diagcd", "/root/init/cmbinfo/fstexamtisscmt", "/root/init/cmbinfo/anticncr", "/root/init/cmbinfo/tisscmt", "/root/init/cmbinfo/bfcure1", "/root/init/cmbinfo/boneassocd2", "/root/init/cmbinfo/trnptkindcd"));
  235. model.setValue("/root/send/req/appflag", "3");
  236. // submit("TRABO60505"); // 등록순번 조회
  237. // model.setValue("/root/main/baseinfo/appinfo1",model.getValue( "/root/main/item/rgstseq"));
  238. // common.js
  239. if (checkOpener()) { //opener 검사
  240. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  241. if(param != "") { // opener parameter value가 있는 경우
  242. //parameter value를 이용하여 프로그램 수행
  243. condarray = param.split("▦");
  244. model.setValue("/root/main/hsctinfo/patinfolist/pid" , condarray[0]);
  245. model.setValue("/root/send/req/rgstseq", condarray[1]);
  246. model.setValue("/root/main/item/rgstseq", condarray[1]);
  247. fGetPatientInfo();
  248. return;
  249. }
  250. }
  251. // Opener에서 받은 파라미터가 없으면 Top 정보를 참조한다.
  252. var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  253. //원무 정보(기본 정보)가 있는 경우
  254. if(paminfo != "") {
  255. model.removeNodeset("/root/temp/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
  256. model.makeNode("/root/temp/paminfo");
  257. setCSVToNode("/root/temp/paminfo", paminfo);
  258. //상단 정보를 이용하여 프로그램 수행
  259. var pid = model.getValue("/root/temp/paminfo" + "/list/pid");
  260. model.setValue( "/root/main/hsctinfo/patinfolist/pid", pid);
  261. fGetPatientInfo();
  262. } else {
  263. // Top 정보도 없으면 세션에 저장된 PID정보를 가져옴.
  264. var gv_pid = getGlobalVariable("gv_pid", "A");
  265. if(gv_pid != "") {
  266. model.setValue("/root/main/hsctinfo/patinfolist/pid", gv_pid);
  267. fGetPatientInfo();
  268. }
  269. }
  270. //타부서에서는 버튼 비활성화
  271. btn_save.disabled = !checkAuth("X");
  272. btn_del.disabled = !checkAuth("X");
  273. model.refresh();
  274. ]]>
  275. </script>
  276. <submission id="TRABO60505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/rgstseqlist"/>
  277. </model>
  278. <script type="javascript">
  279. <![CDATA[
  280. /* @group : 동종조혈모세포이식요양급여신청서
  281. * @ver : 2007.11.20
  282. * @by : 박중규
  283. * @type : function
  284. * @access : public
  285. * @desc : 요양급여신청서 내용 조회
  286. * @param :
  287. */
  288. function fGetPatientInfo(){
  289. model.resetInstanceNode("/root/main/baseinfo/appinfo1");
  290. model.removeNodeset("/root/main/baseinfo/dnorinfo");
  291. model.setValue("/root/send/req/pid",model.getValue( "/root/main/hsctinfo/patinfolist/pid"));
  292. model.setValue("/root/send/req/rgstseq",model.getValue( "/root/main/item/rgstseq"));
  293. if ( submit("TRABO00001") ) {
  294. submit("TRABO60501");
  295. fSetDisplay();
  296. model.resetInstanceNode("/root/temp/bmtpatientinfo");
  297. submit("TRABO60505"); // 등록순번 조회
  298. }
  299. }
  300. /* @group : 동종조혈모세포이식요양급여신청서
  301. * @ver : 2007.11.20
  302. * @by : 박중규
  303. * @type : function
  304. * @access : public
  305. * @desc : 조회된 요양급여신청서 화면 표시
  306. * @param :
  307. */
  308. function fSetDisplay(){
  309. btn_save.disabled = false;
  310. btn_del.disabled = false;
  311. if (model.getValue("/root/main/baseinfo/appinfo1/pid") == ""){
  312. model.setValue("/root/send/req/appflag", "3");
  313. btn_del.disabled = true;
  314. }
  315. if (model.getValue("/root/main/baseinfo/dnorinfo[" + 1 + "]/dnorflag") == ""){
  316. model.removeNodeset("/root/main/baseinfo/dnorinfo");
  317. }
  318. // 보험구분(유형)은 원무에서 가져오자.
  319. if ( model.getValue("/root/main/baseinfo/appinfo1/insuflag") == "" && model.getValue("/root/main/baseinfo/paminsuflag/insuflag") != "") {
  320. model.setValue("/root/main/baseinfo/appinfo1/insuflag" , model.getValue("/root/main/baseinfo/paminsuflag/insuflag"));
  321. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", model.getValue("/root/main/baseinfo/paminsuflag/insuflagnm"));
  322. }
  323. // 해당 차수에 데이터를 조회한 후에 신청일자가 없으면 현재일자를 기본으로 해준다.
  324. if ( model.getValue("/root/main/baseinfo/appinfo1/appdd") == "" ) {
  325. model.setValue("/root/main/baseinfo/appinfo1/appdd", getCurrentDate());
  326. }
  327. model.refresh();
  328. }
  329. /* @group : 동종조혈모세포이식요양급여신청서
  330. * @ver : 2007.11.20
  331. * @by : 박중규
  332. * @type : function
  333. * @access : public
  334. * @desc : 요양급여신청서 내용을 저장
  335. * @param :
  336. */
  337. function fSaveData(){
  338. if (fDataCheck() == false){
  339. return;
  340. }
  341. model.resetInstanceNode("/root/send/execdata/appinfo1");
  342. model.resetInstanceNode("/root/send/execdata/dnorinfo");
  343. model.copyNode("/root/send/execdata/appinfo1", "/root/main/baseinfo/appinfo1");
  344. var nodelist = instance1.selectNodes("/root/rgstseqlist/rgstseq/cdnm");
  345. var yesno = messageBox("신규로 저장하시겠습니까?", "S002"); // 6:yes, 7:no, 2:cancel
  346. if (yesno == "6"){
  347. //새로운 등록순번으로 신규저장
  348. model.setValue("/root/send/execdata/appinfo1/iudgb", "I");
  349. var maxrgstseq = new Number(model.getvalue("/root/main/item/maxrgstseq"));
  350. if( maxrgstseq < 1 ){
  351. maxrgstseq = 0;
  352. }
  353. var newrgstseq = maxrgstseq + 1;
  354. model.setValue("/root/send/execdata/appinfo1/rgstseq", newrgstseq);
  355. model.setValue("/root/main/item/rgstseq", newrgstseq);
  356. model.setValue("/root/send/req/rgstseq", newrgstseq);
  357. if(model.getValue("/root/main/baseinfo/appinfo1/forgneryn") == ""){
  358. model.setValue("/root/main/baseinfo/appinfo1/forgneryn", "N");
  359. }
  360. if(model.getValue("/root/main/baseinfo/appinfo1/metstasyn") == ""){
  361. model.setValue("/root/main/baseinfo/appinfo1/metstasyn", "N");
  362. }
  363. if(model.getValue("/root/main/baseinfo/appinfo1/reapyn") == ""){
  364. model.setValue("/root/main/baseinfo/appinfo1/reapyn", "N");
  365. }
  366. if(model.getValue("/root/main/baseinfo/appinfo1/refra") == ""){
  367. model.setValue("/root/main/baseinfo/appinfo1/refra", "N");
  368. }
  369. var m = "";
  370. var rownum = "";
  371. var dnorflag = "";
  372. var dnorid = "";
  373. var dnorage = "";
  374. var dnorsex = "";
  375. var dnorrrgstno = "";
  376. var tissdnora = "";
  377. var tissdnora2 = "";
  378. var tissdnorb = "";
  379. var tissdnorb2 = "";
  380. var tissdnordr = "";
  381. var tissdnordr2 = "";
  382. var pid = "";
  383. var rgstseq = "";
  384. var appflag = "";
  385. var dnorseqno = "";
  386. var nodelist = instance1.selectNodes("/root/main/baseinfo/dnorinfo");
  387. if (nodelist.length >= 1){
  388. var sflag = "m" + "▦" +
  389. "rownum" + "▦" +
  390. "dnorflag" + "▦" +
  391. "dnorid" + "▦" +
  392. "dnorage" + "▦" +
  393. "dnorsex" + "▦" +
  394. "dnorrrgstno" + "▦" +
  395. "tissdnora" + "▦" +
  396. "tissdnora2" + "▦" +
  397. "tissdnorb" + "▦" +
  398. "tissdnorb2" + "▦" +
  399. "tissdnordr" + "▦" +
  400. "tissdnordr2" + "▦" +
  401. "pid" + "▦" +
  402. "rgstseq" + "▦" +
  403. "appflag" + "▦" +
  404. "dnorseqno" + "▩" ;
  405. for(var i = 1; i <= nodelist.length; i++){
  406. m = model.getValue("/root/main/baseinfo/dnorinfo["+ i+"]/m");
  407. rownum = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/rownum");
  408. dnorflag = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/dnorflag");
  409. dnorid = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/dnorid");
  410. dnorage = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/dnorage");
  411. dnorsex = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/dnorsex");
  412. dnorrrgstno = model.getValue("/root/main/baseinfo/dnorinfo["+ i+"]/dnorrrgstno");
  413. tissdnora = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/tissdnora");
  414. tissdnora2 = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/tissdnora2");
  415. tissdnorb = model.getValue("/root/main/baseinfo/dnorinfo["+ i+"]/tissdnorb");
  416. tissdnorb2 = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/tissdnorb2");
  417. tissdnordr = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/tissdnordr");
  418. tissdnordr2 = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/tissdnordr2");
  419. pid = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/pid");
  420. // rgstseq = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/rgstseq");
  421. appflag = model.getValue("/root/main/baseinfo/dnorinfo["+ i+"]/appflag");
  422. dnorseqno = model.getValue("/root/main/baseinfo/dnorinfo["+ i +"]/dnorseqno");
  423. sflag = sflag + "i" + "▦" +
  424. rownum + "▦" +
  425. dnorflag + "▦" +
  426. dnorid + "▦" +
  427. dnorage + "▦" +
  428. dnorsex + "▦" +
  429. dnorrrgstno + "▦" +
  430. tissdnora + "▦" +
  431. tissdnora2 + "▦" +
  432. tissdnorb + "▦" +
  433. tissdnorb2 + "▦" +
  434. tissdnordr + "▦" +
  435. tissdnordr2 + "▦" +
  436. pid + "▦" +
  437. newrgstseq + "▦" +
  438. appflag + "▦" +
  439. dnorseqno + "▩" ;
  440. }
  441. model.setValue("/root/send/execdata/dnorinfo", sflag );
  442. }
  443. if ( submit("TXABO60501") ) {
  444. submit("TRABO60505"); // 등록순번 조회
  445. model.setValue ( "/root/main/item/rgstseq", model.getValue("/root/rgstseqlist/rgstseq/cdid"));
  446. model.setValue ("/root/main/item/maxrgstseq", model.getValue("/root/main/item/rgstseq"));
  447. // 정상적으로 신규 저장되었을 때 등록일련번호를 Check한다.
  448. if ( model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") == "" && model.getValue("/root/send/execdata/appinfo1/rgstseq") != "" ) {
  449. model.setValue("/root/send/req/rgstseq", model.getValue("/root/main/item//rgstseq"));
  450. // model.setValue("/root/send/req/rgstseq", model.getValue("/root/hidden/ret/item/rgstseq"));
  451. model.refresh();
  452. }
  453. fSetDisplay();
  454. }
  455. } else if (yesno == "7"){
  456. //기존 등록순번 수정.
  457. model.setValue("/root/send/execdata/dnorinfo", grd_dnorinfo.getUpdateData());
  458. if (nodelist.length < 1) {
  459. messageBox("기 등록된 이력이 없습니다. 신규 저장 하십시오." , "E999" );
  460. return;
  461. }
  462. model.setValue("/root/send/execdata/appinfo1/iudgb", "U");
  463. if(model.getValue("/root/main/baseinfo/appinfo1/forgneryn") == ""){
  464. model.setValue("/root/main/baseinfo/appinfo1/forgneryn", "N");
  465. }
  466. if(model.getValue("/root/main/baseinfo/appinfo1/metstasyn") == ""){
  467. model.setValue("/root/main/baseinfo/appinfo1/metstasyn", "N");
  468. }
  469. if(model.getValue("/root/main/baseinfo/appinfo1/reapyn") == ""){
  470. model.setValue("/root/main/baseinfo/appinfo1/reapyn", "N");
  471. }
  472. if(model.getValue("/root/main/baseinfo/appinfo1/refra") == ""){
  473. model.setValue("/root/main/baseinfo/appinfo1/refra", "N");
  474. }
  475. if ( submit("TXABO60501") ) {
  476. if ( model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") == "" && model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") != "" ) {
  477. model.setValue("/root/send/req/rgstseq", model.getValue("/root/main/item//rgstseq"));
  478. // model.setValue("/root/send/req/rgstseq", model.getValue("/root/hidden/ret/item/rgstseq"));
  479. model.refresh();
  480. }
  481. fSetDisplay();
  482. }
  483. } else {
  484. //취소
  485. }
  486. fGetPatientInfo();
  487. return;
  488. /*
  489. if( messageBox("등록순번을 새로 " , "Q002" ) == 6 ){
  490. model.setValue("/root/send/execdata/appinfo1/iudgb", "I");
  491. var maxrgstseq = new Number(model.getvalue("/root/main/item/maxrgstseq"));
  492. if( maxrgstseq < 1 ){
  493. maxrgstseq = 0;
  494. }
  495. var newrgstseq = maxrgstseq + 1;
  496. model.setValue("/root/send/execdata/appinfo1/rgstseq", newrgstseq);
  497. model.setValue("/root/main/item/rgstseq", newrgstseq);
  498. model.setValue("/root/send/req/rgstseq", newrgstseq);
  499. if ( submit("TXABO60501") ) {
  500. submit("TRABO60505"); // 등록순번 조회
  501. model.setValue ( "/root/main/item/rgstseq", model.getValue("/root/rgstseqlist/rgstseq/cdid"));
  502. model.setValue ("/root/main/item/maxrgstseq", model.getValue("/root/main/item/rgstseq"));
  503. // 정상적으로 신규 저장되었을 때 등록일련번호를 Check한다.
  504. if ( model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") == "" && model.getValue("/root/send/execdata/appinfo1/rgstseq") != "" ) {
  505. model.setValue("/root/send/req/rgstseq", model.getValue("/root/main/item//rgstseq"));
  506. // model.setValue("/root/send/req/rgstseq", model.getValue("/root/hidden/ret/item/rgstseq"));
  507. model.refresh();
  508. }
  509. fSetDisplay();
  510. }
  511. }else if(nodelist.length >=1){
  512. if( messageBox("선택한 등록순번으로 " , "Q002" ) == 6 ){
  513. model.setValue("/root/send/execdata/appinfo1/iudgb", "U");
  514. if ( submit("TXABO60501") ) {
  515. if ( model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") == "" && model.getValue("/root/main/baseinfo/dnorinfo/rgstseq") != "" ) {
  516. model.setValue("/root/send/req/rgstseq", model.getValue("/root/main/item//rgstseq"));
  517. // model.setValue("/root/send/req/rgstseq", model.getValue("/root/hidden/ret/item/rgstseq"));
  518. model.refresh();
  519. }
  520. fSetDisplay();
  521. }
  522. }
  523. }
  524. */
  525. model.refresh();
  526. }
  527. function fDelData(){
  528. if( messageBox("신청내용을 " , "Q001" ) == 6 ){
  529. submit("TXABO60502");
  530. if (model.getValue("root/properties/error/description") == ""){
  531. messageBox(model.getValue("root/properties/error/msg"), "E999", "");
  532. fSetDisplay();
  533. }
  534. }
  535. var rgstseq = new Number( model.getValue( "/root/main/item/rgstseq"));
  536. model.setValue("/root/main/item/rgstseq", "");
  537. var nodelist = instance1.selectNodes("/root/rgstseqlist/rgstseq/cdnm");
  538. for(var i = 1; i <= nodelist.length; i++){
  539. model.makeValue("/root/temp/rgstseqlist/rgstseq[" + i + "]/cdnm", model.getValue("/root/rgstseqlist/rgstseq[" + i + "]/cdnm"));
  540. model.makeValue("/root/temp/rgstseqlist/rgstseq[" + i + "]/cdid", model.getValue("/root/rgstseqlist/rgstseq[" + i + "]/cdid"));
  541. }
  542. model.removenode("/root/rgstseqlist/rgstseq");
  543. var k = nodelist.length-1;
  544. for(var j = nodelist.length-1; j >1; j--){
  545. if( model.getValue("/root/gstseqlist/rgstseq[" + j + "]/cdnm") != rgstseq){
  546. k--;
  547. model.makeValue("/root/rgstseqlist/rgstseq[" + k + "]/cdnm", model.getValue("/root/temp/rgstseqlist/rgstseq[" + j + "]/cdnm"));
  548. model.makeValue("/root/rgstseqlist/rgstseq[" + k + "]/cdid", model.getValue("/root/temp/rgstseqlist/rgstseq[" + j + "]/cdid"));
  549. }
  550. }
  551. model.removeNodeset("/root/main/baseinfo/appinfo1");
  552. model.refresh();
  553. }
  554. /* @group : 동종조혈모세포이식요양급여신청서
  555. * @ver : 2008.01.24
  556. * @by : 박중규
  557. * @-----------------------------------
  558. * @type : function
  559. * @access : public
  560. * @desc : 저장할 때 날짜 형식의 데이터 오류 및 필수 항목 체크
  561. */
  562. function fDataCheck() {
  563. if (model.getValue("/root/main/baseinfo/appinfo1/hngnm") == ""){
  564. model.setValue ( "/root/main/item/rgstseq", model.getValue("/root/rgstseqlist/rgstseq/cdid"));
  565. messageBox("성명은 필수 입력항목입니다.", "E999", "");
  566. return false;
  567. }
  568. if (model.getValue("/root/main/item/rgstseq") == ""){
  569. model.setValue ( "/root/main/item/rgstseq", "1");
  570. }
  571. var juminno = model.getValue("/root/main/baseinfo/appinfo1/rrgstno1") + model.getValue("/root/main/baseinfo/appinfo1/rrgstno2");
  572. if (isResidentNo(juminno) == false){
  573. if( messageBox("주민번호가 잘못 입력되었습니다. 해당 주민번호 내용을 " , "Q003" ) == 7 ){
  574. return false;
  575. }
  576. }
  577. if (model.getValue("/root/main/baseinfo/appinfo1/fstexamdd") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/fstexamdd")) == false) {
  578. messageBox("초진일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  579. return false;
  580. }
  581. if (model.getValue("/root/main/baseinfo/appinfo1/trnptschedd1") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/trnptschedd1")) == false) {
  582. messageBox("조혈모세포이식시행(예정)일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  583. return false;
  584. }
  585. if (model.getValue("/root/main/baseinfo/appinfo1/lastchemexecdd") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/lastchemexecdd")) == false) {
  586. messageBox("최종공고 항암화학요법 시행일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  587. return false;
  588. }
  589. if (model.getValue("/root/main/baseinfo/appinfo1/fsttissdd") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/fsttissdd")) == false) {
  590. messageBox("1차관해 확인일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  591. return false;
  592. }
  593. if (model.getValue("/root/main/baseinfo/appinfo1/scndtissdd") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/scndtissdd")) == false) {
  594. messageBox("2차관해 확인일의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  595. return false;
  596. }
  597. if (model.getValue("/root/main/baseinfo/appinfo1/appdd") != "" && isValidDateTime(model.getValue("/root/main/baseinfo/appinfo1/appdd")) == false) {
  598. messageBox("신청일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  599. return false;
  600. }
  601. for (var i = 1; i < grd_dnorinfo.rows; i++){
  602. if (model.getValue("/root/main/baseinfo/dnorinfo[" + i + "]/dnorid") == ""){
  603. messageBox("성명/기관명은 필수 입력항목입니다.", "E999", "");
  604. return false;
  605. }
  606. }
  607. return true;
  608. }
  609. ]]>
  610. </script>
  611. </xhtml:head>
  612. <xhtml:body pagewidth="1050" pageheight="900" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  613. <group id="grp_tle" style="left:0px; top:0px; width:825px; height:13px; ">
  614. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">제대혈 조혈모세포이식 요양급여신청서</caption>
  615. </group>
  616. <group id="grp_btn" style="left:0px; top:13px; width:990px; height:27px; ">
  617. <button id="btn_del" class="btn4_letter2" disabled="true" navindex="43" style="left:919px; top:3px; width:56px; height:22px; ">
  618. <caption>삭제</caption>
  619. <script type="javascript" ev:event="onclick">
  620. <![CDATA[
  621. fDelData();
  622. ]]>
  623. </script>
  624. </button>
  625. <button id="btn_save" class="btn4_letter2" disabled="true" navindex="42" style="left:860px; top:3px; width:56px; height:22px; ">
  626. <caption>저장</caption>
  627. <script type="javascript" ev:event="DOMActivate">
  628. <![CDATA[
  629. fSaveData();
  630. ]]>
  631. </script>
  632. </button>
  633. <button id="button1" class="btn6_letter2" style="left:5px; top:3px; width:56px; height:22px; ">
  634. <caption>출력</caption>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. if(radio2.disabled == true){
  638. model.setValue("/root/main/baseinfo/appinfo1/ageexcsyn", "0");
  639. }
  640. // if(model.getValue("/root/main/baseinfo/appinfo1/forgneryn") == "Y"){
  641. // model.setValue("/root/main/baseinfo/appinfo1/rrgstno1", "");
  642. // model.setValue("/root/main/baseinfo/appinfo1/rrgstno2", "");
  643. // }
  644. exeReportPreview("RPABO60701", "XMLSTR", "/root/main/baseinfo");
  645. if(radio2.disabled == true){
  646. model.setValue("/root/main/baseinfo/appinfo1/ageexcsyn", "4");
  647. }
  648. ]]>
  649. </script>
  650. </button>
  651. </group>
  652. <group id="group1" style="left:0px; top:40px; width:990px; height:855px; ">
  653. <caption id="caption11" style="left:633px; top:435px; width:208px; height:20px; ">DR( , )</caption>
  654. <caption id="caption12" class="cell_1" style="left:0px; top:435px; width:215px; height:23px; vertical-align:middle; ">14) 조직적합항원</caption>
  655. <caption id="caption71" style="left:258px; top:640px; width:158px; height:20px; ">kg</caption>
  656. <group id="grp_sea" style="left:0px; top:10px; width:974px; height:35px; vertical-align:top; ">
  657. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:974px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  658. <line id="line43" class="line_4" style="x1:882px; y1:6px; x2:882px; y2:28px; "/>
  659. <button id="btn_sea" class="btn1_letter2" navindex="3" style="left:898px; top:7px; width:56px; height:22px; ">
  660. <caption>조회</caption>
  661. <script type="javascript" ev:event="DOMActivate">
  662. <![CDATA[
  663. if (model.getValue("/root/send/req/pid") == ""){
  664. messageBox("등록번호는 선택 또는 입력 필수 항목입니다.", "E999", "");
  665. return;
  666. }
  667. fGetPatientInfo();
  668. ]]>
  669. </script>
  670. </button>
  671. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  672. <input id="ipt_pid" ref="/root/main/hsctinfo/patinfolist/pid" class="input_essential" editable="true" inputtype="button" maxlength="10" style="left:103px; top:8px; width:87px; height:19px; text-align:center; ">
  673. <script type="javascript" ev:event="onkeyup">
  674. <![CDATA[
  675. inputEnterKey("btn_sea", "DOMActivate");
  676. ]]>
  677. </script>
  678. <script type="javascript" ev:event="xforms-next">
  679. <![CDATA[
  680. model.setFocus( "ipt_pid");
  681. ]]>
  682. </script>
  683. <script type="javascript" ev:event="onbuttonclick">
  684. <![CDATA[
  685. // bmtcommon.js
  686. if ( abofGetBmtPatientSearch("/root/main/hsctinfo/patinfolist", "/root/temp/bmtpatientinfo") ) {
  687. model.setValue ( "/root/send/req/pid", model.getValue("/root/temp/bmtpatientinfo/pid"));
  688. submit("TRABO60505"); // 등록순번 조회
  689. model.setValue ( "/root/main/item/rgstseq", model.getValue("/root/rgstseqlist/rgstseq/cdid"));
  690. model.setValue ("/root/main/item/maxrgstseq", model.getValue("/root/main/item/rgstseq"));
  691. fGetPatientInfo();
  692. }
  693. ]]>
  694. </script>
  695. </input>
  696. <input id="input2" ref="/root/main/hsctinfo/patinfolist/sex" class="input_search" disabled="true" style="left:416px; top:8px; width:30px; height:19px; text-align:center; "/>
  697. <input id="input3" ref="/root/main/hsctinfo/patinfolist/age" class="input_search" disabled="true" style="left:449px; top:8px; width:30px; height:19px; text-align:center; "/>
  698. <input id="input4" ref="/root/main/hsctinfo/patinfolist/rrgstno2" class="input_search" disabled="true" style="left:359px; top:8px; width:55px; height:19px; text-align:center; "/>
  699. <input id="input5" ref="/root/main/hsctinfo/patinfolist/rrgstno1" class="input_search" disabled="true" style="left:298px; top:8px; width:52px; height:19px; text-align:center; "/>
  700. <input id="input6" ref="/root/main/hsctinfo/patinfolist/hngnm" class="input_search" disabled="true" style="left:210px; top:8px; width:85px; height:19px; text-align:center; "/>
  701. <caption id="caption2" style="left:350px; top:10px; width:10px; height:20px; ">-</caption>
  702. <caption id="caption4" class="search_name" style="left:510px; top:9px; width:86px; height:17px; ">등록순번 :</caption>
  703. <select1 id="combo1" ref="/root/main/item/rgstseq" appearance="minimal" style="left:599px; top:8px; width:60px; height:19px; ">
  704. <choices>
  705. <itemset nodeset="/root/rgstseqlist/rgstseq">
  706. <label ref="cdnm"/>
  707. <value ref="cdid"/>
  708. </itemset>
  709. </choices>
  710. <script type="javascript" ev:event="xforms-select">
  711. <![CDATA[
  712. if (model.getValue("/root/send/req/pid") == ""){
  713. messageBox("등록번호는 선택 또는 입력 필수 항목입니다.", "E999", "");
  714. return;
  715. }
  716. fGetPatientInfo();
  717. ]]>
  718. </script>
  719. </select1>
  720. </group>
  721. <line id="line23" class="line_1" style="x1:0px; y1:70px; x2:970px; y2:70px; "/>
  722. <caption id="caption64" class="tit_2" style="left:5px; top:55px; width:240px; height:13px; ">제대혈 조혈모세포이식 요양급여신청서</caption>
  723. <caption id="caption65" style="left:510px; top:75px; width:55px; height:20px; ">조회요청</caption>
  724. <caption id="caption66" style="left:25px; top:75px; width:55px; height:20px; ">심의의뢰</caption>
  725. <select1 id="radio2" ref="/root/main/baseinfo/appinfo1/ageexcsyn" navindex="5" appearance="full" cols="5" overflow="visible" style="left:100px; top:76px; width:375px; height:20px; border-style:none; ">
  726. <choices>
  727. <item>
  728. <label>연령초과</label>
  729. <value>1</value>
  730. </item>
  731. <item>
  732. <label>2차이식 이상</label>
  733. <value>2</value>
  734. </item>
  735. <item>
  736. <label>HLA mismatch</label>
  737. <value>3</value>
  738. </item>
  739. <item>
  740. <label>기타</label>
  741. <value>4</value>
  742. </item>
  743. </choices>
  744. </select1>
  745. <input id="ipt_insuflagnm" ref="/root/main/baseinfo/appinfo1/insuflagnm" navindex="17" visibility="hidden" maxlength="14" style="left:730px; top:150px; width:155px; height:19px; "/>
  746. <input id="ipt_rrgstno1" ref="/root/main/baseinfo/appinfo1/rrgstno1" class="input_default" navindex="10" maxlength="6" format="999999" style="left:730px; top:100px; width:80px; height:19px; text-align:center; "/>
  747. <input id="ipt_trnptschedd1" ref="/root/main/baseinfo/appinfo1/trnptschedd1" class="input_default" navindex="19" inputtype="date" format="yyyy-mm-dd" style="left:291px; top:388px; width:240px; height:19px; text-align:center; "/>
  748. <input id="ipt_rrgstno2" ref="/root/main/baseinfo/appinfo1/rrgstno2" class="input_default" navindex="11" maxlength="7" format="9999999" style="left:825px; top:100px; width:80px; height:19px; text-align:center; "/>
  749. <caption id="caption41" class="cell_1" style="left:0px; top:99px; width:215px; height:23px; vertical-align:middle; ">1) 성 명</caption>
  750. <input id="ipt_fstexamtisscmt" ref="/root/main/baseinfo/appinfo1/fstexamtisscmt" class="input_default" navindex="20" maxlength="80" style="left:218px; top:172px; width:306px; height:19px; "/>
  751. <caption id="caption54" class="cell_1" style="left:0px; top:243px; width:215px; height:23px; vertical-align:middle; ">8) 최종공고 항암화학요법 시행일</caption>
  752. <caption id="caption43" class="cell_1" style="left:0px; top:123px; width:215px; height:23px; vertical-align:middle; ">4) 진 단 명</caption>
  753. <caption id="caption1" style="left:930px; top:100px; width:38px; height:20px; ">외국인</caption>
  754. <caption id="caption55" class="cell_1" style="left:527px; top:99px; width:200px; height:23px; vertical-align:middle; ">3) 주민등록번호</caption>
  755. <caption id="caption45" class="cell_1" style="left:0px; top:147px; width:215px; height:23px; vertical-align:middle; ">6-1) 초 진 일</caption>
  756. <caption id="caption56" class="cell_1" style="left:527px; top:123px; width:200px; height:23px; vertical-align:middle; ">5) 보험구분</caption>
  757. <caption id="caption57" class="cell_1" style="left:0px; top:387px; width:215px; height:47px; vertical-align:middle; ">13) 이식시행(예정)일 및 이식방법</caption>
  758. <input id="ipt_age" ref="/root/main/baseinfo/appinfo1/age" class="input_default" navindex="8" maxlength="3" format="999" style="left:424px; top:100px; width:40px; height:19px; text-align:center; "/>
  759. <input id="ipt_hngnm" ref="/root/main/baseinfo/appinfo1/hngnm" class="input_default" navindex="7" maxlength="16" style="left:218px; top:100px; width:100px; height:19px; text-align:left; "/>
  760. <caption id="caption47" class="cell_1" style="left:0px; top:171px; width:215px; height:23px; vertical-align:middle; ">6-2) 초진시 조직소견</caption>
  761. <input id="ipt_lastchemexecdd" ref="/root/main/baseinfo/appinfo1/lastchemexecdd" class="input_default" navindex="21" inputtype="date" format="yyyy-mm-dd" style="left:218px; top:244px; width:240px; height:19px; text-align:center; "/>
  762. <caption id="caption58" class="cell_1" style="left:321px; top:99px; width:100px; height:23px; vertical-align:middle; ">2) 나이(성별)</caption>
  763. <select1 id="cmb_sex" ref="/root/main/baseinfo/appinfo1/sex" class="combo_default" navindex="9" appearance="minimal" style="left:465px; top:100px; width:59px; height:19px; ">
  764. <choices>
  765. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  766. <label ref="cdnm"/>
  767. <value ref="cdid"/>
  768. </itemset>
  769. </choices>
  770. </select1>
  771. <select1 id="cmb_insuflag" ref="/root/main/baseinfo/appinfo1/insuflag" class="combo_default" navindex="16" appearance="minimal" style="left:730px; top:124px; width:240px; height:19px; ">
  772. <choices>
  773. <itemset nodeset="/root/init/cmbinfo/insuflag/P0008">
  774. <label ref="cdnm"/>
  775. <value ref="cdid"/>
  776. </itemset>
  777. </choices>
  778. <script type="javascript" ev:event="xforms-value-changed">
  779. <![CDATA[
  780. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  781. model.refresh();
  782. ]]>
  783. </script>
  784. </select1>
  785. <input id="ipt_fstexamdd" ref="/root/main/baseinfo/appinfo1/fstexamdd" class="input_default" navindex="18" inputtype="date" format="yyyy-mm-dd" style="left:218px; top:148px; width:306px; height:19px; text-align:center; "/>
  786. <input id="ipt_diagnm" ref="/root/main/baseinfo/appinfo1/diagnm" class="input_default" disabled="true" navindex="15" maxlength="80" style="left:218px; top:124px; width:306px; height:19px; "/>
  787. <caption id="caption67" style="left:813px; top:100px; width:10px; height:20px; ">-</caption>
  788. <input id="ipt_blodrec" ref="/root/main/baseinfo/appinfo1/blodrec" class="input_default" navindex="28" maxlength="80" style="left:218px; top:364px; width:752px; height:19px; "/>
  789. <input id="ipt_fsttisscmt" ref="/root/main/baseinfo/appinfo1/fsttisscmt" class="input_default" navindex="23" maxlength="80" style="left:401px; top:196px; width:569px; height:19px; "/>
  790. <input id="ipt_anticncr" ref="/root/main/baseinfo/appinfo1/anticncr" class="input_default" navindex="26" maxlength="80" style="left:218px; top:268px; width:752px; height:19px; "/>
  791. <caption id="caption51" class="cell_1" style="left:0px; top:267px; width:215px; height:23px; vertical-align:middle; ">9) 관해유도 항암제</caption>
  792. <input id="ipt_scndtisscmt" ref="/root/main/baseinfo/appinfo1/scndtisscmt" class="input_default" navindex="25" maxlength="80" style="left:401px; top:220px; width:569px; height:19px; "/>
  793. <caption id="caption42" class="cell_1" style="left:0px; top:291px; width:215px; height:47px; vertical-align:middle; ">10) 전처치 방법</caption>
  794. <caption id="caption44" class="cell_1" visibility="hidden" style="left:0px; top:794px; width:215px; height:23px; vertical-align:middle; ">16) 예상되는 예후</caption>
  795. <input id="ipt_fsttissdd" ref="/root/main/baseinfo/appinfo1/fsttissdd" class="input_default" navindex="22" inputtype="date" format="yyyy-mm-dd" style="left:285px; top:196px; width:112px; height:19px; text-align:center; "/>
  796. <input id="ipt_fcstprgno" ref="/root/main/baseinfo/appinfo1/fcstprgno" class="input_default" navindex="42" visibility="hidden" maxlength="80" style="left:218px; top:795px; width:752px; height:19px; "/>
  797. <input id="ipt_scndtissdd" ref="/root/main/baseinfo/appinfo1/scndtissdd" class="input_default" navindex="24" inputtype="date" format="yyyy-mm-dd" style="left:285px; top:220px; width:112px; height:19px; text-align:center; "/>
  798. <caption id="caption48" class="cell_1" style="left:0px; top:634px; width:215px; height:23px; vertical-align:middle; ">16) 제대혈 세포수</caption>
  799. <input id="ipt_bfcure1" ref="/root/main/baseinfo/appinfo1/bfcure1" class="input_default" navindex="29" maxlength="80" style="left:330px; top:292px; width:640px; height:19px; "/>
  800. <caption id="caption38" class="cell_1" style="left:0px; top:339px; width:215px; height:23px; vertical-align:middle; ">11) 골수이식 전 조직소견</caption>
  801. <caption id="caption49" class="cell_1" style="left:0px; top:195px; width:215px; height:47px; vertical-align:middle; ">7) 관해 확인일 및 조직소견</caption>
  802. <caption id="caption39" class="cell_1" style="left:0px; top:363px; width:215px; height:23px; vertical-align:middle; ">12) 이식전 수혈기록 및 혈액학적 소견</caption>
  803. <input id="ipt_tisscmt" ref="/root/main/baseinfo/appinfo1/tisscmt" class="input_default" navindex="27" maxlength="80" style="left:218px; top:340px; width:752px; height:19px; "/>
  804. <button id="btn_anticncr" class="btn2_letter8" style="left:22px; top:269px; width:108px; height:19px; ">
  805. <caption>관해유도 항암제</caption>
  806. <script type="javascript" ev:event="onclick">
  807. <![CDATA[
  808. // bmtcommon.js
  809. abofOpenPopupMedCare("/root/init/cmbinfo/anticncr" , "Y", "/root/main/cmbinfo/A0532", "/root/main/baseinfo/appinfo1/anticncr", "", btn_anticncr.text);
  810. ]]>
  811. </script>
  812. </button>
  813. <button id="btn_fstexamtisscmt" class="btn2_letter8" style="left:33px; top:172px; width:108px; height:19px; ">
  814. <caption>초진시 조직소견</caption>
  815. <script type="javascript" ev:event="onclick">
  816. <![CDATA[
  817. // bmtcommon.js
  818. abofOpenPopupMedCare("/root/init/cmbinfo/fstexamtisscmt" , "N", "/root/main/cmbinfo/A0531", "/root/main/baseinfo/appinfo1/fstexamtisscmt", "", btn_fstexamtisscmt.text);
  819. ]]>
  820. </script>
  821. </button>
  822. <button id="btn_bfcure1" class="btn2_letter8" style="left:218px; top:291px; width:86px; height:19px; ">
  823. <caption>1차 이식시 전처치</caption>
  824. <script type="javascript" ev:event="onclick">
  825. <![CDATA[
  826. // bmtcommon.js
  827. abofOpenPopupMedCare("/root/init/cmbinfo/bfcure1" , "Y", "/root/main/cmbinfo/A0534", "/root/main/baseinfo/appinfo1/bfcure1", "", btn_bfcure1.text);
  828. ]]>
  829. </script>
  830. </button>
  831. <button id="button8" class="btn2_letter15" style="left:25px; top:364px; width:185px; height:19px; ">
  832. <caption>이식전 수혈기록 및 혈액학적 소견</caption>
  833. <script type="javascript" ev:event="onclick">
  834. <![CDATA[
  835. // bmtcommon.js
  836. abofOpenPopupMedCare2("/root/main/baseinfo/appinfo1/blodrec");
  837. ]]>
  838. </script>
  839. </button>
  840. <button id="btn_tisscmt" class="btn2_letter9" style="left:25px; top:342px; width:130px; height:19px; ">
  841. <caption>이식 전 조직소견</caption>
  842. <script type="javascript" ev:event="onclick">
  843. <![CDATA[
  844. // bmtcommon.js
  845. abofOpenPopupMedCare("/root/init/cmbinfo/tisscmt" , "Y", "/root/main/cmbinfo/A0533", "/root/main/baseinfo/appinfo1/tisscmt", "", btn_tisscmt.text);
  846. ]]>
  847. </script>
  848. </button>
  849. <button id="btn_diagnm" class="btn2_letter3" style="left:20px; top:125px; width:53px; height:19px; ">
  850. <caption>진단명</caption>
  851. <script type="javascript" ev:event="onclick">
  852. <![CDATA[
  853. // bmtcommon.js
  854. abofOpenPopupMedCare("/root/init/cmbinfo/diagcd" , "C", "/root/main/cmbinfo/A0530", "/root/main/baseinfo/appinfo1/diagnm", "/root/main/baseinfo/appinfo1/diagcd", btn_diagnm.text);
  855. ]]>
  856. </script>
  857. </button>
  858. <input id="ipt_tisspatdr2" ref="/root/main/baseinfo/appinfo1/patbdwt" navindex="37" maxlength="10" style="left:305px; top:635px; width:80px; height:19px; text-align:left; "/>
  859. <line id="line37" class="line_3" style="x1:0px; y1:458px; x2:970px; y2:458px; "/>
  860. <datagrid id="grd_dnorinfo" nodeset="/root/main/baseinfo/dnorinfo" class="datagrid2" caption="구분^이름^제대혈번호^A1^A2^B1^B2^DR1^DR2^총유핵세포수(× 10^7/㎏)^CD34양성세포수(× 10^5 /㎏)^caption1^caption2^caption3" colsep="^" colwidth="78, 86, 84, 51, 51, 51, 51, 51, 51, 78, 91, 31, 27, 25, 100" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="37" style="left:218px; top:483px; width:751px; height:149px; ">
  861. <col ref="dnorflag" type="combo">
  862. <choices>
  863. <item>
  864. <label>개인</label>
  865. <value>1</value>
  866. </item>
  867. <item>
  868. <label>단체</label>
  869. <value>2</value>
  870. </item>
  871. </choices>
  872. </col>
  873. <col ref="dnorid" type="input" maxlength="20"/>
  874. <col ref="dnorrrgstno" type="input" maxlength="25" style="text-align:center; "/>
  875. <col ref="tissdnora" type="input" maxlength="10" style="text-align:left; "/>
  876. <col ref="tissdnora2" type="input" maxlength="10" style="text-align:center; "/>
  877. <col ref="tissdnorb" type="input" maxlength="10" style="text-align:left; "/>
  878. <col ref="tissdnorb2" type="input" maxlength="10" style="text-align:center; "/>
  879. <col ref="tissdnordr" type="input" maxlength="10" style="text-align:left; "/>
  880. <col ref="tissdnordr2" type="input" maxlength="10" style="text-align:center; "/>
  881. <col ref="valicellcnt" type="input" maxlength="10" style="text-align:center; "/>
  882. <col ref="benicellcnt" type="input" maxlength="10" style="text-align:center; "/>
  883. <col ref="pid" visibility="hidden"/>
  884. <col ref="rgstseq" visibility="hidden"/>
  885. <col ref="appflag" visibility="hidden"/>
  886. <col ref="dnorseqno" visibility="hidden"/>
  887. </datagrid>
  888. <button id="button52" class="btn2_letter3" style="left:860px; top:461px; width:53px; height:19px; ">
  889. <caption>행추가</caption>
  890. <script type="javascript" ev:event="onclick">
  891. <![CDATA[
  892. grd_dnorinfo.addRow();
  893. var irow = grd_dnorinfo.row;
  894. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/dnorflag", "1");
  895. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/pid" , model.getValue("/root/main/baseinfo/appinfo1/pid"));
  896. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/rgstseq", model.getValue("/root/main/baseinfo/appinfo1/rgstseq"));
  897. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/appflag", model.getValue("/root/main/baseinfo/appinfo1/appflag"));
  898. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/dnorseqno", irow);
  899. ]]>
  900. </script>
  901. </button>
  902. <button id="button53" class="btn2_letter3" style="left:917px; top:461px; width:53px; height:19px; ">
  903. <caption>행삭제</caption>
  904. <script type="javascript" ev:event="onclick">
  905. <![CDATA[
  906. grd_dnorinfo.deleteItem(grd_dnorinfo.row);
  907. ]]>
  908. </script>
  909. </button>
  910. <button id="btn_srchhla" class="btn4_letter8" navindex="42" style="left:730px; top:461px; width:128px; height:22px; ">
  911. <caption>공여자정보 조회</caption>
  912. <script type="javascript" ev:event="onclick">
  913. <![CDATA[
  914. // bmtcommon.js
  915. abofOpenPopupMedCareDnorHlaResult();
  916. ]]>
  917. </script>
  918. </button>
  919. <caption id="caption46" class="cell_1" style="left:0px; top:483px; width:215px; height:150px; vertical-align:middle; ">14~16) 공여자정보</caption>
  920. <line id="line39" class="line_3" style="x1:0px; y1:681px; x2:970px; y2:681px; "/>
  921. <input id="ipt_atdoctnm" ref="/root/main/baseinfo/appinfo1/atdoctnm" class="input_default" disabled="true" navindex="41" style="left:218px; top:764px; width:185px; height:19px; "/>
  922. <caption id="caption61" class="cell_1" style="left:0px; top:715px; width:215px; height:23px; vertical-align:middle; ">신청일자</caption>
  923. <caption id="caption62" class="cell_1" style="left:0px; top:739px; width:215px; height:23px; vertical-align:middle; ">병원명</caption>
  924. <caption id="caption63" class="cell_1" style="left:0px; top:763px; width:215px; height:23px; vertical-align:middle; ">주치의</caption>
  925. <line id="line24" class="line_1" style="x1:0px; y1:710px; x2:403px; y2:710px; "/>
  926. <input id="ipt_hospnm" ref="/root/main/baseinfo/appinfo1/hospnm" class="input_default" navindex="40" maxlength="40" style="left:218px; top:740px; width:185px; height:19px; "/>
  927. <caption id="caption69" class="cell_1" style="left:0px; top:658px; width:215px; height:23px; vertical-align:middle; ">17) 기타사항</caption>
  928. <input id="ipt_etcrem" ref="/root/main/baseinfo/appinfo1/etcrem" class="input_default" navindex="38" maxlength="150" style="left:218px; top:659px; width:753px; height:19px; "/>
  929. <input id="ipt_appdd" ref="/root/main/baseinfo/appinfo1/appdd" class="input_default" navindex="39" inputtype="date" format="yyyy-mm-dd" style="left:218px; top:716px; width:185px; height:19px; text-align:center; "/>
  930. <caption id="caption37" class="tit_2" style="left:5px; top:695px; width:90px; height:13px; ">신청정보</caption>
  931. <line id="line42" class="line_3" style="x1:0px; y1:786px; x2:970px; y2:786px; "/>
  932. <bool id="bool1" navindex="12" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/forgneryn" style="left:907px; top:100px; width:20px; height:20px; "/>
  933. <bool id="bool2" navindex="12" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/forgneryn" style="left:907px; top:100px; width:20px; height:20px; ">
  934. <script type="javascript" ev:event="onclick">
  935. <![CDATA[
  936. // if(model.getValue("/root/main/baseinfo/appinfo1/forgneryn") == "Y"){
  937. // ipt_rrgstno1.disabled = false;
  938. // ipt_rrgstno2.disabled = false;
  939. // }else{
  940. // ipt_rrgstno1.disabled = true;
  941. // ipt_rrgstno2.disabled = true;
  942. // }
  943. ]]>
  944. </script>
  945. </bool>
  946. <bool id="bool3" navindex="6" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/refreqyn" style="left:485px; top:75px; width:30px; height:20px; ">
  947. <script type="javascript" ev:event="onclick">
  948. <![CDATA[
  949. if(model.getValue("/root/main/baseinfo/appinfo1/refreqyn") == "Y" ){
  950. model.setValue("/root/main/baseinfo/appinfo1/jreqyn", "Y");
  951. radio2.disabled = false;
  952. }else {
  953. model.setValue("/root/main/baseinfo/appinfo1/jreqyn", "N");
  954. radio2.disabled = true;
  955. }
  956. ]]>
  957. </script>
  958. </bool>
  959. <caption id="caption59" style="left:85px; top:77px; width:20px; height:20px; vertical-align:middle; ">(</caption>
  960. <caption id="caption60" style="left:410px; top:77px; width:15px; height:20px; vertical-align:middle; ">)</caption>
  961. <bool id="bool4" navindex="4" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/jreqyn" style="left:0px; top:75px; width:30px; height:20px; ">
  962. <script type="javascript" ev:event="onclick">
  963. <![CDATA[
  964. if(model.getValue("/root/main/baseinfo/appinfo1/jreqyn") == "Y" ){
  965. model.setValue("/root/main/baseinfo/appinfo1/refreqyn", "Y");
  966. radio2.disabled = true;
  967. }else {
  968. model.setValue("/root/main/baseinfo/appinfo1/refreqyn", "N");
  969. radio2.disabled = false;
  970. }
  971. ]]>
  972. </script>
  973. </bool>
  974. <line id="line25" class="line_2" style="x1:0px; y1:97px; x2:970px; y2:97px; "/>
  975. <button id="btn_fsttisscmt" class="btn2_letter4" style="left:218px; top:196px; width:64px; height:19px; ">
  976. <caption>1차관해</caption>
  977. <script type="javascript" ev:event="onclick">
  978. <![CDATA[
  979. // bmtcommon.js
  980. abofOpenPopupMedCare("/root/temp/tisscmtlist" , "N", "/root/main/cmbinfo/tisscmt", "/root/main/baseinfo/appinfo1/fsttisscmt", "", btn_fsttisscmt.text);
  981. ]]>
  982. </script>
  983. </button>
  984. <button id="btn_scndtisscmt" class="btn2_letter4" style="left:218px; top:220px; width:163px; height:19px; ">
  985. <caption>2차관해</caption>
  986. <script type="javascript" ev:event="onclick">
  987. <![CDATA[
  988. // bmtcommon.js
  989. abofOpenPopupMedCare("/root/temp/tisscmtlist" , "N", "/root/main/cmbinfo/tisscmt", "/root/main/baseinfo/appinfo1/scndtisscmt", "", btn_scndtisscmt.text);
  990. ]]>
  991. </script>
  992. </button>
  993. <input id="ipt_bfcure2" ref="/root/main/baseinfo/appinfo1/bfcure2" class="input_default" navindex="29" maxlength="80" style="left:330px; top:315px; width:640px; height:19px; "/>
  994. <caption id="caption5" class="cell_1" style="left:218px; top:387px; width:70px; height:23px; vertical-align:middle; ">1차 이식일</caption>
  995. <caption id="caption6" class="cell_1" style="left:535px; top:387px; width:80px; height:23px; vertical-align:middle; ">1차 이식방법</caption>
  996. <select1 id="combo2" ref="/root/main/baseinfo/appinfo1/trnptkindcd1" class="combo_default" navindex="16" appearance="minimal" style="left:618px; top:388px; width:352px; height:19px; ">
  997. <choices>
  998. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  999. <label ref="cdnm"/>
  1000. <value ref="cdid"/>
  1001. </itemset>
  1002. </choices>
  1003. <script type="javascript" ev:event="xforms-value-changed">
  1004. <![CDATA[
  1005. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  1006. model.refresh();
  1007. ]]>
  1008. </script>
  1009. </select1>
  1010. <input id="input7" ref="/root/main/baseinfo/appinfo1/trnptschedd2" class="input_default" navindex="19" inputtype="date" format="yyyy-mm-dd" style="left:291px; top:412px; width:240px; height:19px; text-align:center; "/>
  1011. <select1 id="combo3" ref="/root/main/baseinfo/appinfo1/trnptkindcd2" class="combo_default" navindex="16" appearance="minimal" style="left:618px; top:412px; width:352px; height:19px; ">
  1012. <choices>
  1013. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  1014. <label ref="cdnm"/>
  1015. <value ref="cdid"/>
  1016. </itemset>
  1017. </choices>
  1018. <script type="javascript" ev:event="xforms-value-changed">
  1019. <![CDATA[
  1020. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  1021. model.refresh();
  1022. ]]>
  1023. </script>
  1024. </select1>
  1025. <caption id="caption7" class="cell_1" style="left:218px; top:411px; width:70px; height:23px; vertical-align:middle; ">2차 이식일</caption>
  1026. <caption id="caption8" class="cell_1" style="left:535px; top:411px; width:80px; height:23px; vertical-align:middle; ">2차 이식방법</caption>
  1027. <button id="btn_bfcure2" class="btn2_letter8" style="left:218px; top:315px; width:108px; height:19px; ">
  1028. <caption>2차 이식시 전처치</caption>
  1029. <script type="javascript" ev:event="onclick">
  1030. <![CDATA[
  1031. // bmtcommon.js
  1032. abofOpenPopupMedCare("/root/init/cmbinfo/bfcure1" , "Y", "/root/main/cmbinfo/A0534", "/root/main/baseinfo/appinfo1/bfcure2", "", btn_bfcure2.text);
  1033. ]]>
  1034. </script>
  1035. </button>
  1036. <input id="input1" ref="/root/main/baseinfo/appinfo1/tisspatdr1" navindex="35" maxlength="10" style="left:656px; top:435px; width:80px; height:19px; text-align:left; "/>
  1037. <caption id="caption9" style="left:218px; top:435px; width:208px; height:20px; ">A( , )</caption>
  1038. <input id="input8" ref="/root/main/baseinfo/appinfo1/tisspatdr2" navindex="36" maxlength="10" style="left:746px; top:435px; width:80px; height:19px; text-align:left; "/>
  1039. <caption id="caption10" style="left:423px; top:435px; width:208px; height:20px; ">B( , )</caption>
  1040. <button id="button3" class="btn2_letter6" style="left:25px; top:436px; width:86px; height:19px; ">
  1041. <caption>조직적합항원</caption>
  1042. <script type="javascript" ev:event="onclick">
  1043. <![CDATA[
  1044. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1045. var sflag = "";
  1046. var sselectrow = "1";
  1047. sflag = spid + "▦" + sselectrow ;
  1048. setParameter("opener_parameter_id", sflag);
  1049. model.setValue("/root/main/trnptsrchinfo/srchdetlinfo", "");
  1050. model.setValue("/root/main/popupendflag", "");
  1051. modal("SPABO61900", 1, "", "", "", "", "", "");
  1052. if (model.getValue("/root/main/popupendflag") == "ok"){
  1053. model.setValue("/root/main/baseinfo/appinfo1/tisspata1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/a1"));
  1054. model.setValue("/root/main/baseinfo/appinfo1/tisspata2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/a2"));
  1055. model.setValue("/root/main/baseinfo/appinfo1/tisspatb1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/b1"));
  1056. model.setValue("/root/main/baseinfo/appinfo1/tisspatb2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/b2"));
  1057. model.setValue("/root/main/baseinfo/appinfo1/tisspatdr1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/drb11"));
  1058. model.setValue("/root/main/baseinfo/appinfo1/tisspatdr2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/drb12"));
  1059. }
  1060. ]]>
  1061. </script>
  1062. </button>
  1063. <input id="input9" ref="/root/main/baseinfo/appinfo1/tisspatb1" navindex="33" maxlength="10" style="left:438px; top:435px; width:80px; height:19px; text-align:left; "/>
  1064. <input id="input10" ref="/root/main/baseinfo/appinfo1/tisspata1" navindex="31" maxlength="10" style="left:233px; top:435px; width:80px; height:19px; text-align:left; "/>
  1065. <input id="input11" ref="/root/main/baseinfo/appinfo1/tisspatb2" navindex="34" maxlength="10" style="left:528px; top:435px; width:80px; height:19px; text-align:left; "/>
  1066. <input id="input12" ref="/root/main/baseinfo/appinfo1/tisspata2" navindex="32" maxlength="10" style="left:323px; top:435px; width:80px; height:19px; text-align:left; "/>
  1067. <caption id="caption13" class="cell_1" style="left:218px; top:634px; width:80px; height:23px; vertical-align:middle; ">환자 몸무게</caption>
  1068. <caption id="caption14" style="left:390px; top:635px; width:208px; height:20px; ">Kg</caption>
  1069. </group>
  1070. </xhtml:body>
  1071. </xhtml:html>