123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445 |
- <?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="">
- <item>
- <chargenurse>
- <nurselist>
- <userid/>
- <usernm/>
- </nurselist>
- </chargenurse>
- <church>
- <church>
- <churchlist>
- <churchcd/>
- <churchnm/>
- <instdispseq/>
- </churchlist>
- </church>
- </church>
- <churchregkind>
- <churchregkindlist>
- <cd>1</cd>
- <nm>등록</nm>
- </churchregkindlist>
- <churchregkindlist>
- <cd>2</cd>
- <nm>무료</nm>
- </churchregkindlist>
- <churchregkindlist>
- <cd>3</cd>
- <nm>기타</nm>
- </churchregkindlist>
- </churchregkind>
- </item>
- <main>
- <grd_visitlist>
- <visitlist>
- <no/>
- <visitdd/>
- <careflag/>
- <position/>
- <churchcd/>
- <churchnm/>
- <kind/>
- <chrgnursenm/>
- <pid/>
- <pathngnm/>
- <sex/>
- <diagcd/>
- <diagname/>
- <deptnm/>
- <doctornm/>
- <hvisitcnt/>
- <vvistcnt/>
- <visitsttm/>
- <visitedtm/>
- <movetm/>
- <totcaretm/>
- </visitlist>
- </grd_visitlist>
- </main>
- <send>
- <visitdd/>
- <chrgnursid>%</chrgnursid>
- <kind/>
- <pid/>
- <inptdt/>
- <churchcd>-</churchcd>
- <inputvisitdd/>
- <visittodd/>
- </send>
- <temp/>
- <init>
- <careflagcd>
- <M0524/>
- </careflagcd>
- <patflag>
- <M0347/>
- </patflag>
- <kind>
- <M0348/>
- </kind>
- <careflagcd>
- <M0524/>
- </careflagcd>
- <listset1>
- <list>
- <cdid>1</cdid>
- <cdnm>병원</cdnm>
- </list>
- <list>
- <cdid>2</cdid>
- <cdnm>본당</cdnm>
- </list>
- <list>
- <cdid>3</cdid>
- <cdnm>재택</cdnm>
- </list>
- </listset1>
- <listset>
- <list>
- <cdid>1</cdid>
- <cdnm>병원</cdnm>
- </list>
- </listset>
- </init>
- </root>
- </instance>
- <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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/homecareweb/js/SMMNF00100.js"/>
- <script type="javascript">
- <![CDATA[
- var searchListFlag;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // Default 병원선택
-
- fInitHomeCareRdo("rdo_kind");
-
- rdo_kind.value = 1;
-
- model.setValue("/root/send/visitdd", getCurrentDate());
- model.setValue("/root/send/visittodd", getCurrentDate());
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
-
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
-
- // 공통코드 목록 가져오기
- zbcfGetCodeList(new Array("M0524", "M0347","M0348"), new Array("/root/init/careflagcd", "/root/init/patflag", "/root/init/kind"));
-
- var updtdata;
-
- updtdata = getGridUpdateData(grd_visitlist);
- model.removeNodeset("/root/grd_visitlist");
- grd_visitlist.rebuild();
-
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- // 방문대장 리스트 조회
- submit("TRMNF01800");
-
- ]]>
- </script>
- <submission id="TRMNF01800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_visitlist"/>
- <submission id="TRMNF00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/item/chargenurse"/>
- <submission id="TRMNF00130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/item/church/churchlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- </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:160px; height:14px; ">일일방문 대장</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:23px; "/>
- <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:50px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:5px; width:1195px; height:40px; "/>
- <line id="line13" class="line_4" style="x1:1107px; y1:12px; x2:1107px; y2:38px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:13px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/visitdd", ipt_visitdd.value);
- model.setValue("/root/send/visittodd", ipt_visittodd.value);
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
-
- if(model.getValue("/root/send/visitdd") > model.getValue("/root/send/visittodd"))
- {
- messageBox("시작일자는 종료일자 이후의 일자로 입력","E001");
- model.setFocus("ipt_visitdd");
- return ;
- }
-
- var updtdata;
-
- updtdata = getGridUpdateData(grd_visitlist);
- model.removeNodeset("/root/grd_visitlist");
- grd_visitlist.rebuild();
-
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- // 방문대장 리스트 조회
- submit("TRMNF01800");
- ]]>
- </script>
- </button>
- <select1 id="rdo_kind" ref="/root/send/kind" class="radio_search" visibility="hidden" appearance="full" cols="3" rows="1" overflow="visible" style="left:365px; top:16px; width:140px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.removeNodeset("/root/main/grd_visitlist");
- model.refresh();
-
- if (rdo_kind.value == 1) // 병원
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
- else if (rdo_kind.value == 2) // 본당
- {
- grp_kindhosp.visible = false;
- grp_kindchurch.visible = true;
-
- //본당리스트 조회셋팅 추가_20091030_SMY
- model.removeNodeset("/root/item/church");
- model.makeNode("/root/item/church/churchlist");
- model.setValue("/root/send/churchcd", "-");
-
- // 본당 리스트 조회
- submit("TRMNF00130");
- }
- else // 재택
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
-
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
-
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
- // 방문대장 리스트 조회
- submit("TRMNF01800");
-
- btn_search.dispatch("DOMActivate") ;
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if (rdo_kind.value == 1) // 병원
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
- else if (rdo_kind.value == 2) // 본당
- {
- grp_kindhosp.visible = false;
- grp_kindchurch.visible = true;
- }
- else // 재택
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
-
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
- ]]>
- </script>
- </select1>
- <group id="grp_kindchurch" visibility="hidden" style="left:520px; top:14px; width:560px; height:20px; background-color:transparent; ">
- <select1 id="combo5" ref="/root/send/churchcd" class="combo_search" appearance="minimal" style="left:75px; top:0px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/church/church/churchlist">
- <label ref="churchnm"/>
- <value ref="churchcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // SEND DATA 변경
- model.setValue("/root/send/churchcd", combo5.value);
- model.refresh();
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
- ]]>
- </script>
- </select1>
- <select1 id="combo7" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:450px; top:0px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/chargenurse/nurselist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // SEND DATA 변경
- //model.setValue("/root/send/chrgnursid", combo7.value);
- model.refresh();
-
- // 방문대장 리스트 조회
- submit("TRMNF01800");
- ]]>
- </script>
- </select1>
- <caption id="caption28" class="search_name" style="left:0px; top:0px; width:80px; height:17px; ">본당명 :</caption>
- <caption id="caption29" class="search_name" style="left:345px; top:1px; width:99px; height:17px; ">방문간호사 :</caption>
- <select id="checkbox1" ref="/root/item/churchregkind/churchregkindlist" class="checkbox_search" overflow="visible" appearance="full" cols="3" rows="1" style="left:205px; top:1px; width:140px; height:17px; text-align:center; border-style:none; ">
- <choices>
- <item>
- <label>등록</label>
- <value>1</value>
- </item>
- <item>
- <label>무료</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption1" class="search_name" style="left:15px; top:17px; width:98px; height:17px; ">방문일자 :</caption>
- <group id="grp_kindhosp" visibility="visible" style="left:520px; top:14px; width:225px; height:23px; background-color:transparent; ">
- <select1 id="combo6" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:100px; top:0px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/chargenurse/nurselist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // SEND DATA 변경
- //model.setValue("/root/send/chrgnursid", combo6.value);
- model.refresh();
-
- // 방문대장 리스트 조회
- submit("TRMNF01800");
- ]]>
- </script>
- </select1>
- <caption id="caption27" class="search_name" style="left:0px; top:1px; width:99px; height:22px; ">방문간호사 :</caption>
- </group>
- <input id="ipt_visitdd" ref="/root/send/visitdd" class="input_search" inputtype="date" style="left:107px; top:16px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="ipt_visittodd" ref="/root/send/visittodd" class="input_search" inputtype="date" style="left:230px; top:16px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate") ;
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:211px; top:17px; width:15px; height:20px; font-weight:bold; ">~</caption>
- </group>
- <caption id="caption7" class="tit_2" style="left:5px; top:72px; width:124px; height:13px; ">방문대장 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:87px; x2:1194px; y2:87px; "/>
- <!--(20101206) 경북대
- <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" caption="No^방문일^구분^소속^본당명^본당명^분류^방문간호사^등록번호^환자명^S/A^진단명^진단명^진료과^주치의^당해방문횟수^당해방문횟수^방문
시작시간^방문
종료시간^이동시간^총간호시간|No^방문일^구분^소속^본당명^본당명^분류^방문간호사^등록번호^환자명^S/A^진단명^진단명^진료과^주치의^가정^방문^방문
시작시간^방문
종료시간^이동시간^총간호시간" colsep="^" colwidth="30, 68, 36, 40, 70, 80, 40, 67, 80, 60, 50, 50, 138, 100, 54, 44, 44, 57, 57, 54, 72" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:91px; width:1194px; height:646px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" caption="No^방문일^구분^소속^본당명^본당명^분류^방문간호사^등록번호^환자명^S/A^진단명^진단명^진료과^주치의^당해방문횟수^당해방문횟수^방문
시작시간^방문
종료시간^이동시간^총간호시간|No^방문일^구분^소속^본당명^본당명^분류^방문간호사^등록번호^환자명^S/A^진단명^진단명^진료과^진료의^가정^호스피스^방문
시작시간^방문
종료시간^이동시간^총간호시간" colsep="^" colwidth="30, 68, 36, 40, 70, 80, 40, 67, 80, 60, 50, 50, 138, 100, 54, 44, 51, 57, 57, 54, 72" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:91px; width:1194px; height:646px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="no" style="text-align:center; "/>
- <col ref="visitdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="careflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/careflagcd/M0524">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="position" style="text-align:center; "/>
- <col ref="churchcd" visibility="hidden" style="text-align:center; "/>
- <col ref="churchnm" visibility="hidden" style="text-align:center; "/>
- <col ref="kind" style="text-align:center; "/>
- <col ref="chrgnursenm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="diagname" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="doctornm" style="text-align:center; "/>
- <col ref="hvisitcnt" style="text-align:center; "/>
- <col ref="cvisitcnt" style="text-align:center; "/>
- <col ref="visitsttm" format="hh:nn" style="text-align:center; "/>
- <col ref="visitedtm" format="hh:nn" style="text-align:center; "/>
- <col ref="movetm" format="hh:nn" style="text-align:center; "/>
- <col ref="totcaretm" format="hh:nn" style="text-align:center; "/>
- </datagrid>
- <button id="btn_excel" class="btn2_letter3" style="left:1140px; top:67px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_visitlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn2_letter2" style="left:1095px; top:67px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPMNF01800","XMLSTR");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter7" style="left:990px; top:65px; width:97px; height:19px; ">
- <caption>차량 운행일지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNF00600");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|