SMMNR07900_혈당간호기록View용.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>혈당간호기록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <viewinfo>
  10. <bsviewinfo>
  11. <bsreclist>
  12. <recdd/>
  13. <graph/>
  14. <delyn/>
  15. <rectm/>
  16. <recrslt/>
  17. <rem/>
  18. <prcpyn/>
  19. <signno/>
  20. <bfrectm/>
  21. <bfrecrslt/>
  22. <bfrem/>
  23. <prcpissflag/>
  24. <eqmtyn/>
  25. <suretestdt/>
  26. <carerecno/>
  27. <dnar/>
  28. <stmtspec/>
  29. <recnm/>
  30. <refflag/>
  31. </bsreclist>
  32. </bsviewinfo>
  33. <nursingviewinfo>
  34. <nursingrecordlist>
  35. <recdd/>
  36. <rectm/>
  37. <dnar/>
  38. <stmtspec/>
  39. <signno/>
  40. <fstrgstrnm/>
  41. <stmtcd/>
  42. <origincd/>
  43. <recoriginflag/>
  44. <carerecno/>
  45. <recflag/>
  46. <reclnkkey/>
  47. <interprecyn/>
  48. <fstrgstrid/>
  49. <certselyn/>
  50. <recverno/>
  51. <dnarflag/>
  52. </nursingrecordlist>
  53. </nursingviewinfo>
  54. </viewinfo>
  55. </root>
  56. </instance>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. fInitialize_view();
  60. ]]>
  61. </script>
  62. <script type="javascript">
  63. <![CDATA[
  64. function fInitialize_view()
  65. {
  66. // 그리드 초기화
  67. model.removeNodeset("/root/viewinfo/bsviewinfo")
  68. model.removeNodeset("/root/viewinfo/nursingviewinfo");
  69. for(i=0; i < grd_bsreclist_view.cols; i++) {
  70. grd_bsreclist_view.mergeCol(i) = false;
  71. }
  72. grd_bsreclist_view.mergeCol(grd_bsreclist_view.colRef("recdd")) = true;
  73. //차트 초기화
  74. fInitChart_view();
  75. }
  76. function fInitChart_view(){
  77. var Obj_Chart;
  78. Obj_Chart = obj_bsrgraph_view;
  79. Obj_Chart.Header.Visible = false;
  80. Obj_Chart.Aspect.View3D = 0; // 2d 로 표현하기
  81. Obj_Chart.Zoom.Enable = false; // zoom 사용하지 않기
  82. Obj_Chart.Scroll.Enable = 2;
  83. Obj_Chart.Environment.MouseWheelScroll = false;
  84. Obj_Chart.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
  85. Obj_Chart.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
  86. Obj_Chart.Panel.Gradient.StartColor = 0xffffff;
  87. Obj_Chart.Panel.Gradient.EndColor=0xffffff;
  88. Obj_Chart.RemoveAllSeries();
  89. Obj_Chart.Axis.RemoveAllCustom();
  90. //margin 값 정하기
  91. Obj_Chart.Panel.MarginTop = 3;
  92. Obj_Chart.Panel.MarginLeft = -10;
  93. Obj_Chart.Panel.MarginRight = 0;
  94. Obj_Chart.Panel.MarginBottom = 0;
  95. //하단축 칸 수 정하기와 눈금 없애기
  96. Obj_Chart.Axis.Left.SetMinMax (28, 0); //하루 동안 좌표를 표현
  97. Obj_Chart.Axis.Left.Increment = 1;
  98. Obj_Chart.Axis.Left.MinorTickCount = 0;
  99. Obj_Chart.Axis.Left.MinorTicks.Visible = true;
  100. Obj_Chart.Axis.Left.GridPen.Color = 0xCCCCCC;
  101. Obj_Chart.Axis.Left.Inverted = true;
  102. Obj_Chart.Axis.Left.Labels.Font.Size = 1
  103. Obj_Chart.Axis.Left.Labels.Size = 1;
  104. Obj_Chart.Axis.Left.PositionPercent = -20;
  105. var cus_axis = Obj_Chart.Axis.AddCustom(true);
  106. Obj_Chart.Axis.Custom(0).AxisPen.Color = 0xFFBC8E;
  107. Obj_Chart.Axis.Custom(0).PositionPercent = 0;
  108. Obj_Chart.Axis.Custom(0).Automatic = false;
  109. Obj_Chart.Axis.Custom(0).Maximum = 530;
  110. Obj_Chart.Axis.Custom(0).Minimum = -9;
  111. Obj_Chart.Axis.Custom(0).Increment = 100;
  112. Obj_Chart.Axis.Custom(0).MinorTickCount = 4;
  113. Obj_Chart.Axis.Custom(0).Otherside = true;
  114. Obj_Chart.Axis.Custom(0).MinorGrid.Style = 2;
  115. Obj_Chart.Axis.Custom(0).MinorGrid.Visible = true;
  116. Obj_Chart.Axis.Custom(0).MinorGrid.Color = 0xCCCCCC;
  117. Obj_Chart.Axis.Custom(0).Labels.Size = -50;
  118. Obj_Chart.AddSeries(37); //asHorizLine
  119. Obj_Chart.AddSeries(0); //asLine
  120. Obj_Chart.AddSeries(0); //asLine
  121. Obj_Chart.AddSeries(0); //asLine
  122. Obj_Chart.Series(0).HorizontalAxisCustom = cus_axis;
  123. Obj_Chart.Series(1).HorizontalAxisCustom = cus_axis;
  124. Obj_Chart.Series(2).HorizontalAxisCustom = cus_axis;
  125. Obj_Chart.Series(3).HorizontalAxisCustom = cus_axis;
  126. Obj_Chart.Series(1).asLine.LinePen.Width = 1;
  127. Obj_Chart.Series(2).asLine.LinePen.Width = 1;
  128. Obj_Chart.Series(3).asLine.LinePen.Width = 1;
  129. Obj_Chart.Series(0).Color = 0xBE5B42; //혈당내역그래프
  130. Obj_Chart.Series(1).Color = 0x000000; //black 200선
  131. Obj_Chart.Series(2).Color = 0x000000; //black 400선
  132. Obj_Chart.Series(3).Color = 0x000000; //black 500선
  133. //Depth 정하기
  134. Obj_Chart.Series(0).Depth = 1;
  135. Obj_Chart.Series(1).Depth = 2;
  136. Obj_Chart.Series(2).Depth = 2;
  137. Obj_Chart.Series(3).Depth = 2;
  138. Obj_Chart.Series(1).AddXY (200, 0, "", Obj_Chart.Series(1).Color );
  139. Obj_Chart.Series(1).AddXY (200, 500, "", Obj_Chart.Series(1).Color );
  140. Obj_Chart.Series(2).AddXY (400, 0, "", Obj_Chart.Series(2).Color );
  141. Obj_Chart.Series(2).AddXY (400, 500, "", Obj_Chart.Series(2).Color );
  142. Obj_Chart.Series(3).AddXY (500, 0, "", Obj_Chart.Series(3).Color );
  143. Obj_Chart.Series(3).AddXY (500, 500, "", Obj_Chart.Series(3).Color );
  144. Obj_Chart.Series(0).asHorizLine.LinePen.Width = 2;
  145. Obj_Chart.Series(0).asHorizLine.Pointer.Visible = true;
  146. Obj_Chart.Series(0).asHorizLine.Pointer.Brush.Color = 0x6698FF;
  147. Obj_Chart.Series(0).asHorizLine.Pointer.Style = 0;
  148. Obj_Chart.Series(0).asHorizLine.Pointer.VerticalSize = 3;
  149. Obj_Chart.Series(0).asHorizLine.Pointer.HorizontalSize = 3;
  150. }
  151. ]]>
  152. </script>
  153. </model>
  154. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  155. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/tchartHelper.js"/>
  158. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  159. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  160. </xhtml:head>
  161. <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  162. <group id="group5" scroll="auto" style="left:0px; top:0px; width:1195px; height:747px; ">
  163. <img id="img_tmp" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  164. <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; ">
  165. <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:top; "/>
  166. <col ref="graph"/>
  167. <col checkvalue="true,false" ref="delyn" type="checkbox"/>
  168. <col ref="rectm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
  169. <col ref="recrslt" type="input" style="text-align:center; "/>
  170. <col ref="rem" type="input" style="text-align:center; "/>
  171. <col ref="signno"/>
  172. <col checkvalue="true,false" ref="prcpyn" type="checkbox"/>
  173. <col ref="bfrectm" style="left:414px; top:23px; width:100px; height:23px; "/>
  174. <col ref="bfrecrslt"/>
  175. <col ref="bfrem"/>
  176. <col ref="recnm"/>
  177. <col ref="prcpissflag"/>
  178. </datagrid>
  179. <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:507px; y2:0px; "/>
  180. <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; ">
  181. <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:top; "/>
  182. <col ref="graph"/>
  183. <col checkvalue="true,false" ref="delyn" type="checkbox"/>
  184. <col ref="rectm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
  185. <col ref="recrslt" type="input" style="text-align:center; "/>
  186. <col ref="rem" type="input" style="text-align:center; "/>
  187. <col checkvalue="true,false" ref="prcpyn" type="checkbox"/>
  188. <col ref="signno"/>
  189. <col ref="bfrectm" style="left:414px; top:23px; width:100px; height:23px; "/>
  190. <col ref="bfrecrslt"/>
  191. <col ref="bfrem"/>
  192. <col ref="prcpissflag"/>
  193. <col ref="eqmtyn"/>
  194. <col ref="suretestdt"/>
  195. <col ref="carerecno"/>
  196. <col disabled="true" ref="dnar" type="combo" style="text-align:center; vertical-align:middle; ">
  197. <choices>
  198. <itemset nodeset="/root/init/dnarinfo/dnarflagnurs/itemset">
  199. <label ref="itemnm"/>
  200. <value ref="itemcd"/>
  201. </itemset>
  202. </choices>
  203. </col>
  204. <col ref="stmtspec"/>
  205. <col ref="recnm" style="text-align:center; "/>
  206. <col ref="refflag"/>
  207. </datagrid>
  208. <object id="obj_bsrgraph_view" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:67px; top:8px; width:197px; height:665px; "/>
  209. </group>
  210. </xhtml:body>
  211. </xhtml:html>