123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLP90100_세로누적결과조회.xrw
- * 설 명 : 환자의 특정 검사에 대한 검사 결과 내역을 세로형으로 보여준다.
- * 설 계 자 :
- * 작 성 자 : 김은지
- * 작 성 일 : 2008.06.25
- * 수정이력 :
- * 기 타 :
- -->
- <?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="">
- <main>
- <acmlrslt>
- <result/>
- <prcpdt/>
- <testdt/>
- <rsltunit/>
- <refh/>
- <refl/>
- <reflh/>
- <judgmark/>
- <orddrnm/>
- </acmlrslt>
- </main>
- <send>
- <pid/>
- <testcd/>
- <flag/>
- <listflag/>
- <startdd/>
- <enddd/>
- </send>
- <hidden>
- <acmlrslt>
- <flag/>
- <listflag/>
- <startdd/>
- <enddd/>
- </acmlrslt>
- </hidden>
- <init>
- <baseinfo>
- <hngnm/>
- <sex/>
- <age/>
- <pid/>
- <testcd/>
- <rrgstno/>
- <tclsnm/>
- <startdd/>
- <enddd/>
- </baseinfo>
- </init>
- <popupmenu>
- <grid03>
- <item>
- <name>복사하기</name>
- <func>astgrid_liscopy</func>
- </item>
- </grid03>
- </popupmenu>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //--------------임시로 넣은 세팅(메인화면에서 넘겨받을 값들)-----------------
- /*
- model.setValue("/root/init/baseinfo/pid", "19732070"); //등록번호
- model.setValue("/root/init/baseinfo/hngnm", "유미"); //이름
- model.setValue("/root/init/baseinfo/sex", "여"); //성별
- model.setValue("/root/init/baseinfo/age", "33"); //나이
-
- model.setValue("/root/init/baseinfo/testcd", "LHR102"); //검사코드
- model.setValue("/root/hidden/acmlrslt/listflag", "Z"); //조회기간의 기준값(처방일, 검사일, 보고일)
- //model.setValue("/root/hidden/acmlrslt/startdd", "20090115"); //조회기간 시작일 설정
- //model.setValue("/root/hidden/acmlrslt/enddd", "20090415"); //조회기간 종료일 설정
- model.setValue("/root/init/baseinfo/startdd", "20070101"); //검사코드
- model.setValue("/root/init/baseinfo/enddd", "20090505"); //검사코드
- //-------------------------------------------------
- */
- //전체,외래,입원 라디오 박스 전체 기본값 셋팅
- rdo_alloutin.select(0);
-
- //세로누적결과조회
- fAcmlTestRslt();
-
- ]]>
- </script>
- <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/tchartHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLLP90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acmlrslt"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 누적결과조회
- * @ver : 2008.06.25
- * @by : 김은지
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 등록번호와 처방코드를 통해 해당 검사의 누적결과내역을 조회하는 function
- */
- function fAcmlTestRslt(){
- model.setValue("/root/send/pid" , model.getValue("/root/init/baseinfo/pid"));
- model.setValue("/root/send/testcd" , model.getValue("/root/init/baseinfo/testcd"));
- model.setValue("/root/send/startdd" , model.getValue("/root/init/baseinfo/startdd"));
- model.setValue("/root/send/enddd" , model.getValue("/root/init/baseinfo/enddd"));
- model.setValue("/root/send/flag" , model.getValue("/root/hidden/acmlrslt/flag"));
-
- if(model.getValue("/root/send/pid") != ""
- && model.getValue("root/send/testcd") != ""
- && model.getValue("root/send/flag") != "" ){
- submit("TRLLP90101");
- }
- model.makeValue("/root/init/baseinfo/rrgstno", model.getValue("/root/main/acmlrslt[1]/rrgstno"));
- model.makeValue("/root/init/baseinfo/tclsnm", model.getValue("/root/main/acmlrslt[1]/tclsnm"));
- model.refresh();
-
-
-
- }
-
- /* @group : 결과 케이스 토글
- * @ver : 2008.06.26
- * @by : 김은지
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 스위치 내용에 결과 그리드를 띄움
- */
- function fCaseRsltGrid(){
- model.toggle("case_rslt");
- }
-
- /* @group : 그래프 케이스 토글
- * @ver : 2008.06.26
- * @by : 김은지
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 스위치 내용에 결과 그래프를 띄움
- */
- function fCaseRsltGraph(){
- model.toggle("case_graph");
- //fHeightDrawLine(차트objectname, 결과그리드id, 그래프 타이틀, reflesh여부,);
- fHeightDrawLine(TChart1, grd_acmlrslt, "누적결과추이", true);
- }
-
- /* @group : 그래프 라인 생성
- * @ver : 2008.06.30
- * @by : 김은지
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그래프에 결과치와 상하한치 라인을 그린다.
- */
- function fHeightDrawLine(tChartObj, gridObj, title, refresh) {
- try{
- // TChart 초기화
- if( refresh ) {
- tChartObj.RemoveAllSeries();
- tChartObj.Tools.clear();
- }
-
- // Title 설정
- if( title != null || title == "" ) {
- tChartObj.Header.Text(0) = title;
- }
-
- var cColor; //라인색 설정
- var x, y; //그래프의 정점
- var seriesIndex; //새로 생성될 라인의 번호
-
- tChartObj.Aspect.View3D = 0; // 모양 설정 :: 0 = 2D | 1 = 3D
- tChartObj.Legend.CheckBoxes = true; // Legend 체크박스 설정
- tChartObj.Legend.Alignment = 0; // Legend 위치 설정 :: 0 = left | 1 = right | 2 = top| 3 = bottom
-
- //--------------결과치 그래프 시작-------------//
- tChartObj.AddSeries(0); // 라인추가
- seriesIndex = tChartObj.SeriesCount - 1;
- tChartObj.Series(seriesIndex).asLine.Pointer.Visible = true; //Point 사용 여부
- tChartObj.Series(seriesIndex).asLine.Pointer.Style = 1; //PointStyle 설정 :: 0 - 8
-
- tChartObj.Series(seriesIndex).asLine.LinePen.Width = 3;
-
- tChartObj.Axis.Bottom.Labels.Angle = 270; //하단 날자표시 각도
- tChartObj.Series(seriesIndex).Color =window.rgb(0, 0 , 255); //결과 선의 색 설정. (파란색)
- tChartObj.Series(seriesIndex).Title = "결과값"; //Legend 명칭
- for(j = 1;j<gridObj.rows;j++){
- x = model.getvalue("/root/main/acmlrslt["+j+"]/testdt" ); //x = 처방날짜
- y = model.getvalue("/root/main/acmlrslt["+j+"]/inptrslt" ); //y = 결과치
- if(y != "" && !isNaN(y)){
- x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12) + " ";
- //x,y 좌표값과 라인의 칼라 값을 받아 라인을 생성한다.
- tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- }
- }
- //--------------결과치 그래프 끝-------------//
-
- //--------------상한치 그래프 시작-------------//
- tChartObj.AddSeries(0); // 라인추가
- seriesIndex = tChartObj.SeriesCount - 1;
- tChartObj.Series(seriesIndex).Color=window.rgb(255, 0 , 0);
- tChartObj.Series(seriesIndex).Title = "상한치";
- for(j = 1;j<gridObj.rows;j++){
- x = model.getvalue("/root/main/acmlrslt["+j+"]/testdt" );
- y = model.getValue("/root/main/acmlrslt["+j+"]/refh" );
- if(y != "" && !isNaN(y)){
- x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12) + " ";
- tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- }
- }
- //--------------상한치 그래프 끝-------------//
-
- //--------------하한치 그래프 시작-------------//
- tChartObj.AddSeries(0); // 라인추가
- seriesIndex = tChartObj.SeriesCount - 1;
- tChartObj.Series(seriesIndex).Color=window.rgb(255, 0 , 0);
- tChartObj.Series(seriesIndex).Title = "하한치";
- for(j = 1;j<gridObj.rows;j++){
- x = model.getvalue("/root/main/acmlrslt["+j+"]/testdt" );
- y = model.getValue("/root/main/acmlrslt["+j+"]/refl" );
- if(y != "" && !isNaN(y)){
- x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12) + " ";
- tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- }
- }
- //--------------하한치 그래프 끝-------------//
- }catch(ee){
- messageBox("결과값에 문자열이 있습니다." , "I","");
- return;
- }
- }
-
- /* @group : 엑셀로 저장
- * @ver : 2008.06.30
- * @by : 김은지
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드의 내용을 엑셀로 저장한다.
- */
- function fSaveExcel(){
- var indexRow = grd_acmlrslt.rows;
- grd_acmlrslt.addRow(false);
- grd_acmlrslt.addRow(false);
- grd_acmlrslt.addRow(false);
- model.setValue("/root/main/acmlrslt["+indexRow+"]/testdt", "등록번호");
- model.setValue("/root/main/acmlrslt["+(indexRow+1)+"]/testdt", "환자명");
- model.setValue("/root/main/acmlrslt["+(indexRow+2)+"]/testdt", "성별/나이");
- model.setValue("/root/main/acmlrslt["+indexRow+"]/reflh", model.getValue("/root/init/baseinfo/pid"));
- model.setValue("/root/main/acmlrslt["+(indexRow+1)+"]/reflh", model.getValue("/root/init/baseinfo/hngnm"));
- model.setValue("/root/main/acmlrslt["+(indexRow+2)+"]/reflh", model.getValue("/root/init/baseinfo/sex") + "/" + model.getValue("/root/init/baseinfo/age"));
- //model.refresh();
-
- var fileName = window.fileDialog("save", "," , false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_acmlrslt.saveExcel(fileName);
- }
- grd_acmlrslt.deleteItem(indexRow+2);
- grd_acmlrslt.deleteItem(indexRow+1);
- grd_acmlrslt.deleteItem(indexRow);
- model.refresh();
-
- }
-
- function fReportPrint(){
- exeReportPreview("RPLLP90100", "XMLSTR", "", "");
- }
-
- // 엔터키 이벤트
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
- if(event.target=="ipt_bcno"){
- model.setvalue("/root/init/baseinfo/testcd", ipt_bcno.currentText);
- fAcmlTestRslt();
- }
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드의 내용을 엑셀로 Copy하기 위한 Function
- */
- function astgrid_oncopy() {
- var trgObj = document.all.item(event.target);
- if( trgObj.elementName == "xforms:datagrid" ) { // event.target이 datagrid > input일 경우 return
- gridObj = trgObj;
- } else {
- return;
- }
-
-
- var cellValue = "";
- var rClipBoardValue = "";
-
- //선택된 셀의 스타일을 바꾼다
- var cells = grd_acmlrslt.selectedCells;
- var row = -1;
- var col = 0;
-
- var selrow = 0;
- var cnt =1;
-
- for (var i=0;i<cells.length;i++) {
- row = cells.item(i).row;
- col = cells.item(i).col;
-
- cellValue = gridObj.valueMatrix(row, col);
-
- model.makeNode("/root/hidden/tmp");
- model.makeValue("/root/hidden/tmp[" + cnt + "]/row", row);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/col", col);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/value", cellValue);
- cnt++;
- }
-
- datagrid6.rebuild();
- var setcol = datagrid6.colRef("row");
- datagrid6.colSort(datagrid6.colRef("row")) = "asc";
- datagrid6.colSort(datagrid6.colRef("col")) = "asc";
- datagrid6.sort(1, setcol, datagrid6.rows-1, datagrid6.cols-1) = "usersort";
- datagrid6.gridToInstance();
-
- row = -1;
- rClipBoardValue = model.getValue("/root/init/baseinfo/tclsnm");
- for (var i=1;i<datagrid6.rows;i++) {
-
- selrow = datagrid6.valueMatrix(i, datagrid6.colRef("row"));
- cellValue = datagrid6.valueMatrix(i, datagrid6.colRef("value"));
- if (row != selrow) {
- rClipBoardValue += "\r\n";
- rClipBoardValue += cellValue;
- row = selrow;
- } else {
- rClipBoardValue += "\t";
- rClipBoardValue += cellValue;
- }
- }
- if( rClipBoardValue != "" ) {
- window.clipBoardData = rClipBoardValue;
- }
- model.removeNodeset("/root/hidden/tmp");
- }
-
- function astgrid_liscopy() {
- // var trgObj = document.all.item(event.target);
-
- var cellValue;
- var rClipBoardValue = "";
-
- //선택된 셀의 스타일을 바꾼다
- var cells = grd_acmlrslt.selectedCells;
-
- var row = -1;
- var col = 0;
-
- var selrow = 0;
- var cnt =1;
- model.removeNodeset("/root/hidden/tmp");
- for (var i=0;i<cells.length;i++) {
- row = cells.item(i).row;
- col = cells.item(i).col;
-
- cellValue = grd_acmlrslt.valueMatrix(row, col);
-
- model.makeNode("/root/hidden/tmp");
- model.makeValue("/root/hidden/tmp[" + cnt + "]/row", row);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/col", col);
- model.makeValue("/root/hidden/tmp[" + cnt + "]/value", cellValue);
- cnt++;
- }
-
- datagrid6.rebuild();
- var setcol = datagrid6.colRef("row");
- datagrid6.colSort(datagrid6.colRef("row")) = "asc";
- datagrid6.colSort(datagrid6.colRef("col")) = "asc";
- datagrid6.sort(1, setcol, datagrid6.rows-1, datagrid6.cols-1) = "usersort";
- datagrid6.gridToInstance();
-
- row = -1;
- rClipBoardValue = model.getValue("/root/init/baseinfo/tclsnm");
- for (var i=1;i<datagrid6.rows;i++) {
- selrow = datagrid6.valueMatrix(i, datagrid6.colRef("row"));
- cellValue = datagrid6.valueMatrix(i, datagrid6.colRef("value"));
- if (row != selrow) {
- rClipBoardValue += "\r\n";
- rClipBoardValue += cellValue;
- row = selrow;
- } else {
- rClipBoardValue += "\t";
- rClipBoardValue += cellValue;
- }
- }
- if( rClipBoardValue != "" ) {
- window.clipBoardData = rClipBoardValue;
- }
- model.removeNodeset("/root/hidden/tmp");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="715" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:880px; height:20px; ">
- <caption id="cpt_lgtitle" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">누적결과조회</caption>
- </group>
- <group id="grp_ref" style="left:0px; top:26px; width:880px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:880px; height:35px; "/>
- <input id="input1" ref="/root/init/baseinfo/startdd" class="input_s_essential" inputtype="date" style="left:107px; top:8px; width:100px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:815px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAcmlTestRslt();
- ]]>
- </script>
- </button>
- <input id="ipt_bcno" ref="/root/init/baseinfo/testcd" class="input_button" navindex="4" imemode="disabled" inputtype="button" _chartype="upper" style="left:435px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">시행일자 :</caption>
- <caption id="caption1" class="search_name" style="left:345px; top:9px; width:90px; height:17px; ">수가코드 :</caption>
- <line id="line13" class="line_4" style="x1:806px; y1:5px; x2:806px; y2:27px; "/>
- <input id="input2" ref="/root/init/baseinfo/enddd" class="input_s_essential" inputtype="date" style="left:225px; top:8px; width:100px; height:19px; "/>
- <caption id="caption4" class="search_no_b" style="left:209px; top:9px; width:15px; height:17px; ">~</caption>
- </group>
- <group id="grp_patinfo" style="left:0px; top:68px; width:880px; height:35px; ">
- <line id="lin_6" class="line_1" style="x1:0px; y1:1px; x2:874px; y2:1px; "/>
- <output id="out_pid" ref="/root/init/baseinfo/pid" class="output_fix" style="left:75px; top:9px; width:90px; height:19px; "/>
- <caption id="cpt_ patnm" class="cell_1" style="left:167px; top:6px; width:70px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
- <output id="out_sex" ref="/root/init/baseinfo/sex" class="output_fix" navindex="3" style="left:417px; top:9px; width:40px; height:19px; "/>
- <caption id="cpt_pid" class="cell_1" style="left:2px; top:6px; width:70px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <output id="opt_patnm" ref="/root/init/baseinfo/hngnm" class="output_fix" style="left:241px; top:9px; width:100px; height:19px; "/>
- <caption id="cpt_sexage" class="cell_1" style="left:344px; top:6px; width:70px; height:23px; text-align:center; vertical-align:middle; ">성별/나이</caption>
- <output id="opt_age" ref="/root/init/baseinfo/age" class="output_fix" navindex="3" style="left:458px; top:9px; width:40px; height:19px; "/>
- <line id="lin_7" class="line_2" style="x1:1px; y1:30px; x2:875px; y2:30px; "/>
- <output id="output1" ref="/root/init/baseinfo/rrgstno" class="output_fix" navindex="3" style="left:501px; top:9px; width:95px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:599px; top:6px; width:70px; height:23px; text-align:center; vertical-align:middle; ">검사명</caption>
- <output id="output2" ref="/root/init/baseinfo/tclsnm" class="output_fix" navindex="3" style="left:671px; top:9px; width:202px; height:19px; "/>
- </group>
- <group id="grd_contents" scroll="none" style="left:0px; top:105px; width:880px; height:605px; ">
- <group id="grp_biz" style="left:165px; top:0px; width:220px; height:30px; ">
- <select1 id="rdo_alloutin" ref="/root/hidden/acmlrslt/flag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:10px; top:3px; width:160px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAcmlTestRslt();
- if(swt_acmlrslt.selectedIndex == "1"){ //스위치의 그래프 케이스가 선택된 상태일 때만 그래프를 재구성
- fCaseRsltGraph();
- }
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_excel" class="btn2_letter2" style="left:831px; top:1px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel(); //그리드의 데이터를 엑셀로 저장.
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" style="left:775px; top:0px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReportPrint();
- ]]>
- </script>
- </button>
- <button id="btn_graph" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:75px; top:0px; width:75px; height:22px; ">
- <caption>그 래 프</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //그래프 케이스 토글
- fCaseRsltGraph();
- ]]>
- </script>
- </button>
- <button id="btn_testinfo" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:0px; width:75px; height:22px; ">
- <caption>결 과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //결과 케이스 토글
- fCaseRsltGrid();
- ]]>
- </script>
- </button>
- <switch id="swt_acmlrslt" border="0" style="left:0px; top:20px; width:880px; height:580px; ">
- <case id="case_rslt" selected="true">
- <line id="lin_2" class="line_1" style="x1:0px; y1:0px; x2:874px; y2:0px; "/>
- <datagrid id="grd_acmlrslt" nodeset="/root/main/acmlrslt" backcoloralternate="transparent" caption="검사결과^판정^처방의^처방일자^검사일자^참고치^단위^소견^caption1^coombs^접수번호^성분제제" colsep="^" colwidth="120, 30, 70, 120, 120, 100, 80, 300" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sort" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" style="left:0px; top:5px; width:874px; height:565px; text-align:center; ">
- <col ref="result" style="text-align:right; "/>
- <col ref="judgmark"/>
- <col ref="orddrnm"/>
- <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="testdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="reflh"/>
- <col ref="rsltunit"/>
- <col ref="cont" style="text-align:left; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- astgrid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- //if (isDataCell() == true && (datagrid2.isCell(event.target)) && (event.ctrlKey != true) ) {
-
- setPopupMenu("grd_acmlrslt", false, "/root/popupmenu/grid03/item", "name", "func");
- //}
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acmlrslt.gridToInstance(); //그리드의 인스턴스 재구성
- ]]>
- </script>
- </datagrid>
- <group id="grp_searchset" visibility="hidden" style="left:170px; top:90px; width:285px; height:170px; ">
- <datagrid id="datagrid6" nodeset="/root/hidden/tmp" caption="진료과^구분^SET명" colsep="^" colwidth="67, 54, 94" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:53px; width:229px; height:97px; ">
- <col ref="row"/>
- <col ref="col"/>
- <col ref="value"/>
- </datagrid>
- <caption id="caption8" class="tit_1" style="left:25px; top:10px; width:106px; height:13px; ">SET 조회</caption>
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:3px; top:20px; width:267px; height:30px; "/>
- <select1 id="combo5" class="combo_search" appearance="minimal" style="left:80px; top:26px; width:113px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:10px; top:26px; width:70px; height:17px; ">진료과</caption>
- <button id="button15" class="btn2_letter2" style="left:210px; top:25px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_searchset.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="case_graph">
- <line id="lin_3" class="line_1" style="x1:0px; y1:0px; x2:878px; y2:0px; "/>
- <object id="TChart1" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:3px; top:5px; width:870px; height:570px; "/>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|