123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA00810_사후관리.xrw
- * 설 명 : 건진 유소견자 리스트
- * 설 계 자 : 조두현
- * 작 성 자 : 조두현
- * 작 성 일 : 2007.12.06
- * 수정이력 : 2007.12.21 조두현 판정마다 선택할 수 있게
- * 기 타 :
- -->
- <?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>종합판정관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <actitem>
- <item>
- <syn/>
- <lstadverse/>
- <lstpid/>
- <lstnm/>
- <lstsex/>
- <lstage/>
- <lstaftercmt/>
- <lstrst/>
- <lsthealexamflag/>
- <lsthealexamdetlflag/>
- <testcd/>
- <testnm/>
- <cmpynm/>
- </item>
- <item2>
- <syn/>
- <lstsickcd/>
- <lstpid/>
- <lstnm/>
- <lstprgstno1/>
- <lstprgstno2/>
- <lstjudghangcnts/>
- </item2>
- </actitem>
- <pid/>
- <pnm/>
- </main>
- <send>
- <srchhealexamflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchinstcd/>
- <item>
- <lstadverse/>
- <lstpid/>
- <lstnm/>
- <lstsex/>
- <lstage/>
- <lstaftercmt/>
- <lstrst/>
- <lsthealexamflag/>
- <lsthealexamdetlflag/>
- <testcd/>
- </item>
- <prntopt>
- <prntpaper/>
- <prntDetail/>
- </prntopt>
- <cmpcd/>
- <cmpnm/>
- <pana/>
- <panb/>
- <panc/>
- <pand/>
- <panr/>
- <panall/>
- <sick/>
- </send>
- <init>
- <baseinfo>
- <hedetflaglst/>
- </baseinfo>
- </init>
- <hidden>
- <ts>
- <test>
- <sickcd/>
- <sicknm/>
- </test>
- </ts>
- </hidden>
- <temp>
- <item/>
- </temp>
- </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"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- {
- //종건선택
- model.toggle("case_sch");
- //판정조회 선택
- model.toggle("case_judg");
- btn_judg.selected = true;
-
- fGetBasicCdList();
- fSrchInit();
- fInit(false );
- //전체선택 미리 세팅(판정미리 전체 선택하는거임)
- model.setValue("/root/send/panall","Y");
- model.setValue("/root/send/pana","A");
- model.setValue("/root/send/panb","B");
- model.setValue("/root/send/panc","C");
- model.setValue("/root/send/pand","D");
- model.setValue("/root/send/panr","R");
- model.refresh();
-
-
- btn_search.disabled = !checkAuth("R");
- btn_print.disabled = !checkAuth("R");
- btn_sickcd.visible = false;
- btn_judg.visible = true;
-
-
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAHB00710" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/actitem"/>
- <submission id="TRAHB00711" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/actitem"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //건진분류를 하기위한 변수
- var m_vHealexamflag = "";
-
- /**===================================================================================
- *초기화
- * bDetl => true : 건진자별 상세내역만 초기화
- =====================================================================================*/
- function fInit(bDetl){
- model.removeNodeset(grd_advtlst.nodeset);
- model.removeNodeset(grd_sicklst.nodeset);
- var cur_date = getCurrentDate();
- cmb_Paper.select(0);
- cmb_prntflag.select(0);
- model.refresh();
- }
-
- /**===================================================================================
- ** 조회조건 초기화
- =====================================================================================*/
- function fSrchInit(){
- cmb_healexamflag.refresh();
- cmb_healexamflag.select(0);
-
- var cur_date = getCurrentDate();
- model.setValue(ip_fromdd.attribute("ref") , cur_date);
- model.setValue(ip_todd.attribute("ref") , cur_date);
-
- }
- /**===================================================================================
- *기본코드 내역 가져오기
- =====================================================================================*/
- function fGetBasicCdList(){
- btn_search.selected= true;
- if( m_vHealexamflag == "" ) {
- m_vHealexamflag = fGetHealExamFlag();
- }
- openLoadingBar("기초정보 ") ;//처리중 화면을 오픈한다.
- zbcfGetCodeList( new Array("A0069")
- , new Array( "/root/init/baseinfo/hedetflaglst") );
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**===================================================================================
- @desc : 건진내역 콤보박스 선택 시 해당 선택건진 key 값 얻기
- @param : index , param(rsrvdd, rsrvno, pkgnm, pkgcd )
- =====================================================================================*/
- function fGetRsrvInfoFromHistory(vCmbIndex, vParam ){
- if( vCmbIndex < 0 ) return "";
- var ndlist = instance1.selectNodes("/root/temp/histlst/item");
- if( ndlist == null ) return "";
- if( ndlist.length < 1) return ;
- var ret = "";
- if( vParam == "rsrvdd"){
- ret = ndlist.item(vCmbIndex).rsrvdd.text ;
- }
- else if( vParam == "rsrvno"){
- ret = ndlist.item(vCmbIndex).rsrvno.text ;
- }
- else if( vParam == "pkgnm"){
- ret = ndlist.item(vCmbIndex).pkgnm.text ;
- }
- else if( vParam == "pkgcd"){
- ret = ndlist.item(vCmbIndex).pkgcd.text ;
- }
- else if( vParam == "pid"){
- ret = ndlist.item(vCmbIndex).pid.text ;
- }
- else if( vParam == "orddd"){
- ret = ndlist.item(vCmbIndex).orddd.text ;
- }
- else if( vParam == "cretno"){
- ret = ndlist.item(vCmbIndex).cretno.text ;
- }
- else if( vParam == "healexamflag"){
- ret = ndlist.item(vCmbIndex).healexamflag.text ;
- }
- return ret ;
- }
- /*=====================================================================================
- @desc : 환자번호로 건진자 정보 가져오기...
- =====================================================================================*/
- function fGetPatinfoWithPid(sPid ) {
- if( sPid == "" ) return ;
-
- if( ahafGetPatInfo(2, sPid, "" , "/root/init/send/item2" )==true ) {
- //해당환자의 건진history조회
- ahafGetHistList2(sPid, cmb_srchhealexamdetlflag.value , "G");
- }
- }
- /*=====================================================================================
- @desc : 유해인자 리스트 조회 얻어오기(C,R)
- =====================================================================================*/
- function fGetAdverse(){
- //건진분류를 얻어오기
- var vHealexamflag=fGetHealExamFlag();
-
- //건진분류된것이 없다면
- if(vHealexamflag=="") return;
-
- model.setValue("/root/send/srchhealexamflag" ,"C");
- model.setValue("/root/send/srchfromdd" ,getRemoveFormatter(ip_fromdd.currentText));
- model.setValue("/root/send/srchtodd" ,getRemoveFormatter(ip_todd.currentText));
- model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/pana",chk_a.value);
- model.setValue("/root/send/panb",chk_b.value);
- model.setValue("/root/send/panc",chk_c.value);
- model.setValue("/root/send/pand",chk_d.value);
- model.setValue("/root/send/panr",chk_r.value);
- // model.setValue("/root/send/sick",chk_sick.value);
-
- //사업장 입력시 서브밋 설정
- if(ipt_concmpycd.currentText =="") {
- submit("TRAHB00710");
- }else {
- model.setValue("/root/send/cmpcd",ipt_concmpycd.currentText);
- submit("TRAHB00711");
- }
- }
-
- /*=====================================================================================
- @desc : 질환코드로 조회시
- =====================================================================================*/
- function fGetSickCd(){
- //건진분류를 얻어오기
- var vHealexamflag=fGetHealExamFlag();
-
- //건진분류된것이 없다면
- if(vHealexamflag=="") return;
-
- model.setValue("/root/send/srchhealexamflag" ,"C");
- model.setValue("/root/send/srchfromdd" ,getRemoveFormatter(ip_fromdd.currentText));
- model.setValue("/root/send/srchtodd" ,getRemoveFormatter(ip_todd.currentText));
- model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/sick",chk_sick.value);
-
-
-
-
- //사업장 입력시 서브밋 설정
- if(ipt_concmpycd.currentText =="") {
- submit("TRAHB00710");
- }else {
- model.setValue("/root/send/cmpcd",ipt_concmpycd.currentText);
- submit("TRAHB00711");
- }
- }
-
- /*=====================================================================================
- @desc : 유해인자 리스트 전체 선택
- =====================================================================================*/
-
- function allSelectadverse(){
- var iRowCount;
-
- //행이 하나도 없다면
- if (grd_advtlst.rows<1) return
- for (iRowCount=1;iRowCount<grd_advtlst.rows;iRowCount++){
- grd_advtlst.valueMatrix(iRowCount,1)="Y";
- }
- model.refresh();
- }
-
- /*=====================================================================================
- @desc : 유해인자 리스트 전체 선택 해제
- =====================================================================================*/
- function allunSelectadverse(){
- var iRowCount;
-
- for (iRowCount=1;iRowCount<grd_advtlst.rows;iRowCount++){
- grd_advtlst.valueMatrix(iRowCount,1)="N";
- }
- model.refresh();
- }
- /*=====================================================================================
- @desc : 유해인자 선택한것만 리스트 출력
- =====================================================================================*/
-
- function fPrntAdverse(){
- //저장 할 변수 확인
- var vPrntFg =cmb_prntflag.value;
-
- //페이퍼가 아니라면
- if( vPrntFg != "paper" ) {
-
- exeReportPreview("RPAHR00701", "XMLSTR" , "/root/main/actitem/item", "" ,"false" /*출력여부*/ , "", vPrntFg /*저장타입*/,"유소견자" /*파일명*/ , "", "false" );
- }
- else {
- exeReportPreview("RPAHR00701", "XMLSTR" , "/root/main/actitem/item" , "" ,"true" , "", "", "", "", "false" );
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:75px; height:13px; ">사후관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <switch id="switch1" style="left:3px; top:25px; width:1190px; height:713px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_sch" selected="true" style="left:0px; top:0px; width:1188px; height:711px; ">
- <caption id="caption15" class="tit_2" style="left:5px; top:53px; width:151px; height:13px; ">유소견자 리스트</caption>
- <group id="group1" scroll="auto" style="left:5px; top:9px; width:1165px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1165px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:6px; top:10px; width:89px; height:17px; ">건진종류 :</caption>
- <button id="button4" class="btn1_letter2" style="left:1100px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //선택된 유소견자 조회
- //A,B,C,D,R
- var val = btn_sickcd.attribute("visibility");
- if(val == "hidden"){
- fGetAdverse();
- }else{
- fGetSickCd();
- }
-
- //컨트롤 초기화
- fSrchInit();
- ]]>
- </script>
- </button>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" class="combo_s_essential" appearance="minimal" style="left:95px; top:10px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetflaglst/A0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_pnm" ref="/root/main/pnm" class="input_default" style="left:975px; top:10px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- inputEnterKey("btn_search2","DOMActivate" );
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/pid" class="input_default" style="left:855px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search2", "DOMActivate");
- if( event.keyCode == 13 ){
- //건진자 정보 가져오기...
- fGetPatinfoWithPid(ipt_pid.currentText);
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:770px; top:10px; width:89px; height:17px; ">등록번호 :</caption>
- <output id="opt_sex" ref="/root/send/item1/srchsex" class="output_fix" visibility="hidden" style="left:1020px; top:10px; width:33px; height:19px; "/>
- <output id="opt_age" ref="/root/send/item1/srchage" class="output_fix" visibility="hidden" style="left:1055px; top:10px; width:33px; height:19px; "/>
- <button id="btn_search2" class="icon_search" style="left:960px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_pid.currentText != ""){
- fSearchPatInfo("SMAHA00810", "pid", ipt_pid.currentText , "N", "/root/main" ,ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
- }else{
- fSearchPatInfo("SMAHA00810", "pnm", ipt_pnm.currentText , "N", "/root/main" ,ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
- }
- var vPid = model.getValue(ipt_pid.attribute("ref")) ;
- if( vPid != "" ) {
-
- }
- ]]>
- </script>
- </button>
- <input id="ip_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:235px; top:10px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fGetList();
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:182px; top:10px; width:64px; height:17px; ">일자 :</caption>
- <input id="ip_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:336px; top:10px; width:95px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:431px; top:10px; width:89px; height:17px; ">단체코드 :</caption>
- <button id="btn_cmpysel" class="icon_search" style="left:612px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //단체 코드 불러오기
- fGetComnCd("SMAHA00810", "08", "cd", ipt_concmpycd.currentText , "/root/send/cmpcd", "/root/send/cmpnm");
- ]]>
- </script>
- </button>
- <output id="opt_concmpynm" ref="/root/send/cmpnm" class="output_fix" style="left:635px; top:10px; width:132px; height:19px; "/>
- <input id="ipt_concmpycd" ref="/root/send/cmpcd" class="input_essential" style="left:519px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //단체코드 불러오기
- if( event.keyCode == 13 ){
- fGetComnCd("SMAHA00810", "08", "nm", ipt_concmpycd.currentText , "/root/send/cmpcd", "/root/send/cmpnm");
- }
- ]]>
- </script>
- </input>
- </group>
- <button id="button1" class="btn3_letter4" style="left:5px; top:75px; width:80px; height:22px; ">
- <caption>일괄선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //일괄선택하는 이벤트
- allSelectadverse();
- ]]>
- </script>
- </button>
- <select1 id="cmb_Paper" ref="/root/send/prntopt/prntpaper" class="combo_default" disabled="false" appearance="minimal" style="left:265px; top:75px; width:139px; height:19px; ">
- <choices>
- <item>
- <label>A4</label>
- <value>01</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="cell_1" style="left:407px; top:74px; width:80px; height:23px; vertical-align:middle; ">출력구분</caption>
- <caption id="caption3" class="tit_2" style="left:185px; top:55px; width:74px; height:13px; ">출력옵션</caption>
- <line id="line1" class="line_1" style="x1:185px; y1:70px; x2:650px; y2:70px; "/>
- <select1 id="cmb_prntflag" ref="/root/send/prntopt/prntDetail" class="combo_default" appearance="minimal" style="left:490px; top:75px; width:154px; height:19px; ">
- <choices>
- <item>
- <label>Paper</label>
- <value>paper</value>
- </item>
- <item>
- <label>Excel</label>
- <value>xls</value>
- </item>
- <item>
- <label>PDF</label>
- <value>pdf</value>
- </item>
- <item>
- <label>HTML</label>
- <value>html</value>
- </item>
- <item>
- <label>Bmp</label>
- <value>bmp</value>
- </item>
- <item>
- <label>txt-File</label>
- <value>txt</value>
- </item>
- <item>
- <label>Xml</label>
- <value>xml</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:182px; top:74px; width:80px; height:23px; vertical-align:middle; ">출력용지</caption>
- <line id="line2" class="line_1" style="x1:7px; y1:70px; x2:172px; y2:70px; "/>
- <button id="button2" class="btn3_letter4" style="left:90px; top:75px; width:80px; height:22px; ">
- <caption>일괄해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //일괄해제 하는 함수
- allunSelectadverse();
- ]]>
- </script>
- </button>
- <caption id="cap_title" class="tit_2" style="left:675px; top:55px; width:74px; height:13px; ">판정선택</caption>
- <line id="line3" class="line_1" style="x1:675px; y1:70px; x2:1140px; y2:70px; "/>
- <select id="chk_all" ref="/root/send/panall" overflow="visible" appearance="full" cols="4" rows="1" style="left:675px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체선택</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //전체선택 이벤트
- model.setValue("/root/send/pana","A");
- model.setValue("/root/send/panb","B");
- model.setValue("/root/send/panc","C");
- model.setValue("/root/send/pand","D");
- model.setValue("/root/send/panr","R");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- chk_all.selected=false;
- //전체해제 이벤트
- model.setValue("/root/send/pana","");
- model.setValue("/root/send/panb","");
- model.setValue("/root/send/panc","");
- model.setValue("/root/send/pand","");
- model.setValue("/root/send/panr","");
- model.refresh();
-
- ]]>
- </script>
- </select>
- <select id="chk_a" ref="/root/send/pana" overflow="visible" appearance="full" cols="4" rows="1" style="left:753px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>A판정</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //A판정 선택시 이벤트
- model.setValue("/root/send/pana","A");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //A판정 미선택시 이벤트
- model.setValue("/root/send/pana","");
- ]]>
- </script>
- </select>
- <select id="chk_b" ref="/root/send/panb" overflow="visible" appearance="full" cols="4" rows="1" style="left:831px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>B판정</label>
- <value>B</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // B판정 선택시 이벤트
- model.setValue("/root/send/panb","B");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //B판정 미선택시 이벤트
- model.setValue("/root/send/panb","");
- ]]>
- </script>
- </select>
- <select id="chk_c" ref="/root/send/panc" overflow="visible" appearance="full" cols="4" rows="1" style="left:909px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>C판정</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //C판정 선택시 이벤트
- model.setValue("/root/send/panc","C");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //C판정 미선택시 이벤트
- model.setValue("/root/send/panc","");
- ]]>
- </script>
- </select>
- <select id="chk_d" ref="/root/send/pand" overflow="visible" appearance="full" cols="4" rows="1" style="left:987px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>D판정</label>
- <value>D</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //D판정 선택시 이벤트
- model.setValue("/root/send/pand","D");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //D판정 미선택시 이벤트
- model.setValue("/root/send/pand","");
- ]]>
- </script>
- </select>
- <select id="chk_r" ref="/root/send/panr" overflow="visible" appearance="full" cols="4" rows="1" style="left:1065px; top:75px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>R판정</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //R 판정 선택시 이벤트
- model.setValue("/root/send/panr","R");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //R판정 미선택시 이벤트
- model.setValue("/root/send/panr","");
- ]]>
- </script>
- </select>
- <button id="btn_sickcd" class="btn2_letter4" overflow="visible" style="left:1075px; top:75px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = chk_sick.length;
- ahafGetSickCd("SMAHB00800", "", "", cnt , "/root/hidden/ts/test" );
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- chk_sick.visible = true;
- for( var i = 0 ; i < chk_sick.length ; i++){
- chk_sick.select(i);
- }
- }
- ]]>
- </script>
- </button>
- <select id="chk_sick" ref="/root/send/sick" overflow="visible" appearance="full" cellspacing="1" cols="2" sep="^" style="left:675px; top:75px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/hidden/ts/test">
- <label ref="sicknm"/>
- <value ref="sickcd"/>
- </itemset>
- </choices>
- </select>
- <switch id="switch2" style="left:5px; top:130px; width:1178px; height:575px; ">
- <case id="case_judg" selected="true">
- <datagrid id="grd_advtlst" nodeset="/root/main/actitem/item" visibility="visible" caption="선택^판정코드^등록번호^성명^성별^연령^테스트코드^테스트이름^검사결과^건진소견^단체이름^건강구분^판정세부코드" colsep="^" colwidth="50, 60, 100, 90, 60, 60, 100, 145, 200, 350, 100, 100, 60" explorerbar="sortshow" mergecellsfixedcols="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" selectionmode="byrow" style="left:5px; top:5px; width:1166px; height:563px; text-align:center; vertical-align:middle; ">
- <col checkvalue="Y,N" ref="syn" type="checkbox"/>
- <col ref="lstadverse" style="left:41px; top:23px; width:60px; height:23px; "/>
- <col ref="lstpid" visibility="hidden" style="text-align:center; "/>
- <col ref="lstnm" style="text-align:center; "/>
- <col ref="lstsex" style="text-align:center; vertical-align:middle; "/>
- <col ref="lstage"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="lstrst" style="left:682px; top:23px; width:218px; height:23px; "/>
- <col ref="lstaftercmt"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col disabled="true" ref="lsthealexamflag" visibility="hidden" style="left:1120px; top:23px; width:100px; height:23px; "/>
- <col disabled="true" ref="lsthealexamdetlflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fGetRsltInfo();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_advtlst.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_sick">
- <datagrid id="grd_sicklst" nodeset="/root/main/actitem/item2" visibility="visible" caption="선택^질병코드^등록번호^질환명^성명^주민번호1^주민번호2^소견" colsep="^" colwidth="50, 100, 100, 150, 150, 100, 100, 400" explorerbar="sortshow" mergecellsfixedcols="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" selectionmode="byrow" style="left:5px; top:5px; width:1166px; height:563px; text-align:center; vertical-align:middle; ">
- <col checkvalue="Y,N" ref="syn" type="checkbox"/>
- <col ref="lstsickcd" style="left:41px; top:23px; width:60px; height:23px; "/>
- <col ref="lstpid" style="text-align:center; "/>
- <col ref="lstnm" style="text-align:center; "/>
- <col ref="lstprgstno1" style="text-align:center; "/>
- <col ref="lstprgstno2" style="text-align:center; vertical-align:middle; "/>
- <col ref="lstjudghangcnts" style="text-align:center; vertical-align:middle; "/>
- <col ref="lstjudghangcnts"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fGetRsltInfo();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_advtlst.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_judg" class="btn_sw" group="tab" selected="true" style="left:8px; top:110px; width:80px; height:22px; ">
- <caption>판정조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case_judg");
- btn_judg.selected = true;
- btn_sickcd.attribute("visibility") = "hidden";
- chk_sick.attribute("visibility") = "hidden";
- chk_all.attribute("visibility") = "visible";
- chk_a.attribute("visibility") = "visible";
- chk_b.attribute("visibility") = "visible";
- chk_c.attribute("visibility") = "visible";
- chk_d.attribute("visibility") = "visible";
- chk_r.attribute("visibility") = "visible";
- cap_title.value = "판정선택";
- ]]>
- </script>
- </button>
- <button id="btn_sick" class="btn_sw" visibility="visible" group="tab" selected="true" style="left:88px; top:110px; width:85px; height:22px; ">
- <caption>질환조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case_sick");
- btn_sick.selected = true;
- btn_sickcd.attribute("visibility") = "visible";
- chk_sick.attribute("visibility") = "visible";
- chk_all.attribute("visibility") = "hidden";
- chk_a.attribute("visibility") = "hidden";
- chk_b.attribute("visibility") = "hidden";
- chk_c.attribute("visibility") = "hidden";
- chk_d.attribute("visibility") = "hidden";
- chk_r.attribute("visibility") = "hidden";
- cap_title.value = "질환선택";
- ]]>
- </script>
- </button>
- </case>
- <case id="case_rep"/>
- </switch>
- <button id="btn_search" class="btn_sw" group="tab" selected="true" style="left:3px; top:5px; width:80px; height:22px; ">
- <caption>종건조회</caption>
- <toggle case="case_sch" ev:event="onclick"/>
- </button>
- <button id="btn_print" class="btn_sw" disabled="true" visibility="hidden" group="tab" selected="true" style="left:83px; top:5px; width:85px; height:22px; ">
- <caption>일건조회</caption>
- <toggle case="case_rep" ev:event="onclick"/>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:754px; width:1195px; height:27px; ">
- <button id="btn_clear" class="btn4_letter3" style="left:1122px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //초기화 하기위한 함수
- fInit(false );
- ]]>
- </script>
- </button>
- <button id="btn_selprnt" class="btn3_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntAdverse();
- //exeReportPreview("RPAHR00701", "XMLSTR" , "/root/main/actitem/item");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|