123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 |
- <?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>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <engnm/>
- <chinm/>
- <rrgstno1/>
- <rrgstno2/>
- <brthdd/>
- <sex/>
- <age/>
- <bindpid/>
- <hometel/>
- <mpphontel/>
- <etctel1/>
- <etctel2/>
- <smsaprvyn/>
- <email/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <detladdr/>
- <btype/>
- <rh/>
- <forgeryn/>
- <nati/>
- <psptno/>
- <recmyn/>
- <recmerid/>
- <recmerrela/>
- <vipyn/>
- <viprem/>
- <religncd/>
- <baptnm/>
- <chchnm/>
- <dethyn/>
- <dethdt/>
- <chosresn/>
- <animyn/>
- <exptresncd/>
- <inhospyn/>
- <remfact/>
- <outuncoamt/>
- <dschuncoamt/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <hngnm2/>
- </patinfolist>
- </patinfo>
- <popupendflag/>
- <result>
- <patinfo/>
- </result>
- </main>
- <send/>
- <init>
- <P0015list>
- <P0015>
- <cdid/>
- <cdnm/>
- </P0015>
- </P0015list>
- <P0157list>
- <P0157>
- <cdid/>
- <cdnm/>
- </P0157>
- </P0157list>
- </init>
- <hidden>
- <uid>
- <childre>
- <wid/>
- </childre>
- </uid>
- </hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- <temp>
- <paminfo/>
- </temp>
- </root>
- </instance>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0157", "P0015"), new Array("/root/init/P0157list", "/root/init/P0015list"));
-
- //2007.7.23 - 이동식 추가
- //다른곳에서 화면 호출 조회
- //간호 요청사항 추가
- //2007.12.28 - 박지욱 추가
- //root/temp/paminfo 노드 만들었음
- var node = getGlobalVariable("paminfo");
- var pid = '';
-
- if(node != '' && node != null){
- setCSVToNode("/root/temp/paminfo", node);
- pid = model.getValue("/root/temp/paminfo/list/pid");
- }else if (checkOpener()){ //팝업화면으로 사용될 때
- pid = model.getValue("/root/source/pid");
- }
-
- // checkOpener()를 체크하지 않고 노드에 직접적으로 매핑되어 있는 값을 검사함으로써 검색을 한다.
- if(model.getValue("/root/main/patinfo/patinfolist/pid") != ''){
- ipt_pid.currentText = model.getValue("/root/main/patinfo/patinfolist/pid");
- fSearchPatInfo();
- }
-
- if(pid != ""){
- ipt_pid.currentText = pid;
- fSearchPatInfo();
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSearchPatInfo(){
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
- //inputEnterKey("btn_search", "DOMActivate");
-
- //환자등록번호 체크
- if(ipt_pid.currentText.length >= 1 ){
- model.resetInstanceNode("/root/main/result");
- model.makeNode("/root/main/result/patinfo");
-
- if(submit("TRPMC02500")){
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
- model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
- model.setValue("/root/main/popupendflag", "ok");
- model.refresh();
- fSearch();
- }else{
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- messageBox("없는 환자 번호 입니다.", "E999", "");
- model.refresh();
- }
- }
- }else{
- messageBox("환자등록번호를 정확히", "C001");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:197px; ">
- <select1 id="combo37" ref="/root/main/patinfo/patinfolist/recmerrela" class="combo_default" disabled="true" visibility="hidden" appearance="minimal" style="left:521px; top:126px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0015list/P0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox9" ref="/root/main/patinfo/patinfolist/recmyn" disabled="true" visibility="hidden" overflow="hidden" appearance="full" style="left:284px; top:126px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>직원소개</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption1" class="cell_1" visibility="hidden" style="left:443px; top:125px; width:75px; height:23px; ">관계</caption>
- <caption id="caption41" class="cell_1" visibility="hidden" style="left:180px; top:125px; width:100px; height:23px; ">추천여부/추천인</caption>
- <output id="output67" ref="/root/main/patinfo/patinfolist/recmerid" class="output_fix" visibility="hidden" appearance="output" style="left:357px; top:126px; width:83px; height:19px; "/>
- <caption id="caption48" class="cell_1" style="left:721px; top:157px; width:100px; height:23px; ">외래미수금</caption>
- <caption id="caption45" class="cell_1" style="left:0px; top:102px; width:100px; height:95px; ">참고사항</caption>
- <caption id="caption44" class="cell_1" style="left:984px; top:157px; width:75px; height:23px; ">퇴원미수금</caption>
- <line id="line22" class="line_3" style="x1:0px; y1:196px; x2:1194px; y2:196px; "/>
- <output id="ipt_mpphontel" ref="/root/main/patinfo/patinfolist/mpphontel" class="output_fix" appearance="output" style="left:618px; top:55px; width:100px; height:19px; "/>
- <output id="ipt_etctel1" ref="/root/main/patinfo/patinfolist/etctel1" class="output_fix" appearance="output" style="left:618px; top:79px; width:100px; height:19px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">인적사항</caption>
- <line id="line14" class="line_2" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <output id="ipt_detladdr" ref="/root/main/patinfo/patinfolist/detladdr" class="output_fix" appearance="output" style="left:824px; top:55px; width:370px; height:19px; "/>
- <line id="line17" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <select1 id="combo6" ref="/root/main/patinfo/patinfolist/religncd" class="combo_default" disabled="true" appearance="minimal" style="left:1062px; top:104px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0157list/P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="input28" ref="/root/main/patinfo/patinfolist/email" class="output_fix" appearance="output" style="left:824px; top:79px; width:370px; height:19px; "/>
- <textarea id="tar_remfact" ref="/root/main/patinfo/patinfolist/remfact" disabled="true" style="left:103px; top:103px; width:615px; height:91px; "/>
- <output id="ipt_engnm" ref="/root/main/patinfo/patinfolist/engnm" class="output_fix" appearance="output" style="left:377px; top:55px; width:135px; height:19px; "/>
- <output id="ipt_birthdd" ref="/root/main/patinfo/patinfolist/brthdd" class="output_fix" format="yyyy-mm-dd" inputtype="date" appearance="output" style="left:412px; top:79px; width:100px; height:19px; "/>
- <output id="opt_sex" ref="/root/main/patinfo/patinfolist/sex" class="output_fix" style="left:412px; top:31px; width:49px; height:19px; "/>
- <output id="opt_age" ref="/root/main/patinfo/patinfolist/age" class="output_fix" style="left:464px; top:31px; width:48px; height:19px; "/>
- <output id="ipt_hometel" ref="/root/main/patinfo/patinfolist/hometel" class="output_fix" appearance="output" style="left:618px; top:31px; width:100px; height:19px; "/>
- <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_s_essential" navindex="3" format="999999" style="left:103px; top:79px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- model.setValue("/root/source/srchcond", "3");
- model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
- model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_s_essential" navindex="4" autonext="false" format="9999999" style="left:206px; top:79px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- model.setValue("/root/source/srchcond", "3");
- model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
- model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select id="checkbox10" ref="/root/main/patinfo/patinfolist/vipyn" disabled="true" overflow="visible" appearance="full" style="left:824px; top:105px; width:41px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>VIP</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <output id="input24" ref="/root/main/patinfo/patinfolist/baptnm" class="output_fix" appearance="output" style="left:824px; top:131px; width:157px; height:19px; "/>
- <output id="input25" ref="/root/main/patinfo/patinfolist/chchnm" class="output_fix" appearance="output" style="left:1062px; top:131px; width:132px; height:19px; "/>
- <line id="line12" class="line_2" style="x1:721px; y1:127px; x2:1194px; y2:127px; "/>
- <line id="line13" class="line_2" style="x1:721px; y1:100px; x2:1194px; y2:100px; "/>
- <output id="input27" ref="/root/main/patinfo/patinfolist/addr" class="output_fix" appearance="output" style="left:908px; top:31px; width:286px; height:19px; "/>
- <output id="ipt_zipcd2" ref="/root/main/patinfo/patinfolist/zipcd2" class="output_fix" appearance="output" style="left:857px; top:31px; width:30px; height:19px; "/>
- <output id="ipt_zipcd1" ref="/root/main/patinfo/patinfolist/zipcd1" class="output_fix" appearance="output" style="left:824px; top:31px; width:30px; height:19px; "/>
- <output id="input30" ref="/root/main/patinfo/patinfolist/outuncoamt" class="output_fix" format="#,###" appearance="output" style="left:824px; top:158px; width:157px; height:19px; "/>
- <output id="input32" ref="/root/main/patinfo/patinfolist/dschuncoamt" class="output_fix" appearance="output" style="left:1062px; top:158px; width:132px; height:19px; "/>
- <line id="line19" class="line_2" style="x1:721px; y1:154px; x2:1194px; y2:154px; "/>
- <button id="btn_search" class="icon_search" navindex="5" style="left:290px; top:31px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- fSearch();
- model.resetInstanceNode("/root/source");
- ]]>
- </script>
- </button>
- <caption id="caption40" class="cell_1" style="left:721px; top:30px; width:100px; height:23px; ">우편번호/주소</caption>
- <caption id="caption42" class="cell_1" style="left:984px; top:130px; width:75px; height:23px; ">성당정보</caption>
- <caption id="caption43" class="cell_1" style="left:721px; top:103px; width:100px; height:23px; ">VIP여부/비고</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; ">환자번호</caption>
- <caption id="caption22" class="cell_1" style="left:515px; top:30px; width:100px; height:23px; ">전화[자택]</caption>
- <caption id="caption56" class="cell_1" style="left:721px; top:130px; width:100px; height:23px; ">세례명</caption>
- <caption id="caption34" class="cell_1" style="left:515px; top:54px; width:100px; height:23px; ">전화[휴대]</caption>
- <caption id="caption23" class="cell_1" style="left:0px; top:54px; width:100px; height:23px; ">성명[한/표/영]</caption>
- <caption id="caption57" class="cell_1" style="left:309px; top:30px; width:100px; height:23px; ">성별/나이</caption>
- <caption id="caption35" class="cell_1" style="left:0px; top:78px; width:100px; height:23px; ">주민번호</caption>
- <caption id="caption36" class="cell_1" style="left:515px; top:78px; width:100px; height:23px; ">전화[기타]</caption>
- <caption id="caption47" class="cell_1" style="left:309px; top:78px; width:100px; height:23px; ">생년월일</caption>
- <caption id="caption37" class="cell_1" style="left:984px; top:103px; width:75px; height:23px; ">종교</caption>
- <caption id="caption38" class="cell_1" style="left:721px; top:78px; width:100px; height:23px; ">이메일주소</caption>
- <caption id="caption39" class="cell_1" style="left:721px; top:54px; width:100px; height:23px; ">상세(하위)주소</caption>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" imemode="alpha" style="left:103px; top:31px; width:184px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- fSearchPatInfo();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:103px; top:55px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- model.setValue("/root/source/srchcond", "2");
- model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="input1" ref="/root/main/patinfo/patinfolist/viprem" class="output_fix" appearance="output" style="left:865px; top:104px; width:116px; height:19px; "/>
- <output id="input2" ref="/root/main/patinfo/patinfolist/zipcdseq" class="output_fix" appearance="output" style="left:890px; top:31px; width:15px; height:19px; "/>
- <button id="button1" class="btn2_letter5" visibility="hidden" style="left:55px; top:80px; width:75px; height:19px; ">
- <caption>주민번호</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEasyPadNoInsert("rrgstno" , ipt_rrgstno1 , ipt_rrgstno2);
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm2" class="output_fix" appearance="output" style="left:240px; top:55px; width:135px; height:19px; "/>
- <button id="btn_remfact" class="btn2_letter2" style="left:53px; top:173px; width:42px; height:19px; ">
- <caption>펼침</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/main/patinfo/patinfolist/pid") == ""){
- return;
- }
-
- model.setValue("/root/main/patinfo/patinfolist/remfact", fCallSpecPopUp_remfact(model.getValue("/root/main/patinfo/patinfolist/pid"),model.getValue("/root/main/patinfo/patinfolist/remfact")));
- tar_remfact.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|