123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- <?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="">
- <send>
- <fromdd/>
- <todd/>
- <wardcd/>
- <pid/>
- <patnm/>
- <indd/>
- <chkflag/>
- </send>
- <main>
- <list01>
- <ordlist>
- <actorddd/>
- <pid/>
- <hngnm/>
- <prcpflag/>
- <execprcphistcd/>
- <prcpdd/>
- <roomcd/>
- <prcpexecdeptcd/>
- <orddrid/>
- <prcpno/>
- <prcphistno/>
- <prcpcd/>
- <actcretno/>
- <prcpnm/>
- <calcflag/>
- <execprcpqty/>
- <execprcptims/>
- <execprcpdayno/>
- <resncd/>
- <rem/>
- <rgstdeptcd/>
- <rgstrid/>
- <carecnfmdd/>
- <carecnfmrid/>
- <judgid/>
- </ordlist>
- </list01>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <hidden>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- </hidden>
- <init>
- <P0160list>
- <P0160/>
- </P0160list>
- <U0001list>
- <U0001/>
- </U0001list>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0160" ), new Array("/root/init/P0160list") );
- submit("TRPIJ01201");
-
- init();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIJ01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0001list"/>
- <submission id="TRPIJ01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <script type="javascript">
- <![CDATA[
- function init() {
- // 팝업일 경우 자동 조회
- if(window.parent != null) {
- // if(model.getValue("/root/send/wardcd") != "" || model.getValue("/root/send/pid") != "" ||
- // model.getValue("/root/send/indd") != "" || model.getValue("/root/send/chkflag") != "") {
- if(model.getValue("/root/send/wardcd") != "" || model.getValue("/root/send/pid") != "" || model.getValue("/root/send/indd") != "") {
- search();
- }
- }
- }
-
- // 조회 실행시 검색조건 검사
- function search() {
- if(cmb_chkflag.value=='4') {
- if(ipt_fromdd.value == "") {
- messageBox("의뢰일자 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("의뢰일자 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
- model.removenode("/root/main/list01");
- submit("TRPIJ01202");
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:191px; height:13px; ">미시행 처방 및 반납처방 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; background-color:#fffbf2; border-color:#ffd799; ">
- <shape id="roundrect1" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ((model.getValue("/root/send/fromdd") && model.getValue("/root/send/todd")) ||
- (model.getValue("/root/send/wardcd") != "" || model.getValue("/root/send/pid") != "" || model.getValue("/root/send/indd") != "")) {
- search();
- } else {
- messageBox("의뢰일자(시작일자~종료일자) 또는 그외의 조건을","C001");
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:13px; top:9px; width:86px; height:17px; ">의뢰일자 :</caption>
- <caption id="caption2" class="search_name" style="left:744px; top:9px; width:73px; height:17px; ">입원일 :</caption>
- <caption id="caption4" style="left:190px; top:8px; width:12px; height:17px; ">~</caption>
- <caption id="caption7" class="search_name" style="left:302px; top:9px; width:60px; height:17px; ">병동 :</caption>
- <caption id="caption5" class="search_name" style="left:495px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- <caption id="caption8" class="search_name" style="left:920px; top:9px; width:60px; height:17px; ">확인 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:102px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:205px; top:8px; width:85px; height:19px; "/>
- <select1 id="cmb_wardcd" ref="/root/send/wardcd" class="combo_search" appearance="minimal" style="left:365px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_pid" ref="/root/send/pid" class="input_search" inputtype="button" appearance="input" style="left:584px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (ipt_pid.value) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid.value);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
-
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- ipt_pid.value = model.getValue("/root/main/patinfo/patinfolist/pid");
- opt_patnm.value = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') { // Enter 입력 시에
- if (ipt_pid.value) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid.value);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
-
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- ipt_pid.value = model.getValue("/root/main/patinfo/patinfolist/pid");
- opt_patnm.value = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <output id="opt_patnm" ref="/root/send/patnm" class="output_fix" style="left:673px; top:8px; width:57px; height:19px; "/>
- <select1 id="cmb_chkflag" ref="/root/send/chkflag" class="combo_search" appearance="minimal" style="left:983px; top:8px; width:102px; height:19px; ">
- <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>
- </choices>
- </select1>
- <input id="ipt_indd" ref="/root/send/indd" class="input_search" inputtype="date" style="left:820px; top:8px; width:85px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:206px; height:13px; ">미시행 처방 및 반납처방 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="grd_ordlist" nodeset="/root/main/list01/ordlist" class="datagrid2" caption="의뢰일자^환자번호^성명^구분^상태^처방일^병실^처방부서^진료의^처방번호^처방구분번호^처방코드^Acting^처방명^계산여부^투여량^횟수^일수^사유^참고^등록부서^등록자^확인일시^확인자^심사자" colsep="^" colwidth="85, 86, 66, 60, 109, 86, 54, 84, 68, 59, 80, 77, 52, 122, 56, 47, 37, 37, 100, 100, 75, 71, 100, 73, 76" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:664px; ">
- <col ref="actorddd" type="inputdate"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="prcpflag" type="combo">
- <choices>
- <item>
- <label>수가</label>
- <value>1</value>
- </item>
- <item>
- <label>지시</label>
- <value>2</value>
- </item>
- <item>
- <label>영양완성</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="execprcphistcd"/>
- <col ref="prcpdd" type="inputdate"/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="prcpexecdeptcd" style="text-align:center; "/>
- <col ref="orddrid"/>
- <col ref="prcpno" style="text-align:center; "/>
- <col ref="prcphistno" visibility="hidden" style="text-align:center; "/>
- <col ref="prcpcd"/>
- <col ref="actcretno" visibility="hidden" style="text-align:center; "/>
- <col ref="prcpnm"/>
- <col ref="calcflag" style="text-align:center; "/>
- <col ref="execprcpqty" style="text-align:center; "/>
- <col ref="execprcptims" style="text-align:center; "/>
- <col ref="execprcpdayno" style="text-align:center; "/>
- <col ref="resncd"/>
- <col ref="rem"/>
- <col ref="rgstdeptcd" style="text-align:center; "/>
- <col ref="rgstrid" style="text-align:center; "/>
- <col ref="carecnfmdd" style="text-align:center; "/>
- <col ref="carecnfmrid" style="text-align:center; "/>
- <col ref="judgid" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(window.parent != null) {
- var row = grd_ordlist.row;
- opener.model.removeNodeset("/root/hidden/ordlist");
- opener.model.makeNode("/root/hidden/ordlist");
- opener.model.copyNode("/root/hidden/ordlist","/root/main/list01/ordlist["+row+"]");
- window.close();
- } else {
- return false;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ordlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button9" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|