SPABO60500_동종조혈모세포이식요양급여신청서.xrw 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130
  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. <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>1</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", "1");
  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", "1");
  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:300px; height:14px; ">동종 조혈모세포이식 요양급여 신청서</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("RPABO60501", "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:240px; height:13px; ">동종 조혈모세포이식 요양급여 신청서</caption>
  724. <caption id="caption65" style="left:510px; 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:375px; height:20px; border-style:none; ">
  727. <choices>
  728. <item>
  729. <label>연령초과</label>
  730. <value>1</value>
  731. </item>
  732. <item>
  733. <label>2차이식 이상</label>
  734. <value>2</value>
  735. </item>
  736. <item>
  737. <label>HLA mismatch</label>
  738. <value>3</value>
  739. </item>
  740. <item>
  741. <label>Tandem</label>
  742. <value>4</value>
  743. </item>
  744. <item>
  745. <label>기타</label>
  746. <value>5</value>
  747. </item>
  748. </choices>
  749. </select1>
  750. <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; "/>
  751. <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; "/>
  752. <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; "/>
  753. <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; "/>
  754. <caption id="caption41" class="cell_1" style="left:0px; top:99px; width:215px; height:23px; vertical-align:middle; ">1) 성 명</caption>
  755. <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; "/>
  756. <caption id="caption54" class="cell_1" style="left:0px; top:243px; width:215px; height:23px; vertical-align:middle; ">8) 최종공고 항암화학요법 시행일</caption>
  757. <caption id="caption43" class="cell_1" style="left:0px; top:123px; width:215px; height:23px; vertical-align:middle; ">4) 진 단 명</caption>
  758. <caption id="caption1" style="left:930px; top:100px; width:38px; height:20px; ">외국인</caption>
  759. <caption id="caption55" class="cell_1" style="left:527px; top:99px; width:200px; height:23px; vertical-align:middle; ">3) 주민등록번호</caption>
  760. <caption id="caption45" class="cell_1" style="left:0px; top:147px; width:215px; height:23px; vertical-align:middle; ">6-1) 초 진 일</caption>
  761. <caption id="caption56" class="cell_1" style="left:527px; top:123px; width:200px; height:23px; vertical-align:middle; ">5) 보험구분</caption>
  762. <caption id="caption57" class="cell_1" style="left:0px; top:387px; width:215px; height:47px; vertical-align:middle; ">13) 이식시행(예정)일 및 이식방법</caption>
  763. <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; "/>
  764. <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; "/>
  765. <caption id="caption47" class="cell_1" style="left:0px; top:171px; width:215px; height:23px; vertical-align:middle; ">6-2) 초진시 조직소견</caption>
  766. <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; "/>
  767. <caption id="caption58" class="cell_1" style="left:321px; top:99px; width:100px; height:23px; vertical-align:middle; ">2) 나이(성별)</caption>
  768. <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; ">
  769. <choices>
  770. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  771. <label ref="cdnm"/>
  772. <value ref="cdid"/>
  773. </itemset>
  774. </choices>
  775. </select1>
  776. <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; ">
  777. <choices>
  778. <itemset nodeset="/root/init/cmbinfo/insuflag/P0008">
  779. <label ref="cdnm"/>
  780. <value ref="cdid"/>
  781. </itemset>
  782. </choices>
  783. <script type="javascript" ev:event="xforms-value-changed">
  784. <![CDATA[
  785. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  786. model.refresh();
  787. ]]>
  788. </script>
  789. </select1>
  790. <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; "/>
  791. <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; "/>
  792. <caption id="caption67" style="left:813px; top:100px; width:10px; height:20px; ">-</caption>
  793. <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; "/>
  794. <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; "/>
  795. <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; "/>
  796. <caption id="caption51" class="cell_1" style="left:0px; top:267px; width:215px; height:23px; vertical-align:middle; ">9) 관해유도 항암제</caption>
  797. <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; "/>
  798. <caption id="caption42" class="cell_1" style="left:0px; top:291px; width:215px; height:47px; vertical-align:middle; ">10) 전처치 방법</caption>
  799. <caption id="caption44" class="cell_1" visibility="hidden" style="left:0px; top:770px; width:215px; height:23px; vertical-align:middle; ">16) 예상되는 예후</caption>
  800. <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; "/>
  801. <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; "/>
  802. <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; "/>
  803. <caption id="caption48" class="cell_1" style="left:0px; top:610px; width:215px; height:23px; vertical-align:middle; ">17) 조직적합항원</caption>
  804. <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; "/>
  805. <caption id="caption38" class="cell_1" style="left:0px; top:339px; width:215px; height:23px; vertical-align:middle; ">11) 골수이식 전 조직소견</caption>
  806. <caption id="caption49" class="cell_1" style="left:0px; top:195px; width:215px; height:47px; vertical-align:middle; ">7) 관해 확인일 및 조직소견</caption>
  807. <caption id="caption39" class="cell_1" style="left:0px; top:363px; width:215px; height:23px; vertical-align:middle; ">12) 이식전 수혈기록 및 혈액학적 소견</caption>
  808. <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; "/>
  809. <button id="btn_anticncr" class="btn2_letter8" style="left:22px; top:269px; width:108px; height:19px; ">
  810. <caption>관해유도 항암제</caption>
  811. <script type="javascript" ev:event="onclick">
  812. <![CDATA[
  813. // bmtcommon.js
  814. abofOpenPopupMedCare("/root/init/cmbinfo/anticncr" , "Y", "/root/main/cmbinfo/A0532", "/root/main/baseinfo/appinfo1/anticncr", "", btn_anticncr.text);
  815. ]]>
  816. </script>
  817. </button>
  818. <button id="btn_fstexamtisscmt" class="btn2_letter8" style="left:33px; top:172px; width:108px; height:19px; ">
  819. <caption>초진시 조직소견</caption>
  820. <script type="javascript" ev:event="onclick">
  821. <![CDATA[
  822. // bmtcommon.js
  823. abofOpenPopupMedCare("/root/init/cmbinfo/fstexamtisscmt" , "N", "/root/main/cmbinfo/A0531", "/root/main/baseinfo/appinfo1/fstexamtisscmt", "", btn_fstexamtisscmt.text);
  824. ]]>
  825. </script>
  826. </button>
  827. <button id="btn_bfcure1" class="btn2_letter8" style="left:218px; top:291px; width:86px; height:19px; ">
  828. <caption>1차 이식시 전처치</caption>
  829. <script type="javascript" ev:event="onclick">
  830. <![CDATA[
  831. // bmtcommon.js
  832. abofOpenPopupMedCare("/root/init/cmbinfo/bfcure1" , "Y", "/root/main/cmbinfo/A0534", "/root/main/baseinfo/appinfo1/bfcure1", "", btn_bfcure1.text);
  833. ]]>
  834. </script>
  835. </button>
  836. <button id="button8" class="btn2_letter15" style="left:25px; top:364px; width:185px; height:19px; ">
  837. <caption>이식전 수혈기록 및 혈액학적 소견</caption>
  838. <script type="javascript" ev:event="onclick">
  839. <![CDATA[
  840. // bmtcommon.js
  841. abofOpenPopupMedCare2("/root/main/baseinfo/appinfo1/blodrec");
  842. ]]>
  843. </script>
  844. </button>
  845. <button id="btn_tisscmt" class="btn2_letter9" style="left:25px; top:342px; width:130px; height:19px; ">
  846. <caption>이식 전 조직소견</caption>
  847. <script type="javascript" ev:event="onclick">
  848. <![CDATA[
  849. // bmtcommon.js
  850. abofOpenPopupMedCare("/root/init/cmbinfo/tisscmt" , "Y", "/root/main/cmbinfo/A0533", "/root/main/baseinfo/appinfo1/tisscmt", "", btn_tisscmt.text);
  851. ]]>
  852. </script>
  853. </button>
  854. <button id="btn_diagnm" class="btn2_letter3" style="left:20px; top:125px; width:53px; height:19px; ">
  855. <caption>진단명</caption>
  856. <script type="javascript" ev:event="onclick">
  857. <![CDATA[
  858. // bmtcommon.js
  859. abofOpenPopupMedCare("/root/init/cmbinfo/diagcd" , "C", "/root/main/cmbinfo/A0530", "/root/main/baseinfo/appinfo1/diagnm", "/root/main/baseinfo/appinfo1/diagcd", btn_diagnm.text);
  860. ]]>
  861. </script>
  862. </button>
  863. <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; "/>
  864. <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; "/>
  865. <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; "/>
  866. <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; "/>
  867. <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; "/>
  868. <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; "/>
  869. <line id="line37" class="line_3" style="x1:0px; y1:434px; x2:970px; y2:434px; "/>
  870. <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; ">
  871. <col ref="dnorflag" type="combo">
  872. <choices>
  873. <item>
  874. <label>개인</label>
  875. <value>1</value>
  876. </item>
  877. <item>
  878. <label>단체</label>
  879. <value>2</value>
  880. </item>
  881. </choices>
  882. </col>
  883. <col ref="dnorid" type="input" maxlength="20"/>
  884. <col ref="dnorage" type="input" format="999" maxlength="4"/>
  885. <col ref="dnorsex" type="combo">
  886. <choices>
  887. <item>
  888. <label>남자</label>
  889. <value>M</value>
  890. </item>
  891. <item>
  892. <label>여자</label>
  893. <value>F</value>
  894. </item>
  895. </choices>
  896. </col>
  897. <col ref="dnorrrgstno" type="input" maxlength="20" style="text-align:center; "/>
  898. <col ref="tissdnora" type="input" maxlength="10" style="text-align:left; "/>
  899. <col ref="tissdnora2" type="input" maxlength="10"/>
  900. <col ref="tissdnorb" type="input" maxlength="10" style="text-align:left; "/>
  901. <col ref="tissdnorb2" type="input" maxlength="10"/>
  902. <col ref="tissdnordr" type="input" maxlength="10" style="text-align:left; "/>
  903. <col ref="tissdnordr2" type="input" maxlength="10"/>
  904. <col ref="pid" visibility="hidden"/>
  905. <col ref="rgstseq" visibility="hidden"/>
  906. <col ref="appflag" visibility="hidden"/>
  907. <col ref="dnorseqno" visibility="hidden"/>
  908. </datagrid>
  909. <button id="button52" class="btn2_letter3" style="left:860px; top:437px; width:53px; height:19px; ">
  910. <caption>행추가</caption>
  911. <script type="javascript" ev:event="onclick">
  912. <![CDATA[
  913. grd_dnorinfo.addRow();
  914. var irow = grd_dnorinfo.row;
  915. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/dnorflag", "1");
  916. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/pid" , model.getValue("/root/main/baseinfo/appinfo1/pid"));
  917. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/rgstseq", model.getValue("/root/main/baseinfo/appinfo1/rgstseq"));
  918. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/appflag", model.getValue("/root/main/baseinfo/appinfo1/appflag"));
  919. model.setValue("/root/main/baseinfo/dnorinfo[" + irow + "]/dnorseqno", irow);
  920. ]]>
  921. </script>
  922. </button>
  923. <button id="button53" class="btn2_letter3" style="left:917px; top:437px; width:53px; height:19px; ">
  924. <caption>행삭제</caption>
  925. <script type="javascript" ev:event="onclick">
  926. <![CDATA[
  927. grd_dnorinfo.deleteItem(grd_dnorinfo.row);
  928. ]]>
  929. </script>
  930. </button>
  931. <button id="btn_srchhla" class="btn4_letter8" navindex="42" style="left:730px; top:437px; width:128px; height:22px; ">
  932. <caption>공여자정보 조회</caption>
  933. <script type="javascript" ev:event="onclick">
  934. <![CDATA[
  935. // bmtcommon.js
  936. abofOpenPopupMedCareDnorHlaResult();
  937. ]]>
  938. </script>
  939. </button>
  940. <caption id="caption46" class="cell_1" style="left:0px; top:459px; width:215px; height:150px; vertical-align:middle; ">14~16) 공여자정보</caption>
  941. <line id="line39" class="line_3" style="x1:0px; y1:657px; x2:970px; y2:657px; "/>
  942. <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; "/>
  943. <caption id="caption61" class="cell_1" style="left:0px; top:691px; width:215px; height:23px; vertical-align:middle; ">신청일자</caption>
  944. <caption id="caption62" class="cell_1" style="left:0px; top:715px; width:215px; height:23px; vertical-align:middle; ">병원명</caption>
  945. <caption id="caption63" class="cell_1" style="left:0px; top:739px; width:215px; height:23px; vertical-align:middle; ">주치의</caption>
  946. <line id="line24" class="line_1" style="x1:0px; y1:686px; x2:403px; y2:686px; "/>
  947. <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; "/>
  948. <caption id="caption69" class="cell_1" style="left:0px; top:634px; width:215px; height:23px; vertical-align:middle; ">18) 기타사항</caption>
  949. <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; "/>
  950. <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; "/>
  951. <caption id="caption37" class="tit_2" style="left:5px; top:671px; width:90px; height:13px; ">신청정보</caption>
  952. <line id="line42" class="line_3" style="x1:0px; y1:762px; x2:970px; y2:762px; "/>
  953. <bool id="bool1" navindex="12" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/forgneryn" style="left:907px; top:100px; width:20px; height:20px; "/>
  954. <bool id="bool2" navindex="12" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/forgneryn" style="left:907px; top:100px; width:20px; height:20px; ">
  955. <script type="javascript" ev:event="onclick">
  956. <![CDATA[
  957. // if(model.getValue("/root/main/baseinfo/appinfo1/forgneryn") == "Y"){
  958. // ipt_rrgstno1.disabled = false;
  959. // ipt_rrgstno2.disabled = false;
  960. // }else{
  961. // ipt_rrgstno1.disabled = true;
  962. // ipt_rrgstno2.disabled = true;
  963. // }
  964. ]]>
  965. </script>
  966. </bool>
  967. <bool id="bool3" navindex="6" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/refreqyn" style="left:485px; top:75px; width:30px; height:20px; ">
  968. <script type="javascript" ev:event="onclick">
  969. <![CDATA[
  970. if(model.getValue("/root/main/baseinfo/appinfo1/refreqyn") == "Y" ){
  971. model.setValue("/root/main/baseinfo/appinfo1/jreqyn", "Y");
  972. radio2.disabled = false;
  973. }else {
  974. model.setValue("/root/main/baseinfo/appinfo1/jreqyn", "N");
  975. radio2.disabled = true;
  976. }
  977. ]]>
  978. </script>
  979. </bool>
  980. <caption id="caption59" style="left:85px; top:77px; width:20px; height:20px; vertical-align:middle; ">(</caption>
  981. <caption id="caption60" style="left:470px; top:77px; width:15px; height:20px; vertical-align:middle; ">)</caption>
  982. <bool id="bool4" navindex="4" checkvalue="Y,N" ref="/root/main/baseinfo/appinfo1/jreqyn" style="left:0px; top:75px; width:30px; height:20px; ">
  983. <script type="javascript" ev:event="onclick">
  984. <![CDATA[
  985. if(model.getValue("/root/main/baseinfo/appinfo1/jreqyn") == "Y" ){
  986. model.setValue("/root/main/baseinfo/appinfo1/refreqyn", "Y");
  987. radio2.disabled = true;
  988. }else {
  989. model.setValue("/root/main/baseinfo/appinfo1/refreqyn", "N");
  990. radio2.disabled = false;
  991. }
  992. ]]>
  993. </script>
  994. </bool>
  995. <line id="line25" class="line_2" style="x1:0px; y1:97px; x2:970px; y2:97px; "/>
  996. <button id="button2" class="btn2_letter6" style="left:25px; top:611px; width:86px; height:19px; ">
  997. <caption>조직적합항원</caption>
  998. <script type="javascript" ev:event="onclick">
  999. <![CDATA[
  1000. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1001. var sflag = "";
  1002. var sselectrow = "1";
  1003. sflag = spid + "▦" + sselectrow ;
  1004. setParameter("opener_parameter_id", sflag);
  1005. model.setValue("/root/main/trnptsrchinfo/srchdetlinfo", "");
  1006. model.setValue("/root/main/popupendflag", "");
  1007. modal("SPABO61900", 1, "", "", "", "", "", "");
  1008. if (model.getValue("/root/main/popupendflag") == "ok"){
  1009. model.setValue("/root/main/baseinfo/appinfo1/tisspata1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/a1"));
  1010. model.setValue("/root/main/baseinfo/appinfo1/tisspata2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/a2"));
  1011. model.setValue("/root/main/baseinfo/appinfo1/tisspatb1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/b1"));
  1012. model.setValue("/root/main/baseinfo/appinfo1/tisspatb2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/b2"));
  1013. model.setValue("/root/main/baseinfo/appinfo1/tisspatdr1", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/drb11"));
  1014. model.setValue("/root/main/baseinfo/appinfo1/tisspatdr2", model.getValue("/root/main/trnptsrchinfo/srchdetlinfo/drb12"));
  1015. }
  1016. ]]>
  1017. </script>
  1018. </button>
  1019. <button id="btn_fsttisscmt" class="btn2_letter4" style="left:218px; top:196px; width:64px; height:19px; ">
  1020. <caption>1차관해</caption>
  1021. <script type="javascript" ev:event="onclick">
  1022. <![CDATA[
  1023. // bmtcommon.js
  1024. abofOpenPopupMedCare("/root/temp/tisscmtlist" , "N", "/root/main/cmbinfo/tisscmt", "/root/main/baseinfo/appinfo1/fsttisscmt", "", btn_fsttisscmt.text);
  1025. ]]>
  1026. </script>
  1027. </button>
  1028. <button id="btn_scndtisscmt" class="btn2_letter4" style="left:218px; top:220px; width:163px; height:19px; ">
  1029. <caption>2차관해</caption>
  1030. <script type="javascript" ev:event="onclick">
  1031. <![CDATA[
  1032. // bmtcommon.js
  1033. abofOpenPopupMedCare("/root/temp/tisscmtlist" , "N", "/root/main/cmbinfo/tisscmt", "/root/main/baseinfo/appinfo1/scndtisscmt", "", btn_scndtisscmt.text);
  1034. ]]>
  1035. </script>
  1036. </button>
  1037. <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; "/>
  1038. <caption id="caption5" class="cell_1" style="left:218px; top:387px; width:70px; height:23px; vertical-align:middle; ">1차 이식일</caption>
  1039. <caption id="caption6" class="cell_1" style="left:535px; top:387px; width:80px; height:23px; vertical-align:middle; ">1차 이식방법</caption>
  1040. <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; ">
  1041. <choices>
  1042. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  1043. <label ref="cdnm"/>
  1044. <value ref="cdid"/>
  1045. </itemset>
  1046. </choices>
  1047. <script type="javascript" ev:event="xforms-value-changed">
  1048. <![CDATA[
  1049. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  1050. model.refresh();
  1051. ]]>
  1052. </script>
  1053. </select1>
  1054. <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; "/>
  1055. <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; ">
  1056. <choices>
  1057. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  1058. <label ref="cdnm"/>
  1059. <value ref="cdid"/>
  1060. </itemset>
  1061. </choices>
  1062. <script type="javascript" ev:event="xforms-value-changed">
  1063. <![CDATA[
  1064. model.setValue("/root/main/baseinfo/appinfo1/insuflagnm", cmb_insuflag.label);
  1065. model.refresh();
  1066. ]]>
  1067. </script>
  1068. </select1>
  1069. <caption id="caption7" class="cell_1" style="left:218px; top:411px; width:70px; height:23px; vertical-align:middle; ">2차 이식일</caption>
  1070. <caption id="caption8" class="cell_1" style="left:535px; top:411px; width:80px; height:23px; vertical-align:middle; ">2차 이식방법</caption>
  1071. <button id="btn_bfcure2" class="btn2_letter8" style="left:218px; top:315px; width:108px; height:19px; ">
  1072. <caption>2차 이식시 전처치</caption>
  1073. <script type="javascript" ev:event="onclick">
  1074. <![CDATA[
  1075. // bmtcommon.js
  1076. abofOpenPopupMedCare("/root/init/cmbinfo/bfcure1" , "Y", "/root/main/cmbinfo/A0534", "/root/main/baseinfo/appinfo1/bfcure2", "", btn_bfcure2.text);
  1077. ]]>
  1078. </script>
  1079. </button>
  1080. </group>
  1081. </xhtml:body>
  1082. </xhtml:html>