123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?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="">
- <viewinfo>
- <bsviewinfo>
- <bsreclist>
- <recdd/>
- <graph/>
- <delyn/>
- <rectm/>
- <recrslt/>
- <rem/>
- <prcpyn/>
- <signno/>
- <bfrectm/>
- <bfrecrslt/>
- <bfrem/>
- <prcpissflag/>
- <eqmtyn/>
- <suretestdt/>
- <carerecno/>
- <dnar/>
- <stmtspec/>
- <recnm/>
- <refflag/>
- </bsreclist>
- </bsviewinfo>
- <nursingviewinfo>
- <nursingrecordlist>
- <recdd/>
- <rectm/>
- <dnar/>
- <stmtspec/>
- <signno/>
- <fstrgstrnm/>
- <stmtcd/>
- <origincd/>
- <recoriginflag/>
- <carerecno/>
- <recflag/>
- <reclnkkey/>
- <interprecyn/>
- <fstrgstrid/>
- <certselyn/>
- <recverno/>
- <dnarflag/>
- </nursingrecordlist>
- </nursingviewinfo>
- </viewinfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_view();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize_view()
- {
- // 그리드 초기화
- model.removeNodeset("/root/viewinfo/bsviewinfo")
- model.removeNodeset("/root/viewinfo/nursingviewinfo");
-
- for(i=0; i < grd_bsreclist_view.cols; i++) {
- grd_bsreclist_view.mergeCol(i) = false;
- }
- grd_bsreclist_view.mergeCol(grd_bsreclist_view.colRef("recdd")) = true;
-
- //차트 초기화
- fInitChart_view();
-
- }
-
- function fInitChart_view(){
- var Obj_Chart;
-
- Obj_Chart = obj_bsrgraph_view;
- Obj_Chart.Header.Visible = false;
- Obj_Chart.Aspect.View3D = 0; // 2d 로 표현하기
-
- Obj_Chart.Zoom.Enable = false; // zoom 사용하지 않기
- Obj_Chart.Scroll.Enable = 2;
- Obj_Chart.Environment.MouseWheelScroll = false;
- Obj_Chart.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
- Obj_Chart.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
- Obj_Chart.Panel.Gradient.StartColor = 0xffffff;
- Obj_Chart.Panel.Gradient.EndColor=0xffffff;
- Obj_Chart.RemoveAllSeries();
- Obj_Chart.Axis.RemoveAllCustom();
- //margin 값 정하기
- Obj_Chart.Panel.MarginTop = 3;
- Obj_Chart.Panel.MarginLeft = -10;
- Obj_Chart.Panel.MarginRight = 0;
- Obj_Chart.Panel.MarginBottom = 0;
- //하단축 칸 수 정하기와 눈금 없애기
- Obj_Chart.Axis.Left.SetMinMax (28, 0); //하루 동안 좌표를 표현
- Obj_Chart.Axis.Left.Increment = 1;
- Obj_Chart.Axis.Left.MinorTickCount = 0;
- Obj_Chart.Axis.Left.MinorTicks.Visible = true;
- Obj_Chart.Axis.Left.GridPen.Color = 0xCCCCCC;
- Obj_Chart.Axis.Left.Inverted = true;
- Obj_Chart.Axis.Left.Labels.Font.Size = 1
- Obj_Chart.Axis.Left.Labels.Size = 1;
- Obj_Chart.Axis.Left.PositionPercent = -20;
-
-
- var cus_axis = Obj_Chart.Axis.AddCustom(true);
- Obj_Chart.Axis.Custom(0).AxisPen.Color = 0xFFBC8E;
- Obj_Chart.Axis.Custom(0).PositionPercent = 0;
- Obj_Chart.Axis.Custom(0).Automatic = false;
- Obj_Chart.Axis.Custom(0).Maximum = 530;
- Obj_Chart.Axis.Custom(0).Minimum = -9;
- Obj_Chart.Axis.Custom(0).Increment = 100;
- Obj_Chart.Axis.Custom(0).MinorTickCount = 4;
- Obj_Chart.Axis.Custom(0).Otherside = true;
- Obj_Chart.Axis.Custom(0).MinorGrid.Style = 2;
- Obj_Chart.Axis.Custom(0).MinorGrid.Visible = true;
- Obj_Chart.Axis.Custom(0).MinorGrid.Color = 0xCCCCCC;
- Obj_Chart.Axis.Custom(0).Labels.Size = -50;
-
- Obj_Chart.AddSeries(37); //asHorizLine
- Obj_Chart.AddSeries(0); //asLine
- Obj_Chart.AddSeries(0); //asLine
- Obj_Chart.AddSeries(0); //asLine
- Obj_Chart.Series(0).HorizontalAxisCustom = cus_axis;
- Obj_Chart.Series(1).HorizontalAxisCustom = cus_axis;
- Obj_Chart.Series(2).HorizontalAxisCustom = cus_axis;
- Obj_Chart.Series(3).HorizontalAxisCustom = cus_axis;
- Obj_Chart.Series(1).asLine.LinePen.Width = 1;
- Obj_Chart.Series(2).asLine.LinePen.Width = 1;
- Obj_Chart.Series(3).asLine.LinePen.Width = 1;
-
- Obj_Chart.Series(0).Color = 0xBE5B42; //혈당내역그래프
- Obj_Chart.Series(1).Color = 0x000000; //black 200선
- Obj_Chart.Series(2).Color = 0x000000; //black 400선
- Obj_Chart.Series(3).Color = 0x000000; //black 500선
-
- //Depth 정하기
- Obj_Chart.Series(0).Depth = 1;
- Obj_Chart.Series(1).Depth = 2;
- Obj_Chart.Series(2).Depth = 2;
- Obj_Chart.Series(3).Depth = 2;
-
- Obj_Chart.Series(1).AddXY (200, 0, "", Obj_Chart.Series(1).Color );
- Obj_Chart.Series(1).AddXY (200, 500, "", Obj_Chart.Series(1).Color );
- Obj_Chart.Series(2).AddXY (400, 0, "", Obj_Chart.Series(2).Color );
- Obj_Chart.Series(2).AddXY (400, 500, "", Obj_Chart.Series(2).Color );
- Obj_Chart.Series(3).AddXY (500, 0, "", Obj_Chart.Series(3).Color );
- Obj_Chart.Series(3).AddXY (500, 500, "", Obj_Chart.Series(3).Color );
-
- Obj_Chart.Series(0).asHorizLine.LinePen.Width = 2;
- Obj_Chart.Series(0).asHorizLine.Pointer.Visible = true;
- Obj_Chart.Series(0).asHorizLine.Pointer.Brush.Color = 0x6698FF;
- Obj_Chart.Series(0).asHorizLine.Pointer.Style = 0;
- Obj_Chart.Series(0).asHorizLine.Pointer.VerticalSize = 3;
- Obj_Chart.Series(0).asHorizLine.Pointer.HorizontalSize = 3;
- }
-
- ]]>
- </script>
- </model>
- <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/commonweb/js/tchartHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group5" scroll="auto" style="left:0px; top:0px; width:1195px; height:747px; ">
- <img id="img_tmp" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
- <datagrid id="grd_bsreclist_view" visibility="hidden" allowselection="false" caption="일자^그래프^삭제^시간^결과(mg/dL)^비고^signno^발행^bfrectm^bfrecrslt^bfrem^recnm^prcpissflag" colsep="^" colwidth="68, 196, 0, 40, 80, 69, 0, 35, 0, 0, 0, 0, 0" mergecells="bycol" rowsep="|" tooltip="true" style="left:675px; top:0px; width:507px; height:669px; ">
- <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:top; "/>
- <col ref="graph"/>
- <col checkvalue="true,false" ref="delyn" type="checkbox"/>
- <col ref="rectm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col ref="recrslt" type="input" style="text-align:center; "/>
- <col ref="rem" type="input" style="text-align:center; "/>
- <col ref="signno"/>
- <col checkvalue="true,false" ref="prcpyn" type="checkbox"/>
- <col ref="bfrectm" style="left:414px; top:23px; width:100px; height:23px; "/>
- <col ref="bfrecrslt"/>
- <col ref="bfrem"/>
- <col ref="recnm"/>
- <col ref="prcpissflag"/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:507px; y2:0px; "/>
- <datagrid id="grd_bsreclist_view" nodeset="/root/viewinfo/bsviewinfo/bsreclist" allowselection="false" caption="일자^그래프^삭제^시간^결과(mg/dL)^비고^발행^signno^bfrectm^bfrecrslt^bfrem^prcpissflag^eqmtyn^suretestdt^carerecno^DNAR^혈당간호기록^작성자^refflag" colsep="^" colwidth="68, 196, 0, 40, 80, 69, 35, 0, 0, 0, 0, 0, 0, 0, 0, 43, 392, 65, 0" mergecells="bycol" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1017px; height:669px; ">
- <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:top; "/>
- <col ref="graph"/>
- <col checkvalue="true,false" ref="delyn" type="checkbox"/>
- <col ref="rectm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col ref="recrslt" type="input" style="text-align:center; "/>
- <col ref="rem" type="input" style="text-align:center; "/>
- <col checkvalue="true,false" ref="prcpyn" type="checkbox"/>
- <col ref="signno"/>
- <col ref="bfrectm" style="left:414px; top:23px; width:100px; height:23px; "/>
- <col ref="bfrecrslt"/>
- <col ref="bfrem"/>
- <col ref="prcpissflag"/>
- <col ref="eqmtyn"/>
- <col ref="suretestdt"/>
- <col ref="carerecno"/>
- <col disabled="true" ref="dnar" type="combo" style="text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init/dnarinfo/dnarflagnurs/itemset">
- <label ref="itemnm"/>
- <value ref="itemcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="stmtspec"/>
- <col ref="recnm" style="text-align:center; "/>
- <col ref="refflag"/>
- </datagrid>
- <object id="obj_bsrgraph_view" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:67px; top:8px; width:197px; height:665px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|