12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 검사결과관리[일반건진]
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- </item>
- <rsltlst>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst>
- <rsltlst2>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst2>
- <judginfo>
- <firstjudg>
- <fst_inqryn>Y</fst_inqryn>
- <fst_estmamt/>
- <fst_judgcd/>
- <fst_bjudgdetl/>
- <fst_rjudgdetl/>
- <fst_etcsickcd/>
- <fst_etcsickcnts/>
- <fst_judgexamcd/>
- <fst_judgexamcnts/>
- <fst_histflag/>
- <fst_histcnts/>
- <fst_lifestatflag/>
- <fst_lifestatcnts/>
- <fst_trmaflag/>
- <fst_gnrlstatflag/>
- <fst_judgdd/>
- <fst_judgdrid/>
- </firstjudg>
- <secondjudg>
- <sec_judgcd/>
- <sec_D1sickcd/>
- <sec_D2sickcd/>
- <sec_aftercd/>
- <sec_judgexamcd/>
- <sec_judgexamcnts/>
- <sec_judgdd/>
- <sec_judgdrid/>
- <sec_bjudgdetl/>
- <sec_cjudgdetl/>
- <sec_d2judgdetl/>
- <sec_d1judgdetl/>
- </secondjudg>
- <oraljudg>
- <oral_estmamt/>
- <oral_judgcd/>
- <oral_judgdrid/>
- <oral_judgdd/>
- </oraljudg>
- <specjudg/>
- <genrjudg/>
- <secsicklst>
- <sickcd/>
- <sicknm/>
- </secsicklst>
- </judginfo>
- <inqrlst>
- <item>
- <inqrcd/>
- <inqrnm/>
- <answcd/>
- <answcnts/>
- <remcnts/>
- <answflag/>
- <inptflag/>
- <inqrflag/>
- </item>
- </inqrlst>
- </acptinfo>
- </main>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "G";
- function fViewNum(){
- window.parent.javascript.vidx = "1";
- }
- /**
- * 소견 및 조치내용 가져오기
- * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
- * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
- * SPAHR00300_PARAM1: 다중선택여부(Y/N)
- * SPAHR00300_PARAM2: 목적노드Set
- * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
- * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
- * SPAHR00300_PARAM5: 종합판정문구검색코드
- * SPAHR00300_PARAM6: 종합판정문구검색내용
- * SPAHR00300_PARAM7: 건진구분
- */ function fGetJudgExmpCnts(vEditObj){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
-
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += vNodeList.item(i).judghangshrtcnts.text;
- }
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- vEditObj.refresh();
- }
- function fCheckExamInfo(){
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
-
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999");
- return false;
- }
- model.setValue("/root/send/srchrsrvdd" , rsrvdd );
- model.setValue("/root/send/srchrsrvno" , rsrvno );
- model.setValue("/root/send/srchpid" , pid );
- model.setValue("/root/send/srchorddd" , orddd );
- model.setValue("/root/send/srchcretno" , cretno );
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- //model.setValue("/root/send/srchpkgcd" , pkgcd);
- }
-
- /**
- *건진내역별 상세내역가져오기( 판정내역조회)
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- */
- function fGetJudgInfo( ){
- if( fCheckExamInfo() == false ) return ;
- openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
- model.makeValue("root/send/srchhealexamflag","G");
- submit("TRAHR01004") ;
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**===================================================================================
- @desc : 공통 저장정보관련 check
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
- =====================================================================================*/
- function fCheckSaveInfo(){
-
- var idx = opener.grd_acptlst.row;
- if( idx < 1 ) {
- return false;
- }
-
- if( m_vHealexamflag == "" ) {
- messageBox("업무구분이 존재하지 않습니다.", "E999");
- return false;
- }
- var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
-
- model.makeNode("/root/send/save/healexamflag");
- model.makeNode("/root/send/save/healexamdetlflag");
- model.makeNode("/root/send/save/rsrvdd");
- model.makeNode("/root/send/save/rsrvno");
- model.makeNode("/root/send/save/pid");
- model.makeNode("/root/send/save/orddd");
- model.makeNode("/root/send/save/cretno");
- model.makeNode("/root/send/save/pkgcd");
- model.makeNode("/root/send/save/judgdrid");
- model.makeNode("/root/send/save/judgdd");
-
- model.setValue("/root/send/save/healexamflag" , m_vHealexamflag );
- model.setValue("/root/send/save/healexamdetlflag" , model.getValue(vAcptNode + "]/healexamdetlflag") );
- model.setValue("/root/send/save/rsrvdd" , model.getValue(vAcptNode + "]/rsrvdd") );
- model.setValue("/root/send/save/rsrvno" , model.getValue(vAcptNode + "]/rsrvno") );
- model.setValue("/root/send/save/pid" , model.getValue(vAcptNode + "]/pid") );
- model.setValue("/root/send/save/orddd" , model.getValue(vAcptNode + "]/orddd") );
- model.setValue("/root/send/save/cretno" , model.getValue(vAcptNode + "]/cretno") );
- model.setValue("/root/send/save/pkgcd" , model.getValue(vAcptNode + "]/pkgcd") );
- //model.setValue("/root/send/save/judgdrid" , model.getValue(cmb_drid.attribute("ref") ) );
- //model.setValue("/root/send/save/judgdd" , model.getValue(ipt_judgdd.attribute("ref") ) );
-
- return true ;
- }
- /*===================================================================================
- ** 판정입력구분
- *1 - 1차 + 구강
- *2 - 2차
- *S - 특수건진
- *B - 혈액정밀
- *C - 암건진
- ===================================================================================*/
- function fGetJudgInptFlag() {
- var judg_idx = swt_judg.selectedIndex ;
- var ret = "1" ;
- switch ( judg_idx ) {
- case 0:
- ret = "1" ;
- break;
- case 1:
- ret = "2" ;
- break;
- case 2:
- ret = "1" ;
- break;
- case 3:
- ret = "S" ;
- break;
- case 4:
- ret = "B" ;
- break;
- case 5:
- ret = "C" ;
- break;
- default:
- ret = "1" ;
- break;
- }
-
- return ret;
- }
- /**===================================================================================
- @desc : 판정입력
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *판정내역 :
- @param :bCheckSave => true이면 저장기본정보 check.
- 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
- =====================================================================================*/
- function fSaveJudg( bCheckSave ){
- var ret = false;
- if( bCheckSave == true ){
- if( !fCheckSaveInfo() ) return ret ;
- }
-
-
-
- //판정입력구분(1-1차 + 구강 /2- 2차 /O- 구강만 /S- 특수건진 /B- 혈액정밀 / C- 암건진 )
- model.makeNode("/root/send/save/judginptflag");
- var judgflag = fGetJudgInptFlag();
-
- model.setValue("/root/send/save/judginptflag" ,judgflag );
-
- //1차 + 구강
- if( judgflag == "1" ){
-
- if( model.getValue(rdo_firstjudgcd.attribute("ref") ) == "") {
- messageBox("판정을 ", "C001");
- return ret;
- }
-
- /*if( model.getValue( cmb_fstjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }*/
-
- model.makeNode("/root/send/save/savejudg1");
- model.resetInstanceNode("/root/send/save/savejudg1");
- model.copyNode("/root/send/save/savejudg1", "/root/main/acptinfo/judginfo/firstjudg");
-
- model.makeNode("/root/send/save/savejudgoral");
- model.resetInstanceNode("/root/send/save/savejudgoral");
- model.copyNode("/root/send/save/savejudgoral", "/root/main/acptinfo/judginfo/oraljudg");
- }
- //2차
- else if( judgflag == "2" ){
-
- if( model.getValue(cmb_sndjudgcd.attribute("ref") ) == "") {
- messageBox("판정을 ", "C002");
- return ret;
- }
-
- if( model.getValue( cmb_secjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
-
- model.makeNode("/root/send/save/savejudg2");
- model.resetInstanceNode("/root/send/save/savejudg2");
- model.copyNode("/root/send/save/savejudg2", "/root/main/acptinfo/judginfo/secondjudg");
-
- //질환코드
- model.makeNode("/root/send/save/savejudg2/sec_savesickcd");
- model.setValue("/root/send/save/savejudg2/sec_savesickcd" , grd_sicklst.getUpdateData() );
- }
- openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
- ret = submit("TXAHR01002");
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- //정상적 저장 시 판정내역 재 조회
- if(ret == true){
- // fGetJudgInfo();
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 초기화
- =====================================================================================*/
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
-
- }
- function fInitDasplay(){
- //1차건진 판정코드
- model.copyNode("/root",opener.root);//parent
- nodenumber = 0;
- if ( window.parent.javascript.fGetEtcInfo("F", "F03") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(rdo_firstjudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //1차건진 B판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F01") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진R판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F02") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent t
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_rjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 기타질환코드내역
- if ( window.parent.javascript.fGetEtcInfo("F", "F04") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_etcsickcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
-
- //1차건진 진찰및 상담내용 관련 코드내역 조회===================================================================================
- //1차건진 과거병력여부
- if ( window.parent.javascript.fGetEtcInfo("F", "F07") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_fsthistflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 생활습관
- if ( window.parent.javascript.fGetEtcInfo("F", "F08") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_fstlifestatflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 일반상태
- if ( window.parent.javascript.fGetEtcInfo("F", "F09") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_fstgnrlstatflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 과거병력유형
- if ( window.parent.javascript.fGetEtcInfo("F", "F10") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_fsthistcnts.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 생활습관유형
- if ( window.parent.javascript.fGetEtcInfo("F", "F11") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_fstlifestatcnts.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
-
-
- //구강건진 판정코드
- if ( window.parent.javascript.fGetEtcInfo("F", "F05") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_oraljudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차건진판정결과코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S01") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_sndjudgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차건진 B세부코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S10") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- model.makeNode("/root/init/judginfo/bjudglsttwo");
- model.makeNode(chk_bjudgdetltwo.choices.itemset.attribute("nodeset"));
- copyNodesetType(chk_bjudgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //2차건진 C세부코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S11") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- model.makeNode("/root/init/judginfo/cjudglsttwo");
- model.makeNode(chk_cjudgdetltwo.choices.itemset.attribute("nodeset"));
- copyNodesetType(chk_cjudgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //2차건진 D2세부코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S12") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- model.makeNode("/root/init/judginfo/d2judglsttwo");
- model.makeNode(chk_d2judgdetltwo.choices.itemset.attribute("nodeset"));
- copyNodesetType(chk_d2judgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차건진 D1세부코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S13") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- model.makeNode("/root/init/judginfo/d1judglsttwo");
- model.makeNode(chk_d1judgdetltwo.choices.itemset.attribute("nodeset"));
- copyNodesetType(chk_d1judgdetltwo.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차건진사후조치코드
- if ( window.parent.javascript.fGetEtcInfo("S", "S02") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_sndaftercd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- grd_rsltlst.clearStatus();
- model.refresh();
- }
- function fInitDasplayResult(){
- model.copyNode("/root", opener.root);//parent
- model.refresh();
- }
- function fdataValue(vTestcd,vSubcd){
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
-
- for (var i=0; i<=nodeCount;i++){
- // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- }
- /**
- ** 결과입력 grid size 늘이기/줄이기
- */ function fSetRsltSwtSize( bLarge ){
- //기존상태 높이
- var cur_height = 298;
- var max_height = 553 ;
-
- if( bLarge == true ){
- cur_height = max_height ;
- btn_large.visible = false;
- btn_small.visible = true;
- }
- else {
- btn_large.visible = true;
- btn_small.visible = false;
- }
-
- grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
- }
-
- function fdataValueAsso(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/tempinfo/assorsltlst/itemasso");
-
- for (var i=0; i<nodeCount;i++){
-
- if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i+"]/rsltnm");
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <case id="case_rslt" selected="true" style="left:0px; top:0px; width:775px; height:564px; ">
- <button id="btn_autojudg" class="btn2_letter4" style="left:705px; top:309px; width:64px; height:19px; ">
- <caption>자동판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- alert("준비중입니다.");
- ]]>
- </script>
- </button>
- <switch id="swt_judg" style="left:5px; top:330px; width:764px; height:228px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_first" selected="true">
- <caption id="caption25" class="cell_1" style="left:5px; top:79px; width:55px; height:100px; vertical-align:middle; ">판정</caption>
- <line id="line7" class="line_2" style="x1:60px; y1:30px; x2:755px; y2:30px; "/>
- <line id="line13" class="line_2" style="x1:60px; y1:102px; x2:755px; y2:102px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Bjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Rjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <line id="line15" class="line_2" style="x1:60px; y1:178px; x2:755px; y2:178px; "/>
- <caption id="caption26" class="cell_1" style="left:585px; top:103px; width:35px; height:45px; vertical-align:middle; ">기타질환</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/etcsickcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <caption id="caption27" class="cell_1" style="left:5px; top:180px; width:145px; height:44px; vertical-align:middle; "/>
- <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" maxlength="80" style="left:152px; top:180px; width:605px; height:43px; "/>
- <caption id="caption24" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">문진표</caption>
- <caption id="caption35" class="cell_1" style="left:153px; top:7px; width:68px; height:23px; vertical-align:middle; ">산정금액</caption>
- <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; "/>
- <line id="line21" class="line_2" style="x1:60px; y1:146px; x2:755px; y2:146px; "/>
- <line id="line27" class="line_3" style="x1:5px; y1:224px; x2:755px; y2:224px; "/>
- <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <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; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/judgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if( rdo_firstjudgcd.value == 3) {
- opener.chk_reexamfg.value = 1;
- }
- else {
- opener.chk_reexamfg.value = 0;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- chk_bjudgdetl.value = "";
- chk_rjudgdetl.value = "";
- ]]>
- </script>
- </select1>
- <button id="btn_firstjudg" class="btn2_letter10" style="left:10px; top:190px; width:130px; height:19px; ">
- <caption>1차소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts);
- ]]>
- </script>
- </button>
- <caption id="caption60" class="cell_1" style="left:5px; top:31px; width:55px; height:23px; vertical-align:middle; ">과거병력</caption>
- <caption id="caption61" class="cell_1" style="left:5px; top:55px; width:55px; height:23px; vertical-align:middle; ">생활습관</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/lifeflaglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/lifestatlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/ynlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/histdiaglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="cell_1" style="left:489px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
- <caption id="caption17" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
- <line id="line14" class="line_2" style="x1:60px; y1:54px; x2:755px; y2:54px; "/>
- <line id="line38" class="line_2" style="x1:60px; y1:78px; x2:755px; y2:78px; "/>
- <caption id="caption59" class="cell_1" style="left:489px; top:55px; width:55px; height:23px; vertical-align:middle; ">일반상태</caption>
- <caption id="caption62" class="cell_1" style="left:623px; top:55px; width:79px; height:23px; vertical-align:middle; ">외상및후유증</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/gnrlstatlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/ynlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case_second">
- <caption id="caption28" class="cell_1" style="left:5px; top:7px; width:57px; height:49px; vertical-align:middle; ">종합판정</caption>
- <textarea id="tar_sndjudgexamcnts" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgexamcnts" maxlength="80" style="left:165px; top:57px; width:262px; height:164px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:57px; width:157px; height:165px; vertical-align:middle; "/>
- <caption id="caption30" class="cell_1" style="left:63px; top:7px; width:99px; height:23px; vertical-align:middle; ">판정결과</caption>
- <caption id="caption33" class="cell_1" style="left:63px; top:32px; width:99px; height:23px; vertical-align:middle; ">사후조치</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:60px; y1:54px; x2:425px; y2:54px; "/>
- <caption id="caption31" class="cell_1" style="left:430px; top:32px; width:69px; height:190px; vertical-align:middle; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sndaftercdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line20" class="line_3" style="x1:5px; y1:223px; x2:758px; y2:223px; "/>
- <line id="line18" class="line_2" style="x1:60px; y1:30px; x2:425px; y2:30px; "/>
- <line id="line26" class="line_1" style="x1:5px; y1:2px; x2:757px; y2:2px; "/>
- <button id="btn_sndjudg" class="btn2_letter10" style="left:15px; top:130px; width:130px; height:19px; ">
- <caption>2차소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.parent.javaScript.fGetJudgExmpCnts(tar_sndjudgexamcnts);
- ]]>
- </script>
- </button>
- <button id="btn_sickd1" class="btn2_letter4" style="left:433px; top:95px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafGetSickCd("SMAHR01000", "", "", 1 , grd_sicklst.nodeset );
-
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = 1; i < grd_sicklst.rows; i++){
- grd_sicklst.addStatus(i, "insert");
- }
- }
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="sickcd"/>
- <col ref="sicknm"/>
- </datagrid>
- <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; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption63" class="cell_1" style="left:604px; top:7px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
- <caption id="caption64" class="cell_1" style="left:429px; top:7px; width:69px; height:23px; vertical-align:middle; ">판정일자</caption>
- <line id="line2" class="line_2" style="x1:429px; y1:29px; x2:759px; y2:29px; "/>
- </case>
- <case id="case_oral">
- <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
- <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
- <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
- <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/oraljudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
- <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
- </case>
- <case id="case_spec">
- <caption id="caption52" class="cell_1" style="left:198px; top:119px; width:45px; height:80px; vertical-align:middle; ">업무 적합성</caption>
- <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; ">
- <col ref="유해인자명"/>
- <col ref="일차소견명" type="inputbutton"/>
- <col ref="일차조치" type="inputbutton"/>
- <col ref="판정"/>
- <col ref="rmk" type="inputbutton"/>
- <col type="inputbutton"/>
- </datagrid>
- <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; ">
- <col ref="검사명"/>
- <col ref="classf" type="checkbox"/>
- <col ref="rmk" type="checkbox"/>
- </datagrid>
- <textarea id="textarea5" style="left:615px; top:6px; width:133px; height:193px; "/>
- <button id="button22" class="btn2_letter2" style="left:199px; top:174px; width:42px; height:19px; ">
- <caption>추가</caption>
- </button>
- <select id="listbox1" class="listbox" overflow="scroll" appearance="compact" style="left:246px; top:119px; width:157px; height:80px; ">
- <choices>
- <item>
- <label>listbox1</label>
- <value>listbox1</value>
- </item>
- </choices>
- </select>
- <select id="listbox2" class="listbox" overflow="scroll" appearance="compact" style="left:453px; top:119px; width:157px; height:80px; ">
- <choices>
- <item>
- <label>listbox1</label>
- <value>listbox1</value>
- </item>
- </choices>
- </select>
- <caption id="caption53" class="cell_1" style="left:406px; top:119px; width:45px; height:80px; vertical-align:middle; ">사후 관리</caption>
- <button id="button24" class="btn2_letter2" style="left:406px; top:174px; width:42px; height:19px; ">
- <caption>추가</caption>
- </button>
- <line id="line34" class="line_2" style="x1:5px; y1:117px; x2:610px; y2:117px; "/>
- </case>
- <case id="case_genr">
- <textarea id="textarea6" ref="/root/main/acptinfo/rsltlst/judginfo/firstjudg/rjudgdetl" style="left:5px; top:6px; width:742px; height:195px; "/>
- </case>
- </switch>
- <button id="btn_fstjudg" class="btn_sw" group="tab" style="left:5px; top:309px; width:84px; height:22px; ">
- <caption>1차판정</caption>
- <toggle case="case_first" ev:event="onclick"/>
- </button>
- <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:189px; top:309px; width:101px; height:22px; ">
- <caption>2차판정</caption>
- <toggle case="case_second" ev:event="onclick"/>
- </button>
- <button id="btn_oraljudg" class="btn_sw" group="tab" style="left:89px; top:309px; width:101px; height:22px; ">
- <caption>구강검사</caption>
- <toggle case="case_oral" ev:event="onclick"/>
- </button>
- <button id="btn_specjudg" class="btn_sw" group="tab" style="left:289px; top:309px; width:101px; height:22px; ">
- <caption>특수건진판정</caption>
- <toggle case="case_spec" ev:event="onclick"/>
- </button>
- <button id="btn_genrjudg" class="btn_sw" group="tab" style="left:389px; top:309px; width:101px; height:22px; ">
- <caption>혈액정밀판정</caption>
- <toggle case="case_genr" ev:event="onclick"/>
- </button>
- <button id="btn_judg" class="btn5_letter4" style="left:638px; top:309px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("판정내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveJudg(true);
- //fSaveRsltInfo("J");
- }
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="testrsltcnts" type="input"/>
- <col ref="outtestrsltcnts"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="assorsltcnts" type="input"/>
- <col ref="judgcd"/>
- <col ref="judgrsltcnts"/>
- <col ref="judgmark"/>
- <col ref="refl"/>
- <col ref="refh"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( ( (grd_rsltlst.col == parent.col_rslt ) || (grd_rsltlst.col == parent.col_assorslt ) ) && (event.keyCode == 13 ) ) {
- if( grd_rsltlst.row < 1) return ;
- if( grd_rsltlst.row < grd_rsltlst.rows ) {
- if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- }
- else {
- grd_rsltlst.row = grd_rsltlst.row +1;
- //grd_rsltlst.col = col_rslt;
- //grd_rsltlst.editCell();
- window.parent.javaScript.fSetRsltInptMode();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.parent.javaScript.fSetRsltInptMode();
- ]]>
- </script>
- </datagrid>
- <group id="grp_asso" visibility="hidden" style="left:475px; top:50px; width:295px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
- <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; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetAssoRslt("");
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_choi" visibility="hidden" style="left:15px; top:40px; width:295px; height:245px; ">
- <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <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; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="rsltcd" visibility="hidden"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRsltChoi();
- grp_choi.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_textrslt" visibility="hidden" style="left:475px; top:5px; width:295px; height:300px; ">
- <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
- <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_rsltlst.valueMatrix(grd_rsltlst.row , col_rslt ) = tar_textrslt.currentText ;
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
- {
- model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //grp_textrslt.visible = false;
- ]]>
- </script>
- <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; "/>
- <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; "/>
- <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
- {
- var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
- if( idx < 0) return ;
- model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
- if( grd_rsltlst.rowStatus(idx) == 0 ){
- grd_rsltlst.rowStatus(idx) = 2;
- }
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_small" class="icon_top" style="left:5px; top:6px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(false);
- ]]>
- </script>
- </button>
- <button id="btn_large" class="icon_bottom" style="left:5px; top:6px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(true);
- ]]>
- </script>
- </button>
- </case>
- <button id="btn_autojudg" class="btn2_letter4" style="left:617px; top:310px; width:64px; height:19px; ">
- <caption>자동판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/save/healexamflag","G");
- model.makeValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd","1");
- fInitSaveData();
- fCheckSaveInfo();
- fSaveJudg(true);
- model.makeValue("/root/send/save/dgflag",model.getValue("/root/send/dgflag"));
- submit("TXAHB02402");
- fGetJudgInfo();
- ]]>
- </script>
- </button>
- <group id="grp_asso" visibility="hidden" style="left:475px; top:50px; width:295px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
- <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; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetAssoRslt("");
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_choi" visibility="hidden" style="left:15px; top:40px; width:295px; height:245px; ">
- <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <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; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="rsltcd" visibility="hidden"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRsltChoi();
- grp_choi.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <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; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="testrsltcnts" type="input"/>
- <col ref="outtestrsltcnts"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="assorsltcnts" type="input"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="judgrsltcnts" visibility="hidden"/>
- <col ref="judgmark" visibility="hidden"/>
- <col ref="minval"/>
- <col ref="maxval"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if (event.keyCode == 13 ){
- if(grd_rsltlst.col == window.parent.javascript.col_rslt ) {
- //선택형검사결과의 결과컬럼
- if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
- var cdata = fdataValue(vtestcd,vsubcd);
- if (cdata!=null){
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcd");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcnts");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- }
- }
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
- var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
- var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
- var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
-
- if(maxval < testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
- } else
- if(minval > testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
- } else {
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
- }
- }
- }/* else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
- //선택형검사결과의 공단결과
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
- var cdata = fdataValueAsso(vtestcd,vsubcd);
- if (cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- }
- }
- // window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- }*/
- grd_rsltlst.row = grd_rsltlst.row +1;
- }
-
- /* if( ( (grd_rsltlst.col == window.parent.javascript.col_rslt ) || (grd_rsltlst.col == window.parent.javascript.col_assorslt ) ) && (event.keyCode == 13 ) ) {
- if( grd_rsltlst.row < 1) return ;
- if( grd_rsltlst.row < grd_rsltlst.rows ) {
- if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- }
- else {
- grd_rsltlst.row = grd_rsltlst.row +1;
- //grd_rsltlst.col = col_rslt;
- //grd_rsltlst.editCell();
- window.parent.javaScript.fSetRsltInptMode();
- }
- }
- }*/
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // window.parent.javascript.fSetRsltInptMode();
- ]]>
- </script>
- </datagrid>
- <button id="btn_small" class="icon_top" style="left:5px; top:6px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(false);
- ]]>
- </script>
- </button>
- <group id="grp_textrslt" visibility="hidden" style="left:410px; top:60px; width:295px; height:300px; ">
- <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
- <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_rsltlst.valueMatrix(grd_rsltlst.row , col_rslt ) = tar_textrslt.currentText ;
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt )
- {
- model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //grp_textrslt.visible = false;
- ]]>
- </script>
- <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; "/>
- <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; "/>
- <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt )
- {
- var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
- if( idx < 0) return ;
- model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
- if( grd_rsltlst.rowStatus(idx) == 0 ){
- grd_rsltlst.rowStatus(idx) = 2;
- }
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="swt_judg" style="left:5px; top:330px; width:764px; height:228px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_first">
- <caption id="caption25" class="cell_1" style="left:5px; top:79px; width:55px; height:100px; vertical-align:middle; ">판정</caption>
- <line id="line7" class="line_2" style="x1:60px; y1:30px; x2:755px; y2:30px; "/>
- <line id="line13" class="line_2" style="x1:60px; y1:102px; x2:755px; y2:102px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Bjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Rjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <line id="line15" class="line_2" style="x1:60px; y1:178px; x2:755px; y2:178px; "/>
- <caption id="caption26" class="cell_1" style="left:585px; top:103px; width:35px; height:45px; vertical-align:middle; ">기타질환</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/etcsickcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <caption id="caption27" class="cell_1" style="left:5px; top:180px; width:145px; height:44px; vertical-align:middle; "/>
- <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" maxlength="80" style="left:152px; top:180px; width:605px; height:43px; "/>
- <caption id="caption24" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">문진표</caption>
- <line id="line21" class="line_2" style="x1:60px; y1:146px; x2:755px; y2:146px; "/>
- <line id="line27" class="line_3" style="x1:5px; y1:224px; x2:755px; y2:224px; "/>
- <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <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; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/judgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if( rdo_firstjudgcd.value == 3) {
- opener.chk_reexamfg.value = 1;
- }
- else {
- opener.chk_reexamfg.value = 0;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- chk_bjudgdetl.value = "";
- chk_rjudgdetl.value = "";
- ]]>
- </script>
- </select1>
- <button id="btn_firstjudg" class="btn2_letter10" style="left:10px; top:190px; width:130px; height:19px; ">
- <caption>1차소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts);
- ]]>
- </script>
- </button>
- <caption id="caption60" class="cell_1" style="left:5px; top:31px; width:55px; height:23px; vertical-align:middle; ">과거병력</caption>
- <caption id="caption61" class="cell_1" style="left:5px; top:55px; width:55px; height:23px; vertical-align:middle; ">생활습관</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/lifeflaglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/lifestatlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/ynlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/histdiaglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="cell_1" style="left:310px; top:9px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
- <caption id="caption17" class="cell_1" style="left:150px; top:9px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
- <line id="line14" class="line_2" style="x1:60px; y1:54px; x2:755px; y2:54px; "/>
- <line id="line38" class="line_2" style="x1:60px; y1:78px; x2:755px; y2:78px; "/>
- <caption id="caption59" class="cell_1" style="left:489px; top:55px; width:55px; height:23px; vertical-align:middle; ">일반상태</caption>
- <caption id="caption62" class="cell_1" style="left:623px; top:55px; width:79px; height:23px; vertical-align:middle; ">외상및후유증</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/gnrlstatlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/ynlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case_second" selected="true">
- <caption id="caption28" class="cell_1" style="left:5px; top:7px; width:57px; height:49px; vertical-align:middle; ">종합판정</caption>
- <textarea id="tar_sndjudgexamcnts" ref="/root/main/acptinfo/judginfo/secondjudg/sec_judgexamcnts" maxlength="80" style="left:165px; top:170px; width:262px; height:51px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:170px; width:157px; height:52px; vertical-align:middle; "/>
- <caption id="caption30" class="cell_1" style="left:63px; top:7px; width:99px; height:23px; vertical-align:middle; ">판정결과</caption>
- <caption id="caption33" class="cell_1" style="left:63px; top:32px; width:99px; height:23px; vertical-align:middle; ">사후조치</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:60px; y1:56px; x2:760px; y2:57px; "/>
- <caption id="caption31" class="cell_1" style="left:430px; top:170px; width:69px; height:52px; vertical-align:middle; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sndaftercdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line20" class="line_3" style="x1:5px; y1:223px; x2:758px; y2:223px; "/>
- <line id="line18" class="line_2" style="x1:60px; y1:30px; x2:425px; y2:30px; "/>
- <line id="line26" class="line_1" style="x1:5px; y1:2px; x2:757px; y2:2px; "/>
- <button id="btn_sndjudg" class="btn2_letter10" style="left:10px; top:195px; width:130px; height:19px; ">
- <caption>2차소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.parent.javaScript.fGetJudgExmpCnts(tar_sndjudgexamcnts);
- ]]>
- </script>
- </button>
- <button id="btn_sickd1" class="btn2_letter4" style="left:435px; top:190px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafGetSickCd("SMAHR01000", "", "", 1 , grd_sicklst.nodeset );
-
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = 1; i < grd_sicklst.rows; i++){
- grd_sicklst.addStatus(i, "insert");
- }
- }
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="sickcd"/>
- <col ref="sicknm"/>
- </datagrid>
- <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; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption63" class="cell_1" style="left:604px; top:7px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
- <caption id="caption64" class="cell_1" style="left:429px; top:7px; width:69px; height:23px; vertical-align:middle; ">판정일자</caption>
- <line id="line2" class="line_2" style="x1:429px; y1:29px; x2:759px; y2:29px; "/>
- <caption id="caption2" class="cell_1" style="left:5px; top:60px; width:55px; height:105px; vertical-align:middle; ">판정</caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sndjudgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if( rdo_firstjudgcd.value == 3) {
- opener.chk_reexamfg.value = 1;
- }
- else {
- opener.chk_reexamfg.value = 0;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- chk_bjudgdetl.value = "";
- chk_rjudgdetl.value = "";
- ]]>
- </script>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/bjudglsttwo/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cjudglsttwo/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/d2judglsttwo/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/d1judglsttwo/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <line id="line3" class="line_2" style="x1:60px; y1:80px; x2:760px; y2:81px; "/>
- <line id="line4" class="line_2" style="x1:60px; y1:105px; x2:760px; y2:106px; "/>
- <line id="line6" class="line_2" style="x1:60px; y1:125px; x2:760px; y2:126px; "/>
- <line id="line8" class="line_2" style="x1:60px; y1:145px; x2:760px; y2:146px; "/>
- </case>
- <case id="case_oral">
- <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
- <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
- <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
- <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/oraljudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
- <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
- </case>
- </switch>
- <button id="btn_large" class="icon_bottom" style="left:5px; top:6px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(true);
- ]]>
- </script>
- </button>
- <button id="btn_judg" class="btn5_letter4" style="left:550px; top:310px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("판정내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveJudg(true);
- //fSaveRsltInfo("J");
- }
- ]]>
- </script>
- </button>
- <button id="btn_oraljudg" class="btn_sw" group="tab" style="left:89px; top:309px; width:101px; height:22px; ">
- <caption>구강검사</caption>
- <toggle case="case_oral" ev:event="onclick"/>
- </button>
- <button id="btn_fstjudg" class="btn_sw" group="tab" style="left:5px; top:309px; width:84px; height:22px; ">
- <caption>1차판정</caption>
- <toggle case="case_first" ev:event="onclick"/>
- </button>
- <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:189px; top:309px; width:101px; height:22px; ">
- <caption>2차판정</caption>
- <toggle case="case_second" ev:event="onclick"/>
- </button>
- <group id="group1" visibility="hidden" style="left:55px; top:40px; width:295px; height:245px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <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; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="rsltcd" visibility="hidden"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRsltChoi();
- grp_choi.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="button2" class="btn2_letter6" style="left:685px; top:310px; width:86px; height:19px; ">
- <caption>자동판정 설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAHB02800");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|