123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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="">
- <send>
- <pid/>
- <ptunyn/>
- </send>
- <main>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <engnm/>
- <chinm/>
- <rrgstno1/>
- <rrgstno2/>
- <brthdd/>
- <sex/>
- <age/>
- <bindpid/>
- <hometel/>
- <mpphontel/>
- <etctel1/>
- <etctel2/>
- <smsaprvyn/>
- <email/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <detladdr/>
- <recmyn/>
- <recmerid/>
- <recmerrela/>
- <vipyn/>
- <viprem/>
- <forgeryn/>
- <ptunyn/>
- </patinfolist>
- </patinfo>
- </main>
- <source>
- <srchcond/>
- <pid/>
- </source>
- <result/>
- <temp>
- <rrgstno/>
- <zipaddr/>
- </temp>
- <list>
- <patinfo>
- <pid/>
- </patinfo>
- </list>
- </root>
- </instance>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
- <submission id="TRPAS00860" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/outordamtmngtweb/js/SMPAO00100.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- if (checkOpener())
- {
- //..추후 요청이 있을 경우 환자번호로 자동조회
- //SMPAM00100_PID_PARM
- var SMPAM00100_PID_PARM = opener.javascript.getParameter("SMPAM00100_PID_PARM");
- opener.javascript.setParameter("SMPAM00100_PID_PARM","");
-
-
- if (SMPAM00100_PID_PARM != null && SMPAM00100_PID_PARM != "" && SMPAM00100_PID_PARM != " " && SMPAM00100_PID_PARM != "-")
- {
- model.setValue("/root/main/patinfo/patinfolist/pid",SMPAM00100_PID_PARM);
- model.refresh();
- //환자번호 조건으로 인적정보 조회
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", SMPAM00100_PID_PARM);
-
- //환자기본정보 node clear
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- //환자등록번호 체크
- if(submit("TRPMC02500")){
- var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- //조회내역 체크
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- fInitialize();
- return;
- }
- }
- }
- }
- model.setValue("/root/temp/rrgstno" , model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + '-' +model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
- model.setValue("/root/temp/zipaddr" , model.getValue("/root/main/patinfo/patinfolist/addr") + model.getValue("/root/main/patinfo/patinfolist/detladdr"));
- model.setValue("/root/send/pid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="530" pageheight="200">
- <group id="group2" style="left:0px; top:23px; width:530px; height:37px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:0px; width:520px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:91px; height:17px; ">환자번호 :</caption>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" style="left:100px; top:8px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- vcheck_pid = ipt_pid.currentText;
-
- fInitialize();
- //fRcptInfoInit();
- //fComCDValSet();
-
- if (instance1.selectSingleNode("/root/main/patinfo/patinfolist/pid") == null){
- model.makeNode("/root/main/patinfo/patinfolist/pid");
- }
-
- model.setValue("/root/main/patinfo/patinfolist/pid",vcheck_pid);
- model.refresh();
-
-
- //환자번호 null체크
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- model.setValue("/root/main/patinfo/patinfolist/pid","");
- model.setValue("/root/main/patinfo/patinfolist/hngnm","");
- model.setValue("/root/main/patinfo/patinfolist/rrgstno1","");
- model.setValue("/root/main/patinfo/patinfolist/rrgstno2","");
- model.refresh();
-
- fSearch();
-
- messageBox("환자등록번호가 입력되지","E007");
- return;
- }
- //환자번호 조건으로 인적정보 조회
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
-
- //환자기본정보 node clear
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
-
- //환자등록번호 체크
- if(submit("TRPMC02500")){
- var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- //조회내역 체크
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
- fInitialize();
- return;
- }
-
- //재원환자 체크(계산진행 못하게 할 것인지는 추후 수납확인필요)
- var vcheck_inhospyn = model.getValue("/root/main/patinfo/patinfolist/inhospyn");
- if (vcheck_inhospyn == 'Y') {
- messageBox("["+model.getValue("/root/main/patinfo/patinfolist/hngnm")+"] 환자는 재원 중인 환자","E008");//E008=입니다
- }
-
- }//End if(event.keyCode == "13") {
- }
- model.resetInstanceNode("/root/send")
- ]]>
- </script>
- </input>
- </group>
- <group id="group3" style="left:0px; top:0px; width:525px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">미수안내</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:10px; top:66px; width:140px; height:14px; ">환자정보</caption>
- <caption id="caption1" class="cell_1" style="left:5px; top:90px; width:70px; height:20px; ">환자명</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:85px; x2:525px; y2:85px; "/>
- <caption id="caption3" class="cell_1" style="left:5px; top:113px; width:70px; height:20px; ">주민번호</caption>
- <caption id="caption5" class="cell_1" style="left:5px; top:137px; width:70px; height:20px; ">안내여부</caption>
- <line id="line3" class="line_2" style="x1:5px; y1:110px; x2:525px; y2:110px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:133px; x2:525px; y2:133px; "/>
- <caption id="caption6" class="cell_1" style="left:185px; top:90px; width:100px; height:20px; ">연락처</caption>
- <caption id="caption7" class="cell_1" style="left:185px; top:113px; width:100px; height:20px; ">휴대폰번호</caption>
- <caption id="caption8" class="cell_1" style="left:185px; top:137px; width:100px; height:20px; ">주소</caption>
- <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:80px; top:90px; width:100px; height:19px; "/>
- <output id="output2" ref="/root/temp/rrgstno" class="output_fix" style="left:80px; top:113px; width:100px; height:19px; "/>
- <output id="output4" ref="/root/main/patinfo/patinfolist/hometel" class="output_fix" style="left:290px; top:90px; width:100px; height:19px; "/>
- <output id="output5" ref="/root/main/patinfo/patinfolist/mpphontel" class="output_fix" style="left:290px; top:113px; width:100px; height:19px; "/>
- <output id="output6" ref="/root/temp/zipaddr" class="output_fix" style="left:290px; top:136px; width:235px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/patinfo/patinfolist/ptunyn" appearance="minimal" style="left:80px; top:137px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>안내</label>
- <value>Y</value>
- </item>
- <item>
- <label>안내안함</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/ptunyn" , model.getValue("/root/main/patinfo/patinfolist/ptunyn"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn4_letter2" style="left:400px; top:165px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/ptunyn") == ""){
- model.close();
- }else {
- submit("TRPAS00860");
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:460px; top:165px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|