1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLJ00600_CMC위탁의뢰결과관리(위탁병원).xrw
- * 설 명 : CMC위탁의뢰결과관리(위탁병원)
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2010.01.19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>CMC위탁검사접수</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <trustlist>
- <acptdd/>
- <reqinstcd/>
- <reqbcno/>
- <tclsnm/>
- <spcnm/>
- <reqtclscd/>
- <reqspccd/>
- <trustinstcd/>
- <trustbcno/>
- <reqpid/>
- <trustpid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <sexage/>
- <bixflagcd/>
- <reqdd/>
- <reqtm/>
- <reqnm/>
- <cnfmdd/>
- <cnfttm/>
- <cnfmnm/>
- <conttestintvlflagcd/>
- <conttestorgtims/>
- <conttestbasetm/>
- <prcpdelivefact/>
- <suppkind/>
- <acptstatcd/>
- <etc1/>
- <etc2/>
- <etc3/>
- <urinextrvol/>
- <reqorddrnm/>
- <reqorddeptnm/>
- <reqwardroom/>
- <reqno/>
- <userflagcd/>
- <reqfrmcd/>
- <sectnm/>
- </trustlist>
- <outerlist>
- <chk/>
- <reqdd/>
- <reqinstcd/>
- <reqbcno/>
- <trustbcno/>
- <tclsnm/>
- <spcnm/>
- <reqpid/>
- <trustpid/>
- <hngnm/>
- <sex/>
- <age/>
- <rsltstat/>
- <reptrslt/>
- <descrsltyn/>
- <descrslt/>
- <readrslt/>
- <imagrsltyn/>
- <imgrslt/>
- <imght/>
- <imgwidt/>
- <rrgstno/>
- <usernm/>
- <deptengabbr/>
- <wardroom/>
- <urinextrvol/>
- <tclscd/>
- <spccd/>
- <testcd/>
- <tclskind/>
- <trustinstcd/>
- <level/>
- <trustreptdt/>
- <cmtyn/>
- </outerlist>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- <fromdd/>
- <fromtm/>
- <todd/>
- <totm/>
- <acptgbn/>
- <extrinstcd/>
- <outerdata/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <trustgbn>1</trustgbn>
- <fromdd/>
- <fromtm>0000</fromtm>
- <todd/>
- <totm>2359</totm>
- <trustinstcd>00</trustinstcd>
- <acptgbn>1</acptgbn>
- <extrinstcd>00</extrinstcd>
- <rsltallstat>-</rsltallstat>
- <sectcd>00</sectcd>
- <tsectcd>00</tsectcd>
- </ref>
- <data1/>
- <imgrslt/>
- </hidden>
- <temp>
- </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/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //초기화
- fSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB"/>
- <submission id="TRLLJ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trustlist"/>
- <submission id="TXLLJ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLLJ00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerlist"/>
- <submission id="TXLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(){
-
- // 위탁의뢰 case 보여주기
- fbuttonvisible("A");
-
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/trustlist"); // 의뢰 목록
- model.resetInstanceNode("/root/main/outerlist"); // 결과 목록
-
- model.makeValue("/root/send/codeflag", "0110|0000|0111|0106|"); //0110 외부기관코드 0000 유저플래그 0111 시행부서 0106 세부 시행부서
- submit("TRLZZ00101");
-
- var today = getCurrentDate();
-
- grd_trustlist.fixedcellcheckbox(0,1)=true; // 의뢰 전체체크
- grd_outer.fixedcellcheckbox(0,1) = true; // 결과 전체체크
-
- /* fbuttonvisible 여기로 들여보냄
- if(sw_req.selected == true){ // 의뢰
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- }else{ // 결과
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-30);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- }
-
- //model.setValue("/root/hidden/ref/fromdd", today);
- model.setValue("/root/hidden/ref/todd", today);
- */
- //fExeTrustRadio();
- model.removeNodeset("/root/main/trustlist");
-
- model.refresh();
-
- }
-
- // 위수탁리스트 조회
- function fGetTrustOperList(){
- //model.resetInstanceNode("/root/send");
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/hidden/ref/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeNode("/root/send/data1");
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLLJ00701");
-
- }
-
- // 의뢰
- function fSetTrustAcpt(){
-
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- grd_trustlist.rowStatus(tRow) = 2;
- }else{
- grd_trustlist.rowStatus(tRow) = 0;
- }
- }
- model.makeValue("/root/send/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00701");
-
- fGetTrustOperList();
- }
-
- // 조회구분따라 접수버튼 숨기기
- function fExeTrustRadio(){
-
- var Tradio = model.getValue("/root/hidden/ref/trustgbn");
- if(sw_req.selected == true){
- if(Tradio == "1"){ // 의뢰
- btn_reqcnfm.visible = true; //의뢰버튼 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = false;
- cmb_TLrgCd.disabled = false;
- cmd_TMdlCd.disabled = false;
- }else if(Tradio == "2"){ //위탁전송
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = true; //취소버튼 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = true;
- cmb_TLrgCd.disabled = true;
- cmd_TMdlCd.disabled = true;
- }else if(Tradio == "3"){ //확인
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = true;
- cmb_TLrgCd.disabled = true;
- cmd_TMdlCd.disabled = true;
- }
- }else{ // 위탁전송 스위치 선택 안됐을때
- btn_rsltsave.visible = true; //결과전송 보임
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- fSetSavebutton();
- }
-
- model.refresh();
-
- }
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
-
- // 의뢰한거 취소
- function fExeTrustCancel(){
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- grd_trustlist.rowStatus(tRow) = 2;
- }else{
- grd_trustlist.rowStatus(tRow) = 0;
- }
- }
- model.makeValue("/root/send/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00702");
-
- fGetTrustOperList();
-
- }
-
- // 스위치에 따라 버튼 보이기
- function fbuttonvisible(ref){
- var today = getCurrentDate();
- // 위탁의뢰
- if(ref == "A"){
- model.toggle("case_req");
- fExeTrustRadio();
-
- // 의뢰일때 조회구간 5일
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
- }
- // 위탁결과등록
- else if(ref == "B"){
- model.resetInstanceNode("/root/send/data1");
- model.toggle("case_rslt");
- fExeTrustRadio();
- //결과일때 조회구간 1달
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-30);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
-
- }
- model.refresh();
- }
-
- // 접수구분 선택시 결과저장, 결과확인버튼 숨기기
- function fSetSavebutton(){
-
- if(model.getValue("/root/hidden/ref/acptgbn")=="1"){ // 의뢰
- btn_rsltsave.visible = true;
- cmb_allrsltset.disabled = false;
- btn_rsltstat_allset.disabled = false;
- cmb_sect_rslt.disabled = true;
- cmb_tsec_rslt.disabled = true;
- grd_outer.colHidden(21) = true;
- }else{ // 전송
- btn_rsltsave.visible = false;
- cmb_allrsltset.disabled = true;
- btn_rsltstat_allset.disabled = true;
- cmb_sect_rslt.disabled = false;
- cmb_tsec_rslt.disabled = false;
- grd_outer.colHidden(21) = false;
- }
- model.refresh();
- }
-
- // 저장상태 변경
- function fSetRsltStat(){
-
- if(grd_outer.rows> 1){
- for(i=1; i<grd_outer.rows; i++){
- model.setValue("/root/main/outerlist["+i+"]/rsltstat", model.getValue("/root/hidden/ref/rsltallstat"));
- }
- model.refresh();
- }else{
- alert("변경할 내용이 없습니다. ");
- }
- }
-
- // 수탁검사결과조회
- function fGetWitakRslt(){
-
- //if(!fSetRefFromdd()){ // 3일 내로만 조회되게
- // return;
- //}
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
- model.makeValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
- model.makeValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
- model.makeValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
- model.makeValue("/root/send/acptgbn", model.getValue("/root/hidden/ref/acptgbn"));
- model.makeValue("/root/send/extrinstcd", model.getValue("/root/hidden/ref/extrinstcd"));
- model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeValue("/root/send/sectcd", model.getValue("/root/hidden/ref/sectcd"));
- model.makeValue("/root/send/tsectcd", model.getValue("/root/hidden/ref/tsectcd"));
-
- submit("TRLOR00401");
-
- setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
- //model.refresh();
- }
-
- // 결과전송
- function fExeOuterRslt(){
-
- // 이미지 결과 Y인것 업로드 하기
- //fGetImgFile();
- var outerdata = getGridUpdateData(grd_outer);
-
- // 그리드 선택 안하면
- if(outerdata == ""){
- alert("결과등록할 내용이 없습니다. ");
- return;
- }
-
- var rstat = "";
- for(i=1; i<grd_outer.rows; i++){
- if((model.getValue("/root/main/outerlist["+i+"]/chk")=="true") && (model.getValue("/root/main/outerlist["+i+"]/rsltstat")=="-")){ // 체크돼있는데 결과상태 - 인거
- rstat += model.getValue("/root/main/outerlist["+i+"]/rsltstat");
- }
- }
-
- if(rstat != ""){
- alert("결과상태를 변경해주세요.");
- return;
- }
-
- model.makeValue("/root/send/outerdata", outerdata);
- //fSetImgUpload();
-
- if(submit("TXLOR00401", true)){
- fGetWitakRslt();
- // model.resetInstanceNode("/root/main/outerlist");
- //model.resetInstanceNode("/root/main/view");
- }
- //model.removeNodeset("/root/send/attach");
- //model.resetInstanceNode("/root/send");
-
- model.refresh();
-
- }
-
- // 서술결과버튼 클릭하면 상세보기 팝업
- function fGetDescrslt(){
- model.resetInstanceNode("/root/hidden/descrslt");
-
- var row = grd_outer.row;
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/descrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/descrslt/readrslt", model.getValue("/root/main/outerlist["+row+"]/readrslt"));
-
- modal("SPLOR90100","", "", "","", "/root/hidden/descrslt", "/root/hidden/descrslt");
- }
- }
- }
-
- // 이미지결과 보여주기
- function fSetImgRsltView(){
- model.resetInstanceNode("/root/hidden/spcltestinfo");
-
- var row = grd_outer.row;
-
- if(model.getValue("/root/hidden/ref/acptgbn")=="1"){
- //alert("접수구분이 미보고 상태일때는 이미지결과 조회가 불가능합니다. ");
- //return;
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
- model.makeValue("/root/hidden/imgrslt/imgrslt", model.getValue("/root/main/outerlist["+row+"]/imgrslt"));
- model.makeValue("/root/hidden/imgrslt/imght", model.getValue("/root/main/outerlist["+row+"]/imght"));
- model.makeValue("/root/hidden/imgrslt/imgwidt", model.getValue("/root/main/outerlist["+row+"]/imgwidt"));
- modal("SPLOR90200","", "", "","", "/root/hidden/imgrslt", "/root/hidden/imgrslt");
-
- }
- }
- }else{
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/reqbcno"));
- model.makeValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
- model.makeValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
- model.makeValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
- model.makeValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/reqpid"));
- model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
-
- modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
- }
- }
-
- }
- }
-
- // 그리드 전체선택, 전체해제
- function fsetgridstatus(){
- for(i=1; i< grd_outer.rows; i++){
- if(model.getValue("/root/main/outerlist["+i+"]/chk") == "true"){
- grd_outer.rowStatus(i) = 2;
- }else{
- grd_outer.rowStatus(i) = 0;
- }
-
- }
- }
-
- // 검체번호 같은겉 전부선택되게
- function fSetBcnocheck(){
-
- for(i=1; i<grd_outer.rows; i++ ){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/chk")=="true"){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "true");
-
- }
- //grd_outer.rowStatus(i) = 2; // 수정
- }else{
- //alert("i= " + i);
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "false");
-
- }
- //grd_outer.rowStatus(i) = 0; // 취소
- }
-
- if(model.getValue("/root/main/outerlist["+ i +"]/chk") == "true"){
-
- grd_outer.rowStatus(i) = 2; // 수정
- }else{
- grd_outer.rowStatus(i) = 0; // 취소
- }
- }
-
- grd_outer.refresh();
- }
-
- // 대분류콤보 선택시
- function fSetTLrgCd() {
- var etc = model.getvalue("/root/hidden/ref/sectcd");
-
- if(etc == "00"){
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- cmb_tsec_rslt.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- model.setValue("/root/hidden/ref/tsectcd" , "00");
- }
- else{
- model.setValue("/root/hidden/ref/tsectcd" , "00");
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- cmb_tsec_rslt.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- }
- cmd_TMdlCd.refresh();
- cmb_tsec_rslt.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <switch id="switch1" style="left:0px; top:25px; width:1190px; height:700px; ">
- <case id="case_req">
- <group id="group1" style="left:5px; top:5px; width:1180px; height:60px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1179px; height:60px; "/>
- <line id="line3" class="line_4" style="x1:1094px; y1:17px; x2:1094px; y2:39px; "/>
- <caption id="caption3" class="search_name" style="left:19px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
- <caption id="caption2" class="search_no_b" style="left:615px; top:10px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <caption id="caption4" class="search_name" style="left:434px; top:9px; width:87px; height:17px; ">조회일자 :</caption>
- <caption id="caption5" class="search_name" style="left:759px; top:9px; width:87px; height:17px; ">의뢰병원 :</caption>
- <select1 id="cmb_extrinst_req" ref="/root/hidden/ref/trustinstcd" class="combo_search" appearance="minimal" style="left:855px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd_req" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:525px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_todd_req" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:630px; top:8px; width:85px; height:19px; "/>
- <select1 id="rdo_refgbn_req" ref="/root/hidden/ref/trustgbn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:115px; top:8px; width:280px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>미전송</label>
- <value>1</value>
- </item>
- <item>
- <label>전송완료</label>
- <value>2</value>
- </item>
- <item>
- <label>의뢰병원접수확인</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeTrustRadio();
- ]]>
- </script>
- </select1>
- <button id="btn_ref_req" class="btn1_letter2" style="left:1109px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustOperList();
- ]]>
- </script>
- </button>
- <caption id="caption14" class="search_name" style="left:19px; top:34px; width:86px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_TLrgCd" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:115px; top:34px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTLrgCd();
- ]]>
- </script>
- </select1>
- <select1 id="cmd_TMdlCd" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:214px; top:34px; width:110px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_trustlist" nodeset="/root/main/trustlist" class="datagrid2" caption="^의뢰상태^접수일자^의뢰병원^본원
바코드^검사명^검체명^본원
등록번호^환자명^성별^나이^주민번호^주민번호^의뢰의사명^진료과^병동/병실^시행부서^여권번호^구분코드^의뢰 일자^의뢰 시간^의뢰자^확인 일자^확인 시간^확인자^연속검사
여부^연속검사^연속검사^전달사항^미수
코드^접수구분^소변량^tclscd^spccd^의뢰병원
바코드^의뢰병원
등록번호^본원^reqno^userflagcd^reqfrmcd" colsep="^" colwidth="25, 70, 80, 100, 90, 140, 100, 85, 80, 40, 40, 55, 60, 70, 50, 80, 80, 100, 100, 90, 70, 70, 90, 70, 70, 60, 50, 50, 100, 50, 66, 100, 59, 59, 90, 90, 100, 44, 100, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:94px; width:1179px; height:600px; text-align:center; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col disabled="true" ref="acptstatcd" type="combo">
- <choices>
- <item>
- <label>미전송</label>
- <value>0</value>
- </item>
- <item>
- <label>전송완료</label>
- <value>1</value>
- </item>
- <item>
- <label>접수확인</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="trustinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="tclsnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="reqpid" type="input"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="reqorddrnm"/>
- <col ref="reqorddeptnm"/>
- <col ref="reqwardroom" style="text-align:left; "/>
- <col ref="sectnm"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="bixflagcd" visibility="hidden"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqtm" format="hh:nn:ss"/>
- <col ref="reqnm"/>
- <col ref="cnfmdd" format="yyyy-mm-dd"/>
- <col ref="cnfmtm" format="hh:nn:ss"/>
- <col ref="cnfmnm"/>
- <col ref="conttestintvlflagcd"/>
- <col ref="conttestorgtims"/>
- <col ref="conttestbasetm"/>
- <col ref="prcpdelivefact"/>
- <col ref="suppkind"/>
- <col ref="acptstatcd" visibility="hidden"/>
- <col ref="urinextrvol"/>
- <col ref="reqtclscd"/>
- <col ref="reqspccd"/>
- <col ref="trustbcno" type="input"/>
- <col ref="trustpid" type="input"/>
- <col disabled="true" ref="reqinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqno" visibility="hidden"/>
- <col ref="userflagcd" visibility="hidden"/>
- <col ref="reqfrmcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_trustlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:118px; height:13px; ">위탁검사리스트</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:89px; x2:1184px; y2:89px; "/>
- <button id="btn_xlsreq" class="btn2_letter4" visibility="visible" style="left:1120px; top:68px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_trustlist);
- ]]>
- </script>
- </button>
- </case>
- <case id="case_rslt" selected="true">
- <group id="group5" style="left:5px; top:5px; width:1180px; height:60px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1179px; height:60px; "/>
- <line id="line11" class="line_4" style="x1:1088px; y1:17px; x2:1088px; y2:39px; "/>
- <caption id="caption10" class="search_name" style="left:455px; top:9px; width:94px; height:17px; ">접수구분 :</caption>
- <caption id="caption11" class="search_name" style="left:685px; top:9px; width:92px; height:17px; ">의뢰병원 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">의뢰일시 :</caption>
- <caption id="caption8" class="search_no_b" style="left:246px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd_rslt" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_todd_rslt" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:260px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_fromtm_rslt" ref="/root/hidden/ref/fromtm" class="input_search" format="hh:nn" style="left:198px; top:8px; width:45px; height:19px; text-align:center; "/>
- <input id="ipt_totm_rslt" ref="/root/hidden/ref/totm" class="input_search" format="hh:nn" style="left:353px; top:8px; width:45px; height:19px; text-align:center; "/>
- <select1 id="cmb_refflag_rslt" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:545px; top:8px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>미보고</label>
- <value>1</value>
- </item>
- <item>
- <label>보고완료</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetSavebutton();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_extrinstcd_rslt" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:775px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_refcnfm_rslt" class="btn1_letter2" style="left:1104px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetWitakRslt();
- ]]>
- </script>
- </button>
- <select1 id="cmb_sect_rslt" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:105px; top:34px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTLrgCd();
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="search_name" style="left:15px; top:35px; width:92px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_tsec_rslt" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:204px; top:34px; width:110px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:10px; top:74px; width:131px; height:13px; ">위탁검사리스트</caption>
- <caption id="caption12" class="tit_2" style="left:450px; top:71px; width:126px; height:13px; ">저장상태일괄변경</caption>
- <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰 병원^본원
바코드^의뢰병원
바코드^검사명^검체명^본원
등록번호^의뢰병원
등록번호^환자명^성별^결과
상태^결과^이전
결과^서술결과여부^서술^이미지
결과여부^이미지^시행부서^주민등록번호^의뢰
의사명^진료과^병동/병실^소변량^검사코드^검체코드^검사코드^tclskind^본원^imght^imgwidt^의뢰병원
결과등록일시^본원결과등록일시^주석" colsep="^" colwidth="30, 24, 39, 72, 90, 74, 74, 120, 80, 70, 70, 62, 40, 60, 80, 46, 44, 23, 50, 23, 70, 110, 60, 50, 80, 50, 50, 50, 50, 53, 80, 43, 56, 120, 100,20" dataheight="23" defaultrows="0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:94px; width:1180px; height:596px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox" format="yyyy-mm-dd"/>
- <col/>
- <col ref="level" visibility="hidden"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="reqinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="trustbcno" type="input"/>
- <col ref="tclsnm"/>
- <col ref="spcnm"/>
- <col ref="reqpid" type="input"/>
- <col ref="trustpid" type="input"/>
- <col ref="hngnm"/>
- <col ref="sexage"/>
- <col ref="rsltstat" type="combo">
- <choices>
- <item>
- <label>결과저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고중</label>
- <value>3</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="reptrslt"/>
- <col/>
- <col ref="descrsltyn"/>
- <col type="inputbutton"/>
- <col ref="imagrsltyn"/>
- <col type="inputbutton"/>
- <col ref="sectnm"/>
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="usernm"/>
- <col ref="deptengabbr"/>
- <col ref="wardroom"/>
- <col ref="urinextrvol"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- <col ref="testcd"/>
- <col ref="tclskind" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Group</label>
- <value>0</value>
- </item>
- <item>
- <label>Pannel</label>
- <value>1</value>
- </item>
- <item>
- <label>Single</label>
- <value>2</value>
- </item>
- <item>
- <label>Parents</label>
- <value>3</value>
- </item>
- <item>
- <label>Child</label>
- <value>4</value>
- </item>
- <item>
- <label>Abnormal</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="trustinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="imght" visibility="hidden"/>
- <col ref="imgwidt" visibility="hidden"/>
- <col ref="trustreptdt" format="yyyy-mm-dd hh:nn"/>
- <col visibility="hidden"/>
- <col ref="cmtyn"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_outer.col == "18"){ // 서술결과버톤
- fGetDescrslt();
- }else if(grd_outer.col== "20"){ // 이미지결과버튼
- fSetImgRsltView();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
-
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_outer.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_1" style="x1:5px; y1:89px; x2:1185px; y2:89px; "/>
- <button id="btn_xlsrslt" class="btn2_letter4" style="left:1121px; top:68px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_outer);
- ]]>
- </script>
- </button>
- <select1 id="cmb_allrsltset" ref="/root/hidden/ref/rsltallstat" appearance="minimal" style="left:575px; top:68px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetRsltStat();
- ]]>
- </script>
- </select1>
- <button id="btn_rsltstat_allset" class="btn2_letter7" style="left:663px; top:68px; width:97px; height:19px; ">
- <caption>↓저장상태변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltStat();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="sw_req" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:85px; height:22px; ">
- <caption>위탁전송</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fbuttonvisible("A");
- ]]>
- </script>
- </button>
- <button id="sw_rslt" class="btn_sw" group="tab" style="left:85px; top:4px; width:99px; height:22px; ">
- <caption>위탁결과등록</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fbuttonvisible("B");
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_reqcnfm" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>의뢰</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 3333
- fSetTrustAcpt();
- ]]>
- </script>
- </button>
- <button id="btn_reqcancel" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>의뢰취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2222
- fExeTrustCancel();
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1111
- fExeOuterRslt();
- ]]>
- </script>
- </button>
- <caption id="caption13" visibility="hidden" style="left:805px; top:5px; width:220px; height:20px; ">의뢰, 의뢰취소, 결과저장 버튼</caption>
- <caption id="caption17" visibility="hidden" style="left:280px; top:1px; width:446px; height:25px; font-size:16pt; font-weight:bold; color:#0000ff; ">※ 운영서버에서 테스트 하지마세요</caption>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:231px; height:14px; ">
- <![CDATA[KNUH 위탁검사 접수 & 결과관리 ]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|