123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420 |
- <?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="">
- <main>
- <cond>
- <wardcdgrup>
- <wardcdgruplist>
- <wardnm/>
- <wardcd/>
- </wardcdgruplist>
- </wardcdgrup>
- <roomcdgrup>
- <roomcdgruplist>
- <roomnm/>
- <roomcd/>
- </roomcdgruplist>
- </roomcdgrup>
- <patientgrup>
- <patientgruplist>
- <patientnm/>
- <pid/>
- </patientgruplist>
- </patientgrup>
- <patientgrupInfo>
- <patientgruplistInfo>
- <patientnm/>
- <pid/>
- <sexage/>
- <abo/>
- <rhname/>
- <rh/>
- <btype/>
- <reptrslt/>
- </patientgruplistInfo>
- </patientgrupInfo>
- <prcpddfrom/>
- <prcdddto/>
- <dateflag>deliveselect</dateflag>
- <wardpatientflag>patient</wardpatientflag>
- <deliveflag>1</deliveflag>
- <execdetlgrup>
- <execdetlgruplist>
- <wardcd/>
- <roomcd/>
- <pid/>
- <patnm/>
- <grdrage/>
- <aborh/>
- <prcpstat/>
- <prcppreptfflag/>
- <prcpcd/>
- <prcpnm/>
- <blodno/>
- <rgstdt/>
- <deliveexecdt/>
- <tnsstrddtm/>
- <tnsstrnursenm/>
- <tnsendddtm/>
- <tnsendnursenm/>
- <testexecnm/>
- <orddridnm/>
- </execdetlgruplist>
- </execdetlgrup>
- <recdeptflag/>
- <recdeptcd/>
- </cond>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/cond/execdetlgrup/execdetlgruplist");
-
- ipt_prcpddfrom.value = getCurrentDate() ;// 기준일에 현재날짜(디폴트)
- var addDy = model.getValue("/root/main/cond/prcpddfrom");
- addDy = addDy.toDate().getAddDate(-3,"D");
- addDy = addDy.getDateFormat();
- ipt_prcpddfrom.value = addDy;
- ipt_prcdddto.value = getCurrentDate();// 기준일에 현재날짜(디폴트)
- fInit();
- ]]>
- </script>
- <submission id="TRMNR07602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/wardcdgrup"/>
- <submission id="TRMNR07603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/roomcdgrup"/>
- <submission id="TRMNR07604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/patientgrup"/>
- <submission id="TRMNR07605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/patientgrupInfo"/>
- <submission id="TRMNR04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cond/execdetlgrup"/>
- </model>
- <script type="javascript" src="../../../emr/carerecweb/js/SMMNR04600.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1218;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">수혈기록 현황조회</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <caption id="caption11" style="left:1090px; top:5px; width:100px; height:20px; text-align:right; ">[표]</caption>
- </group>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:80px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1030px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1020px; y1:8px; x2:1020px; y2:67px; "/>
- <caption id="caption2" class="search_name" style="left:521px; top:7px; width:105px; height:17px; ">병동 :</caption>
- <select1 id="cmb_dateflag" ref="/root/main/cond/dateflag" appearance="minimal" style="left:111px; top:6px; width:83px; height:19px; ">
- <choices>
- <item>
- <label>처방일</label>
- <value>prcpddselect</value>
- </item>
- <item>
- <label>불출일</label>
- <value>deliveselect</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- // if(rdo_wardpatientflag.value == "patient") {
- // if (ipt_pid.value == ""){
- // messageBox("등록번호를 ","C001");
- // model.setfocus("ipt_pid");
- // return;
- // }
- // }
- //
- // fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- ]]>
- </script>
- </select1>
- <caption id="caption1" style="left:298px; top:7px; width:15px; height:20px; ">~</caption>
- <select1 id="rdo_wardpatientflag" ref="/root/main/cond/wardpatientflag" class="radio_search" appearance="full" rows="3" overflow="visible" style="left:441px; top:6px; width:79px; height:69px; line-spacing:5; border-style:none; ">
- <choices>
- <item>
- <label>병동별</label>
- <value>ward</value>
- </item>
- <item>
- <label>환자별</label>
- <value>patient</value>
- </item>
- <item>
- <label>기록부서별</label>
- <value>dept</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( rdo_wardpatientflag.value == 'ward') {
- cmb_wardcd.disabled = false ;
- cmb_roomcd.disabled = true ;
- cmb_pid.disabled = true ;
- ipt_pid.disabled = true ;
- rdo_recdeptflag.disabled = true;
- cmb_recdeptcd.disabled = true;
- opt_patientnm.visible = false;
- cmb_roomcd.value = "" ;
- cmb_pid.value = "" ;
- ipt_pid.value = "" ;
- opt_sexage.value = "" ;
- opt_patientnm.value = "" ;
- rdo_recdeptflag.value="";
- cmb_recdeptcd.value="";
- //cmb_wardcd.selectedIndex = 0 ;
- model.setfocus("cmb_wardcd");
- } else if ( rdo_wardpatientflag.value == 'patient' ){
- cmb_wardcd.disabled = false ;
- cmb_roomcd.disabled = false ;
- cmb_pid.disabled = false ;
- ipt_pid.disabled = false ;
- rdo_recdeptflag.disabled = true;
- cmb_recdeptcd.disabled = true;
- opt_patientnm.visible = true;
-
- cmb_roomcd.value = "" ;
- cmb_pid.value = "" ;
- ipt_pid.value = "" ;
- opt_sexage.value = "" ;
- opt_patientnm.value = "" ;
- cmb_wardcd.value = "";
- rdo_recdeptflag.value="";
- cmb_recdeptcd.value="";
- // cmb_wardcd.selectedIndex = 0 ;
- model.setfocus("ipt_pid");
- } else {
- cmb_wardcd.disabled = true ;
- cmb_roomcd.disabled = true ;
- cmb_pid.disabled = true ;
- ipt_pid.disabled = true ;
- rdo_recdeptflag.disabled = false;
- cmb_recdeptcd.disabled = false;
- opt_patientnm.visible = false;
-
- cmb_roomcd.value = "" ;
- cmb_pid.value = "" ;
- ipt_pid.value = "" ;
- opt_sexage.value = "" ;
- opt_patientnm.value = "" ;
- cmb_wardcd.value = "";
- rdo_recdeptflag.value = "S";
- cmb_recdeptcd.value=getUserInfo("dutplcecd");
- model.setfocus("cmb_recdeptcd");
- }
- model.removeNodeset("/root/main/cond/execdetlgrup");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:715px; top:7px; width:69px; height:17px; ">병실 :</caption>
- <caption id="caption3" class="search_name" style="left:715px; top:29px; width:69px; height:17px; ">성명 :</caption>
- <caption id="caption5" class="search_name" style="left:885px; top:29px; width:71px; height:17px; ">S/A :</caption>
- <caption id="caption7" class="search_name" style="left:520px; top:30px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_prcpddfrom" ref="/root/main/cond/prcpddfrom" class="input_default" inputtype="date" style="left:198px; top:6px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(rdo_wardpatientflag.value == "patient") {
- // if (ipt_pid.value == ""){
- // messageBox("등록번호를 ","C001");
- // model.setfocus("ipt_pid");
- // return;
- // }
- // }
- //
- // fGetPatientInfo();// 환자 개인정보를 가져온다.
- // fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- ]]>
- </script>
- </input>
- <input id="ipt_prcdddto" ref="/root/main/cond/prcdddto" class="input_default" inputtype="date" style="left:314px; top:6px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(rdo_wardpatientflag.value == "patient") {
- // if (ipt_pid.value == ""){
- // messageBox("등록번호를 ","C001");
- // model.setfocus("ipt_pid");
- // return;
- // }
- // }
- //
- // fGetPatientInfo();// 환자 개인정보를 가져온다.
- // fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- // ]]>
- </script>
- </input>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcdgrup/wardcdgruplist" class="combo_s_essential" appearance="minimal" style="left:610px; top:6px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cond/wardcdgrup/wardcdgruplist">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( rdo_wardpatientflag.value == 'ward') {
- fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- } else {
- ipt_pid.value = "" ;
- opt_patientnm.value = "" ;
- opt_sexage.value = "" ;
- opt_patientnm.visible = false;
- cmb_pid.value = "";
- fGetRoomList();// 병실정보를 가져온다.
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_roomcd" ref="/root/main/cond/roomcdgrup/roomcdgruplist" class="combo_search" appearance="minimal" style="left:780px; top:6px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cond/roomcdgrup/roomcdgruplist">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_pid.value = "" ;
- opt_patientnm.value = "" ;
- opt_sexage.value = "" ;
- fGetPatientList();// 환자리스트 정보를 가져온다.
- ]]>
- </script>
- </select1>
- <output id="opt_sexage" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/sexage" class="output_search" style="left:948px; top:28px; width:50px; height:19px; "/>
- <input id="ipt_pid" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/pid" class="input_search" maxlength="10" style="left:610px; top:28px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == "13") {
- fGetPatientInfo("entr");
- opt_patientnm.visible = true;
- model.removenodeSet("/root/main/cond/roomcdgrup/roomcdgruplist");
- }
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:22px; top:7px; width:92px; height:17px; ">조회기준 :</caption>
- <button id="btn_excel" class="btn1_letter4" style="left:1094px; top:27px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:523px; top:53px; width:172px; height:20px; ">( )</caption>
- <select1 id="rdo_recdeptflag" ref="/root/main/cond/recdeptflag" appearance="full" cols="2" overflow="visible" style="left:535px; top:54px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>시작부서</label>
- <value>S</value>
- </item>
- <item>
- <label>종료부서</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setfocus("cmb_recdeptcd");
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:715px; top:52px; width:69px; height:17px; ">부서 :</caption>
- <select1 id="cmb_recdeptcd" ref="/root/main/cond/recdeptcd" class="combo_s_essential" appearance="minimal" style="left:780px; top:51px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cond/wardcdgrup/deptcdgruplist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_pid" ref="/root/main/cond/patientgrup/patientgruplist" class="combo_search" appearance="minimal" style="left:780px; top:28px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cond/patientgrup/patientgruplist">
- <label ref="patientnm"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_pid.value = "" ;
- opt_patientnm.value = "" ;
- opt_sexage.value = "" ;
- fGetPatientInfo();// 환자 개인정보를 가져온다.
- fGetTnsPresCondRef();//혈액미불출 리스트 조회버튼
- ]]>
- </script>
- </select1>
- <output id="opt_patientnm" ref="/root/main/cond/patientgrupInfo/patientgruplistInfo/patientnm" class="output_search" visibility="hidden" style="left:780px; top:28px; width:85px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:117px; x2:1194px; y2:117px; "/>
- <caption id="caption26" class="tit_2" style="left:5px; top:98px; width:126px; height:13px; vertical-align:middle; ">수혈기록내역</caption>
- <datagrid id="grd_execdetlgruplist" nodeset="/root/main/cond/execdetlgrup/execdetlgruplist" class="datagrid2" caption="병실^등록번호^성명^S/A^ABO RH^상태^처방구분^처방코드^처방명^혈액번호^처방일시^불출일시^수혈시작일시^수혈시작간호사^수혈시작부서^수혈종료일시^수혈종료간호사^수혈종료부서^검사자^처방의" colsep="^" colwidth="53, 80, 60, 45, 61, 60, 60, 90, 180, 85, 115, 115, 115, 95, 100, 115, 95, 100, 95" ellipsis="true" explorerbar="sortmove" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:120px; width:1194px; height:615px; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="grdrage" style="text-align:center; "/>
- <col ref="aborh" style="text-align:center; "/>
- <col ref="prcpstat" style="text-align:center; "/>
- <col ref="prcppreptfflag" style="text-align:center; "/>
- <col ref="prcpcd" style="text-align:center; "/>
- <col ref="prcpnm"/>
- <col ref="blodno" style="text-align:center; "/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="deliveexecdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="tnsstrddtm" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="tnsstrnursenm"/>
- <col ref="tnsstrnursedeptnm"/>
- <col ref="tnsendddtm" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="tnsendnursenm"/>
- <col ref="tnsendnursedeptnm"/>
- <col ref="testexecnm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_execdetlgruplist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_execdetlgruplist.row>=1) {
- var rgstdd = model.getValue("/root/main/cond/execdetlgrup/execdetlgruplist["+grd_execdetlgruplist.row+"]/rgstdt").substring(0,8);
- var param = "I▦" + model.getValue("/root/main/cond/execdetlgrup/execdetlgruplist["+grd_execdetlgruplist.row+"]/pid")
- + "▦" + model.getValue("/root/main/cond/execdetlgrup/execdetlgruplist["+grd_execdetlgruplist.row+"]/indd")
- + "▦" + model.getValue("/root/main/cond/execdetlgrup/execdetlgruplist["+grd_execdetlgruplist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/cond/execdetlgrup/execdetlgruplist["+grd_execdetlgruplist.row+"]/instcd")
- + "▦" + rgstdd;
-
-
- setParameter("condparam", param);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- setParameter("SMMNR010_Param", "IPRC2");
- setParameter("SMMNR010_RgstddDATA",rgstdd);
- open("SMMNR01000","1","15","128");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|