123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- <?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>
- <![CDATA[]]>
- <xhtml:title>선택진료신청누락조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfolist/>
- </main>
- <send>
- <cond>
- <ordtype>I</ordtype>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <returnyn>N</returnyn>
- <specamtyn>Y</specamtyn>
- </cond>
- </send>
- <hidden>
- <orddrid/>
- <specdrid/>
- </hidden>
- <init>
- <orddeptcd/>
- <orddrid/>
- <wardcd/>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRPMC06550" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init"/>
- <submission id="TRPMC06516" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/patinfolist"/>
- </model>
- <script type="javascript" src="../../pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../pamcomnweb/js/PAM001.js"/>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
-
- fInit();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
-
- // 일자기간 조건 체크
- if (getDateInterval(model.getValue("/root/send/cond/fromdd"), model.getValue("/root/send/cond/todd")) > 7) {
-
- messageBox("시스템부하방지를 위하여 검색기간은 최대 7일 이내로 설정 해주십시요. ", "C000");
-
- return;
- }
-
- submit("TRPMC06516");
- }
-
- function fInit() {
-
- submit("TRPMC06550");
- addComboItem("cmb_specdeptcd", "전체","", "above");
-
- var sDate = getNewDate().getAddDate(-7, "D")
- var rtnDate = sDate.getFullYear();
- rtnDate = rtnDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
- rtnDate = rtnDate.toString() + (( sDate.getDate() > 9 ) ? sDate.getDate() : "0" + sDate.getDate()) ;
- model.setValue("/root/send/cond/fromdd", rtnDate);
- model.setValue("/root/send/cond/todd", getCurrentDate())
-
- model.setValue("/root/send/cond/ordtype", "I");
- model.setValue("/root/send/cond/orddeptcd", "");
- model.setValue("/root/send/cond/returnyn", "N");
- model.setValue("/root/send/cond/specamtyn", "Y");
-
- model.resetInstanceNode("/root/main/patinfolist");
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="960" pageheight="780" style="margin-left:8; margin-top:0; margin-right:0; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">선택진료신청 누락조회</caption>
- <line id="line48" class="line_1" style="x1:0px; y1:120px; x2:940px; y2:120px; "/>
- <caption id="caption38" class="tit_2" style="left:5px; top:103px; width:209px; height:14px; ">선택진료신청서 누락환자 리스트</caption>
- <!-- 선택진료의사 정보 입력, 수정방법을 변경하기 위해 존재, 사용인스턴스 : /root/main/patappinfolist, /root/hidden/patappinfolist -->
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:940px; height:70px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:870px; top:45px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:12px; top:30px; width:90px; height:17px; ">진료구분</caption>
- <select1 id="radio1" ref="/root/send/cond/ordtype" navindex="1" appearance="full" cols="2" overflow="visible" style="left:125px; top:30px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:605px; top:30px; width:102px; height:17px; ">선택진료과</caption>
- <input id="ipt_ordddfrom" ref="/root/send/cond/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:375px; top:30px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption7" class="search_name" style="left:242px; top:30px; width:114px; height:17px; ">진료(입원)일자</caption>
- <input id="ipt_ordddto" ref="/root/send/cond/todd" class="input_s_essential" navindex="3" inputtype="date" style="left:495px; top:30px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption10" style="left:475px; top:30px; width:15px; height:20px; text-align:center; ">~</caption>
- <select1 id="cmb_specdeptcd" ref="/root/send/cond/orddeptcd" navindex="4" appearance="minimal" style="left:705px; top:30px; width:140px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <datagrid id="grd_spif" nodeset="/root/main/patinfolist" class="grd_sasm" caption="환자번호^환자성명^구분^진료(입원)일자^시작일자^종료일자^진료과^진료의^선택의" colsep="^" colwidth="77, 90, 79, 100, 100, 100, 200, 91, 61" ellipsis="true" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:125px; width:940px; height:610px; font-weight:normal; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>DSC</label>
- <value>D</value>
- </item>
- <item>
- <label>CHEMO</label>
- <value>C</value>
- </item>
- <item>
- <label>응급실</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="specordyn" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var curRow = grd_spif.row;
-
- if ( curRow > 0 ) {
-
- var sPid = model.getValue("/root/main/patinfolist["+curRow+"]/pid");
-
- // 오프너 체크
- if (checkOpener()) {
-
- var sOrdType = "";
-
- // 진료구분 DSC / CHEMO는 입원으로 변경해준다.
- if (model.getValue("/root/main/patinfolist["+curRow+"]/ordtype") == "O") {
-
- sOrdType = "O";
- } else {
-
- sOrdType = "I";
- }
-
- opener.model.setValue("/root/send/cond/pid", sPid); // 차트번호
- opener.model.setValue("/root/send/cond/ioflag", sOrdType); // 진료구분
- opener.model.setValue("/root/send/cond/scanyn", "A"); // 스캔여부 : 전체
- opener.model.setValue("/root/send/cond/ordddfrom", ""); // 진료기간 : none
- opener.model.setValue("/root/send/cond/ordddto", "");
-
- opener.javascript.fSearch();
-
- } else {
-
- messageBox("선택진료신청관리창이 닫히거나 변경되었습니다. 확인하시기 바랍니다.", "C000");
- }
-
- } else {
-
- messageBox("환자가 선택되지 않았습니다.", "");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbeforesort">
- <![CDATA[
- grd_spif.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button17" class="btn4_letter3" navindex="8" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:870px; top:740px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:10px; top:60px; width:102px; height:17px; ">제출확인여부</caption>
- <select1 id="radio2" ref="/root/send/cond/returnyn" navindex="5" appearance="full" cols="2" overflow="visible" style="left:125px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>확인</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확인</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:240px; top:60px; width:141px; height:17px; ">선택진료비발생여부</caption>
- <select1 id="radio3" ref="/root/send/cond/specamtyn" navindex="6" appearance="full" cols="2" overflow="visible" style="left:390px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>발생</label>
- <value>Y</value>
- </item>
- <item>
- <label>미발생</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" style="left:25px; top:740px; width:710px; height:20px; color:#ff0000; ">* 환자정보 더블클릭하면 선택진료신청조회화면과 연동됩니다. (선택진료신청조회화면이 다른 화면으로 변경된 경우에는 연동불가)</caption>
- </xhtml:body>
- </xhtml:html>
|