123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <?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>
- <data>
- <cddiv1>Alb(g/dl)</cddiv1>
- <cddiv2><2.5</cddiv2>
- <item1>Severe Protein Energy malnutrition</item1>
- <item2>Severe Protein Energy malnutrition</item2>
- <item3>Moderate malnutrition</item3>
- <item4>Protein malnutrition</item4>
- </data>
- <data>
- <cddiv1/>
- <cddiv2>2.5-3.0</cddiv2>
- <item1>Severe Protein Energy malnutrition</item1>
- <item2>Moderate malnutrition</item2>
- <item3>Moderate malnutrition</item3>
- <item4>Protein malnutrition</item4>
- </data>
- <data>
- <cddiv1/>
- <cddiv2>3.1-3.5</cddiv2>
- <item1>Moderate malnutrition</item1>
- <item2>Moderate malnutrition</item2>
- <item3>Mild malnutrition</item3>
- <item4>Mild malnutrition</item4>
- </data>
- <data>
- <cddiv1/>
- <cddiv2>>3.5</cddiv2>
- <item1>Energy malnutrition</item1>
- <item2>Energy malnutrition</item2>
- <item3>Mild malnutrition</item3>
- <item4>No malnutrition present</item4>
- </data>
- <receivedata/>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //fopensearch();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // function fopensearch() {
- // //항목별,위험도별로 최저값과 최고값을 hidden 컬럼에 setting
- // for ( i=1; i<13; i++ ) {
- // var cd = model.getValue("/root/main/receivedata/data[" + i + "]/cd"); //항목코드
- // var dngrcd = model.getValue("/root/main/receivedata/data[" + i + "]/dngrcd"); //위험수준코드
- // var min = model.getValue("/root/main/receivedata/data[" + i + "]/min"); //최저값
- // var max = model.getValue("/root/main/receivedata/data[" + i + "]/max"); //최고값
- //
- // //PIBW 일 경우
- // if ( cd == 1 ) {
- // if ( dngrcd == 1 ) { //양호
- // min = min.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[1]/good", "≥" + min);
- // } else if ( dngrcd == 2 ) { //저위험
- // min = min.toString().getRound(-1, "DOWN");
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[1]/low", min + " ~ " + max);
- // } else if ( dngrcd == 3 ) { //중위험
- // min = min.toString().getRound(-1, "DOWN");
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[1]/mid", min + " ~ " + max);
- // } else if ( dngrcd == 4 ) { //고위험
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[1]/high", "< " + max);
- // }
- // }
- //
- // //Alb 일 경우
- // else if ( cd == 2 ) {
- // if ( dngrcd == 1 ) { //양호
- // model.setValue("/root/main/data[2]/good", "≥" + min);
- // } else if ( dngrcd == 2 ) { //저위험
- // model.setValue("/root/main/data[2]/low", min + " ~ " + max);
- // } else if ( dngrcd == 3 ) { //중위험
- // model.setValue("/root/main/data[2]/mid", min + " ~ " + max);
- // } else if ( dngrcd == 4 ) { //고위험
- // model.setValue("/root/main/data[2]/high", "< " + max);
- // }
- // }
- //
- // //TLC 일 경우
- // else if ( cd == 3 ) {
- // if ( dngrcd == 1 ) { //양호
- // min = min.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[3]/good", "≥" + min);
- // } else if ( dngrcd == 2 ) { //저위험
- // min = min.toString().getRound(-1, "DOWN");
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[3]/low", min + " ~ " + max);
- // } else if ( dngrcd == 3 ) { //중위험
- // min = min.toString().getRound(-1, "DOWN");
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[3]/mid", min + " ~ " + max);
- // } else if ( dngrcd == 4 ) { //고위험
- // max = max.toString().getRound(-1, "DOWN");
- // model.setValue("/root/main/data[3]/high", "< " + max);
- // }
- // }
- // }
- //
- // model.refresh();
- // }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="343" guideline="2,13;1,1194;2,784;2,757;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:900px; height:170px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:155px; height:13px; ">영양상태판정기준표</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:790px; y2:26px; "/>
- <datagrid id="grd_data" nodeset="/root/main/data" caption="^ ^PIBW(%)^PIBW(%)^PIBW(%)^PIBW(%)|^ ^<60^60-75^76-90^>90" colsep="^" colwidth="60, 60, 200, 200, 130, 140" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:31px; width:792px; height:137px; text-align:center; ">
- <col ref="cddiv1"/>
- <col ref="cddiv2"/>
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col ref="item4"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:171px; width:900px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:734px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|