123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <mian>
- <portprcp>
- <portprcplist>
- <pid/>
- <patnm/>
- <prcpdd/>
- <roomcd/>
- <prcpgenrflag/>
- <portprcpflag/>
- <calcscorcd/>
- <prcpnm/>
- <execprcpstatcd/>
- <orddrnm/>
- <orddepthngnm/>
- <prcpexecdeptnm/>
- <execdeptnm/>
- <rsrvdt/>
- <rcptdd/>
- <acptdt/>
- <execdt/>
- <cnfmdt/>
- <prcpdelivefact/>
- </portprcplist>
- </portprcp>
- </mian>
- <send>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- </initexecroom>
- </cmb_info>
- <srchpid/>
- <srchdate1/>
- <srchdate2/>
- <term/>
- <actflag>A</actflag>
- <genrflag>A</genrflag>
- <portflag>A</portflag>
- </send>
- <init>
- <baseinfo>
- <initexecprcpstatcd/>
- </baseinfo>
- <cmb_info>
- <initexcuroomcd>
- <excuroomcd/>
- </initexcuroomcd>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <initexecrid1>
- <execrid1cdnm/>
- <execrid1cdid/>
- </initexecrid1>
- <prcpexecdeptcdlist>
- <prcpexecdeptcd/>
- </prcpexecdeptcdlist>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </cmb_info>
- </init>
- <hidden/>
- <init2>
- <cmb_info2>
- <initexcuroomcd>
- <excuroomcdnm/>
- <excuroomcdid/>
- </initexcuroomcd>
- </cmb_info2>
- </init2>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- // submit("TRAEA02102",false);
-
- //처방상태 공통코드 갖고오기
- zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/initexecprcpstatcd") );
- submit("TRZBC00101", false);
-
- ipt_date1.value = getCurrentDate();
- ipt_date2.value = getCurrentDate();
-
-
- submit("TRAEA01301"); // 검사치료실 가져오기
- if( instance1.selectSingleNode("/root/init/cmb_info/suppdept[suppdeptcd='" + model.getValue("/root/send/globalinstance/instance1") + "']") == null ){
- model.setValue("/root/send/globalinstance/instance1", "");
- }
-
- //*********************************************************************************************************************************************
- //담당 검사실 갖고오기
- submit("TRAEA01115",false);
-
- //담당 검사실 세팅
- model.setValue("/root/send/cmb_info/initexecroom/excuroomcdid",model.getValue("/root/init2/cmb_info/initexcuroomcd[1]/excuroomcd"));
- //*********************************************************************************************************************************************
-
- /*
- //담당 검사실 세팅
- var excuroomcd = "";
-
- for(var i = 0; i < grd_temproom.rows; i++){
- excuroomcd = model.getValue("/root/init/cmb_info/initexcuroomcd["+i+"]/excuroomcd");
- }
- model.setValue("root/send/cmb_info/initexecroom/excuroomcdid",excuroomcd);
-
- if(model.getValue("root/send/cmb_info/initexecroom/excuroomcdid") == "") {
- cmb_excuroom.select(0);
- }
- */
-
- // var gv_pid = getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
- // if(gv_pid != "") { //글로벌변수(등록번호)가 있는경우
- // // model.setValue("/root/send/data/pid", gv_pid);
- // }
-
- btn_sea.dispatch("DOMActivate");
-
-
- ]]>
- </script>
- <submission id="TRAEA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/mian/portprcp"/>
- <submission id="TRAEA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init2/cmb_info"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">포터블조회</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1195px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:24px; width:91px; height:17px; ">지원부서 :</caption>
- <caption id="caption1" class="search_name" visibility="visible" style="left:909px; top:25px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="input2" ref="/root/send/srchpid" class="input_search" visibility="visible" style="left:998px; top:24px; width:100px; height:19px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
- <button id="button51" class="btn2_letter2" style="left:1153px; top:78px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file_name = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_portprcp.saveExcel(file_name);
- ]]>
- </script>
- </button>
- <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:33px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEA02101");
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:760px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPAEA02100", "XMLSTR", "/root/mian/portprcp/portprcplist");
- ]]>
- </script>
- </button>
- <select1 id="cmb_deptcd" ref="/root/send/globalinstance/instance1" class="combo_default" appearance="minimal" style="left:100px; top:24px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/globalinstance/instance1", cmb_deptcd.value);
- submit("TRAEA01301");
- ]]>
- </script>
- </select1>
- <line id="line13" class="line_4" style="x1:1114px; y1:24px; x2:1114px; y2:66px; "/>
- <datagrid id="grd_portprcp" nodeset="/root/mian/portprcp/portprcplist" scroll="vertical" autoresize="true" caption="등록번호^성명^처방일자^병실^I/O^구분^처방코드^처방명^처방상태^진료의사^진료과^처방시행부서^실시부서^예약일시^수납일자^접수일자^실시일시^판독일자^처방전달사항" colsep="^" colwidth="75, 71, 70, 47, 33, 39, 64, 113, 63, 64, 95, 85, 85, 100, 70, 70, 100, 100, 125" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:103px; width:1195px; height:652px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="roomcd"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="portprcpflag"/>
- <col ref="calcscorcd"/>
- <col ref="prcpnm"/>
- <col disabled="true" ref="execprcpstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrnm"/>
- <col ref="orddepthngnm"/>
- <col ref="prcpexecdeptnm"/>
- <col ref="execdeptnm"/>
- <col ref="rsrvdt" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col ref="rcptdd" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col ref="acptdt" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="cnfmdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcpdelivefact"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_portprcp.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_term" ref="/root/send/term" class="combo_default" visibility="visible" appearance="minimal" style="left:806px; top:24px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>15일</label>
- <value>15</value>
- </item>
- <item>
- <label>30일</label>
- <value>30</value>
- </item>
- <item>
- <label>60일</label>
- <value>60</value>
- </item>
- <item>
- <label>일자선택</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- if(cmb_term.value == "0" )
- {
- ipt_date1.disabled = false;
- ipt_date2.disabled = false;
-
- }
- else
- {
- var date2 = ipt_date2.value;
- var term = cmb_term.value;
- ipt_date1.value = date2.toDate().getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
-
-
- ipt_date1.disabled = true;
- ipt_date2.disabled = true;
-
- }
-
-
- ]]>
- </script>
- </select1>
- <caption id="caption14" style="left:700px; top:27px; width:15px; height:15px; ">~</caption>
- <caption id="caption5" class="search_name" style="left:519px; top:24px; width:91px; height:17px; ">처방일자 :</caption>
- <input id="ipt_date1" ref="/root/send/srchdate1" class="input_default" inputtype="date" style="left:608px; top:24px; width:90px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/srchdate2" class="input_default" inputtype="date" style="left:714px; top:24px; width:90px; height:19px; "/>
- <datagrid id="grd_temproom" nodeset="/root/init/cmb_info/initexcuroomcd" visibility="hidden" caption="caption3" colsep="^" colwidth="127" mergecellsfixedrows="bycolrec" rowsep="|" style="left:670px; top:190px; width:130px; height:135px; ">
- <col ref="excuroomcd"/>
- </datagrid>
- <caption id="caption12" class="search_name" style="left:264px; top:25px; width:106px; height:17px; ">검사/치료실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/cmb_info/initexecroom/excuroomcdid" class="combo_default" navindex="1" appearance="minimal" editmode="inputsearch" style="left:372px; top:24px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:10px; top:50px; width:91px; height:17px; ">실시구분 :</caption>
- <select id="chk_focus" ref="/root/send/genrflag" class="checkbox_search" overflow="visible" appearance="full" cols="5" style="left:372px; top:51px; width:228px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>건진</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var genrflag = model.getValue("/root/send/genrflag");
- for(var i = 0 ; i < genrflag.length ; i++) {
- if(genrflag.substr(i,1) == "A" ) {
- chk_focus.value = "A";
- }
- }
-
- ]]>
- </script>
- </select>
- <caption id="caption4" class="search_name" style="left:264px; top:50px; width:106px; height:17px; ">처방구분 :</caption>
- <select1 id="radio3" ref="/root/send/actflag" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:100px; top:50px; width:155px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>미실시</label>
- <value>N</value>
- </item>
- <item>
- <label>실시</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:647px; top:50px; width:106px; height:17px; ">포터블구분 :</caption>
- <select1 id="radio1" ref="/root/send/portflag" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:750px; top:50px; width:245px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>진료포터블</label>
- <value>portprcpflag</value>
- </item>
- <item>
- <label>간호포터블접수</label>
- <value>etcprcpflag</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|