SMAHR02100_1차건진결과.xrw 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHR01000.xrw
  4. * 설 명 : 검사결과관리[일반건진]
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2007.07.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <item>
  21. <pid/>
  22. <hngnm/>
  23. <rgstno1/>
  24. <rgstno2/>
  25. <sex/>
  26. <age/>
  27. <cmpycd/>
  28. <cmpynm/>
  29. <pkgcd/>
  30. <pkgnm/>
  31. <schlgrde/>
  32. <clsid/>
  33. <stuid/>
  34. <plceflag/>
  35. <orddd/>
  36. <judgdd/>
  37. <judgdrid/>
  38. <drnm/>
  39. <reexamfg/>
  40. </item>
  41. <rsltlst>
  42. <item>
  43. <prcpdd/>
  44. <execprcpuniqno/>
  45. <prcpno/>
  46. <testcd/>
  47. <testnm/>
  48. <testrsltcnts>
  49. </testrsltcnts>
  50. <outtestrsltcnts/>
  51. <rsltunit/>
  52. <rsltflag/>
  53. <remcnts/>
  54. <assorsltcnts/>
  55. <judgcd/>
  56. <judgrsltcnts/>
  57. <inptflag/>
  58. <choirslt>
  59. <item/>
  60. </choirslt>
  61. <judgmark/>
  62. <refh/>
  63. <refl/>
  64. </item>
  65. </rsltlst>
  66. <rsltlst2>
  67. <item>
  68. <prcpdd/>
  69. <execprcpuniqno/>
  70. <prcpno/>
  71. <testcd/>
  72. <testnm/>
  73. <testrsltcnts>
  74. </testrsltcnts>
  75. <outtestrsltcnts/>
  76. <rsltunit/>
  77. <rsltflag/>
  78. <remcnts/>
  79. <assorsltcnts/>
  80. <judgcd/>
  81. <judgrsltcnts/>
  82. <inptflag/>
  83. <choirslt>
  84. <item/>
  85. </choirslt>
  86. <judgmark/>
  87. <refh/>
  88. <refl/>
  89. </item>
  90. </rsltlst2>
  91. <judginfo>
  92. <firstjudg>
  93. <fst_inqryn>Y</fst_inqryn>
  94. <fst_estmamt/>
  95. <fst_judgcd/>
  96. <fst_bjudgdetl/>
  97. <fst_rjudgdetl/>
  98. <fst_etcsickcd/>
  99. <fst_etcsickcnts/>
  100. <fst_judgexamcd/>
  101. <fst_judgexamcnts/>
  102. <fst_histflag/>
  103. <fst_histcnts/>
  104. <fst_lifestatflag/>
  105. <fst_lifestatcnts/>
  106. <fst_trmaflag/>
  107. <fst_gnrlstatflag/>
  108. <fst_judgdd/>
  109. <fst_judgdrid/>
  110. </firstjudg>
  111. <secondjudg>
  112. <sec_judgcd/>
  113. <sec_D1sickcd/>
  114. <sec_D2sickcd/>
  115. <sec_aftercd/>
  116. <sec_judgexamcd/>
  117. <sec_judgexamcnts/>
  118. <sec_judgdd/>
  119. <sec_judgdrid/>
  120. <sec_bjudgdetl/>
  121. <sec_cjudgdetl/>
  122. <sec_d2judgdetl/>
  123. <sec_d1judgdetl/>
  124. </secondjudg>
  125. <oraljudg>
  126. <oral_estmamt/>
  127. <oral_judgcd/>
  128. <oral_judgdrid/>
  129. <oral_judgdd/>
  130. </oraljudg>
  131. <specjudg/>
  132. <genrjudg/>
  133. <secsicklst>
  134. <sickcd/>
  135. <sicknm/>
  136. </secsicklst>
  137. </judginfo>
  138. <inqrlst>
  139. <item>
  140. <inqrcd/>
  141. <inqrnm/>
  142. <answcd/>
  143. <answcnts/>
  144. <remcnts/>
  145. <answflag/>
  146. <inptflag/>
  147. <inqrflag/>
  148. </item>
  149. </inqrlst>
  150. </acptinfo>
  151. </main>
  152. </root>
  153. </instance>
  154. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  158. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  159. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  160. <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  161. <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
  162. <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
  163. </model>
  164. <script type="javascript">
  165. <![CDATA[
  166. var m_vHealexamflag = "G";
  167. function fViewNum(){
  168. window.parent.javascript.vidx = "1";
  169. }
  170. /**
  171. * 소견 및 조치내용 가져오기
  172. * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
  173. * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
  174. * SPAHR00300_PARAM1: 다중선택여부(Y/N)
  175. * SPAHR00300_PARAM2: 목적노드Set
  176. * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
  177. * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
  178. * SPAHR00300_PARAM5: 종합판정문구검색코드
  179. * SPAHR00300_PARAM6: 종합판정문구검색내용
  180. * SPAHR00300_PARAM7: 건진구분
  181. */ function fGetJudgExmpCnts(vEditObj){
  182. if( vEditObj == null ) return ;
  183. model.makeNode("/root/temp/judgexaminfo");
  184. setParameter("SPAHR00300_PARAM1", "Y");
  185. setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
  186. setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
  187. modal("SPAHR00300", 100, 100, "SPAHR00300");
  188. if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
  189. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  190. if( vNodeList == null ) reutrn ;
  191. var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
  192. for( var i = 0 ; i < vNodeList.length ; i++){
  193. vJudgCnts += vNodeList.item(i).judghangshrtcnts.text;
  194. }
  195. model.setValue( vEditObj.attribute("ref") , vJudgCnts );
  196. vEditObj.refresh();
  197. }
  198. function fCheckExamInfo(){
  199. var idx = window.parent.grd_acptlst.row;
  200. if( idx < 1) {
  201. //messageBox("수진자를 ", "C002");
  202. return false;
  203. }
  204. model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
  205. //결과내역가져오기
  206. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  207. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  208. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  209. var pid = window.parent.model.getValue(sNode + "pid");
  210. var orddd = window.parent.model.getValue(sNode + "orddd");
  211. var cretno = window.parent.model.getValue(sNode + "cretno");
  212. var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
  213. if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
  214. messageBox("유효하지 않은 데이터 입니다!", "E999");
  215. return false;
  216. }
  217. model.setValue("/root/send/srchrsrvdd" , rsrvdd );
  218. model.setValue("/root/send/srchrsrvno" , rsrvno );
  219. model.setValue("/root/send/srchpid" , pid );
  220. model.setValue("/root/send/srchorddd" , orddd );
  221. model.setValue("/root/send/srchcretno" , cretno );
  222. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
  223. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  224. //model.setValue("/root/send/srchpkgcd" , pkgcd);
  225. }
  226. /**
  227. *건진내역별 상세내역가져오기( 판정내역조회)
  228. *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
  229. */
  230. function fGetJudgInfo( ){
  231. if( fCheckExamInfo() == false ) return ;
  232. openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
  233. model.makeValue("root/send/srchhealexamflag","G");
  234. submit("TRAHR01004") ;
  235. closeLoadingBar() ;//처리중 화면을 close한다.
  236. }
  237. /**===================================================================================
  238. @desc : 공통 저장정보관련 check
  239. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  240. *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
  241. =====================================================================================*/
  242. function fCheckSaveInfo(){
  243. var idx = opener.grd_acptlst.row;
  244. if( idx < 1 ) {
  245. return false;
  246. }
  247. if( m_vHealexamflag == "" ) {
  248. messageBox("업무구분이 존재하지 않습니다.", "E999");
  249. return false;
  250. }
  251. var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
  252. model.makeNode("/root/send/save/healexamflag");
  253. model.makeNode("/root/send/save/healexamdetlflag");
  254. model.makeNode("/root/send/save/rsrvdd");
  255. model.makeNode("/root/send/save/rsrvno");
  256. model.makeNode("/root/send/save/pid");
  257. model.makeNode("/root/send/save/orddd");
  258. model.makeNode("/root/send/save/cretno");
  259. model.makeNode("/root/send/save/pkgcd");
  260. model.makeNode("/root/send/save/judgdrid");
  261. model.makeNode("/root/send/save/judgdd");
  262. model.setValue("/root/send/save/healexamflag" , m_vHealexamflag );
  263. model.setValue("/root/send/save/healexamdetlflag" , model.getValue(vAcptNode + "]/healexamdetlflag") );
  264. model.setValue("/root/send/save/rsrvdd" , model.getValue(vAcptNode + "]/rsrvdd") );
  265. model.setValue("/root/send/save/rsrvno" , model.getValue(vAcptNode + "]/rsrvno") );
  266. model.setValue("/root/send/save/pid" , model.getValue(vAcptNode + "]/pid") );
  267. model.setValue("/root/send/save/orddd" , model.getValue(vAcptNode + "]/orddd") );
  268. model.setValue("/root/send/save/cretno" , model.getValue(vAcptNode + "]/cretno") );
  269. model.setValue("/root/send/save/pkgcd" , model.getValue(vAcptNode + "]/pkgcd") );
  270. //model.setValue("/root/send/save/judgdrid" , model.getValue(cmb_drid.attribute("ref") ) );
  271. //model.setValue("/root/send/save/judgdd" , model.getValue(ipt_judgdd.attribute("ref") ) );
  272. return true ;
  273. }
  274. /*===================================================================================
  275. ** 판정입력구분
  276. *1 - 1차 + 구강
  277. *2 - 2차
  278. *S - 특수건진
  279. *B - 혈액정밀
  280. *C - 암건진
  281. ===================================================================================*/
  282. function fGetJudgInptFlag() {
  283. var judg_idx = swt_judg.selectedIndex ;
  284. var ret = "1" ;
  285. switch ( judg_idx ) {
  286. case 0:
  287. ret = "1" ;
  288. break;
  289. case 1:
  290. ret = "2" ;
  291. break;
  292. case 2:
  293. ret = "1" ;
  294. break;
  295. case 3:
  296. ret = "S" ;
  297. break;
  298. case 4:
  299. ret = "B" ;
  300. break;
  301. case 5:
  302. ret = "C" ;
  303. break;
  304. default:
  305. ret = "1" ;
  306. break;
  307. }
  308. return ret;
  309. }
  310. /**===================================================================================
  311. @desc : 판정입력
  312. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  313. *판정내역 :
  314. @param :bCheckSave => true이면 저장기본정보 check.
  315. 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
  316. =====================================================================================*/
  317. function fSaveJudg( bCheckSave ){
  318. var ret = false;
  319. if( bCheckSave == true ){
  320. if( !fCheckSaveInfo() ) return ret ;
  321. }
  322. //판정입력구분(1-1차 + 구강 /2- 2차 /O- 구강만 /S- 특수건진 /B- 혈액정밀 / C- 암건진 )
  323. model.makeNode("/root/send/save/judginptflag");
  324. var judgflag = fGetJudgInptFlag();
  325. model.setValue("/root/send/save/judginptflag" ,judgflag );
  326. //1차 + 구강
  327. if( judgflag == "1" ){
  328. if( model.getValue(rdo_firstjudgcd.attribute("ref") ) == "") {
  329. messageBox("판정을 ", "C001");
  330. return ret;
  331. }
  332. /*if( model.getValue( cmb_fstjudgdrid.attribute("ref") ) == "" ) {
  333. messageBox("판정의를 ", "C001");
  334. return ret;
  335. }*/
  336. model.makeNode("/root/send/save/savejudg1");
  337. model.resetInstanceNode("/root/send/save/savejudg1");
  338. model.copyNode("/root/send/save/savejudg1", "/root/main/acptinfo/judginfo/firstjudg");
  339. model.makeNode("/root/send/save/savejudgoral");
  340. model.resetInstanceNode("/root/send/save/savejudgoral");
  341. model.copyNode("/root/send/save/savejudgoral", "/root/main/acptinfo/judginfo/oraljudg");
  342. }
  343. //2차
  344. else if( judgflag == "2" ){
  345. if( model.getValue(cmb_sndjudgcd.attribute("ref") ) == "") {
  346. messageBox("판정을 ", "C002");
  347. return ret;
  348. }
  349. if( model.getValue( cmb_secjudgdrid.attribute("ref") ) == "" ) {
  350. messageBox("판정의를 ", "C001");
  351. return ret;
  352. }
  353. model.makeNode("/root/send/save/savejudg2");
  354. model.resetInstanceNode("/root/send/save/savejudg2");
  355. model.copyNode("/root/send/save/savejudg2", "/root/main/acptinfo/judginfo/secondjudg");
  356. //질환코드
  357. model.makeNode("/root/send/save/savejudg2/sec_savesickcd");
  358. model.setValue("/root/send/save/savejudg2/sec_savesickcd" , grd_sicklst.getUpdateData() );
  359. }
  360. openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
  361. ret = submit("TXAHR01002");
  362. closeLoadingBar() ;//처리중 화면을 close한다.
  363. //정상적 저장 시 판정내역 재 조회
  364. if(ret == true){
  365. // fGetJudgInfo();
  366. }
  367. return ret;
  368. }
  369. /**===================================================================================
  370. @desc : 공통 저장정보관련 초기화
  371. =====================================================================================*/
  372. function fInitSaveData(){
  373. model.resetInstanceNode("/root/send/save");
  374. }
  375. function fInitDasplay(){
  376. //1차건진 판정코드
  377. model.copyNode("/root",opener.root);//parent
  378. nodenumber = 0;
  379. if ( window.parent.javascript.fGetEtcInfo("F", "F03") == true ){
  380. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  381. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  382. if( nd != null ) {
  383. copyNodesetType(rdo_firstjudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  384. }
  385. }
  386. //1차건진 B판정 상세
  387. if ( window.parent.javascript.fGetEtcInfo("F", "F01") == true ){
  388. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  389. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  390. if( nd != null ) {
  391. copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  392. }
  393. }
  394. //1차건진R판정 상세
  395. if ( window.parent.javascript.fGetEtcInfo("F", "F02") == true ){
  396. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent t
  397. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  398. if( nd != null ) {
  399. copyNodesetType(chk_rjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  400. }
  401. }
  402. //1차건진 기타질환코드내역
  403. if ( window.parent.javascript.fGetEtcInfo("F", "F04") == true ){
  404. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  405. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  406. if( nd != null ) {
  407. copyNodesetType(cmb_etcsickcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  408. }
  409. }
  410. //1차건진 진찰및 상담내용 관련 코드내역 조회===================================================================================
  411. //1차건진 과거병력여부
  412. if ( window.parent.javascript.fGetEtcInfo("F", "F07") == true ){
  413. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  414. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  415. if( nd != null ) {
  416. copyNodesetType(cmb_fsthistflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  417. }
  418. }
  419. //1차건진 생활습관
  420. if ( window.parent.javascript.fGetEtcInfo("F", "F08") == true ){
  421. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  422. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  423. if( nd != null ) {
  424. copyNodesetType(cmb_fstlifestatflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  425. }
  426. }
  427. //1차건진 일반상태
  428. if ( window.parent.javascript.fGetEtcInfo("F", "F09") == true ){
  429. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  430. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  431. if( nd != null ) {
  432. copyNodesetType(cmb_fstgnrlstatflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  433. }
  434. }
  435. //1차건진 과거병력유형
  436. if ( window.parent.javascript.fGetEtcInfo("F", "F10") == true ){
  437. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  438. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  439. if( nd != null ) {
  440. copyNodesetType(chk_fsthistcnts.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  441. }
  442. }
  443. //1차건진 생활습관유형
  444. if ( window.parent.javascript.fGetEtcInfo("F", "F11") == true ){
  445. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  446. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  447. if( nd != null ) {
  448. copyNodesetType(chk_fstlifestatcnts.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  449. }
  450. }
  451. //구강건진 판정코드
  452. if ( window.parent.javascript.fGetEtcInfo("F", "F05") == true ){
  453. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  454. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  455. if( nd != null ) {
  456. copyNodesetType(chk_oraljudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  457. }
  458. }
  459. //2차건진판정결과코드
  460. if ( window.parent.javascript.fGetEtcInfo("S", "S01") == true ){
  461. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  462. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  463. if( nd != null ) {
  464. copyNodesetType(cmb_sndjudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  465. }
  466. }
  467. //2차건진 B세부코드
  468. if ( window.parent.javascript.fGetEtcInfo("S", "S10") == true ){
  469. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  470. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  471. if( nd != null ) {
  472. model.makeNode("/root/init/judginfo/bjudglsttwo");
  473. model.makeNode(chk_bjudgdetltwo.choices.itemset.attribute("nodeset"));
  474. copyNodesetType(chk_bjudgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  475. }
  476. }
  477. //2차건진 C세부코드
  478. if ( window.parent.javascript.fGetEtcInfo("S", "S11") == true ){
  479. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  480. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  481. if( nd != null ) {
  482. model.makeNode("/root/init/judginfo/cjudglsttwo");
  483. model.makeNode(chk_cjudgdetltwo.choices.itemset.attribute("nodeset"));
  484. copyNodesetType(chk_cjudgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  485. }
  486. }
  487. //2차건진 D2세부코드
  488. if ( window.parent.javascript.fGetEtcInfo("S", "S12") == true ){
  489. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  490. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  491. if( nd != null ) {
  492. model.makeNode("/root/init/judginfo/d2judglsttwo");
  493. model.makeNode(chk_d2judgdetltwo.choices.itemset.attribute("nodeset"));
  494. copyNodesetType(chk_d2judgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  495. }
  496. }
  497. //2차건진 D1세부코드
  498. if ( window.parent.javascript.fGetEtcInfo("S", "S13") == true ){
  499. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  500. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  501. if( nd != null ) {
  502. model.makeNode("/root/init/judginfo/d1judglsttwo");
  503. model.makeNode(chk_d1judgdetltwo.choices.itemset.attribute("nodeset"));
  504. copyNodesetType(chk_d1judgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  505. }
  506. }
  507. //2차건진사후조치코드
  508. if ( window.parent.javascript.fGetEtcInfo("S", "S02") == true ){
  509. model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
  510. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  511. if( nd != null ) {
  512. copyNodesetType(cmb_sndaftercd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  513. }
  514. }
  515. grd_rsltlst.clearStatus();
  516. model.refresh();
  517. }
  518. function fInitDasplayResult(){
  519. model.copyNode("/root", opener.root);//parent
  520. model.refresh();
  521. }
  522. function fdataValue(vTestcd,vSubcd){
  523. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
  524. for (var i=0; i<=nodeCount;i++){
  525. // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  526. if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
  527. nodenumber = i;
  528. return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
  529. }
  530. }
  531. }
  532. /**
  533. ** 결과입력 grid size 늘이기/줄이기
  534. */ function fSetRsltSwtSize( bLarge ){
  535. //기존상태 높이
  536. var cur_height = 298;
  537. var max_height = 553 ;
  538. if( bLarge == true ){
  539. cur_height = max_height ;
  540. btn_large.visible = false;
  541. btn_small.visible = true;
  542. }
  543. else {
  544. btn_large.visible = true;
  545. btn_small.visible = false;
  546. }
  547. grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
  548. }
  549. function fdataValueAsso(vTestcd,vSubcd){
  550. var nodeCount = getNodesetCount("/root/main/tempinfo/assorsltlst/itemasso");
  551. for (var i=0; i<nodeCount;i++){
  552. if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  553. nodenumber = i;
  554. return model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i+"]/rsltnm");
  555. }
  556. }
  557. }
  558. ]]>
  559. </script>
  560. </xhtml:head>
  561. <xhtml:body>
  562. <case id="case_rslt" selected="true" style="left:0px; top:0px; width:775px; height:564px; ">
  563. <button id="btn_autojudg" class="btn2_letter4" style="left:705px; top:309px; width:64px; height:19px; ">
  564. <caption>자동판정</caption>
  565. <script type="javascript" ev:event="DOMActivate">
  566. <![CDATA[
  567. alert("준비중입니다.");
  568. ]]>
  569. </script>
  570. </button>
  571. <switch id="swt_judg" style="left:5px; top:330px; width:764px; height:228px; border-color:#c7a3cf; border-style:solid; ">
  572. <case id="case_first" selected="true">
  573. <caption id="caption25" class="cell_1" style="left:5px; top:79px; width:55px; height:100px; vertical-align:middle; ">판정</caption>
  574. <line id="line7" class="line_2" style="x1:60px; y1:30px; x2:755px; y2:30px; "/>
  575. <line id="line13" class="line_2" style="x1:60px; y1:102px; x2:755px; y2:102px; "/>
  576. <select id="chk_bjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl" overflow="visible" appearance="full" cellspacing="20" cols="4" rows="1" sep="▦" style="left:152px; top:104px; width:433px; height:41px; border-style:none; ">
  577. <choices>
  578. <itemset nodeset="/root/init/judginfo/Bjudglst/item">
  579. <label ref="nm"/>
  580. <value ref="cd"/>
  581. </itemset>
  582. </choices>
  583. </select>
  584. <select id="chk_rjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_rjudgdetl" overflow="visible" appearance="full" cellspacing="11" cols="5" rows="1" sep="▦" style="left:152px; top:147px; width:605px; height:31px; border-style:none; ">
  585. <choices>
  586. <itemset nodeset="/root/init/judginfo/Rjudglst/item">
  587. <label ref="nm"/>
  588. <value ref="cd"/>
  589. </itemset>
  590. </choices>
  591. </select>
  592. <line id="line15" class="line_2" style="x1:60px; y1:178px; x2:755px; y2:178px; "/>
  593. <caption id="caption26" class="cell_1" style="left:585px; top:103px; width:35px; height:45px; vertical-align:middle; ">기타질환</caption>
  594. <select1 id="cmb_etcsickcd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcd" class="combo_default" appearance="minimal" style="left:623px; top:104px; width:133px; height:19px; ">
  595. <choices>
  596. <itemset nodeset="/root/init/judginfo/etcsickcdlst/item">
  597. <label ref="nm"/>
  598. <value ref="cd"/>
  599. </itemset>
  600. </choices>
  601. </select1>
  602. <input id="ipt_fst_etcsickcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts" class="input_search" maxlength="20" style="left:623px; top:125px; width:133px; height:19px; "/>
  603. <caption id="caption27" class="cell_1" style="left:5px; top:180px; width:145px; height:44px; vertical-align:middle; "/>
  604. <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" maxlength="80" style="left:152px; top:180px; width:605px; height:43px; "/>
  605. <caption id="caption24" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">문진표</caption>
  606. <caption id="caption35" class="cell_1" style="left:153px; top:7px; width:68px; height:23px; vertical-align:middle; ">산정금액</caption>
  607. <input id="ipt_fst_estmamt" ref="/root/main/acptinfo/judginfo/firstjudg/fst_estmamt" class="input_search" disabled="true" style="left:224px; top:9px; width:101px; height:19px; "/>
  608. <line id="line21" class="line_2" style="x1:60px; y1:146px; x2:755px; y2:146px; "/>
  609. <line id="line27" class="line_3" style="x1:5px; y1:224px; x2:755px; y2:224px; "/>
  610. <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  611. <select1 id="rdo_cmpyflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqryn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:64px; top:9px; width:86px; height:20px; border-style:none; ">
  612. <choices>
  613. <item>
  614. <label>유</label>
  615. <value>Y</value>
  616. </item>
  617. <item>
  618. <label>무</label>
  619. <value>N</value>
  620. </item>
  621. </choices>
  622. </select1>
  623. <select1 id="rdo_firstjudgcd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" overflow="visible" appearance="full" cols="1" rows="3" vcellspacing="15" style="left:64px; top:78px; width:86px; height:100px; border-style:none; ">
  624. <choices>
  625. <itemset nodeset="/root/init/judginfo/judgcdlst/item">
  626. <label ref="nm"/>
  627. <value ref="cd"/>
  628. </itemset>
  629. </choices>
  630. <script type="javascript" ev:event="xforms-select">
  631. <![CDATA[
  632. if( rdo_firstjudgcd.value == 3) {
  633. opener.chk_reexamfg.value = 1;
  634. }
  635. else {
  636. opener.chk_reexamfg.value = 0;
  637. }
  638. ]]>
  639. </script>
  640. <script type="javascript" ev:event="xforms-value-changed">
  641. <![CDATA[
  642. chk_bjudgdetl.value = "";
  643. chk_rjudgdetl.value = "";
  644. ]]>
  645. </script>
  646. </select1>
  647. <button id="btn_firstjudg" class="btn2_letter10" style="left:10px; top:190px; width:130px; height:19px; ">
  648. <caption>1차소견 및 조치사항</caption>
  649. <script type="javascript" ev:event="DOMActivate">
  650. <![CDATA[
  651. fGetJudgExmpCnts(tar_judgexamcnts);
  652. ]]>
  653. </script>
  654. </button>
  655. <caption id="caption60" class="cell_1" style="left:5px; top:31px; width:55px; height:23px; vertical-align:middle; ">과거병력</caption>
  656. <caption id="caption61" class="cell_1" style="left:5px; top:55px; width:55px; height:23px; vertical-align:middle; ">생활습관</caption>
  657. <select1 id="cmb_fstlifestatflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_lifestatflag" class="combo_default" appearance="minimal" style="left:64px; top:57px; width:50px; height:19px; ">
  658. <choices>
  659. <itemset nodeset="/root/init/judginfo/lifeflaglst/item">
  660. <label ref="nm"/>
  661. <value ref="cd"/>
  662. </itemset>
  663. </choices>
  664. </select1>
  665. <select id="chk_fstlifestatcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_lifestatcnts" overflow="visible" appearance="full" cellspacing="10" cols="7" rows="1" sep="▦" style="left:115px; top:57px; width:370px; height:19px; text-align:left; vertical-align:middle; border-style:none; ">
  666. <choices>
  667. <itemset nodeset="/root/init/judginfo/lifestatlst/item">
  668. <label ref="nm"/>
  669. <value ref="cd"/>
  670. </itemset>
  671. </choices>
  672. </select>
  673. <select1 id="cmb_fsthistflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_histflag" class="combo_default" appearance="minimal" style="left:64px; top:33px; width:50px; height:19px; ">
  674. <choices>
  675. <itemset nodeset="/root/init/judginfo/ynlst/item">
  676. <label ref="nm"/>
  677. <value ref="cd"/>
  678. </itemset>
  679. </choices>
  680. </select1>
  681. <select id="chk_fsthistcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_histcnts" overflow="visible" appearance="full" cellspacing="10" cols="7" rows="1" sep="▦" style="left:115px; top:34px; width:640px; height:19px; text-align:left; vertical-align:middle; border-style:none; ">
  682. <choices>
  683. <itemset nodeset="/root/init/judginfo/histdiaglst/item">
  684. <label ref="nm"/>
  685. <value ref="cd"/>
  686. </itemset>
  687. </choices>
  688. </select>
  689. <input id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:386px; top:9px; width:100px; height:19px; "/>
  690. <select1 id="cmb_fstjudgdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid" class="combo" appearance="minimal" style="left:547px; top:9px; width:208px; height:19px; ">
  691. <choices>
  692. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  693. <label ref="drnm"/>
  694. <value ref="drid"/>
  695. </itemset>
  696. </choices>
  697. </select1>
  698. <caption id="caption22" class="cell_1" style="left:489px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
  699. <caption id="caption17" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
  700. <line id="line14" class="line_2" style="x1:60px; y1:54px; x2:755px; y2:54px; "/>
  701. <line id="line38" class="line_2" style="x1:60px; y1:78px; x2:755px; y2:78px; "/>
  702. <caption id="caption59" class="cell_1" style="left:489px; top:55px; width:55px; height:23px; vertical-align:middle; ">일반상태</caption>
  703. <caption id="caption62" class="cell_1" style="left:623px; top:55px; width:79px; height:23px; vertical-align:middle; ">외상및후유증</caption>
  704. <select1 id="cmb_fstgnrlstatflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_gnrlstatflag" class="combo_default" appearance="minimal" style="left:545px; top:57px; width:75px; height:19px; ">
  705. <choices>
  706. <itemset nodeset="/root/init/judginfo/gnrlstatlst/item">
  707. <label ref="nm"/>
  708. <value ref="cd"/>
  709. </itemset>
  710. </choices>
  711. </select1>
  712. <select1 id="cmb_fsttrmaflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_trmaflag" class="combo_default" appearance="minimal" style="left:705px; top:57px; width:50px; height:19px; ">
  713. <choices>
  714. <itemset nodeset="/root/init/judginfo/ynlst/item">
  715. <label ref="nm"/>
  716. <value ref="cd"/>
  717. </itemset>
  718. </choices>
  719. </select1>
  720. </case>
  721. <case id="case_second">
  722. <caption id="caption28" class="cell_1" style="left:5px; top:7px; width:57px; height:49px; vertical-align:middle; ">종합판정</caption>
  723. <textarea id="tar_sndjudgexamcnts" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgexamcnts" maxlength="80" style="left:165px; top:57px; width:262px; height:164px; "/>
  724. <caption id="caption29" class="cell_1" style="left:5px; top:57px; width:157px; height:165px; vertical-align:middle; "/>
  725. <caption id="caption30" class="cell_1" style="left:63px; top:7px; width:99px; height:23px; vertical-align:middle; ">판정결과</caption>
  726. <caption id="caption33" class="cell_1" style="left:63px; top:32px; width:99px; height:23px; vertical-align:middle; ">사후조치</caption>
  727. <select1 id="cmb_sndjudgcd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgcd" class="combo_essential" appearance="minimal" style="left:165px; top:7px; width:262px; height:19px; ">
  728. <choices>
  729. <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
  730. <label ref="nm"/>
  731. <value ref="cd"/>
  732. </itemset>
  733. </choices>
  734. </select1>
  735. <line id="line16" class="line_2" style="x1:60px; y1:54px; x2:425px; y2:54px; "/>
  736. <caption id="caption31" class="cell_1" style="left:430px; top:32px; width:69px; height:190px; vertical-align:middle; "/>
  737. <select1 id="cmb_sndaftercd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_aftercd" class="combo" appearance="minimal" style="left:165px; top:33px; width:262px; height:19px; ">
  738. <choices>
  739. <itemset nodeset="/root/init/judginfo/sndaftercdlst/item">
  740. <label ref="nm"/>
  741. <value ref="cd"/>
  742. </itemset>
  743. </choices>
  744. </select1>
  745. <line id="line20" class="line_3" style="x1:5px; y1:223px; x2:758px; y2:223px; "/>
  746. <line id="line18" class="line_2" style="x1:60px; y1:30px; x2:425px; y2:30px; "/>
  747. <line id="line26" class="line_1" style="x1:5px; y1:2px; x2:757px; y2:2px; "/>
  748. <button id="btn_sndjudg" class="btn2_letter10" style="left:15px; top:130px; width:130px; height:19px; ">
  749. <caption>2차소견 및 조치사항</caption>
  750. <script type="javascript" ev:event="DOMActivate">
  751. <![CDATA[
  752. window.parent.javaScript.fGetJudgExmpCnts(tar_sndjudgexamcnts);
  753. ]]>
  754. </script>
  755. </button>
  756. <button id="btn_sickd1" class="btn2_letter4" style="left:433px; top:95px; width:64px; height:19px; ">
  757. <caption>질환코드</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. ahafGetSickCd("SMAHR01000", "", "", 1 , grd_sicklst.nodeset );
  761. if( model.getValue( "/root/temp/okflag") == "Y" ){
  762. for( var i = 1; i < grd_sicklst.rows; i++){
  763. grd_sicklst.addStatus(i, "insert");
  764. }
  765. }
  766. ]]>
  767. </script>
  768. </button>
  769. <datagrid id="grd_sicklst" nodeset="/root/main/acptinfo/judginfo/secsicklst" visibility="visible" caption="질환코드^질환명" colsep="^" colwidth="64, 137" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:501px; top:31px; width:257px; height:190px; ">
  770. <col ref="sickcd"/>
  771. <col ref="sicknm"/>
  772. </datagrid>
  773. <input id="ipt_secjudgdd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:501px; top:9px; width:100px; height:19px; "/>
  774. <select1 id="cmb_secjudgdrid" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgdrid" class="combo" appearance="minimal" style="left:650px; top:9px; width:107px; height:19px; ">
  775. <choices>
  776. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  777. <label ref="drnm"/>
  778. <value ref="drid"/>
  779. </itemset>
  780. </choices>
  781. </select1>
  782. <caption id="caption63" class="cell_1" style="left:604px; top:7px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
  783. <caption id="caption64" class="cell_1" style="left:429px; top:7px; width:69px; height:23px; vertical-align:middle; ">판정일자</caption>
  784. <line id="line2" class="line_2" style="x1:429px; y1:29px; x2:759px; y2:29px; "/>
  785. </case>
  786. <case id="case_oral">
  787. <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
  788. <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
  789. <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
  790. <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  791. <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
  792. <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  793. <select id="chk_oraljudgcd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgcd" overflow="visible" appearance="full" cellspacing="200" cols="2" sep="▦" vcellspacing="10" style="left:63px; top:35px; width:690px; height:180px; border-style:none; ">
  794. <choices>
  795. <itemset nodeset="/root/init/judginfo/oraljudglst/item">
  796. <label ref="nm"/>
  797. <value ref="cd"/>
  798. </itemset>
  799. </choices>
  800. </select>
  801. <select1 id="cmb_oraljudgdrid" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdrid" class="combo" appearance="minimal" style="left:386px; top:9px; width:208px; height:19px; ">
  802. <choices>
  803. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  804. <label ref="drnm"/>
  805. <value ref="drid"/>
  806. </itemset>
  807. </choices>
  808. </select1>
  809. <input id="ipt_oraljudgdd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:225px; top:9px; width:100px; height:19px; "/>
  810. <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
  811. <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
  812. </case>
  813. <case id="case_spec">
  814. <caption id="caption52" class="cell_1" style="left:198px; top:119px; width:45px; height:80px; vertical-align:middle; ">업무 적합성</caption>
  815. <datagrid id="datagrid5" nodeset="/root/특수건진결과/유해인자별결과" caption="유해인자명^1차소견^1차조치^판정^2차소견^2차조치" colsep="^" colwidth="115, 170, 115, 43, 80, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:6px; width:605px; height:109px; ">
  816. <col ref="유해인자명"/>
  817. <col ref="일차소견명" type="inputbutton"/>
  818. <col ref="일차조치" type="inputbutton"/>
  819. <col ref="판정"/>
  820. <col ref="rmk" type="inputbutton"/>
  821. <col type="inputbutton"/>
  822. </datagrid>
  823. <datagrid id="datagrid6" nodeset="/root/추가검사/검사" caption="추가검사^1차^2차" colsep="^" colwidth="118, 31, 31" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:119px; width:190px; height:80px; ">
  824. <col ref="검사명"/>
  825. <col ref="classf" type="checkbox"/>
  826. <col ref="rmk" type="checkbox"/>
  827. </datagrid>
  828. <textarea id="textarea5" style="left:615px; top:6px; width:133px; height:193px; "/>
  829. <button id="button22" class="btn2_letter2" style="left:199px; top:174px; width:42px; height:19px; ">
  830. <caption>추가</caption>
  831. </button>
  832. <select id="listbox1" class="listbox" overflow="scroll" appearance="compact" style="left:246px; top:119px; width:157px; height:80px; ">
  833. <choices>
  834. <item>
  835. <label>listbox1</label>
  836. <value>listbox1</value>
  837. </item>
  838. </choices>
  839. </select>
  840. <select id="listbox2" class="listbox" overflow="scroll" appearance="compact" style="left:453px; top:119px; width:157px; height:80px; ">
  841. <choices>
  842. <item>
  843. <label>listbox1</label>
  844. <value>listbox1</value>
  845. </item>
  846. </choices>
  847. </select>
  848. <caption id="caption53" class="cell_1" style="left:406px; top:119px; width:45px; height:80px; vertical-align:middle; ">사후 관리</caption>
  849. <button id="button24" class="btn2_letter2" style="left:406px; top:174px; width:42px; height:19px; ">
  850. <caption>추가</caption>
  851. </button>
  852. <line id="line34" class="line_2" style="x1:5px; y1:117px; x2:610px; y2:117px; "/>
  853. </case>
  854. <case id="case_genr">
  855. <textarea id="textarea6" ref="/root/main/acptinfo/rsltlst/judginfo/firstjudg/rjudgdetl" style="left:5px; top:6px; width:742px; height:195px; "/>
  856. </case>
  857. </switch>
  858. <button id="btn_fstjudg" class="btn_sw" group="tab" style="left:5px; top:309px; width:84px; height:22px; ">
  859. <caption>1차판정</caption>
  860. <toggle case="case_first" ev:event="onclick"/>
  861. </button>
  862. <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:189px; top:309px; width:101px; height:22px; ">
  863. <caption>2차판정</caption>
  864. <toggle case="case_second" ev:event="onclick"/>
  865. </button>
  866. <button id="btn_oraljudg" class="btn_sw" group="tab" style="left:89px; top:309px; width:101px; height:22px; ">
  867. <caption>구강검사</caption>
  868. <toggle case="case_oral" ev:event="onclick"/>
  869. </button>
  870. <button id="btn_specjudg" class="btn_sw" group="tab" style="left:289px; top:309px; width:101px; height:22px; ">
  871. <caption>특수건진판정</caption>
  872. <toggle case="case_spec" ev:event="onclick"/>
  873. </button>
  874. <button id="btn_genrjudg" class="btn_sw" group="tab" style="left:389px; top:309px; width:101px; height:22px; ">
  875. <caption>혈액정밀판정</caption>
  876. <toggle case="case_genr" ev:event="onclick"/>
  877. </button>
  878. <button id="btn_judg" class="btn5_letter4" style="left:638px; top:309px; width:64px; height:19px; ">
  879. <caption>판정저장</caption>
  880. <script type="javascript" ev:event="DOMActivate">
  881. <![CDATA[
  882. if( messageBox("판정내역을 ", "Q002") == 6 ) {
  883. fInitSaveData();
  884. fSaveJudg(true);
  885. //fSaveRsltInfo("J");
  886. }
  887. ]]>
  888. </script>
  889. </button>
  890. <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방유일번호^처방번호^검사코드^명칭^결과^외래결과^단위^종류^비고^공단연계^판정코드^판정내용^LIS판정^Low^High" colsep="^" colwidth="70, 69, 63, 74, 105, 76, 71, 58, 43, 67, 76, 80, 84, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:6px; width:764px; height:298px; ">
  891. <col ref="prcpdd" visibility="hidden"/>
  892. <col ref="execprcpuniqno" visibility="hidden"/>
  893. <col ref="prcpno" visibility="hidden"/>
  894. <col ref="testcd"/>
  895. <col ref="testnm"/>
  896. <col ref="testrsltcnts" type="input"/>
  897. <col ref="outtestrsltcnts"/>
  898. <col ref="rsltunit"/>
  899. <col disabled="true" ref="rsltflag" type="combo">
  900. <choices>
  901. <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
  902. <label ref="cdnm"/>
  903. <value ref="cdid"/>
  904. </itemset>
  905. </choices>
  906. </col>
  907. <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
  908. <col ref="assorsltcnts" type="input"/>
  909. <col ref="judgcd"/>
  910. <col ref="judgrsltcnts"/>
  911. <col ref="judgmark"/>
  912. <col ref="refl"/>
  913. <col ref="refh"/>
  914. <script type="javascript" ev:event="onendedit">
  915. <![CDATA[
  916. if( ( (grd_rsltlst.col == parent.col_rslt ) || (grd_rsltlst.col == parent.col_assorslt ) ) && (event.keyCode == 13 ) ) {
  917. if( grd_rsltlst.row < 1) return ;
  918. if( grd_rsltlst.row < grd_rsltlst.rows ) {
  919. if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  920. fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
  921. }
  922. else {
  923. grd_rsltlst.row = grd_rsltlst.row +1;
  924. //grd_rsltlst.col = col_rslt;
  925. //grd_rsltlst.editCell();
  926. window.parent.javaScript.fSetRsltInptMode();
  927. }
  928. }
  929. }
  930. ]]>
  931. </script>
  932. <script type="javascript" ev:event="onclick">
  933. <![CDATA[
  934. window.parent.javaScript.fSetRsltInptMode();
  935. ]]>
  936. </script>
  937. </datagrid>
  938. <group id="grp_asso" visibility="hidden" style="left:475px; top:50px; width:295px; height:245px; ">
  939. <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
  940. <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  941. <col ref="rsltcd"/>
  942. <col ref="rsltnm"/>
  943. <script type="javascript" ev:event="ondblclick">
  944. <![CDATA[
  945. fSetAssoRslt("");
  946. ]]>
  947. </script>
  948. </datagrid>
  949. <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  950. <button id="btn_assoclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  951. <caption/>
  952. <script type="javascript" ev:event="DOMActivate">
  953. <![CDATA[
  954. grp_asso.visible = false;
  955. ]]>
  956. </script>
  957. </button>
  958. </group>
  959. <group id="grp_choi" visibility="hidden" style="left:15px; top:40px; width:295px; height:245px; ">
  960. <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  961. <datagrid id="grd_choilst" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  962. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  963. <col ref="rsltcd" visibility="hidden"/>
  964. <col ref="rsltnm"/>
  965. </datagrid>
  966. <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  967. <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  968. <caption/>
  969. <script type="javascript" ev:event="DOMActivate">
  970. <![CDATA[
  971. fAddRsltChoi();
  972. grp_choi.visible = false;
  973. ]]>
  974. </script>
  975. </button>
  976. </group>
  977. <group id="grp_textrslt" visibility="hidden" style="left:475px; top:5px; width:295px; height:300px; ">
  978. <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
  979. <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
  980. <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  981. <caption/>
  982. <script type="javascript" ev:event="DOMActivate">
  983. <![CDATA[
  984. //grd_rsltlst.valueMatrix(grd_rsltlst.row , col_rslt ) = tar_textrslt.currentText ;
  985. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
  986. {
  987. model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
  988. }
  989. grp_textrslt.visible = false;
  990. ]]>
  991. </script>
  992. </button>
  993. <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
  994. <script type="javascript" ev:event="DOMFocusOut">
  995. <![CDATA[
  996. //grp_textrslt.visible = false;
  997. ]]>
  998. </script>
  999. <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
  1000. <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
  1001. <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
  1002. <caption>취소</caption>
  1003. <script type="javascript" ev:event="DOMActivate">
  1004. <![CDATA[
  1005. grp_textrslt.visible = false;
  1006. ]]>
  1007. </script>
  1008. </button>
  1009. <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
  1010. <caption>저장</caption>
  1011. <script type="javascript" ev:event="DOMActivate">
  1012. <![CDATA[
  1013. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
  1014. {
  1015. var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
  1016. if( idx < 0) return ;
  1017. model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
  1018. if( grd_rsltlst.rowStatus(idx) == 0 ){
  1019. grd_rsltlst.rowStatus(idx) = 2;
  1020. }
  1021. }
  1022. grp_textrslt.visible = false;
  1023. ]]>
  1024. </script>
  1025. </button>
  1026. </group>
  1027. <button id="btn_small" class="icon_top" style="left:5px; top:6px; width:26px; height:19px; ">
  1028. <caption/>
  1029. <script type="javascript" ev:event="DOMActivate">
  1030. <![CDATA[
  1031. fSetRsltSwtSize(false);
  1032. ]]>
  1033. </script>
  1034. </button>
  1035. <button id="btn_large" class="icon_bottom" style="left:5px; top:6px; width:26px; height:19px; ">
  1036. <caption/>
  1037. <script type="javascript" ev:event="DOMActivate">
  1038. <![CDATA[
  1039. fSetRsltSwtSize(true);
  1040. ]]>
  1041. </script>
  1042. </button>
  1043. </case>
  1044. <button id="btn_autojudg" class="btn2_letter4" style="left:617px; top:310px; width:64px; height:19px; ">
  1045. <caption>자동판정</caption>
  1046. <script type="javascript" ev:event="DOMActivate">
  1047. <![CDATA[
  1048. model.makeValue("/root/send/save/healexamflag","G");
  1049. model.makeValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd","1");
  1050. fInitSaveData();
  1051. fCheckSaveInfo();
  1052. fSaveJudg(true);
  1053. model.makeValue("/root/send/save/dgflag",model.getValue("/root/send/dgflag"));
  1054. submit("TXAHB02402");
  1055. fGetJudgInfo();
  1056. ]]>
  1057. </script>
  1058. </button>
  1059. <group id="grp_asso" visibility="hidden" style="left:475px; top:50px; width:295px; height:245px; ">
  1060. <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
  1061. <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  1062. <col ref="rsltcd"/>
  1063. <col ref="rsltnm"/>
  1064. <script type="javascript" ev:event="ondblclick">
  1065. <![CDATA[
  1066. fSetAssoRslt("");
  1067. ]]>
  1068. </script>
  1069. </datagrid>
  1070. <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  1071. <button id="btn_assoclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  1072. <caption/>
  1073. <script type="javascript" ev:event="DOMActivate">
  1074. <![CDATA[
  1075. grp_asso.visible = false;
  1076. ]]>
  1077. </script>
  1078. </button>
  1079. </group>
  1080. <group id="grp_choi" visibility="hidden" style="left:15px; top:40px; width:295px; height:245px; ">
  1081. <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  1082. <datagrid id="grd_choilst" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  1083. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1084. <col ref="rsltcd" visibility="hidden"/>
  1085. <col ref="rsltnm"/>
  1086. </datagrid>
  1087. <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  1088. <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  1089. <caption/>
  1090. <script type="javascript" ev:event="DOMActivate">
  1091. <![CDATA[
  1092. fAddRsltChoi();
  1093. grp_choi.visible = false;
  1094. ]]>
  1095. </script>
  1096. </button>
  1097. </group>
  1098. <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방유일번호^처방번호^검사코드^명칭^결과^외래결과^단위^종류^비고^공단연계^판정코드^판정내용^LIS판정^Low^High" colsep="^" colwidth="70, 69, 63, 74, 105, 136, 71, 58, 43, 67, 76, 80, 84, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:5px; width:764px; height:298px; ">
  1099. <col ref="prcpdd" visibility="hidden"/>
  1100. <col ref="execprcpuniqno" visibility="hidden"/>
  1101. <col ref="prcpno" visibility="hidden"/>
  1102. <col ref="testcd"/>
  1103. <col ref="testnm"/>
  1104. <col ref="testrsltcnts" type="input"/>
  1105. <col ref="outtestrsltcnts"/>
  1106. <col ref="rsltunit"/>
  1107. <col disabled="true" ref="rsltflag" type="combo">
  1108. <choices>
  1109. <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
  1110. <label ref="cdnm"/>
  1111. <value ref="cdid"/>
  1112. </itemset>
  1113. </choices>
  1114. </col>
  1115. <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
  1116. <col ref="assorsltcnts" type="input"/>
  1117. <col ref="judgcd" visibility="hidden"/>
  1118. <col ref="judgrsltcnts" visibility="hidden"/>
  1119. <col ref="judgmark" visibility="hidden"/>
  1120. <col ref="minval"/>
  1121. <col ref="maxval"/>
  1122. <script type="javascript" ev:event="onendedit">
  1123. <![CDATA[
  1124. if (event.keyCode == 13 ){
  1125. if(grd_rsltlst.col == window.parent.javascript.col_rslt ) {
  1126. //선택형검사결과의 결과컬럼
  1127. if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
  1128. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  1129. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
  1130. var cdata = fdataValue(vtestcd,vsubcd);
  1131. if (cdata!=null){
  1132. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcd");
  1133. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcnts");
  1134. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
  1135. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  1136. }
  1137. }
  1138. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
  1139. var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
  1140. var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
  1141. var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
  1142. if(maxval < testrsltcnts){
  1143. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
  1144. } else
  1145. if(minval > testrsltcnts){
  1146. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
  1147. } else {
  1148. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
  1149. }
  1150. }
  1151. }/* else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  1152. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
  1153. //선택형검사결과의 공단결과
  1154. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  1155. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
  1156. var cdata = fdataValueAsso(vtestcd,vsubcd);
  1157. if (cdata!=null){
  1158. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
  1159. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
  1160. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  1161. }
  1162. }
  1163. // window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
  1164. }*/
  1165. grd_rsltlst.row = grd_rsltlst.row +1;
  1166. }
  1167. /* if( ( (grd_rsltlst.col == window.parent.javascript.col_rslt ) || (grd_rsltlst.col == window.parent.javascript.col_assorslt ) ) && (event.keyCode == 13 ) ) {
  1168. if( grd_rsltlst.row < 1) return ;
  1169. if( grd_rsltlst.row < grd_rsltlst.rows ) {
  1170. if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  1171. window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
  1172. }
  1173. else {
  1174. grd_rsltlst.row = grd_rsltlst.row +1;
  1175. //grd_rsltlst.col = col_rslt;
  1176. //grd_rsltlst.editCell();
  1177. window.parent.javaScript.fSetRsltInptMode();
  1178. }
  1179. }
  1180. }*/
  1181. ]]>
  1182. </script>
  1183. <script type="javascript" ev:event="onclick">
  1184. <![CDATA[
  1185. // window.parent.javascript.fSetRsltInptMode();
  1186. ]]>
  1187. </script>
  1188. </datagrid>
  1189. <button id="btn_small" class="icon_top" style="left:5px; top:6px; width:26px; height:19px; ">
  1190. <caption/>
  1191. <script type="javascript" ev:event="DOMActivate">
  1192. <![CDATA[
  1193. fSetRsltSwtSize(false);
  1194. ]]>
  1195. </script>
  1196. </button>
  1197. <group id="grp_textrslt" visibility="hidden" style="left:410px; top:60px; width:295px; height:300px; ">
  1198. <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
  1199. <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
  1200. <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  1201. <caption/>
  1202. <script type="javascript" ev:event="DOMActivate">
  1203. <![CDATA[
  1204. //grd_rsltlst.valueMatrix(grd_rsltlst.row , col_rslt ) = tar_textrslt.currentText ;
  1205. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
  1206. {
  1207. model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
  1208. }
  1209. grp_textrslt.visible = false;
  1210. ]]>
  1211. </script>
  1212. </button>
  1213. <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
  1214. <script type="javascript" ev:event="DOMFocusOut">
  1215. <![CDATA[
  1216. //grp_textrslt.visible = false;
  1217. ]]>
  1218. </script>
  1219. <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
  1220. <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
  1221. <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
  1222. <caption>취소</caption>
  1223. <script type="javascript" ev:event="DOMActivate">
  1224. <![CDATA[
  1225. grp_textrslt.visible = false;
  1226. ]]>
  1227. </script>
  1228. </button>
  1229. <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
  1230. <caption>저장</caption>
  1231. <script type="javascript" ev:event="DOMActivate">
  1232. <![CDATA[
  1233. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt )
  1234. {
  1235. var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
  1236. if( idx < 0) return ;
  1237. model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
  1238. if( grd_rsltlst.rowStatus(idx) == 0 ){
  1239. grd_rsltlst.rowStatus(idx) = 2;
  1240. }
  1241. }
  1242. grp_textrslt.visible = false;
  1243. ]]>
  1244. </script>
  1245. </button>
  1246. </group>
  1247. <switch id="swt_judg" style="left:5px; top:330px; width:764px; height:228px; border-color:#c7a3cf; border-style:solid; ">
  1248. <case id="case_first">
  1249. <caption id="caption25" class="cell_1" style="left:5px; top:79px; width:55px; height:100px; vertical-align:middle; ">판정</caption>
  1250. <line id="line7" class="line_2" style="x1:60px; y1:30px; x2:755px; y2:30px; "/>
  1251. <line id="line13" class="line_2" style="x1:60px; y1:102px; x2:755px; y2:102px; "/>
  1252. <select id="chk_bjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl" overflow="visible" appearance="full" cellspacing="20" cols="4" rows="1" sep="▦" style="left:152px; top:104px; width:433px; height:41px; border-style:none; ">
  1253. <choices>
  1254. <itemset nodeset="/root/init/judginfo/Bjudglst/item">
  1255. <label ref="nm"/>
  1256. <value ref="cd"/>
  1257. </itemset>
  1258. </choices>
  1259. </select>
  1260. <select id="chk_rjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_rjudgdetl" overflow="visible" appearance="full" cellspacing="11" cols="5" rows="1" sep="▦" style="left:152px; top:147px; width:605px; height:31px; border-style:none; ">
  1261. <choices>
  1262. <itemset nodeset="/root/init/judginfo/Rjudglst/item">
  1263. <label ref="nm"/>
  1264. <value ref="cd"/>
  1265. </itemset>
  1266. </choices>
  1267. </select>
  1268. <line id="line15" class="line_2" style="x1:60px; y1:178px; x2:755px; y2:178px; "/>
  1269. <caption id="caption26" class="cell_1" style="left:585px; top:103px; width:35px; height:45px; vertical-align:middle; ">기타질환</caption>
  1270. <select1 id="cmb_etcsickcd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcd" class="combo_default" appearance="minimal" style="left:623px; top:104px; width:133px; height:19px; ">
  1271. <choices>
  1272. <itemset nodeset="/root/init/judginfo/etcsickcdlst/item">
  1273. <label ref="nm"/>
  1274. <value ref="cd"/>
  1275. </itemset>
  1276. </choices>
  1277. </select1>
  1278. <input id="ipt_fst_etcsickcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts" class="input_search" maxlength="20" style="left:623px; top:125px; width:133px; height:19px; "/>
  1279. <caption id="caption27" class="cell_1" style="left:5px; top:180px; width:145px; height:44px; vertical-align:middle; "/>
  1280. <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" maxlength="80" style="left:152px; top:180px; width:605px; height:43px; "/>
  1281. <caption id="caption24" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">문진표</caption>
  1282. <line id="line21" class="line_2" style="x1:60px; y1:146px; x2:755px; y2:146px; "/>
  1283. <line id="line27" class="line_3" style="x1:5px; y1:224px; x2:755px; y2:224px; "/>
  1284. <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  1285. <select1 id="rdo_cmpyflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqryn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:64px; top:9px; width:86px; height:20px; border-style:none; ">
  1286. <choices>
  1287. <item>
  1288. <label>유</label>
  1289. <value>Y</value>
  1290. </item>
  1291. <item>
  1292. <label>무</label>
  1293. <value>N</value>
  1294. </item>
  1295. </choices>
  1296. </select1>
  1297. <select1 id="rdo_firstjudgcd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" overflow="visible" appearance="full" cols="1" rows="3" vcellspacing="15" style="left:64px; top:78px; width:86px; height:100px; border-style:none; ">
  1298. <choices>
  1299. <itemset nodeset="/root/init/judginfo/judgcdlst/item">
  1300. <label ref="nm"/>
  1301. <value ref="cd"/>
  1302. </itemset>
  1303. </choices>
  1304. <script type="javascript" ev:event="xforms-select">
  1305. <![CDATA[
  1306. if( rdo_firstjudgcd.value == 3) {
  1307. opener.chk_reexamfg.value = 1;
  1308. }
  1309. else {
  1310. opener.chk_reexamfg.value = 0;
  1311. }
  1312. ]]>
  1313. </script>
  1314. <script type="javascript" ev:event="xforms-value-changed">
  1315. <![CDATA[
  1316. chk_bjudgdetl.value = "";
  1317. chk_rjudgdetl.value = "";
  1318. ]]>
  1319. </script>
  1320. </select1>
  1321. <button id="btn_firstjudg" class="btn2_letter10" style="left:10px; top:190px; width:130px; height:19px; ">
  1322. <caption>1차소견 및 조치사항</caption>
  1323. <script type="javascript" ev:event="DOMActivate">
  1324. <![CDATA[
  1325. fGetJudgExmpCnts(tar_judgexamcnts);
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. <caption id="caption60" class="cell_1" style="left:5px; top:31px; width:55px; height:23px; vertical-align:middle; ">과거병력</caption>
  1330. <caption id="caption61" class="cell_1" style="left:5px; top:55px; width:55px; height:23px; vertical-align:middle; ">생활습관</caption>
  1331. <select1 id="cmb_fstlifestatflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_lifestatflag" class="combo_default" appearance="minimal" style="left:64px; top:57px; width:50px; height:19px; ">
  1332. <choices>
  1333. <itemset nodeset="/root/init/judginfo/lifeflaglst/item">
  1334. <label ref="nm"/>
  1335. <value ref="cd"/>
  1336. </itemset>
  1337. </choices>
  1338. </select1>
  1339. <select id="chk_fstlifestatcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_lifestatcnts" overflow="visible" appearance="full" cellspacing="10" cols="7" rows="1" sep="▦" style="left:115px; top:57px; width:370px; height:19px; text-align:left; vertical-align:middle; border-style:none; ">
  1340. <choices>
  1341. <itemset nodeset="/root/init/judginfo/lifestatlst/item">
  1342. <label ref="nm"/>
  1343. <value ref="cd"/>
  1344. </itemset>
  1345. </choices>
  1346. </select>
  1347. <select1 id="cmb_fsthistflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_histflag" class="combo_default" appearance="minimal" style="left:64px; top:33px; width:50px; height:19px; ">
  1348. <choices>
  1349. <itemset nodeset="/root/init/judginfo/ynlst/item">
  1350. <label ref="nm"/>
  1351. <value ref="cd"/>
  1352. </itemset>
  1353. </choices>
  1354. </select1>
  1355. <select id="chk_fsthistcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_histcnts" overflow="visible" appearance="full" cellspacing="10" cols="7" rows="1" sep="▦" style="left:115px; top:34px; width:640px; height:19px; text-align:left; vertical-align:middle; border-style:none; ">
  1356. <choices>
  1357. <itemset nodeset="/root/init/judginfo/histdiaglst/item">
  1358. <label ref="nm"/>
  1359. <value ref="cd"/>
  1360. </itemset>
  1361. </choices>
  1362. </select>
  1363. <input id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:208px; top:9px; width:100px; height:19px; "/>
  1364. <select1 id="cmb_fstjudgdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid" class="combo" appearance="minimal" style="left:367px; top:9px; width:175px; height:19px; ">
  1365. <choices>
  1366. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1367. <label ref="drnm"/>
  1368. <value ref="drid"/>
  1369. </itemset>
  1370. </choices>
  1371. </select1>
  1372. <caption id="caption22" class="cell_1" style="left:310px; top:9px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
  1373. <caption id="caption17" class="cell_1" style="left:150px; top:9px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
  1374. <line id="line14" class="line_2" style="x1:60px; y1:54px; x2:755px; y2:54px; "/>
  1375. <line id="line38" class="line_2" style="x1:60px; y1:78px; x2:755px; y2:78px; "/>
  1376. <caption id="caption59" class="cell_1" style="left:489px; top:55px; width:55px; height:23px; vertical-align:middle; ">일반상태</caption>
  1377. <caption id="caption62" class="cell_1" style="left:623px; top:55px; width:79px; height:23px; vertical-align:middle; ">외상및후유증</caption>
  1378. <select1 id="cmb_fstgnrlstatflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_gnrlstatflag" class="combo_default" appearance="minimal" style="left:545px; top:57px; width:75px; height:19px; ">
  1379. <choices>
  1380. <itemset nodeset="/root/init/judginfo/gnrlstatlst/item">
  1381. <label ref="nm"/>
  1382. <value ref="cd"/>
  1383. </itemset>
  1384. </choices>
  1385. </select1>
  1386. <select1 id="cmb_fsttrmaflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_trmaflag" class="combo_default" appearance="minimal" style="left:705px; top:57px; width:50px; height:19px; ">
  1387. <choices>
  1388. <itemset nodeset="/root/init/judginfo/ynlst/item">
  1389. <label ref="nm"/>
  1390. <value ref="cd"/>
  1391. </itemset>
  1392. </choices>
  1393. </select1>
  1394. </case>
  1395. <case id="case_second" selected="true">
  1396. <caption id="caption28" class="cell_1" style="left:5px; top:7px; width:57px; height:49px; vertical-align:middle; ">종합판정</caption>
  1397. <textarea id="tar_sndjudgexamcnts" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgexamcnts" maxlength="80" style="left:165px; top:170px; width:262px; height:51px; "/>
  1398. <caption id="caption29" class="cell_1" style="left:5px; top:170px; width:157px; height:52px; vertical-align:middle; "/>
  1399. <caption id="caption30" class="cell_1" style="left:63px; top:7px; width:99px; height:23px; vertical-align:middle; ">판정결과</caption>
  1400. <caption id="caption33" class="cell_1" style="left:63px; top:32px; width:99px; height:23px; vertical-align:middle; ">사후조치</caption>
  1401. <select1 id="cmb_sndjudgcd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgcd" class="combo_essential" appearance="minimal" style="left:165px; top:7px; width:262px; height:19px; ">
  1402. <choices>
  1403. <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
  1404. <label ref="nm"/>
  1405. <value ref="cd"/>
  1406. </itemset>
  1407. </choices>
  1408. </select1>
  1409. <line id="line16" class="line_2" style="x1:60px; y1:56px; x2:760px; y2:57px; "/>
  1410. <caption id="caption31" class="cell_1" style="left:430px; top:170px; width:69px; height:52px; vertical-align:middle; "/>
  1411. <select1 id="cmb_sndaftercd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_aftercd" class="combo" appearance="minimal" style="left:165px; top:33px; width:262px; height:19px; ">
  1412. <choices>
  1413. <itemset nodeset="/root/init/judginfo/sndaftercdlst/item">
  1414. <label ref="nm"/>
  1415. <value ref="cd"/>
  1416. </itemset>
  1417. </choices>
  1418. </select1>
  1419. <line id="line20" class="line_3" style="x1:5px; y1:223px; x2:758px; y2:223px; "/>
  1420. <line id="line18" class="line_2" style="x1:60px; y1:30px; x2:425px; y2:30px; "/>
  1421. <line id="line26" class="line_1" style="x1:5px; y1:2px; x2:757px; y2:2px; "/>
  1422. <button id="btn_sndjudg" class="btn2_letter10" style="left:10px; top:195px; width:130px; height:19px; ">
  1423. <caption>2차소견 및 조치사항</caption>
  1424. <script type="javascript" ev:event="DOMActivate">
  1425. <![CDATA[
  1426. window.parent.javaScript.fGetJudgExmpCnts(tar_sndjudgexamcnts);
  1427. ]]>
  1428. </script>
  1429. </button>
  1430. <button id="btn_sickd1" class="btn2_letter4" style="left:435px; top:190px; width:64px; height:19px; ">
  1431. <caption>질환코드</caption>
  1432. <script type="javascript" ev:event="DOMActivate">
  1433. <![CDATA[
  1434. ahafGetSickCd("SMAHR01000", "", "", 1 , grd_sicklst.nodeset );
  1435. if( model.getValue( "/root/temp/okflag") == "Y" ){
  1436. for( var i = 1; i < grd_sicklst.rows; i++){
  1437. grd_sicklst.addStatus(i, "insert");
  1438. }
  1439. }
  1440. ]]>
  1441. </script>
  1442. </button>
  1443. <datagrid id="grd_sicklst" nodeset="/root/main/acptinfo/judginfo/secsicklst" visibility="visible" caption="질환코드^질환명" colsep="^" colwidth="64, 137" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:500px; top:170px; width:257px; height:49px; ">
  1444. <col ref="sickcd"/>
  1445. <col ref="sicknm"/>
  1446. </datagrid>
  1447. <input id="ipt_secjudgdd" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:501px; top:9px; width:100px; height:19px; "/>
  1448. <select1 id="cmb_secjudgdrid" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgdrid" class="combo" appearance="minimal" style="left:650px; top:9px; width:107px; height:19px; ">
  1449. <choices>
  1450. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1451. <label ref="drnm"/>
  1452. <value ref="drid"/>
  1453. </itemset>
  1454. </choices>
  1455. </select1>
  1456. <caption id="caption63" class="cell_1" style="left:604px; top:7px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
  1457. <caption id="caption64" class="cell_1" style="left:429px; top:7px; width:69px; height:23px; vertical-align:middle; ">판정일자</caption>
  1458. <line id="line2" class="line_2" style="x1:429px; y1:29px; x2:759px; y2:29px; "/>
  1459. <caption id="caption2" class="cell_1" style="left:5px; top:60px; width:55px; height:105px; vertical-align:middle; ">판정</caption>
  1460. <select1 id="radio1" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgcd" overflow="visible" appearance="full" cols="1" rows="3" vcellspacing="5" style="left:65px; top:60px; width:130px; height:103px; border-style:none; ">
  1461. <choices>
  1462. <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
  1463. <label ref="nm"/>
  1464. <value ref="cd"/>
  1465. </itemset>
  1466. </choices>
  1467. <script type="javascript" ev:event="xforms-select">
  1468. <![CDATA[
  1469. if( rdo_firstjudgcd.value == 3) {
  1470. opener.chk_reexamfg.value = 1;
  1471. }
  1472. else {
  1473. opener.chk_reexamfg.value = 0;
  1474. }
  1475. ]]>
  1476. </script>
  1477. <script type="javascript" ev:event="xforms-value-changed">
  1478. <![CDATA[
  1479. chk_bjudgdetl.value = "";
  1480. chk_rjudgdetl.value = "";
  1481. ]]>
  1482. </script>
  1483. </select1>
  1484. <select id="chk_bjudgdetltwo" ref="/root/main/acptinfo/judginfo/secondjudg/sec_bjudgdetl" overflow="visible" appearance="full" cellspacing="20" cols="9" rows="1" sep="▦" style="left:200px; top:85px; width:500px; height:20px; border-style:none; ">
  1485. <choices>
  1486. <itemset nodeset="/root/init/judginfo/bjudglsttwo/item">
  1487. <label ref="nm"/>
  1488. <value ref="cd"/>
  1489. </itemset>
  1490. </choices>
  1491. </select>
  1492. <select id="chk_cjudgdetltwo" ref="/root/main/acptinfo/judginfo/secondjudg/sec_cjudgdetl" overflow="visible" appearance="full" cellspacing="20" cols="9" rows="1" sep="▦" style="left:200px; top:107px; width:500px; height:20px; border-style:none; ">
  1493. <choices>
  1494. <itemset nodeset="/root/init/judginfo/cjudglsttwo/item">
  1495. <label ref="nm"/>
  1496. <value ref="cd"/>
  1497. </itemset>
  1498. </choices>
  1499. </select>
  1500. <select id="chk_d2judgdetltwo" ref="/root/main/acptinfo/judginfo/secondjudg/sec_d2judgdetl" overflow="visible" appearance="full" cellspacing="20" cols="9" rows="1" sep="▦" style="left:200px; top:127px; width:500px; height:20px; border-style:none; ">
  1501. <choices>
  1502. <itemset nodeset="/root/init/judginfo/d2judglsttwo/item">
  1503. <label ref="nm"/>
  1504. <value ref="cd"/>
  1505. </itemset>
  1506. </choices>
  1507. </select>
  1508. <select id="chk_d1judgdetltwo" ref="/root/main/acptinfo/judginfo/secondjudg/sec_d1judgdetl" overflow="visible" appearance="full" cellspacing="20" cols="9" rows="1" sep="▦" style="left:200px; top:147px; width:500px; height:20px; border-style:none; ">
  1509. <choices>
  1510. <itemset nodeset="/root/init/judginfo/d1judglsttwo/item">
  1511. <label ref="nm"/>
  1512. <value ref="cd"/>
  1513. </itemset>
  1514. </choices>
  1515. </select>
  1516. <line id="line3" class="line_2" style="x1:60px; y1:80px; x2:760px; y2:81px; "/>
  1517. <line id="line4" class="line_2" style="x1:60px; y1:105px; x2:760px; y2:106px; "/>
  1518. <line id="line6" class="line_2" style="x1:60px; y1:125px; x2:760px; y2:126px; "/>
  1519. <line id="line8" class="line_2" style="x1:60px; y1:145px; x2:760px; y2:146px; "/>
  1520. </case>
  1521. <case id="case_oral">
  1522. <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
  1523. <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
  1524. <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
  1525. <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
  1526. <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
  1527. <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  1528. <select id="chk_oraljudgcd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgcd" overflow="visible" appearance="full" cellspacing="200" cols="2" sep="▦" vcellspacing="10" style="left:63px; top:35px; width:690px; height:180px; border-style:none; ">
  1529. <choices>
  1530. <itemset nodeset="/root/init/judginfo/oraljudglst/item">
  1531. <label ref="nm"/>
  1532. <value ref="cd"/>
  1533. </itemset>
  1534. </choices>
  1535. </select>
  1536. <select1 id="cmb_oraljudgdrid" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdrid" class="combo" appearance="minimal" style="left:386px; top:9px; width:208px; height:19px; ">
  1537. <choices>
  1538. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1539. <label ref="drnm"/>
  1540. <value ref="drid"/>
  1541. </itemset>
  1542. </choices>
  1543. </select1>
  1544. <input id="ipt_oraljudgdd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:225px; top:9px; width:100px; height:19px; "/>
  1545. <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
  1546. <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
  1547. </case>
  1548. </switch>
  1549. <button id="btn_large" class="icon_bottom" style="left:5px; top:6px; width:26px; height:19px; ">
  1550. <caption/>
  1551. <script type="javascript" ev:event="DOMActivate">
  1552. <![CDATA[
  1553. fSetRsltSwtSize(true);
  1554. ]]>
  1555. </script>
  1556. </button>
  1557. <button id="btn_judg" class="btn5_letter4" style="left:550px; top:310px; width:64px; height:19px; ">
  1558. <caption>판정저장</caption>
  1559. <script type="javascript" ev:event="DOMActivate">
  1560. <![CDATA[
  1561. if( messageBox("판정내역을 ", "Q002") == 6 ) {
  1562. fInitSaveData();
  1563. fSaveJudg(true);
  1564. //fSaveRsltInfo("J");
  1565. }
  1566. ]]>
  1567. </script>
  1568. </button>
  1569. <button id="btn_oraljudg" class="btn_sw" group="tab" style="left:89px; top:309px; width:101px; height:22px; ">
  1570. <caption>구강검사</caption>
  1571. <toggle case="case_oral" ev:event="onclick"/>
  1572. </button>
  1573. <button id="btn_fstjudg" class="btn_sw" group="tab" style="left:5px; top:309px; width:84px; height:22px; ">
  1574. <caption>1차판정</caption>
  1575. <toggle case="case_first" ev:event="onclick"/>
  1576. </button>
  1577. <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:189px; top:309px; width:101px; height:22px; ">
  1578. <caption>2차판정</caption>
  1579. <toggle case="case_second" ev:event="onclick"/>
  1580. </button>
  1581. <group id="group1" visibility="hidden" style="left:55px; top:40px; width:295px; height:245px; ">
  1582. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  1583. <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  1584. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1585. <col ref="rsltcd" visibility="hidden"/>
  1586. <col ref="rsltnm"/>
  1587. </datagrid>
  1588. <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  1589. <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  1590. <caption/>
  1591. <script type="javascript" ev:event="DOMActivate">
  1592. <![CDATA[
  1593. fAddRsltChoi();
  1594. grp_choi.visible = false;
  1595. ]]>
  1596. </script>
  1597. </button>
  1598. </group>
  1599. <button id="button2" class="btn2_letter6" style="left:685px; top:310px; width:86px; height:19px; ">
  1600. <caption>자동판정 설정</caption>
  1601. <script type="javascript" ev:event="DOMActivate">
  1602. <![CDATA[
  1603. modal("SMAHB02800");
  1604. ]]>
  1605. </script>
  1606. </button>
  1607. </xhtml:body>
  1608. </xhtml:html>