123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLP00300_세포유전대장.xrw
- * 설 명 : 세포유전대장
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2009.03.17
- * 수정이력 : worksheet 수정해야함
- * 기 타 :
- -->
- <?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>
- <getsepoworklist>
- <spcacptdt/>
- <workno/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <orddeptnm/>
- <orddrnm/>
- <wardroom/>
- <rgstdt/>
- <tclsnm/>
- <spcnm/>
- <bcno/>
- <tclscd/>
- <wbcrslt2/>
- </getsepoworklist>
- <getsepoworksheet>
- <tclscd/>
- <tclsnm/>
- <spcnm/>
- <cfrslt/>
- <wbcrslt/>
- <reqcnts/>
- <etc/>
- <claim/>
- </getsepoworksheet>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- </testgrupdetl>
- <getBMTInfo>
- <pid/>
- <btype/>
- <trnptdg/>
- <trnptdd/>
- <dnorbtype/>
- <dnornm/>
- <dnorsex/>
- <dnorage/>
- <dnorrela/>
- </getBMTInfo>
- </main>
- <send>
- <codeflag/>
- <tclsnmlist/>
- <fromdd/>
- <todd/>
- <tclscdlist/>
- <pid/>
- <tclscd/>
- <testcd/>
- <bmtsearchgbn/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <fromdd/>
- <todd/>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <testgrup/>
- </tclscdlist>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLLP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getsepoworklist"/>
- <submission id="TRLLP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getsepoworksheet"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
- <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TRLBT10209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getBMTInfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 초기화
- function fSetInit(){
- var toDay = getCurrentDate();
-
- model.setValue("/root/hidden/ref/fromdd", toDay);
- model.setValue("/root/hidden/ref/todd", toDay);
-
- model.removeNodeset("/root/main/getsepoworklist");
- model.removeNodeset("/root/init");
-
- fBaseInfoRef("0103|");
-
- model.refresh();
-
- }
-
- // 조회
- function fGetSepoWorksheet(){
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
-
-
- if(model.getValue("/root/hidden/ref/tclscdlist/tclsnmlist") == "") {
- model.setValue("/root/send/tclscdlist", "");
- } else {
- model.setValue("/root/send/tclscdlist", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
- }
- //alert( model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
-
- submit("TRLLP00301");
-
- }
-
- // 그리드 선택시 worksheet 조회
- function fSetWorksheet(){
-
- model.setValue("/root/send/pid", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/pid"));
- model.setValue("/root/send/testcd", "LHB001"); //Bone Marrow에서의 이전결과 조회가 아닐 때 코드픽스
- //model.setValue("/root/send/tclscd", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/tclscd"));
- model.setValue("/root/send/bmtsearchgbn","info");
-
- submit("TRLLP00302");
- submit("TRLBT10209");
-
- model.makeValue("/root/main/getsepoworksheet/tclscd", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/tclscd"));
- model.makeValue("/root/main/getsepoworksheet/tclsnm", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/tclsnm"));
- model.makeValue("/root/main/getsepoworksheet/spcnm", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/spcnm"));
- model.makeValue("/root/main/getsepoworksheet/wbcrslt", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/wbcrslt2"));
-
- model.makeValue("/root/main/getsepoworksheet/reqcnts", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/reqcnts"));
- model.makeValue("/root/main/getsepoworksheet/etc", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/etc"));
- model.makeValue("/root/main/getsepoworksheet/claim", model.getValue("/root/main/getsepoworklist["+grd_rsltregst.row+"]/claim"));
-
-
- if(getNodesetCount("/root/main/getBMTInfo") > 0){
- if(model.getValue("/root/main/getBMTInfo/dnorsex") == "F"){
- model.setValue("/root/main/getBMTInfo/dnorsex", "여");
- }
- else{
- model.setValue("/root/main/getBMTInfo/dnorsex", "남");
- }
- var bmtyn = "시행일 = " + model.getValue("/root/main/getBMTInfo/trnptdd") + " 공여자 이름(가족/타인) = " + model.getValue("/root/main/getBMTInfo/dnornm") + "(" + model.getValue("/root/main/getBMTInfo/dnorrela") + ")" + " 공여자 성별 = " + model.getValue("/root/main/getBMTInfo/dnorsex");
- //alert(bmtyn);
- model.makevalue("/root/main/getsepoworksheet/bmtyn",bmtyn);
- }
- model.refresh();
- //textarea6.refresh();
- }
-
-
- //엑셀저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
- }
- //검사그룹조회
- function fSelectTestGrup(){
-
- model.makeValue("/root/send/testgrupnm", cmb_testitem.label);
- submit("TRLLF90401" ,false);
-
- fSetPopUpTclscdList();
- }
-
- // 검사항목 조회
- function fSetPopUpTclscdList(){
- var count = getNodesetCount("/root/main/testgrupdetl");
- if(count > 0){
-
- var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
- var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
- model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
-
- }else{ // 검사그룹 상세 목록 있을때
- for(i=2; i<= count; i++){
- sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- }
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
-
- }
- model.refresh();
- }
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:75px; height:13px; ">결과대장</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSepoWorksheet();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">접수 조회일 :</caption>
- <caption id="caption8" style="left:226px; top:9px; width:15px; height:20px; vertical-align:middle; ">~</caption>
- <input id="ipt_usdd" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:131px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_uedd" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:241px; top:8px; width:90px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:345px; top:10px; width:94px; height:17px; ">검사항목 :</caption>
- <select1 id="cmb_testitem" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:435px; top:10px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSelectTestGrup();
- ]]>
- </script>
- </select1>
- <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" style="left:580px; top:10px; width:485px; height:19px; "/>
- <button id="button6" class="icon_search" style="left:1074px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_excel" class="btn2_letter2" visibility="visible" style="left:1152px; top:49px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_rsltregst);
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsltregst" nodeset="/root/main/getsepoworklist" caption="접수시간^접수번호^등록번호^환자명^성별^나이^처방과^처방의^병동/병실^처방시간^처방명^검체명^bcno^tclscd^wbcrslt2" colsep="^" colwidth="120, 110, 70, 70, 45, 46, 60, 70, 90, 120, 300, 0, 0, 0, 0" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:400px; text-align:center; ">
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col disabled="true" ref="workno" style="text-align:left; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="wardroom"/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="tclsnm" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
- <col ref="spcnm"/>
- <col ref="bcno" style="text-align:left; "/>
- <col ref="tclscd" style="text-align:left; "/>
- <col ref="wbcrslt2"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsltregst.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 아래쪽 worksheet 조회
- fSetWorksheet();
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:5px; top:490px; width:121px; height:13px; ">Work Sheet 정보</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:505px; x2:1194px; y2:505px; "/>
- <output id="output4" ref="/root/main/getsepoworksheet/tclscd" class="output_fix" style="left:133px; top:511px; width:150px; height:19px; "/>
- <output id="output1" ref="/root/main/getsepoworksheet/tclsnm" class="output_fix" style="left:287px; top:511px; width:600px; height:19px; "/>
- <output id="output2" ref="/root/main/getsepoworksheet/spcnm" class="output_fix" style="left:891px; top:511px; width:302px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:711px; width:130px; height:23px; text-align:left; vertical-align:middle; ">WBC Count 검사결과</caption>
- <textarea id="textarea1" ref="/root/main/getsepoworksheet/reqcnts" style="left:133px; top:535px; width:460px; height:54px; "/>
- <textarea id="textarea2" ref="/root/main/getsepoworksheet/etc" style="left:133px; top:594px; width:460px; height:54px; "/>
- <textarea id="textarea3" ref="/root/main/getsepoworksheet/claim" style="left:133px; top:653px; width:460px; height:54px; "/>
- <textarea id="textarea4" style="left:730px; top:535px; width:464px; height:54px; "/>
- <textarea id="textarea5" ref="/root/main/getsepoworksheet/cfrslt" style="left:730px; top:594px; width:464px; height:54px; "/>
- <textarea id="textarea6" ref="/root/main/getsepoworksheet/bmtyn" style="left:730px; top:653px; width:464px; height:54px; text-align:left; vertical-align:middle; "/>
- <output id="output3" ref="/root/main/getsepoworksheet/wbcrslt" class="output_fix" style="left:133px; top:712px; width:460px; height:19px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:733px; x2:1194px; y2:733px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:532px; x2:1194px; y2:532px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:510px; width:130px; height:23px; text-align:left; vertical-align:middle; ">처방명</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:591px; x2:1194px; y2:591px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:534px; width:130px; height:58px; text-align:left; vertical-align:middle; ">적응증</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:650px; x2:1194px; y2:650px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:593px; width:130px; height:58px; text-align:left; vertical-align:middle; ">주요증상</caption>
- <line id="line8" class="line_2" style="x1:0px; y1:709px; x2:1194px; y2:709px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:652px; width:130px; height:58px; text-align:left; vertical-align:middle; ">전달사항</caption>
- <caption id="caption10" class="cell_1" style="left:597px; top:534px; width:130px; height:58px; text-align:left; vertical-align:middle; ">과거력</caption>
- <caption id="caption11" class="cell_1" style="left:597px; top:593px; width:130px; height:58px; text-align:left; vertical-align:middle; ">CF 검사결과</caption>
- <caption id="caption12" class="cell_1" style="left:597px; top:652px; width:130px; height:58px; text-align:left; vertical-align:middle; ">골수이식 시행여부</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" visibility="visible" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/main/getrsltregst/formdd",model.getValue("/root/hidden/ref/fromdd"));
- model.makeValue("/root/main/getrsltregst/todd",model.getValue("/root/hidden/ref/todd"));
- exeReportPreview("RPLLP00400", "XMLSTR", "/root/main/getrsltregst");
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:13px; ">세포유전대장</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|