123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <?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="">
- <cond>
- <pid/>
- <flag>E</flag>
- </cond>
- <main>
- <histinfo>
- <inhistinfo>
- <pid/>
- <patnm/>
- <indd/>
- <dschdd/>
- <recflag/>
- <recnm/>
- <signno/>
- <cretno/>
- <instcd/>
- <mskind/>
- <histstat/>
- </inhistinfo>
- </histinfo>
- </main>
- <send/>
- </root>
- </instance>
- <submission id="TRMNW99901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/histinfo"/>
- </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">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="886" pageheight="351" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:870px; height:351px; ">
- <button id="btn_search" class="btn2_letter3" style="left:660px; top:4px; width:53px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/cond/pid") != "" && model.getValue("/root/cond/flag") != ""){
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/pid", model.getValue("/root/cond/pid"));
- model.makeValue("/root/send/flag", model.getValue("/root/cond/flag"));
- submit("TRMNW99901");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_wardpatlist" nodeset="/root/main/histinfo/inhistinfo" scroll="auto" caption="아이디^환자명^입원일자^퇴원일자^기록구분^기록자명^signno^cretno^instcd^mskind^histstat" colsep="^" colwidth="75, 100, 85, 85, 70, 79, 100, 64, 54, 54, 63" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:865px; height:323px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="recflag" type="combo">
- <choices>
- <item>
- <label>일반병동</label>
- <value>01</value>
- </item>
- <item>
- <label>정신과</label>
- <value>02</value>
- </item>
- <item>
- <label>산모</label>
- <value>03</value>
- </item>
- <item>
- <label>소아</label>
- <value>04</value>
- </item>
- <item>
- <label>BMT</label>
- <value>05</value>
- </item>
- <item>
- <label>본원신생아</label>
- <value>06</value>
- </item>
- <item>
- <label>외부신생아</label>
- <value>07</value>
- </item>
- <item>
- <label>투석간호</label>
- <value>08</value>
- </item>
- <item>
- <label>가정간호</label>
- <value>09</value>
- </item>
- <item>
- <label>응급실</label>
- <value>10</value>
- </item>
- </choices>
- </col>
- <col ref="recnm"/>
- <col ref="signno" visibility="hidden"/>
- <col ref="cretno"/>
- <col ref="instcd"/>
- <col ref="mskind"/>
- <col ref="histstat"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ) {
- var ordtype = "";
- var orddd = "";
- if(model.getValue("/root/cond/flag") == "W"){
- ordtype = "I";
- }else{
- ordtype = "E";
- }
-
- if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/dschdd") != "99991231"){
- orddd = model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/dschdd");
- }else{
- orddd = getCurrentDate();
- }
-
- // 상단 세팅을 위한 파라미터
- condparam = ordtype+ "▦" + model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/pid")
- + "▦" + model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/indd")
- + "▦" + model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/instcd")
- + "▦" + orddd
-
- //+ "▦" + model.getValue("/root/main/cond/orddd");
- setParameter("condparam", condparam);
-
- //상단 세팅 화면 사이즈 작게 띄움
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/histstat") == "Y"){
- btn_rec.dispatch("DOMActivate");
- }
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_rec" class="btn2_letter6" style="left:720px; top:4px; width:86px; height:19px; ">
- <caption>간호정보조사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "01"){ //일반병동
- open("SMMNW03100");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "02"){ //정신과
- open("SMMNW03400");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "03"){ //산모
- open("SMMNN00300");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "04"){ //소아
- open("SMMNW03200");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "05"){ //BMT
- open("SMMNW03500");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "06"){ //본원신생아
- open("SMMNN00400");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "07"){ //외부신생아
- open("SMMNN02000");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "08"){ //투석간호
- open("SMMND00300");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "09"){ //가정간호
- open("SMMNF00300");
-
- }else if(model.getValue("/root/main/histinfo/inhistinfo["+grd_wardpatlist.row+"]/recflag") == "10"){ //응급실
- open("SMMNE04300");
-
- }
-
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/cond/pid" style="left:430px; top:4px; width:185px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/cond/flag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:325px; top:4px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>병동</label>
- <value>W</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|