123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356 |
- <?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="">
- <main>
- <cond>
- <wardcd/>
- <searchfromdd/>
- <searchtodd/>
- <settingrnid/>
- <userid/>
- <usernm/>
- <exceptdsch/>
- </cond>
- <nursebasicinfo>
- <info>
- <roomcd/>
- <patnm/>
- <sexage/>
- <pid/>
- <indd/>
- <cretno/>
- <instcd/>
- <seqno/>
- <timsval01/>
- <timsval02/>
- <timsval04/>
- <clsgrupkind/>
- <recid1/>
- <recnm1/>
- <recdd1/>
- <recid2/>
- <recnm2/>
- <recdd2/>
- <recid3/>
- <recnm3/>
- <recdd3/>
- <recid4/>
- <recnm4/>
- <recdd4/>
- <recid5/>
- <recnm5/>
- <recdd5/>
- <recid6/>
- <recnm6/>
- <recdd6/>
- <recid7/>
- <recnm7/>
- <recdd7/>
- <recid8/>
- <recnm8/>
- <recdd8/>
- <recid9/>
- <recnm9/>
- <recdd9/>
- <recid10/>
- <recnm10/>
- <recdd10/>
- <recid11/>
- <recnm11/>
- <recdd11/>
- <recid12/>
- <recnm12/>
- <recdd12/>
- </info>
- </nursebasicinfo>
- </main>
- <init>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- <settingrn>
- <settingrnid/>
- <settingrnnm/>
- </settingrn>
- <A0078list/>
- </init>
- <send/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <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="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize(){
- for(i= grd_nursebasic.colRef("recdd1") ;i<= grd_nursebasic.colRef("actingcon12");i++){
- grd_nursebasic.mergeCol(i) = false;
- }
- //오늘 날짜로 초기화 하는 부분.(조회일자를 default로 오늘 날짜로 선택함)
- var currDate;
- currDate = getCurrentDate();
-
- var addDy = currDate.toDate().getAddDate(-7,"D"); // Y가 연M,D
- addDy = addDy.getDateFormat("YYYYMMDD");
- model.setValue("/root/main/cond/wardcd", getUserInfo("dutplcecd"));
- model.setValue("/root/main/cond/settingrnid", "");
- model.setValue("/root/main/cond/userid", getUserId());
- model.setValue("/root/main/cond/usernm", getUserName());
- model.setValue("/root/main/cond/searchfromdd", addDy );
- model.setValue("/root/main/cond/searchtodd", getCurrentDate() );
- model.setValue("/root/main/cond/exceptdsch", "N" );
-
- fMySettingNurseList();
- if ( (model.getValue("/root/main/cond/wardcd") != "All" && !isNull(model.getValue("/root/main/cond/wardcd")) )
- || (model.getValue("/root/main/cond/wardcd") == "All" )){
- fGetBasicNursePatList();
- }
-
- }
-
- //병동및 내환자 세팅 간호사 아디 조회
- function fMySettingNurseList(){
-
- model.setValue("/root/main/cond/settingrnid", "");
-
- model.removenode("/root/send");
- model.makeValue ("/root/send/reqdata/wardcd" , model.getValue("/root/main/cond/wardcd"));
- model.makeValue ("/root/send/reqdata/wardlistopt" , "A"); // 병동리스트조회옵션(A:[전체]포함)
- if ( submit("TRMNW00101") ){
- for(i=1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
- if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
- model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
- }
- }
- }
- }
-
- function fGetBasicNursePatList(){
- if( !isNull(model.getValue("/root/main/cond/wardcd")) ){
- if( !isRequiredControls("ipt_searchfromdd","ipt_searchtodd","cmb_wardcd") ){
- return;
- }
-
- if( getDateInterval( model.getValue("/root/main/cond/searchfromdd"), model.getValue("/root/main/cond/searchtodd") ) > '7' ){
- messageBox( "최대 조회기간은 1주일입니다.", "I007");//확인하십시오
- return;
- }
-
- // if( model.getValue("/root/main/cond/wardcd") == "All" && bl_exceptdsch.selected != true ){
- // messageBox( "전체 병동 조회시 퇴원환자제외 체크는 필수입니다.", "I007");//확인하십시오
- // return;
- // }20100524 khj 강정우 itc요청에 의해 퇴원환자도 전체병동으로 조회가능하도록 요청 - 속도가 느려도 보고싶어하심.
-
- model.removenode("/root/send");
-
- model.makeValue("/root/send/searchfromdd",model.getValue("/root/main/cond/searchfromdd") );
- model.makeValue("/root/send/searchtodd",model.getValue("/root/main/cond/searchtodd") );
- model.makeValue("/root/send/wardcd",model.getValue("/root/main/cond/wardcd") );
- model.makeValue("/root/send/settingrnid",model.getValue("/root/main/cond/settingrnid") );
- model.makeValue("/root/send/exceptdsch",model.getValue("/root/main/cond/exceptdsch") );
-
- submit("TRMNR04112");
- fGridColorChange();
- }
-
- }
-
- function fGridColorChange(){
- var nodeList1 = instance1.selectNodes("/root/main/nursebasicinfo/info/timsval01");
- var nodeList2 = instance1.selectNodes("/root/main/nursebasicinfo/info/timsval02");
- var nodeList3 = instance1.selectNodes("/root/main/nursebasicinfo/info/timsval04");
- var row = grd_nursebasic.fixedRows;
- var color ="";
- var rowidx = 0;
-
-
- if ( nodeList1 != null && nodeList1.length > 0 ){
- for ( var idx = 0 ; idx < nodeList1.length ; idx++ ){
- rowidx = 0;
- rowidx = idx+row;
- if( nodeList1.item(idx).value >= '3' ){
- grd_nursebasic.cellStyle("background-color", rowidx, 6) = "#FFFF00";
- } else {
-
- grd_nursebasic.cellStyle("background-color", rowidx, 6) = "#f2f2f2";
- }
- }
- }
-
- if ( nodeList2 != null && nodeList2.length > 0 ){
- for ( var idx = 0 ; idx < nodeList2.length ; idx++ ){
- rowidx = 0;
- rowidx = idx+row;
- if( nodeList2.item(idx).value >= '3' ){
- grd_nursebasic.cellStyle("background-color", rowidx, 7) = "#FFFF00";
- } else {
- grd_nursebasic.cellStyle("background-color", rowidx, 7) = "#f2f2f2";
- }
- }
- }
- if ( nodeList3 != null && nodeList3.length > 0 ){
- for ( var idx = 0 ; idx < nodeList3.length ; idx++ ){
- rowidx = 0;
- rowidx = idx+row;
-
- if( nodeList3.item(idx).value >= '3' ){
- grd_nursebasic.cellStyle("background-color", rowidx, 8) = "#FFFF00";
- } else {
- grd_nursebasic.cellStyle("background-color", rowidx, 8) = "#f2f2f2";
- }
- }
- }
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
- <submission id="TRMNR04112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nursebasicinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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="caption3" style="left:1160px; top:5px; width:30px; 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:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <caption id="cap_searchfromdd" class="search_name" style="left:16px; top:10px; width:89px; height:17px; ">조회일자 :</caption>
- <caption id="cap_searchtodd" class="search_name" style="left:16px; top:10px; width:89px; height:17px; ">조회일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1036px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fMySettingNurseList();
- fGetBasicNursePatList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1020px; y1:7px; x2:1020px; y2:29px; "/>
- <button id="button3" class="btn1_letter4" style="left:1097px; top:7px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "기본간호등록조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") grd_nursebasic.saveExcel(fileName, "기본간호등록조회", false, false, "", "", false);
- ]]>
- </script>
- </button>
- <input id="ipt_searchfromdd" ref="/root/main/cond/searchfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:9px; width:90px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:600px; top:11px; width:74px; height:17px; ">내환자 :</caption>
- <select1 id="cmb_settingrnid" ref="/root/main/cond/settingrnid" appearance="minimal" style="left:675px; top:10px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/settingrn">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetBasicNursePatList();
- ]]>
- </script>
- </select1>
- <caption id="cap_wardcd" class="search_name" style="left:320px; top:11px; width:65px; height:17px; ">병동 :</caption>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="input_s_essential" appearance="minimal" style="left:385px; top:10px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ward/">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/cond/wardcd") == "All" && bl_exceptdsch.selected != true ){
- bl_exceptdsch.selected = true;
- }
- fMySettingNurseList();
-
- fGetBasicNursePatList();
- ]]>
- </script>
- </select1>
- <input id="ipt_searchtodd" ref="/root/main/cond/searchtodd" class="input_s_essential" inputtype="date" style="left:210px; top:9px; width:90px; height:19px; "/>
- <caption id="caption4" style="left:195px; top:10px; width:15px; height:15px; text-align:center; ">-</caption>
- <bool id="bl_exceptdsch" checkvalue="Y,N" ref="/root/main/cond/exceptdsch" style="left:485px; top:9px; width:20px; height:20px; "/>
- <caption id="caption2" style="left:505px; top:12px; width:75px; height:15px; ">퇴원환자제외</caption>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:55px; x2:1195px; y2:55px; "/>
- <datagrid id="grd_nursebasic" nodeset="/root/main/nursebasicinfo/info" class="datagrid2" autoresize="true" caption="병실^성명^S/A^등록번호^환자분류(중증도) 사정결과^환자분류(중증도) 사정결과^환자분류(중증도) 사정결과^환자분류(중증도) 사정결과^구강간호
1회/1일^구강간호
1회/1일^구강간호
1회/1일^세발간호
1회/3일^세발간호
1회/3일^세발간호
1회/3일^목욕(전신)
1회/1주^목욕(전신)
1회/1주^목욕(전신)
1회/1주^목욕(부분)
1회/1주^목욕(부분)
1회/1주^목욕(부분)
1회/1주^회음부간호
1회/1일^회음부간호
1회/1일^회음부간호
1회/1일^식사보조
1회/Duty^식사보조
1회/Duty^식사보조
1회/Duty^배설간호
1회/Duty^배설간호
1회/Duty^배설간호
1회/Duty^체위변경
2회/Duty^체위변경
2회/Duty^체위변경
2회/Duty^마사지
2회/Duty^마사지
2회/Duty^마사지
2회/Duty^피부관찰
2회/Duty^피부관찰
2회/Duty^피부관찰
2회/Duty^흡인간호
2회/Duty^흡인간호
2회/Duty^흡인간호
2회/Duty^상체거상체위
1회/Duty^상체거상체위
1회/Duty^상체거상체위
1회/Duty|병실^성명^S/A^등록번호^분류결과^위생^영양^운동/활동^구강간호
1회/1일^구강간호
1회/1일^구강간호
1회/1일^세발간호
1회/3일^세발간호
1회/3일^세발간호
1회/3일^목욕(전신)
1회/1주^목욕(전신)
1회/1주^목욕(전신)
1회/1주^목욕(부분)
1회/1주^목욕(부분)
1회/1주^목욕(부분)
1회/1주^회음부간호
1회/1일^회음부간호
1회/1일^회음부간호
1회/1일^식사보조
1회/Duty^식사보조
1회/Duty^식사보조
1회/Duty^배설간호
1회/Duty^배설간호
1회/Duty^배설간호
1회/Duty^체위변경
2회/Duty^체위변경
2회/Duty^체위변경
2회/Duty^마사지
2회/Duty^마사지
2회/Duty^마사지
2회/Duty^피부관찰
2회/Duty^피부관찰
2회/Duty^피부관찰
2회/Duty^흡인간호
2회/Duty^흡인간호
2회/Duty^흡인간호
2회/Duty^상체거상체위
1회/Duty^상체거상체위
1회/Duty^상체거상체위
1회/Duty" colsep="^" colwidth="40, 50, 40, 60, 62, 36, 35, 67, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80, 70, 55, 80" frozencols="8" mergecells="byrestriccol" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:60px; width:1195px; height:675px; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="clsgrupkind" style="text-align:center; "/>
- <col ref="timsval01" style="text-align:center; "/>
- <col ref="timsval02" style="text-align:center; "/>
- <col ref="timsval04" style="text-align:center; "/>
- <col ref="recdd1"/>
- <col ref="recnm1"/>
- <col ref="actingcon1"/>
- <col ref="recdd2"/>
- <col ref="recnm2"/>
- <col ref="actingcon2"/>
- <col ref="recdd3"/>
- <col ref="recnm3"/>
- <col ref="actingcon3"/>
- <col ref="recdd4"/>
- <col ref="recnm4"/>
- <col ref="actingcon4"/>
- <col ref="recdd11"/>
- <col ref="recnm11"/>
- <col ref="actingcon11"/>
- <col ref="recdd5"/>
- <col ref="recnm5"/>
- <col ref="actingcon5"/>
- <col ref="recdd6"/>
- <col ref="recnm6"/>
- <col ref="actingcon6"/>
- <col ref="recdd7"/>
- <col ref="recnm7"/>
- <col ref="actingcon7"/>
- <col ref="recdd8"/>
- <col ref="recnm8"/>
- <col ref="actingcon8"/>
- <col ref="recdd9"/>
- <col ref="recnm9"/>
- <col ref="actingcon9"/>
- <col ref="recdd10"/>
- <col ref="recnm10"/>
- <col ref="actingcon10"/>
- <col ref="recdd12"/>
- <col ref="recnm12"/>
- <col ref="actingcon12"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|