123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <cond>
- <pid/>
- </cond>
- <patinfo>
- <patnm/>
- <rrgstno/>
- <age/>
- <sex/>
- <insukind/>
- <chosdt/>
- <curecd/>
- <pid/>
- <indd/>
- <cretno/>
- <instcd/>
- </patinfo>
- </main>
- <send>
- </send>
- <init>
- <M0421list>
- <M0421>
- <cdnm/>
- <cdid/>
- </M0421>
- </M0421list>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- </init>
- <tmp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(
- new Array("M0421", "P0008"),
- new Array("/root/init/M0421list", "/root/init/P0008list") );
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <submission id="TRMNE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- <submission id="TXMNE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="275" pageheight="300" style="border-color:#c7a3cf; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; ">외래처치대행</caption>
- <group id="group5" scroll="auto" style="left:0px; top:15px; width:270px; height:278px; ">
- <group id="group2" style="left:0px; top:5px; width:270px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:268px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:8px; top:11px; width:82px; height:17px; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_s_essential" imemode="hangul" style="left:93px; top:10px; width:117px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if("13" == event.keyCode){
- model.setValue("/root/main/cond/pid", ipt_pid.currentText);
- model.removenode("/root/send");
- var sSrchData = "";
- var sSrchHeader = "pid▩";
- var sSrchData = model.getValue("/root/main/cond/pid") + "▩";
- model.makeValue("/root/send/cond", sSrchHeader + sSrchData);
-
- submit("TRMNE04201");
- if(model.getValue("/root/main/patinfo/pid") == ""){
- ipt_pid.value = "";
- // ipt_pid.refresh();
- messageBox("조회 결과가 없습니다.","I");
- }
- }
- ]]>
- </script>
- </input>
- </group>
- <line id="line12" class="line_1" style="x1:0px; y1:71px; x2:267px; y2:72px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:122px; x2:267px; y2:122px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:147px; x2:267px; y2:147px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:172px; x2:267px; y2:172px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:197px; x2:267px; y2:197px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:222px; x2:267px; y2:222px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:97px; x2:267px; y2:97px; "/>
- <line id="line15" class="line_3" style="x1:0px; y1:247px; x2:267px; y2:247px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:74px; width:80px; height:23px; text-align:center; vertical-align:middle; ">성명</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:99px; width:80px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:124px; width:80px; height:23px; text-align:center; vertical-align:middle; ">나이</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:149px; width:80px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:174px; width:80px; height:23px; text-align:center; vertical-align:middle; ">보험유형</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:199px; width:80px; height:23px; text-align:center; vertical-align:middle; ">내원시간</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:224px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처치내역</caption>
- <output id="output1" ref="/root/main/patinfo/patnm" style="left:83px; top:75px; width:185px; height:19px; "/>
- <output id="output5" ref="/root/main/patinfo/rrgstno" style="left:83px; top:101px; width:185px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfo/age" style="left:83px; top:125px; width:185px; height:19px; "/>
- <output id="output3" ref="/root/main/patinfo/sex" style="left:83px; top:150px; width:185px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/patinfo/insukind" class="combo_default" disabled="true" appearance="minimal" style="left:83px; top:175px; width:185px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="output4" ref="/root/main/patinfo/chosdt" format="yyyy-mm-dd hh:nn:ss" style="left:83px; top:200px; width:185px; height:19px; "/>
- <select1 id="combo2" ref="/root/main/patinfo/curecd" class="combo_default" appearance="minimal" style="left:83px; top:225px; width:185px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0421list/M0421">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" accesskey="ctrl+s" class="btn1_letter6" style="left:0px; top:251px; width:92px; height:22px; ">
- <caption>저장[Ctrl+S]</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/patinfo/patnm") == ""){
- messageBox("환자를 선택하지 않았습니다.","E");
- return;
- }
-
- if(model.getValue("/root/main/patinfo/curecd") == ""){
- messageBox("처치내역을 선택하지 않았습니다.","E");
- return;
- }
-
- model.removenode("/root/send");
- var sSaveData = "";
- var sSaveHeader = "pid▦indd▦cretno▦instcd▦chosdd▦chostm▦curenm▦curecd▩";
- var sSaveData = model.getValue("/root/main/patinfo/pid") +"▦"
- + model.getValue("/root/main/patinfo/indd") +"▦"
- + model.getValue("/root/main/patinfo/cretno") +"▦"
- + model.getValue("/root/main/patinfo/instcd") +"▦"
- + model.getValue("/root/main/patinfo/chosdt").substr(0,8) +"▦"
- + model.getValue("/root/main/patinfo/chosdt").substr(8,4) +"▦"
- + combo2.label + "▦"
- + combo2.value + "▩";
- model.makeValue("/root/send/savedata", sSaveHeader + sSaveData);
- if(submit("TXMNE04201")== true){
- messageBox("성공적으로 저장하였습니다.","I");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="button2" accesskey="KeyCode(27)" class="btn1_letter5" style="left:177px; top:251px; width:92px; height:22px; ">
- <caption>종료[ESC]</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption27" class="tit_2" style="left:5px; top:55px; width:144px; height:14px; ">환자정보 및 처치내역</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|