123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <?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>
- <patinfolist>
- <patinfo>
- <height/>
- <weight/>
- <pid/>
- <seq/>
- </patinfo>
- </patinfolist>
- </main>
- <send>
- <pid/>
- <height/>
- <weight/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <hidden/>
- <init>
- <patinfo>
- <pid/>
- <hngnm/>
- </patinfo>
- </init>
- <temp>
- <item/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- model.setValue("/root/send/pid", model.getValue("/root/init/patinfo/pid"));
- submit("TRAEA01131");
- ]]>
- </script>
- <submission id="TRAEA01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfolist"/>
- <submission id="TXAEA01108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="350" pageheight="160" guideline="1,1194;2,576;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:327px; height:80px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:8px; width:120px; height:14px; ">키/몸무게 관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:327px; y2:23px; "/>
- <caption id="caption22" class="cell_1" style="left:165px; top:28px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
- <output id="input2" ref="/root/init/patinfo/pid" class="output_fix" style="left:62px; top:30px; width:100px; height:19px; font-size:12pt; font-weight:bold; "/>
- <output id="input3" ref="/root/init/patinfo/hngnm" class="output_fix" style="left:227px; top:30px; width:100px; height:19px; font-size:12pt; font-weight:bold; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:28px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:51px; x2:327px; y2:51px; "/>
- <caption id="caption2" class="cell_1" style="left:165px; top:52px; width:60px; height:23px; vertical-align:middle; ">체중</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:52px; width:60px; height:23px; vertical-align:middle; ">키</caption>
- <line id="line18" class="line_3" style="x1:0px; y1:75px; x2:327px; y2:75px; "/>
- <caption id="caption4" style="left:137px; top:55px; width:25px; height:20px; ">cm</caption>
- <caption id="caption5" style="left:302px; top:55px; width:25px; height:20px; ">kg</caption>
- <input id="input1" ref="/root/main/patinfolist/patinfo/height" class="input_search" format="#,###" style="left:62px; top:54px; width:70px; height:19px; "/>
- <input id="input4" ref="/root/main/patinfolist/patinfo/weight" class="input_search" format="#,###" style="left:227px; top:54px; width:70px; height:19px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:83px; width:330px; height:27px; ">
- <button id="btn_cfm" class="btn4_letter2" style="left:212px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( model.getValue("/root/main/patinfolist/patinfo/height") > 1000 ){
- messageBox("입력한 키값이 범위를","E003");
- return;
- }
- if( model.getValue("/root/main/patinfolist/patinfo/weight") > 1000 ){
- messageBox("입력한 체중값이 범위를","E003");
- return;
- }
- if( model.getValue("/root/main/patinfolist/patinfo/height") == "" ){
- messageBox("키값이 입력되지","E007");
- return;
- }
- if( model.getValue("/root/main/patinfolist/patinfo/weight") == "" ){
- messageBox("체중값이 입력되지","E007");
- return;
- }
-
-
- model.setValue("/root/send/pid", model.getValue("/root/init/patinfo/pid"));
- model.setValue("/root/send/height", model.getValue("/root/main/patinfolist/patinfo/height"));
- model.setValue("/root/send/weight", model.getValue("/root/main/patinfolist/patinfo/weight"));
- submit("TXAEA01108");
- submit("TRAEA01131");
-
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:271px; top:4px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|