123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- <?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>
- <popupendflag/>
- <insulist>
- <item>
- <hngnm/>
- <pid/>
- <reqnm/>
- <diagnm/>
- <trnptkind/>
- <trnptkindcd/>
- <dnornm/>
- <reqdd/>
- <reqid/>
- <reqqualyn/>
- <docuprepyn/>
- <insuaprvkind/>
- <InsuKind/>
- </item>
- <item2>
- <hngnm/>
- <pid/>
- <reqnm/>
- <trnptkind/>
- <trnptkindcd/>
- <scs/>
- <cond/>
- <gvhd/>
- <reqdd/>
- <trnptschedd/>
- <inschedd/>
- <reqqualyn/>
- <pcppyn/>
- <reqorddept/>
- <reqid/>
- <indirectrustyn/>
- </item2>
- </insulist>
- <patinfo>
- <patinfolist>
- </patinfolist>
- </patinfo>
- <hsctinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- </patinfolist>
- </hsctinfo>
- <codedata>
- <popupmenu>
- <item>
- <name>입원의뢰서</name>
- <func>fOpenPopupInRequest</func>
- </item>
- </popupmenu>
- </codedata>
- </main>
- <send>
- <reqfromdd/>
- <reqtodd/>
- <pid/>
- <atdoctid/>
- <req>
- <data>
- <insulist/>
- <trnptlist/>
- </data>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <cmbinfo>
- <atdoctid>
- <A0536>
- <cdnm/>
- <cdid/>
- </A0536>
- </atdoctid>
- <sex/>
- </cmbinfo>
- </init>
- <hidden>
- <count/>
- <item>
- </item>
- </hidden>
- <temp>
- <tempcodeinfo/>
- <tempcodeinfo2/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRABO01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/insulist"/>
- <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // zbcfGetCodeList( new Array("A0536", "P0313"),
- // new Array("/root/init/cmbinfo/atdoctid", "/root/init/cmbinfo/sex" ));
- zbcfGetCodeList( new Array("P0313"),
- new Array("/root/init/cmbinfo/sex" ));
-
- //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
- aboGetCodeList(new Array("A0536"),
- new Array("/root/init/cmbinfo/atdoctid"));
- var reqfromdd = getCurrentDate().substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
- ipt_reqfromdd.value = reqfromdd;
- var reqtodd = getCurrentDate().substr(0,6) + reqfromdd.toDate().getMonthDay();
- ipt_reqtodd.value = reqtodd;
- fGetPatientInfo();
- //타부서에서는 버튼 비활성화
- btn_save.disabled = !checkAuth("X");
- ]]>
- </script>
- <submission id="TXABO01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/data" replace="instance" resultref="/root/hidden/item"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 이식신청 및 보험신청리스트
- * @ver : 2008.07.28
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 환자의 보험신청 및 이식의뢰 리스트조회
- * @param :
- */
- function fGetPatientInfo() {
- model.setValue("/root/send/pid", model.getValue("/root/main/hsctinfo/patinfolist/pid"));
- submit("TRABO01401");
- }
- /* @group : 이식신청 및 보험신청리스트
- * @ver : 2008.07.28
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 입원의뢰서 화면 호출
- * @param : pid [등록번호]
- */
- function fOpenPopupInRequest() {
- var sPid = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/pid");
- var sHngNm = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/hngnm");
- var sOrdDept = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/reqorddept");
- var sReqID = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/reqid");
- var sInsuKind = "";
- var sSuppKind = "";
- var sOrdDD = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/inschedd");
- var sCretNo = "";
- var sIOFlag = "I";
-
- var sflag = sPid + "▦" + sHngNm + "▦" + sOrdDept + "▦" + sReqID + "▦" + sInsuKind + "▦" + sSuppKind + "▦" + sOrdDD + "▦" + sCretNo + "▦" + sIOFlag;
- var indirectrustyn = model.getValue("/root/main/insulist/item2[" + grd_trnptlist.row + "]/indirectrustyn");
- // alert(sflag);
- if (indirectrustyn == "Y"){
- setParameter("SPMMO00100_BMTDEPTCD", "3140000000" );
- setParameter("SPMMO00100_param", sflag);
- modal("SPMMO00100", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
- }else{
- messageBox("입원장 위임을 받지 않아서 입원의뢰서를 작성할 수 없습니다.","E999");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <script src="../../../com/departmentcodeweb/js/ZSD001.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../ast/commonweb/js/AST.js" type="javascript"/>
- <script src="../../../com/basiccodeweb/js/ZBC001.js" type="javascript"/>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:295px; height:14px; ">조혈모세포이식 신청/보험신청의뢰 리스트</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:200px; height:14px; ">조혈모세포이식 신청LIST</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:112px; height:17px; ">기간(의뢰일) :</caption>
- <caption id="caption5" class="search_no_b" style="left:233px; top:10px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_reqfromdd" ref="/root/send/reqfromdd" class="input_s_essential" inputtype="date" style="left:130px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_reqtodd" ref="/root/send/reqtodd" class="input_s_essential" inputtype="date" style="left:249px; top:8px; width:100px; height:19px; "/>
- <select1 id="cmb_adoct" ref="/root/send/atdoctid" class="combo_search" appearance="minimal" style="left:440px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/atdoctid/A0536">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:364px; top:9px; width:73px; height:17px; ">주치의 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPatientInfo();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:555px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_srchpat" class="icon_search" style="left:727px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/popupendflag", "cancel");
- if ( abofGetPamPatientSearch("/root/main/hsctinfo/patinfolist", "/root/main/patinfo/patinfolist", "P") ) {
- fGetPatientInfo();
- }
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/hsctinfo/patinfolist/pid" class="input_search" style="left:644px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="output17" ref="/root/main/hsctinfo/patinfolist/hngnm" class="output_search" style="left:746px; top:8px; width:80px; height:19px; text-align:center; "/>
- <output id="output5" ref="/root/main/hsctinfo/patinfolist/age" class="output_search" style="left:829px; top:8px; width:30px; height:19px; text-align:center; "/>
- <output id="output6" ref="/root/main/hsctinfo/patinfolist/sex" class="output_search" style="left:862px; top:8px; width:30px; height:19px; text-align:center; "/>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
- <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_trnptlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_insulist" nodeset="/root/main/insulist/item" caption="환자명^등록번호^주치의^진단명^이식종류^이식종류^공여자명^의뢰일^의뢰자명^코디네이터실확인^서류준비여부^승인여부^보험여부" colsep="^" colwidth="76, 69, 65, 122, 65, 149, 75, 100, 100, 112, 87, 60, 65" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:435px; width:1194px; height:305px; text-align:center; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="reqnm"/>
- <col ref="diagnm"/>
- <col ref="trnptkind"/>
- <col ref="trnptkindcd"/>
- <col ref="dnornm"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqnm"/>
- <col checkvalue="Y,N" ref="reqqualyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="docuprepyn" type="checkbox"/>
- <col ref="insuaprvkind"/>
- <col checkvalue="Y,N" ref="InsuKind"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_insulist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:415px; width:200px; height:13px; ">보험신청의뢰 리스트</caption>
- <button id="button1" class="btn2_letter4" style="left:1130px; top:410px; width:64px; height:19px; ">
- <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_insulist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:430px; x2:1194px; y2:430px; "/>
- <datagrid id="grd_trnptlist" nodeset="/root/main/insulist/item2" caption="환자명^등록번호^주치의^이식종류^이식종류^Stem Cell Source^Conditioning regimen^GvHD prophylaxis^PCPP^의뢰일^이식예정일^입원예정일^확인" colsep="^" colwidth="80, 80, 80, 83, 100, 100, 140, 120, 43, 94, 91, 80, 40" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:330px; text-align:center; ">
- <col ref="hngnm" type="output"/>
- <col ref="pid" type="output"/>
- <col ref="reqnm" type="output"/>
- <col ref="trnptkind"/>
- <col ref="trnptkindcd"/>
- <col ref="scs"/>
- <col ref="cond"/>
- <col ref="gvhd"/>
- <col checkvalue="Y,N" ref="pcppyn" type="checkbox"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="trnptschedd" format="yyyy-mm-dd"/>
- <col ref="inschedd" format="yyyy-mm-dd"/>
- <col checkvalue="Y,N" ref="reqqualyn" type="checkbox"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_trnptlist.mouseRow >= grd_trnptlist.fixedRows) && (grd_trnptlist.isCell(event.target))) {
- setPopupMenu("body", false, "/root/main/codedata/popupmenu/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_trnptlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/req/data/insulist", grd_insulist.getUpdateData());
- model.setValue("/root/send/req/data/trnptlist", grd_trnptlist.getUpdateData());
- submit("TXABO01401");
- fGetPatientInfo();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|