123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <?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>
- <wardcd/>
- <actvdd/>
- <settingrnid/>
- <pid/>
- <zonecd/>
- <indsch/>
- <patientnm/>
- </cond>
- <wardpatinfo>
- </wardpatinfo>
- <actvinfo/>
- <paminfo/>
- <patindschinfo/>
- </main>
- <send>
- <savedata/>
- </send>
- <hidden>
- <main>
- <actvinfo/>
- </main>
- </hidden>
- <temp/>
- <tmp/>
- <init/>
- <viewinfo/>
- </root>
- </instance>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.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/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/SMMNR14000.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <!-- 병동활동기록 조회 submission -->
- <submission id="TRMNW10910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/settinginfo"/>
- <submission id="TRMNR14000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/wardpatinfo"/>
- <submission id="TRMNR14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/actvinfo"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/codelist"/>
- <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
- <submission id="TRMNW04716" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patindschinfo"/>
- <submission id="TRMNW04707" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/main/patinfolist"/>
- <!-- 병동활동기록 입력/수정/삭제 submisiion -->
- <submission id="TXMNR14000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp/actvinfo"/>
- <!-- 통합기록조회용 인증데이터 조회 -->
- <submission id="TRMNR14002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/viewinfo/viewactvgrup"/>
- <submission id="TXMNR14001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/actvinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body overflow="visible" scroll="autovscroll" pagewidth="915" pageheight="755" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group5" scroll="auto" style="left:0px; top:0px; width:900px; height:745px; font-family:굴림; ">
- <group id="grp_sea" style="left:0px; top:20px; width:900px; height:40px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:900px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption17" class="search_name" style="left:355px; top:10px; width:112px; height:17px; font-family:굴림; ">활동기준일자 :</caption>
- <input id="ipt_actvdd" ref="/root/main/cond/actvdd" class="input_search" inputtype="date" style="left:475px; top:10px; width:90px; height:19px; font-family:굴림; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- finit("Search");
- ]]>
- </script>
- </input>
- <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:270px; top:10px; width:75px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/settinginfo/settingrn">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetWardPatList();
- ]]>
- </script>
- </select1>
- <caption id="cap_settingrn" class="search_name" style="left:190px; top:10px; width:80px; height:17px; font-family:굴림; ">내환자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:830px; top:10px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- finit("Search");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:820px; y1:10px; x2:820px; y2:30px; font-family:굴림; "/>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" visibility="hidden" maxlength="10" style="left:170px; top:10px; width:54px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
-
- model.removeNodeset("/root/main/actvinfo/actvlist");
- model.setValue("/root/main/cond/patientnm","");
- cmb_patientnm.refresh();
-
- setInputNodeCurText();
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == "" ){
- messageBox("등록번호","C001");
- model.setfocus("ipt_pid");
- return;
-
- }else{
- fGetPidWardInfo(pid);
-
- model.makeValue("/root/send/reqdata/pid", pid);
- if(submit("TRMNW04716") == true){
-
- var cnt = getNodesetCount("/root/main/patindschinfo/patindschlist");
-
- if(cnt > 0){
- group2.visible = true;
- }
- }
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_patientnm" ref="/root/main/cond/patientnm" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:95px; top:10px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="root/main/patinfo/patinfolist">
- <label ref="hngnm"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="ctn_ward" class="search_name" style="left:5px; top:10px; width:70px; height:17px; font-family:굴림; ">병 동 :</caption>
- <caption id="ctn_pid" class="search_name" visibility="hidden" style="left:5px; top:10px; width:85px; height:17px; font-family:굴림체; ">환자정보:</caption>
- <select1 id="cmb_ward" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:75px; top:10px; width:105px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fnZoneDisp();
- fSettingnurid();
- fGetWardPatList();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; font-family:굴림; ">병동활동기록</caption>
- <datagrid id="grd_wardpatlist" nodeset="/root/main/wardpatinfo/wardpatlist" caption="병실^환자명^S/A^indd^cretno^pid^ordtype^orddeptcd^orddrid" colsep="^" colwidth="50, 65, 50, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:95px; width:190px; height:650px; font-family:굴림; ">
- <col ref="roomcd" style="font-family:굴림; text-align:center; "/>
- <col ref="patnm" style="font-family:굴림; "/>
- <col ref="sexage" style="font-family:굴림; "/>
- <col ref="indd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="cretno" visibility="hidden" style="font-family:굴림; "/>
- <col ref="pid" visibility="hidden" style="font-family:굴림; "/>
- <col ref="ordtype" visibility="hidden" style="font-family:굴림; "/>
- <col ref="orddeptcd" visibility="hidden" style="font-family:굴림; "/>
- <col ref="orddrid" visibility="hidden" style="font-family:굴림; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var condparam = "";
-
- if(model.getValue("/root/main/cond/indsch") == "1"){
- // 상단정보 올림
- condparam = model.getValue("/root/main/wardpatinfo/wardpatlist["+grd_wardpatlist.row+"]/ordtype")
- + "▦" + model.getValue("/root/main/wardpatinfo/wardpatlist["+grd_wardpatlist.row+"]/pid")
- + "▦" + model.getValue("/root/main/wardpatinfo/wardpatlist["+grd_wardpatlist.row+"]/indd")
- + "▦" + model.getValue("/root/main/wardpatinfo/wardpatlist["+grd_wardpatlist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/wardpatinfo/wardpatlist["+grd_wardpatlist.row+"]/instcd")
- + "▦" + model.getValue("/root/cond/actvdd");
-
- setParameter("condparam", condparam);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- }
- fSearch();
-
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:0px; y1:90px; x2:190px; y2:90px; "/>
- <caption id="caption14" class="tit_2" style="left:0px; top:75px; width:113px; height:14px; font-family:굴림; vertical-align:middle; ">재원환자 목록</caption>
- <datagrid id="grd_actvlist" nodeset="/root/main/actvinfo/actvlist" caption="상태^활동사항^활동일자^활동시간^선택^기록일자^시간^기록자^recrid^pid^instcd^indd^cretno^actvrecseq^signno" colsep="^" colwidth="30, 240, 95, 55, 30, 95, 55, 75, 100, 100, 100, 100, 100, 100, 100" rowheader="update" rowsep="|" style="left:195px; top:95px; width:705px; height:650px; ">
- <col ref="stat" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>i</label>
- <value>i</value>
- </item>
- <item>
- <label>u</label>
- <value>u</value>
- </item>
- <item>
- <label>d</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="actvcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid ='R01']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" imemode="hangul" key="true" ref="actvdd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" imemode="alpha" key="true" ref="actvtm" type="input" format="hh:nn" style="text-align:center; "/>
- <col ref="sel" type="checkbox"/>
- <col disabled="true" editable="false" ref="recdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="rectm" type="input" format="hh:nn" style="text-align:center; "/>
- <col ref="recrnm" style="text-align:center; "/>
- <col ref="recrid" visibility="hidden"/>
- <col ref="pid" type="input" visibility="hidden"/>
- <col ref="instcd" type="input" visibility="hidden"/>
- <col ref="indd" type="input" visibility="hidden"/>
- <col ref="cretno" type="input" visibility="hidden"/>
- <col ref="actvrecseq" type="input" visibility="hidden"/>
- <col ref="signno" type="input" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_actvlist.col == grd_actvlist.colRef("actvtm")){
- if(model.getValue("/root/main/actvinfo/actvlist[" + grd_actvlist.row + "]/actvtm").length != 4){
- messageBox("활동시간을 정확히 입력하세요.(네자리)", "I");
- return;
- }
- }
-
- if(grd_actvlist.col == grd_actvlist.colRef("rectm")){
- if(model.getValue("/root/main/actvinfo/actvlist[" + grd_actvlist.row + "]/rectm").length != 4){
- messageBox("활동 기록시간을 정확히 입력하세요.(네자리)", "I");
- return;
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_1" style="x1:195px; y1:90px; x2:900px; y2:90px; "/>
- <caption id="caption1" class="tit_2" style="left:195px; top:75px; width:144px; height:14px; font-family:굴림; vertical-align:middle; ">활동기록 리스트</caption>
- <button id="button2" class="btn2_letter2" style="left:791px; top:70px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddActv();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:747px; top:70px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter4" style="left:835px; top:70px; width:64px; height:19px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSignSave();
- ]]>
- </script>
- </button>
- <select1 id="cmb_Zone" ref="/root/main/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:260px; top:30px; width:60px; height:19px; font-family:굴림; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <choices>
- <itemset nodeset="/root/temp/zoneinfo/zonelist">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetWardPatList();
- ]]>
- </script>
- </select1>
- <caption id="cap_Zone" class="search_name" visibility="hidden" style="left:190px; top:30px; width:70px; height:17px; font-family:굴림; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구 역 :</caption>
- <select1 id="rdo_indsch" ref="/root/main/cond/indsch" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:125px; top:0px; width:100px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>재원</label>
- <value>1</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetInDschHidden();
- model.removeNodeset("/root/main/actvinfo/actvlist");
- if(model.getValue("/root/main/cond/indsch") == "1"){
- line1.visible = true;
- button1.visible = true;
- model.setValue("/root/main/cond/actvdd", getCurrentDate());
- fGetWardPatList();
- }else{
- line1.visible = false;
- button1.visible = false;
- model.removeNodeset("/root/main/wardpatinfo/wardpatlist");
- model.setValue("/root/main/cond/patientnm","");
- model.setValue("/root/main/cond/pid","");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <group id="group2" visibility="hidden" style="left:125px; top:20px; width:245px; height:170px; background-color:#ffcc00; ">
- <datagrid id="grd_patindschlist" nodeset="/root/main/patindschinfo/patindschlist" caption="입원일자^퇴원일자^caption5^caption6^caption7^caption8^caption9^caption10^caption3^caption1^caption2^caption4" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:15px; width:225px; height:150px; ">
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="indschacptstat" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="medispclid" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var condparam = model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/ordtype")
- + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/pid")
- + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/indd")
- + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/cretno")
- + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/instcd")
- + "▦" + model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/dschdd");
-
- setParameter("condparam", condparam);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- model.setValue("/root/main/cond/actvdd",model.getValue("/root/main/patindschinfo/patindschlist["+grd_patindschlist.row+"]/indd") );
- group2.visible = false;
- fSearch();
-
- ]]>
- </script>
- </datagrid>
- <button id="button6" style="left:225px; top:0px; width:15px; height:15px; ">
- <caption>X</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- group2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <caption id="caption2" style="left:220px; top:765px; width:1200px; height:30px; "/>
- </xhtml:body>
- </xhtml:html>
|