123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- <?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="">
- <main>
- <prcpinfolist>
- <prcplist>
- <check/>
- <pid/>
- <patname/>
- <flag/>
- <examroom/>
- <eventtype/>
- <hisorderid/>
- <prcpcd/>
- <prcpnm/>
- <prcpstatcd/>
- <recptdate/>
- <examdate/>
- <ioflag/>
- <queueid/>
- </prcplist>
- </prcpinfolist>
- <pacslist>
- <pacsroom>
- <nupacsnm/>
- <pacsroomnm/>
- <basesuppdeptcd/>
- <basecd/>
- <check/>
- </pacsroom>
- </pacslist>
- <excucdinfolist>
- <excucdlist>
- <prcpcd/>
- <prcpnm/>
- <excuroomcd/>
- <prcpexecdeptcd/>
- <pacs/>
- </excucdlist>
- </excucdinfolist>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <excuroomcd/>
- <pid/>
- <prcpdd/>
- <orddeptcd/>
- <prcplist/>
- <cdislist/>
- <gb/>
- <pacsname/>
- </send>
- <init>
- <cmb_info>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </cmb_info>
- <dept_info>
- <initprcpexecdeptcd>
- <prcpexecdeptcdid/>
- <prcpexecdeptcdnm/>
- </initprcpexecdeptcd>
- </dept_info>
- <deptlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </deptlist>
- <baseinfo>
- <initexecprcpstatcd/>
- <initpacsnocretyn/>
- </baseinfo>
- <excuroom_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </excuroom_info>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <bind id="bind_prcpstatcd" ref="/root/main/prcphist/prcplist/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- ipt_date1.value = getCurrentDate();
-
-
- //처방상태 공통코드 갖고오기
- zbcfGetCodeList( new Array("M0011","A0501"), new Array("/root/init/baseinfo/initexecprcpstatcd"
- ,"/root/init/baseinfo/initpacsnocretyn") );
-
-
-
- submit("TRZBC00101", false);
-
- // 수행부서 코드 가져오기
- submit("TRAEB00205", false);
-
- // 지원부서 가져오기
- submit("TRAEA01301");
- sortNodeList("/root/init/cmb_info/suppdept", "depthngnm", "asc");
- cmb_deptcd.refresh();
- // 기능검사에서 호출한지 확인하여 조회기준 제한두기
- //사용할때는 common.js 파일이 필요
- if (checkOpener()) { //opener 검사
- var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
-
- // alert("넘어온 파라미터:" + param);
- if(param == "OldOrder") { // opener parameter value가 있는 경우
- button87.disabled = true;
- but_oldOrder.visible = true;
-
- // CDIS 선택박스 보여주기, update 컬럼은 숨김
- grd_cdislist.colHidden(1) = false;
- grd_cdislist.colHidden(2) = true;
-
- model.setValue("/root/send/gb",param);
-
- // alert("구분자 입력됐니?!" + model.getValue("/root/send/gb"));
- }
- }
-
- ]]>
- </script>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAEA04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excucdinfolist"/>
- <submission id="TRAEA04307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcpinfolist"/>
- <submission id="TRAEA04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/precureinfolist"/>
- <submission id="TRAEA04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/excuroom_info"/>
- <submission id="TRAEA04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cdisinfolist"/>
- <submission id="TRAEA04306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/pacslist"/>
- <submission id="TXAEA04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TXAEA04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TXAEA04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <submission id="TRZBC00101"/>
- </model>
- <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/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1150" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:1080px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">PACS 정보관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1080px; height:722px; ">
- <switch id="switch1" style="left:0px; top:26px; width:1065px; height:685px; ">
- <case id="case1">
- <datagrid id="datagrid3" nodeset="/root/main/excucdinfolist/excucdlist" scroll="vertical" caption="코드^코드명^검사실^PACS연동유무^수가수행부서" colsep="^" colwidth="85, 263, 110, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:10px; top:71px; width:700px; height:600px; ">
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col disabled="true" editmode="input" ref="excuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pacs" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initpacsnocretyn/A0501">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="prcpexecdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/dept_info/initprcpexecdeptcd">
- <label ref="prcpexecdeptcdnm"/>
- <value ref="prcpexecdeptcdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid3.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="cell_1" style="left:10px; top:5px; width:700px; height:23px; font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; ">검사실 기준자료 마스터</caption>
- <group id="group5" style="left:10px; top:30px; width:700px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700px; height:35px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">지원부서 :</caption>
- <caption id="caption5" class="search_name" style="left:335px; top:9px; width:117px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_s_essential" appearance="minimal" style="left:415px; top:8px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/excuroom_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRAEA04301");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_deptcd" ref="/root/send/suppdeptcd" class="combo_s_essential" appearance="minimal" style="left:107px; top:8px; width:145px; 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", model.getValue("/root/send/suppdeptcd"));
-
- submit("TRAEA04304");
-
- model.setValue("/root/send/excuroomcd", "");
- submit("TRAEA04301");
- submit("TRAEA04306");
- ]]>
- </script>
- </select1>
- </group>
- <button id="button3" class="btn4_letter5" style="left:957px; top:41px; width:92px; height:22px; ">
- <caption>검사실저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/send/req/data", datagrid2.getUpdateData());
- model.refresh();
- submit("TXAEA04304");
- submit("TRAEA04306");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/main/pacslist/pacsroom" scroll="vertical" caption="^현업검사실^PACS검사실^지원부서^검사실" colsep="^" colwidth="20, 147, 137, 0, 0" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:714px; top:71px; width:340px; height:595px; ">
- <col checkvalue="true,false" ref="check" type="checkbox"/>
- <col ref="nupacsnm"/>
- <col ref="pacsroomnm" type="input" max="20"/>
- <col ref="basesuppdeptcd"/>
- <col ref="basecd"/>
- </datagrid>
- <caption id="caption1" class="cell_1" style="left:712px; top:5px; width:345px; height:23px; font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; ">PACS 기준자료</caption>
- </case>
- <case id="case2" selected="true">
- <group id="group6" style="left:5px; top:9px; width:1050px; height:35px; vertical-align:top; ">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1050px; height:35px; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">등록번호 :</caption>
- <line id="line4" class="line_4" style="x1:934px; y1:7px; x2:934px; y2:29px; "/>
- <caption id="caption9" class="search_name" style="left:290px; top:9px; width:117px; height:17px; ">처방일자 :</caption>
- <input id="input1" ref="/root/send/pid" class="input_s_essential" style="left:110px; top:8px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate")
-
- ]]>
- </script>
- </input>
- <input id="ipt_date1" ref="/root/send/prcpdd" class="input_s_essential" inputtype="date" style="left:384px; top:8px; width:102px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:965px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/send/pid") == "" ) {
- messageBox("등록번호를 ", "C001");
- return;
- }else {
- submit("TRAEA04307");
- }
-
- ]]>
- </script>
- </button>
- </group>
- <line id="line3" class="line_1" style="x1:5px; y1:49px; x2:1055px; y2:49px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/prcpinfolist/prcplist" scroll="vertical" caption="선택^등록번호^환자명^구분^검사실^상태^처방정보^처방코드^처방명^접수일자^실시일자^처방상태" colsep="^" colwidth="31, 78, 83, 37, 83, 40, 119, 84, 203, 80, 80, 97, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:54px; width:1050px; height:596px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="pid"/>
- <col ref="patname"/>
- <col ref="flag"/>
- <col ref="examroom" type="input"/>
- <col ref="eventtype"/>
- <col ref="hisorderid"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="recptdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="examdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpstatcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- <col ref="ioflag"/>
- <col ref="queueid"/>
- </datagrid>
- <button id="btn_save" class="btn4_letter2" style="left:995px; top:655px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes("/root/main/prcpinfolist/prcplist[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("처방내역을 ","C002");
- return "0";
- }
- model.setValue("/root/send/prcplist", rCSV);
- if (submit("TXAEA04305")){
- submit("TRAEA04307");
- }
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_patprcplist" class="btn_sw" group="tab" style="left:132px; top:5px; width:132px; height:22px; ">
- <caption>환자별 처방정보조회</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="button1" class="btn_sw" group="tab" style="left:0px; top:5px; width:132px; height:22px; ">
- <caption>검사실기준자료</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|