123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>심폐소생술 및 파랑새발령 보고조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <resusrec>
- <resusreclist/>
- </resusrec>
- </main>
- <send>
- <reqdata>
- <instcd/>
- <wardcd/>
- <orddeptcd/>
- <patinfoflag/>
- <cardarryn/>
- <bluebirdalarmyn/>
- <cardarrgenrfromdd/>
- <pid/>
- <patnm/>
- <cardarrgenrtodd/>
- </reqdata>
- <srch>
- <wardcd/>
- </srch>
- </send>
- <hidden>
- </hidden>
- <init>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <status/>
- <kind/>
- <projlist/>
- <gridstatus/>
- </init>
- <temp/>
- <result>
- <studyprojlist>
- </studyprojlist>
- </result>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fIni();
- ]]>
- </script>
- <submission id="TRMNE02309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/resusrec"/>
- <submission id="TXRIS00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/temp"/>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fIni(){
- model.setValue("/root/send/srch/wardcd", getUserInfo("dutplcecd"));
- model.setValue("/root/send/reqdata/cardarrgenrfromdd" , getCurrentDate());
- model.setValue("/root/send/reqdata/cardarrgenrtodd" , getCurrentDate());
- submit("TRMNW00101");
- // fSearch();
- model.refresh();
- }
-
- function fSearch(){
- //fSrchCondition();
- if(submit("TRMNE02309")){
- var cnt = getNodesetCount("/root/main/resusrec/resusreclist");
- if( cnt > 0 ){
- cpt_text.value = "( " + cnt + " 건 )";
- }else{
- cpt_text.value = "";
- }
- }
- model.refresh();
- }
-
- function fSrchCondition(){
- // 조회 조건이 하나도 없을 경우 ( 전체이거나 ) Check
- if( model.getValue("/root/send/reqdata/cardarrgenrdd") == "" &&
- model.getValue("/root/send/reqdata/orddeptcd") == "" &&
- model.getValue("/root/send/reqdata/wardcd") == "" &&
- model.getValue("/root/send/reqdata/patinfoflag") == "" &&
- model.getValue("/root/send/reqdata/cardarryn") == "" &&
- model.getValue("/root/send/reqdata/pid") == "" &&
- model.getValue("/root/send/reqdata/patnm") == "" &&
- model.getValue("/root/send/reqdata/bluebirdalarmyn") == "" ) {
-
- messageBox("조회조건을 하나이상 입력해주세요.","E999");
- return;
- }
-
- }
-
- // 파랑새발령/심폐소생술 보고서 화면 연동
- function fDetail() {
- var selectedRow = grd_resusreclist.row;
-
- if (selectedRow < 1) {
- return;
- }else{
- var pid = model.getValue("/root/main/resusrec/resusreclist["+selectedRow+"]/pid");
- var patnm = model.getValue("/root/main/resusrec/resusreclist["+selectedRow+"]/patnm");
- var patinfoflag = model.getValue("/root/main/resusrec/resusreclist["+selectedRow+"]/patinfoflag");
- var cardarrgenrdt = model.getValue("/root/main/resusrec/resusreclist["+selectedRow+"]/cardarrgenrdt");
-
- setParameter("SMMNE02301_openerid" , "SMMNE02301" );
- setParameter("SMMNE02301_pid" , pid );
- setParameter("SMMNE02301_patnm" , patnm );
- setParameter("SMMNE02301_patinfoflag" , patinfoflag );
- setParameter("SMMNE02301_cardarrgenrdt" , cardarrgenrdt );
-
- modal("SMMNE02302");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group3" style="left:0px; top:25px; width:1200px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1198px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" _auth="R" style="left:1132px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:8px; top:10px; width:111px; height:17px; ">발생일자 :</caption>
- <caption id="caption4" class="search_name" style="left:326px; top:10px; width:120px; height:17px; ">대상자구분 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/reqdata/orddeptcd" appearance="minimal" style="left:96px; top:35px; width:209px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/dept/">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cardarrgenrfromdd" ref="/root/send/reqdata/cardarrgenrfromdd" inputtype="date" format="yyyy-mm-dd" style="left:96px; top:10px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:8px; top:35px; width:90px; height:17px; ">진 료 과 :</caption>
- <line id="line30" class="line_4" style="x1:1118px; y1:11px; x2:1118px; y2:57px; "/>
- <caption id="caption5" class="search_name" style="left:325px; top:35px; width:105px; height:17px; ">병 동 :</caption>
- <caption id="caption7" class="search_name" style="left:588px; top:35px; width:110px; height:17px; ">심정지 여부 :</caption>
- <caption id="caption8" class="search_name" style="left:828px; top:35px; width:175px; height:17px; ">파랑새 발령 호출여부 :</caption>
- <select1 id="cmb_wardcd" ref="/root/send/reqdata/wardcd" appearance="minimal" style="left:428px; top:35px; width:140px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/ward/">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_cardarryn" ref="/root/send/reqdata/cardarryn" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:695px; top:35px; width:120px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_bluebirdalarmyn" ref="/root/send/reqdata/bluebirdalarmyn" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:994px; top:37px; width:124px; height:20px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_cardarrgenrtodd" ref="/root/send/reqdata/cardarrgenrtodd" inputtype="date" format="yyyy-mm-dd" style="left:210px; top:10px; width:95px; height:19px; text-align:center; "/>
- <caption id="caption2" style="left:194px; top:10px; width:15px; height:25px; font-weight:bold; ">~</caption>
- <select1 id="rdo_patinfoflag" ref="/root/send/reqdata/patinfoflag" appearance="minimal" style="left:428px; top:10px; width:140px; height:19px; text-align:left; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원환자</label>
- <value>1</value>
- </item>
- <item>
- <label>외래 내원환자</label>
- <value>2</value>
- </item>
- <item>
- <label>응급실 내원환자</label>
- <value>3</value>
- </item>
- <item>
- <label>보호자</label>
- <value>4</value>
- </item>
- <item>
- <label>방문객</label>
- <value>5</value>
- </item>
- <item>
- <label>기타</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="search_name" style="left:588px; top:10px; width:105px; height:17px; ">등 록 번 호 :</caption>
- <input id="ipt_pid" ref="/root/send/reqdata/pid" class="input_default" navindex="1" maxlength="10" style="left:695px; top:10px; width:115px; height:19px; "/>
- <input id="int_patnm" ref="/root/send/reqdata/patnm" class="input_default" navindex="2" maxlength="10" style="left:917px; top:10px; width:113px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:828px; top:10px; width:95px; height:17px; ">환 자 명 :</caption>
- </group>
- <datagrid id="grd_resusreclist" nodeset="/root/main/resusrec/resusreclist" class="datagrid2" scroll="auto" caption="발생일자^대상자 구분^환자명^등록번호^성별^나이^입원일자^진료과^주치의^담당의^진단명^환자상태^심정지
여부^심정지 발견시간^심정지 추정시간^파랑새
호출여부^파랑새 호출시간^소생팀 도착시간^목격여부^발견자^발견장소^담당의 호출시간^담당의 도착시간^소생술 시작시간^소생술 종료시간^보고일^보고부서^보고자^부서장확인" colsep="^" colwidth="130, 85, 76, 84, 36, 37, 75, 100, 60, 60, 150, 120, 52, 100, 100, 60, 100, 100, 130, 120, 156, 100, 100, 100, 100, 121, 81, 79, 100" ellipsis="true" explorerbar="sortshow" frozencols="5" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:105px; width:1200px; height:677px; ">
- <col ref="cardarrgenrdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="patinfoflagtext" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="pidtext" style="text-align:center; "/>
- <col ref="gender" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="indd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:left; "/>
- <col ref="atdoctnm" style="text-align:center; "/>
- <col ref="medispclnm" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="patstatus"/>
- <col ref="cardarryn" style="text-align:center; "/>
- <col ref="cardarrfinddd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cardarrestmdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="bluebirdalarmyn" style="text-align:center; "/>
- <col ref="bluebirdalarmdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="resusteamarvdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cardarrgoalyn" style="text-align:left; "/>
- <col ref="cardarrdiscvpsn" style="text-align:left; "/>
- <col ref="cardarrgenrplce" style="text-align:left; "/>
- <col ref="atdoctcalldd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="atdoctarrdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="resusfromdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="resustodd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="reportdate" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="reportdeptnm" style="text-align:center; "/>
- <col ref="reporternm" style="text-align:center; "/>
- <col ref="lastupdnm" visibility="hidden" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="pid" visibility="hidden" style="text-align:center; "/>
- <col ref="patinfoflag" visibility="hidden" style="text-align:center; "/>
- <col ref="reportdeptcd" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_resusreclist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDetail();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1200px; y2:104px; font-family:돋움체; "/>
- <group id="grp_buttons" style="left:0px; top:0px; width:1200px; height:25px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:13px; ">심폐소생술 및 파랑새발령 보고조회</caption>
- <button id="btn_excel" class="btn6_letter2" _auth="R" style="left:1141px; top:2px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sTitle = "과제리스트";
- var fileName = window.fileDialog("save", ",", false, sTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_resusreclist.saveExcel(fileName, sTitle, true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="cpt_text" style="left:945px; top:3px; width:185px; height:20px; font-weight:bold; color:#0000ff; text-align:right; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|