SPABO60900_자가후동종 요양급여신청서.xrw 54 KB

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