123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- <?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>
- <inducsbeflist>
- <beflist>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <insukind/>
- <suppkind/>
- <mngtno/>
- <acddd/>
- <inducsbrchcd/>
- <bizplcergstseqno/>
- <ordopendd/>
- <ordtodd/>
- <chrgnm/>
- <endflag/>
- <inducsrem/>
- <lastupdtdt/>
- <lastupdtrid/>
- <seqno/>
- <histstat/>
- <endcnts/>
- <bizplceseqno/>
- </beflist>
- </inducsbeflist>
- </main>
- <send>
- <search>
- <pid/>
- <mngtno/>
- <acddd/>
- <inducsbrchcd/>
- </search>
- </send>
- <init>
- <P0028list>
- <P0028>
- <cdnm/>
- <cdid/>
- </P0028>
- </P0028list>
- <hidden>
- <suppkind>
- <up/>
- <nm/>
- <cd/>
- <ios/>
- </suppkind>
- <chosresn>
- <nm/>
- <cd/>
- </chosresn>
- <endcnts>
- <nm/>
- <cd/>
- </endcnts>
- <mtrtamtflag>
- <nm/>
- <cd/>
- </mtrtamtflag>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <io/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <specordyn>
- <item>
- <cd>Y</cd>
- <nm>Y</nm>
- </item>
- <item>
- <cd>N</cd>
- <nm>N</nm>
- </item>
- </specordyn>
- <insukind>
- <items>
- <cd>41</cd>
- <nm>산재</nm>
- </items>
- <items>
- <cd>42</cd>
- <nm>공상</nm>
- </items>
- </insukind>
- <bizplce>
- <nm/>
- <cd/>
- </bizplce>
- <indulist>
- <nm/>
- <cd/>
- </indulist>
- <profcd>
- <nm/>
- <cd/>
- </profcd>
- </hidden>
- </init>
- <hidden>
- </hidden>
- <tmp>
- </tmp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0028"), new Array("/root/init/P0028list"));
- if (checkOpener()){
- model.resetInstanceNode("/root/main/inducsbeflist/beflist");
- }else{
- //초기화
- fInitialize();
- }
-
- // 산재관련 기본정보조회
- submit("TRPMC02708");
-
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPMC02708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instcd" resultref="/root/init/hidden"/>
- <submission id="TRPMC02710" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/inducsbeflist"/>
- </model>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/main/inducsbeflist/beflist");
-
- model.resetInstanceNode("/root/send/search/pid");
- model.resetInstanceNode("/root/send/search/mngtno");
- model.resetInstanceNode("/root/send/search/acddd");
- model.resetInstanceNode("/root/send/search/inducsbrchcd");
-
- var curDate = getCurrentDate();
-
- model.setValue("/root/send/search/acddd", curDate);
-
- }
-
- function fSearch(){
- submit("TRPMC02710");
- model.refresh();
- }
-
- function fCopylist(row){
- var pid = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/pid"); // 환자번호
- var rrgstno = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/rrgstno"); // 주민번호
- var insukind = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/insukind"); // 보험유형
- var suppkind = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/suppkind"); // 보조유형
- var mngtno = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/mngtno"); // 관리번호
- var inducsbrchcd = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/inducsbrchcd"); // 산재지사
- var bizplcergstseqno = model.getValue("/root/main/inducsbeflist/beflist[" + row + " ]/bizplcergstseqno"); // 사업장
-
- if ( checkOpener() ) {
- if( row > 0 ){
- if( getNodesetCount("/root/main/inducsbeflist/beflist") > 0 ){
- //copyNodesetType("/root/main/vippatbaseinfo/vippatbaseinfolist", "/root/main/vippatappinfo/vippatappinfolist["+row+"]", "replace", opener.model, model);
- //opener.javascript.BaseInfoSet();
- //opener.model.makeNode("/root/main/popupendflag");
-
- opener.model.setValue("/root/main/icpminfo/insukind", insukind);
- opener.model.setValue("/root/main/icpminfo/suppkind", suppkind);
- opener.model.setValue("/root/main/icpminfo/mngtno", mngtno);
- opener.model.setValue("/root/main/icpminfo/inducsbrchcd", inducsbrchcd);
- opener.model.setValue("/root/main/icpminfo/bizplcergstseqno",bizplcergstseqno );
-
- var curDate = getCurrentDate();
- opener.model.setValue("/root/main/icpminfo/acddd", curDate);
-
- opener.model.refresh();
- }
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1030" pageheight="690" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1000px; height:645px; ">
- <group id="group2" style="left:0px; top:4px; width:1000px; height:39px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1000px; height:37px; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:10px; width:91px; height:17px; ">환자번호 :</caption>
- <line id="line13" class="line_4" style="x1:909px; y1:6px; x2:909px; y2:34px; "/>
- <button id="btn_patSearch" class="btn1_letter2" navindex="6" style="left:925px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/send/search/pid");
- var mngtno = model.getValue("/root/send/search/mngtno");
- var acddd = model.getValue("/root/send/search/acddd");
- var inducsbrchcd = model.getValue("/root/send/search/inducsbrchcd");
-
- if(pid == "" && mngtno == ""){
- messageBox("환자번호와 관리번호가 입력되지 않았습니다. \n\n조회시간이 길어질수있습니다. ","");
- }
-
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:220px; top:10px; width:91px; height:17px; ">관리번호 :</caption>
- <caption id="caption4" class="search_name" style="left:430px; top:10px; width:91px; height:17px; ">사고일자 :</caption>
- <caption id="caption5" class="search_name" style="left:640px; top:10px; width:91px; height:17px; ">산재지사 :</caption>
- <input id="ipt_pid" ref="/root/send/search/pid" class="input_s_essential" maxlength="10" style="left:96px; top:9px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input9" ref="/root/send/search/mngtno" class="input_essential" format="999-99-99999-9" style="left:309px; top:9px; width:116px; height:19px; "/>
- <input id="input37" ref="/root/send/search/acddd" class="input_default" inputtype="date" style="left:519px; top:9px; width:116px; height:19px; "/>
- <select1 id="cmb_inducsbrchcd" ref="/root/send/search/inducsbrchcd" class="combo_default" appearance="minimal" editmode="search" itemcount="30" style="left:729px; top:8px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:133px; height:14px; ">과거이력리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1000px; y2:65px; "/>
- <datagrid id="grd_icpminfo" nodeset="/root/main/inducsbeflist/beflist" class="datagrid2" caption="환자번호^성명^주민번호^보험
유형^보조유형^관리번호^사고일자^산재지사^일련
번호^이력
상태^시업장^사업장
이력번호^사업장명^진료개시일자^진료종료일자^담당자명^종결
구분^종결사유^참고사항^최종수정일^최종수정자
번호^외래예약일^입원예약일" colsep="^" colwidth="67, 75, 93, 36, 63, 96, 87, 92, 41, 42, 135, 54, 55, 95, 102, 60, 34, 69, 302, 92, 81, 98, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="byrowrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1000px; height:572px; ">
- <col disabled="true" ref="pid"/>
- <col disabled="true" ref="hngnm"/>
- <col disabled="true" ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="mngtno" format="999-99-99999-9"/>
- <col disabled="true" ref="acddd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="inducsbrchcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/indulist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="seqno"/>
- <col disabled="true" ref="histstat" type="combo">
- <choices>
- <item>
- <label>취소</label>
- <value>C</value>
- </item>
- <item>
- <label>정상</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="bizplcergstseqno" type="combo">
- <choices>
- <itemset nodeset="/root/init/hidden/bizplce">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="bizplceseqno" visibility="hidden"/>
- <col disabled="true" ref="bizplcenm" visibility="hidden"/>
- <col disabled="true" ref="ordopendd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ordtodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="chrgnm"/>
- <col disabled="true" ref="endflag"/>
- <col disabled="true" ref="endcnts"/>
- <col disabled="true" ref="inducsrem" style="text-align:left; "/>
- <col disabled="true" ref="lastupdtdt" type="inputdate" style="text-align:center; "/>
- <col disabled="true" ref="lastupdtrid"/>
- <col disabled="true" ref="outorddd" type="inputdate"/>
- <col disabled="true" ref="inadrvdd" type="inputdate"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_icpminfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button19" class="btn2_letter4" style="left:934px; top:45px; width:64px; height:19px; ">
- <caption>복사사용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var row = grd_icpminfo.row;
- if(row <= 0){
- messageBox("복사사용할 과거이력리스트를 선택하십시오.","");
- }else{
- fCopylist(row);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:647px; width:1000px; height:24px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="7" style="left:881px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_vippatappinfo.row;
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "cancel");
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/vippatbaseinfo/vippatbaseinfolist") > 0 ){
- /*
- //합번된 등록번호 메세지 처리
- var sPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/pid");
- var sHngnm = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/hngnm");
- var sBindPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/bindpid");
- if( sBindPid != '' && sBindPid != '-' ){
- alert(sPid + "(" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다.");
- return false;
- }
- */
- opener.model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", grd_vippatappinfo.getNode( row ));
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- }
-
- }else {
- messageBox("행이 정확히 선택되지", "E007");
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
-
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="8" style="left:938px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "cancel");
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:999px; y2:0px; "/>
- <button id="button1" class="btn4_letter3" navindex="7" style="left:812px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|