123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <prcsprescondlist>
- <prcsprescond>
- <lrgcd/>
- <cnfmmanid/>
- <cnfmmannm/>
- <rsltdd/>
- <prcpdd/>
- <pid/>
- <hngnm/>
- <age/>
- <sex/>
- <excucdnm/>
- <calcscorcd/>
- <price/>
- <act_totamt/>
- <execdt/>
- <execprcpuniqno/>
- <cnfmdt/>
- <tat/>
- <mi/>
- <gubun/>
- <ioflag/>
- <srchflag/>
- <magamflag/>
- </prcsprescond>
- </prcsprescondlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <ddflag/>
- <fromdd/>
- <suppdeptcd/>
- <excuroomcd/>
- <orddeptcd/>
- <wardcd/>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <excucd/>
- <excucdnm/>
- <cnfmmanid/>
- <cnfmmannm/>
- <req>
- <data1/>
- </req>
- </send>
- <init>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <cmb_info>
- <suppdeptlist>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </suppdeptlist>
- <orddeptcdlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </orddeptcdlist>
- <wardcdlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </wardcdlist>
- <excuroomcdlist>
- <excuroom>
- <basecd/>
- <basecdflagdesc/>
- </excuroom>
- </excuroomcdlist>
- <initexecprcpstatcd/>
- <rsrvflaglist/>
- </cmb_info>
- <popupmenu>
- <grid01>
- <item>
- <name>복사하기</name>
- <func>astgrid_liscopy</func>
- </item>
- </grid01>
- </popupmenu>
- </init>
- <hidden>
- <comcd/>
- </hidden>
- <temp/>
- </root>
- </instance>
- <submission id="TRAEA00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRAEA00621" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcsprescondlist"/>
- <submission id="TXAEA00621" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/count"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
-
- //글로벌 변수에서 등록번호 갖고오기
- var gv_pid = getGlobalVariable("gv_pid", "A");
-
- if(gv_pid != "") {
- model.setValue("/root/send/pid", gv_pid);
- //fgetPatInfoList();
- }
- model.setValue("/root/send/fromdd", getCurrentDate());
-
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = "D"; //외래진료실
- var rslt_ref = "/root/init/cmb_info/orddeptcdlist";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
-
- ord_deptflag = "W"; //일반병동
- rslt_ref = "/root/init/cmb_info/wardcdlist";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
-
- zbcfGetCodeList( new Array("M0011","A0075", "M0010"), new Array("/root/init/cmb_info/initexecprcpstatcd", "/root/init/cmb_info/rsrvflaglist", "/root/init/baseinfo/initprcpgenrflagcd") );
- submit("TRZBC00101", false);
-
- aezfInsertInstance2("/root/hidden/comcd", "M0010", "전체", "", "/root/init/baseinfo/initprcpgenrflagcd");
- chk_prcpgenrflag.attribute("cols")= 6;
- model.removeNode("/root/hidden/comcd/M0010[cdid='-']"); // 외래,입원구분 : 공통
- model.removeNode("/root/hidden/comcd/M0010[cdnm='전체']"); // 외래,입원구분 : 공통
- chk_prcpgenrflag.refresh();
-
- submit("TRAEA00503", false);
-
- submit("TRAEA00904", false);
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRAEA00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <bind id="bind_orddept" ref="/root/main/prcsprescondlist/prcsprescond/orddeptcd" readonly="../orddeptcd!=''"/>
- <bind id="bind_ward" ref="/root/main/prcsprescondlist/prcsprescond/wardcd" readonly="../wardcd!=''"/>
- <bind id="bind_room" ref="/root/main/prcsprescondlist/prcsprescond/roomcd" readonly="../roomcd!=''"/>
- <bind id="bind_execprcpstat" ref="/root/main/prcsprescondlist/prcsprescond/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <bind id="bind_excuroom" ref="/root/main/prcsprescondlist/prcsprescond/excuroomcd" readonly="../excuroomcd!=''"/>
- <submission id="TRAEA00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/suppdeptlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- /* @group :
- * @ver : 2010.02.06
- * @by : 김건기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드의 내용을 엑셀로 Copy하기 위한 Function
- */
- function astgrid_liscopy() {
- var cellValue;
- var rClipBoardValue = "";
-
- var row = grd_mainordlist.row;
-
- rClipBoardValue = grd_mainordlist.valueMatrix(row, grd_mainordlist.colRef("pid"));
-
- if( rClipBoardValue != "" ) {
- window.clipBoardData = rClipBoardValue;
- }
-
- }
-
- function getDecoList() {
-
- var row = grd_mainordlist.row-1;
- if( submit("TRAEA0621") ){
- if( model.getValue("/root/main/prcsprescondlist/prcsprescond[1]/srchflag") == "1" ){ // 재고테이블에 데이터가 있을 경우
- if(model.getValue("/root/main/prcsprescondlist/prcsprescond[1]/magamflag") == "S" ){ // 마감여부가 S일 경우
- btn_save.visible = true;
- btn_del.visible = true;
- }else{ // 마감했을경우 버튼 비활성화.
- btn_save.visible = false;
- btn_del.visible = false;
-
- }
- }else if( model.getValue("/root/main/dyestoclist/item[1]/srchflag") == "2" ){ // 데이터가 없을경우 활성화.
- btn_save.visible = true;
- btn_del.visible = false;
-
- if(model.getValue("/root/main/dyestoclist/item[1]/magamflag") == "D" ){
- for(var a = 1 ; a <= grd_dyelist.rows ; a++ ){
- grd_dyelist.addStatus( a ,"update");
- }
- }else{
- for(var a = 1 ; a <= grd_dyelist.rows ; a++ ){
- grd_dyelist.addStatus( a ,"insert");
- }
- }
- }else{ //1 , 2 아니고 null일 경우 비활성화.
- btn_save.visible = false;
- btn_del.visible = false;
- }
- }
-
- model.refresh();
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,757;2,784;">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" style="x1:1109px; y1:9px; x2:1109px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:214px; top:10px; width:112px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">지원부서 :</caption>
- <caption id="caption2" class="search_name" style="left:10px; top:15px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">판독일자 :</caption>
- <caption id="caption4" class="search_name" style="left:525px; top:35px; width:96px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">외래/입원 :</caption>
- <caption id="caption7" class="search_name" style="left:525px; top:10px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사코드 :</caption>
- <caption id="caption8" class="search_name" style="left:908px; top:10px; width:97px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <caption id="caption9" class="search_name" style="left:908px; top:32px; width:82px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">환자명 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- getDecoList();
- ]]>
- </script>
- </button>
- <img id="img1" class="icon_search" style="left:710px; top:15px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SPAEA02302", "", "200", "200", "SPAEA02302","","");
- ]]>
- </script>
- </img>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" inputtype="date" style="left:100px; top:15px; width:90px; height:19px; "/>
- <output id="opt_excucd" ref="/root/send/excucd" class="output_search" appearance="output" style="left:615px; top:12px; width:90px; height:19px; "/>
- <select1 id="cmb_suppdept" ref="/root/send/suppdeptcd" class="combo_search" appearance="minimal" style="left:305px; top:10px; width:119px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdeptlist/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
- submit("TRAEA00503");
- ]]>
- </script>
- </select1>
- <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:995px; top:10px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_patnm" ref="/root/send/patnm" class="input_search" style="left:995px; top:32px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_pidsearch" class="icon_search" navindex="4" style="left:1082px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* @group : 개인별 예약현황조회
- * @ver : 2007.7.25
- * @by : 조원영
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호를 통한 환자 이름 조회
- */
- model.makeNode("/root/main/patinfo/patinfolist");
- modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/srchpid", "/root/send");
- model.setValue( "/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
- model.setValue( "/root/send/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") ); // 환자 이름
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="chk_prcpgenrflag" ref="/root/send/prcpgenrflag" overflow="visible" appearance="full" style="left:615px; top:35px; width:275px; height:19px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/hidden/comcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <output id="output6" ref="/root/send/cnfmmannm" class="output_search" style="left:418px; top:34px; width:77px; height:19px; "/>
- <button id="button7" class="icon_search" style="left:395px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // aezfCommUserInfoList("/root/temp/userpopupinfo", "/root/temp/userinfolist", "/root/send/cnfmmanid", "/root/send/disp_data/cnfmmannm");
-
- clearParameter("SPZSU10103_");
-
- model.setValue("/root/temp/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
- model.setValue("/root/temp/userpopupinfo/flag", "userid"); // 사용자ID
- model.setValue("/root/temp/userpopupinfo/searchitem", model.getValue("/root/send/cnfmmanid")); // 처방의사 ID
-
- modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/temp/userpopupinfo", "/root/main/temp");
-
- var iParam = getParameter("SPZSU10103_");
-
- if (iParam != "") {
- setCSVToNode("/root/temp/userinfolist", iParam);
-
- model.setValue("/root/send/cnfmmanid", model.getValue("/root/temp/userinfolist/list/userid") ); // 사용자 ID
- model.setValue("/root/send/disp_data/cnfmmannm", model.getValue("/root/temp/userinfolist/list/usernm") ); // 사용자 이름+등등
- } else {
- model.setValue("/root/send/cnfmmanid", ""); // 사용자 ID
- model.setValue("/root/send/disp_data/cnfmmannm", "" ); // 사용자 이름+등등
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="search_name" style="left:215px; top:30px; width:77px; height:17px; text-align:left; ">판독자 :</caption>
- <input id="ipt_cnfmmanid" ref="/root/send/cnfmmanid" class="input_search" style="left:290px; top:32px; width:99px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("button7","DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption10" class="tit_2" style="left:5px; top:80px; width:134px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사진행현황</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <datagrid id="grd_mainordlist" nodeset="/root/main/prcsprescondlist/prcsprescond" caption="분류^판독의ID^판독의명^판독일자^처방일자^등록번호^환자명^입/외^나이^성별^처방명^처방코드^execprcpuniqno^단가^보험적용단가^실시일시^판독일시^TAT(시간)^분류" colsep="^" colwidth="50, 54, 52, 70, 66, 65, 65, 48, 40, 40, 251, 70, 100, 75, 89, 100, 100, 63, 97" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:100px; width:1194px; height:641px; ">
- <col ref="lrgcd" style="text-align:center; "/>
- <col ref="cnfmmanid" style="text-align:center; "/>
- <col ref="cnfmmannm" style="text-align:center; "/>
- <col ref="rsltdd" format="yyyy-mm-dd"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="ioflag"/>
- <col ref="age"/>
- <col ref="sex"/>
- <col ref="excucdnm"/>
- <col ref="calcscorcd"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="price" format="#,###" style="text-align:right; "/>
- <col ref="act_totamt" format="#,###" style="text-align:right; "/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="cnfmdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="tat" style="text-align:center; "/>
- <col ref="gubun" type="combo">
- <choices>
- <item>
- <label>당일</label>
- <value>0</value>
- </item>
- <item>
- <label>24시간이내</label>
- <value>1</value>
- </item>
- <item>
- <label>48시간이내</label>
- <value>2</value>
- </item>
- <item>
- <label>72시간이내</label>
- <value>3</value>
- </item>
- <item>
- <label>72시간이상</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mainordlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- astgrid_liscopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
-
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_mainordlist.isCell(event.target) && grd_mainordlist.mouseRow >= grd_mainordlist.fixedrows) {
- setPopupMenu("grd_mainordlist", false, "/root/init/popupmenu/grid01/item", "name", "func");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1126px; top:75px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- grd_mainordlist.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn3_letter2" style="left:1005px; top:73px; width:56px; height:22px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = getNodesetCount("/root/main/prcsprescondlist/prcsprescond");
- if( cnt > 0 ) {
- // alert( grd_dyelist.getUpdateData());
- if( model.getValue("/root/send/srchiodd") == "" ){
- messageBox("판독일자를", "I007");
- } else {
- if( messageBox("영상판독 정보를","Q002")==6 ) {
- model.setValue("/root/send/req/data1", grd_mainordlist.getUpdateData());
- submit("TXAER00621");
- getDecoList();
- }
- }
- }else{
- messageBox("저장할 영상판독 정보가", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn3_letter2" style="left:1065px; top:73px; width:56px; height:22px; ">
- <caption>수정</caption>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:175px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">판독의별판독목록조회</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button1" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:0px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- </button>
- <button id="btn_reset" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1125px; top:5px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cmb_excuroom.deselect(0);
- cmb_orddept.deselect(0);
- cmb_ward.deselect(0);
- cmb_rsrvflag.deselect(0);
-
- ipt_pid.value = "";
- ipt_patnm.value = "";
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|