123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <?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>
- <pidnmref>
- <pidnmrslt>
- <pidnm/>
- </pidnmrslt>
- </pidnmref>
- <list1>
- <hoprclist/>
- </list1>
- <list2>
- <dexoplist/>
- </list2>
- </main>
- <send>
- <reqdata>
- <pid/>
- <infromdd/>
- <intodd/>
- </reqdata>
- <reqdata1>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <insukind/>
- </reqdata1>
- </send>
- <hidden>
- <cond>
- <smpij01800>
- <pid/>
- <patnm/>
- <indd/>
- <dschdd/>
- </smpij01800>
- </cond>
- </hidden>
- <init/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 화면을 초기화한다.
- ]]>
- </script>
- <submission id="TRPIJ01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/list1"/>
- <submission id="TRPIJ01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/pidnmref"/>
- <submission id="TRPIJ01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata1" resultref="/root/main/list2"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fCheckOpener() {
-
- // var pid = model.getValue("/root/hidden/cond/smpij01800/pid");
- // var indd = model.getValue("/root/hidden/cond/smpij01800/indd");
- // var dschdd = model.getValue("/root/hidden/cond/smpij01800/dschdd");
-
- model.removeNodeset("/root/main/list1/hopclist");
- model.removeNodeset("/root/main/list2/dexoplist");
-
- model.setValue("/root/send/reqdata/pid", model.getValue("/root/hidden/cond/smpij01800/pid"));
- model.setValue("/root/main/pidnmref/pidnmrslt/pidnm", model.getValue("/root/hidden/cond/smpij01800/patnm"));
- model.setValue("/root/send/reqdata/infromdd",model.getValue("/root/hidden/cond/smpij01800/indd"));
- model.setValue("/root/send/reqdata/intodd",model.getValue("/root/hidden/cond/smpij01800/dschdd"));
-
- submit("TRPIJ01801");
-
- model.refresh();
-
- }
-
- function fInitialize() {
- model.removeNodeset("/root/main/list1/hopclist");
- model.removeNodeset("/root/main/list2/dexoplist");
-
- model.resetInstanceNode("/root/send/reqdata/pid");
- model.resetInstanceNode("/root/send/reqdata/patnm");
- model.resetInstanceNode("/root/send/reqdata/infromdd");
- model.resetInstanceNode("/root/send/reqdata/intodd");
- model.resetInstanceNode("/root/main/pidnmref/pidnmrslt/pidnm");
-
- model.setValue("/root/send/reqdata/infromdd",getCurrentDate());
- model.setValue("/root/send/reqdata/intodd",getCurrentDate());
-
- model.refresh();
- }
-
- function fDschAftOutSrv() {
-
- model.removeNodeset("/root/main/list1/hopclist");
- model.removeNodeset("/root/main/list2/dexoplist");
-
- var pid = model.getValue("/root/send/reqdata/pid");
- var pidnm = model.getValue("/root/main/pidnmref/pidnmrslt/pidnm");
- var infromdd = model.getValue("/root/send/reqdata/infromdd");
- var intodd = model.getValue("/root/send/reqdata/intodd");
- if(infromdd > intodd) {
- messageBox("시작일은 종료일보다 앞설 수","I004");
- return false;
- }
-
- submit("TRPIJ01801");
- }
-
- function fRefPidnm() {
- var pid = model.getValue("/root/send/reqdata/pid");
- if(pid == "") {
- messageBox("환자번호를","C001");
- return;
- } else {
- submit("TRPIJ01802");
- }
- }
-
- function fChkPidnm() {
- fRefPidnm();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1202" pageheight="715" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:813px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:269px; height:14px; ">퇴원후외래예약검사조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1186px; height:675px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1186px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_ref" class="btn1_letter2" navindex="4" style="left:1115px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDschAftOutSrv();
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:1100px; y1:17px; x2:1100px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="tit_2" style="left:311px; top:55px; width:212px; height:13px; ">퇴원후외래예약검사</caption>
- <line id="line1" class="line_1" style="x1:305px; y1:70px; x2:1185px; y2:70px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:19px; width:81px; height:17px; ">환자번호:</caption>
- <caption id="caption4" class="search_name" style="left:319px; top:19px; width:93px; height:17px; ">입원기간 :</caption>
- <input id="ipt_intodd" ref="/root/send/reqdata/intodd" class="input_search" navindex="3" inputtype="date" style="left:529px; top:18px; width:100px; height:19px; "/>
- <caption id="caption5" style="left:513px; top:22px; width:15px; height:15px; ">~</caption>
- <input id="ipt_infromdd" ref="/root/send/reqdata/infromdd" class="input_search" navindex="2" inputtype="date" style="left:408px; top:18px; width:100px; height:19px; "/>
- <input id="ipt_pid" ref="/root/send/reqdata/pid" class="input_search" navindex="1" inputtype="button" maxlength="10" style="left:99px; top:18px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fRefPidnm();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13) {
- setInputNodeCurText();
- fChkPidnm();
- }
- ]]>
- </script>
- </input>
- <output id="opt_patnm" ref="/root/main/pidnmref/pidnmrslt/pidnm" class="output_fix" style="left:218px; top:18px; width:80px; height:19px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:300px; y2:70px; "/>
- <datagrid id="grd_hoprc" nodeset="/root/main/list1/hoprclist" caption="환자번호^외래예약일자^진료과코드^진료과^진료의코드^진료의^보험유형^입원일자^입원일련번호" colsep="^" colwidth="0, 95, 0, 91, 0, 90, 80, 100, 100" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:75px; width:300px; height:600px; ">
- <col ref="pid" visibility="hidden"/>
- <col ref="outorddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="orddrnm"/>
- <col ref="insukind" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_hoprc.isCell(event.target) && grd_hoprc.row >= grd_hoprc.fixedRows) {
-
- var row = grd_hoprc.row ;
- model.setValue("/root/send/reqdata1/pid",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("pid")));
- model.setValue("/root/send/reqdata1/orddd",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("orddd")));
- model.setValue("/root/send/reqdata1/cretno",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("cretno")));
- model.setValue("/root/send/reqdata1/orddeptcd",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("orddeptcd")));
- model.setValue("/root/send/reqdata1/orddrid",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("orddrid")));
- model.setValue("/root/send/reqdata1/insukind",grd_hoprc.valueMatrix(row, grd_hoprc.colRef("insukind")));
-
- // 외래미시행처방 미시행 오더 조회
- submit("TRPIJ01803");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_hoprc.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- ]]>
- </script>
- </datagrid>
- <caption id="caption15" class="tit_2" style="left:5px; top:55px; width:43px; height:13px; ">일자</caption>
- <datagrid id="grd_dexop" nodeset="/root/main/list2/dexoplist" visibility="visible" caption="G^처방코드^EDI코드^처방명^급^투여량^횟수^일수^처방일자" colsep="^" colwidth="25, 100, 100, 320, 50, 60, 50, 50, 90" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:305px; top:75px; width:880px; height:600px; ">
- <col ref="grupsnglyn" style="text-align:center; "/>
- <col ref="calcscorcd"/>
- <col ref="edicd"/>
- <col ref="ordnm"/>
- <col ref="payflagcd" style="text-align:center; "/>
- <col ref="execprcpqty" format="#,###.00" style="text-align:right; "/>
- <col ref="execprcptims" format="#,###" style="text-align:right; "/>
- <col ref="execprcpdayno" format="#,###" style="text-align:right; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- </group>
- <!-- 20070622 1347-->
- <group id="group2" style="left:0px; top:688px; width:1186px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" navindex="9" style="left:1058px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" navindex="10" style="left:1129px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close(); // F5 실행시 IE를 종료시킨다.
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|