123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- <?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">
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
-
- model.removeNodeset("/root/main/list");
- model.makeNode("/root/main/list");
- // 시스템 현재 일자
- model.setValue("/root/hidden/currentDate", getCurrentDate());
- // 구분값
- model.setValue("/root/send/data1/srchcond","A");
- radio_goobun.select(1);
- //날자 입력 항목에 오늘 날자 세팅
- model.setValue("/root/send/data1/reffromdd",model.getValue("/root/hidden/currentDate"));
- model.setValue("/root/send/data1/reftodd",model.getValue("/root/hidden/currentDate"));
-
- model.refresh();
- }
- //자체기초코드 조회
- function fComCDRef()
- {
- submit("TRPMI00106");
- model.refresh();
- }
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>중증진료대상자조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <reffromdd/>
- <reftodd/>
- <srchcond/>
- <icd10cd/>
- <opyn/>
- <goobun/>
- </data1>
- <data2>
- <sess_posinstcd>012</sess_posinstcd>
- </data2>
- </send>
- <main>
- <list>
- <grdserdiagpatreflist/>
- </list>
- </main>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <currentDate/>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 기본데이터 초기화
- fComCDRef(); // 코드 조회
- ]]>
- </script>
- </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/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group4" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption26" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; font-family:돋움; vertical-align:middle; ">중증진료대상자</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:240px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
- <caption id="caption11" class="search_name" style="left:567px; top:9px; width:65px; height:17px; ">구분 :</caption>
- <select1 id="cmb_srchcond" ref="/root/send/data1/srchcond" class="combo_search" appearance="minimal" style="left:635px; top:8px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>중증</label>
- <value>Y</value>
- </item>
- <item>
- <label>암환자</label>
- <value>C</value>
- </item>
- <item>
- <label>상해</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" class="search_name" style="left:770px; top:9px; width:60px; height:17px; ">상병 :</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 중증진료대상자 조회
- if(submit("TRPMC01100")) {
-
- model.removeNodeset("/root/main/list");
- model.makeNode("/root/main/list");
-
- var patrefcnt = getNodesetCount("/root/hidden/rcv/list/grdserdiagpatreflist");
-
- if (patrefcnt > 0) {
- copyNodeType("/root/main/list","/root/hidden/rcv/list","replace");
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_n_b" style="left:432px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_reffromdd" ref="/root/send/data1/reffromdd" class="input_search" inputtype="date" style="left:329px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_reftodd" ref="/root/send/data1/reftodd" class="input_search" inputtype="date" style="left:447px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_icd10cd" ref="/root/send/data1/icd10cd" class="input_search" style="left:833px; top:8px; width:100px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:953px; top:9px; width:91px; height:17px; ">수술여부 :</caption>
- <select id="chk_opyn" ref="/root/send/data1/opyn" class="checkbox_search" overflow="visible" appearance="full" style="left:1047px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption5" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">환자구분 :</caption>
- <select1 id="radio_goobun" ref="/root/send/data1/goobun" overflow="visible" appearance="full" cols="3" style="left:95px; top:10px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>퇴원</label>
- <value>1</value>
- </item>
- <item>
- <label>재원</label>
- <value>2</value>
- </item>
- <item>
- <label>입원</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="button5" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_grdserdiagpatref.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:100px; height:13px; ">대상자 LIST</caption>
- <line id="line17" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="grd_grdserdiagpatref" nodeset="/root/main/list/grdserdiagpatreflist" caption="이름^등록번호^성별^나이^진료과^병동^병실^입원일^퇴원일^심사일^보험유형^보조유형^상병^상병명^중증등록번호^중증신청상태" colsep="^" colwidth="70, 70, 40, 40, 110, 88, 70, 75, 75, 75, 80, 80, 60, 294, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:669px; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastjudgdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="icd10cd"/>
- <col ref="termhngnm"/>
- <col ref="serdiagno"/>
- <col ref="signyn"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_grdserdiagpatref.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|