123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735 |
- <?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/>
- </patinfolist>
- </patinfo>
- <popupendflag/>
- <result>
- <patinfo/>
- <qualfact/>
- </result>
- <exequalfact>
- <pid/>
- <yyno_year/>
- <yyno_month/>
- <yyno_seq/>
- <instcd/>
- <kindflag>L1</kindflag>
- <outinstnm/>
- <fromdd/>
- <todd/>
- <orddeptcd1/>
- <orddeptcd2/>
- <orddeptcd3/>
- <orddeptcd4/>
- <orddeptcd5/>
- <snwcd/>
- <snwnm/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <checkflag/>
- <yyno/>
- </exequalfact>
- <h_rcptamt>
- <rcptamt>
- <rcptamt_flag/>
- <rcptamt_rcptandindd/>
- <rcptamt_dschdd/>
- <rcptamt_orddeptcd/>
- <rcptamt_patflag/>
- <rcptamt_totalamt/>
- <rcptamt_payamt/>
- <rcptamt_nopyamt/>
- <rcptamt_specamt/>
- <rcptamt_payownbamt/>
- </rcptamt>
- </h_rcptamt>
- <h_qualfact>
- <qualfact>
- <yyno/>
- <kindflag/>
- <outinstnm/>
- <fromtodd/>
- <orddeptcd1/>
- <snwnm/>
- </qualfact>
- </h_qualfact>
- </main>
- <send>
- <srchcond/>
- <checkfnexam/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- <srchdiag>
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- </srchdiag>
- </send>
- <init>
- <P0016list>
- <P0016>
- <cdnm/>
- <cdid/>
- </P0016>
- </P0016list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- </init>
- <source>
- <srchcond/>
- <checkfnexam/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- <srchvalue/>
- <srchvalue2/>
- </source>
- <hidden>
- <sppiz00400>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- </rslt>
- </sppiz00400>
- <flag/>
- </hidden>
- </root>
- </instance>
- <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"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
- <submission id="TRPMC01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/datalist1"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0016"), new Array("/root/init/P0016list"));
- pamGetDeptCDDrIDList();
- fInitialize();
- model.refresh();
- ]]>
- </script>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/h_qualfact"/>
- <submission id="TXPMC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/exequalfact"/>
- <submission id="TXPMC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/exequalfact"/>
- <submission id="TRPMC00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/h_rcptamt"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSearchPatInfo(){
-
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
-
- //환자등록번호 체크
- if(ipt_pid.currentText.length >= 1 ){
-
- model.resetInstanceNode("/root/main/result");
- model.makeNode("/root/main/result/patinfo");
-
- if(submit("TRPMC02500")){
- if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
- model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
- model.refresh();
- fSearch();
- model.setValue("/root/hidden/flag", "true");
- }else{
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- messageBox("없는 환자 번호 입니다.", "E999", "");
- model.setValue("/root/hidden/flag", "false");
- model.refresh();
- }
- }
- }else{
- messageBox("환자등록번호를 정확히", "C001");
- }
- }
-
-
-
- function fSearch(){
- var pid = model.getValue("/root/source/pid");
-
- model.copyNode("/root/source", "/root/send");
- model.setValue("/root/send/pid", pid);
-
- submit("TRPMC01901");
-
- model.refresh();
-
- }
-
-
- function fInitialize() {
- //model.removeNodeset("/root/main/insukindcdspec/insukindcdspeclist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/exequalfact");
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/exequalfact/checkflag");
- model.resetInstanceNode("/root/main/h_rcptamt/rcptamt");
- model.resetInstanceNode("/root/main/h_qualfact");
-
- model.removeNodeset("/root/main/result/patinfo");
- model.removeNodeset("/root/main/result/qualfact");
- model.removeNodeset("/root/main/datalist1");
-
- fInitQualFact();
-
- model.refresh();
- }
-
-
-
-
- function fSetDiagCdNm(){
-
- if (model.getValue("/root/hidden/sppiz00400/rslt/diagcd") != "") {
- model.setValue("/root/main/exequalfact/snwcd",model.getValue("/root/hidden/sppiz00400/rslt/diagcd"));
- model.setValue("/root/main/exequalfact/snwnm",model.getValue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- }
- model.refresh();
-
- }
-
-
-
- function fSearchQualFact(){
- var strdd = getCurrentDate();
-
- model.setValue("/root/send/pid", ipt_pid.currentText);
- if (model.getValue("/root/send/pid") != ""){
-
- submit("TRPMC00201");
-
- if (model.getValue("/root/main/h_qualfact/qualfact/yyno") != ""){
- model.setValue("/root/main/exequalfact/checkflag","true"); //조회가 된경우 자격사항에 업데이트 해야할 플래그
-
-
- }
- else {
- model.setValue("/root/main/exequalfact/checkflag","false"); //조회가 되지 않은 경우 insert
- model.setValue("/root/main/exequalfact/kindflag","L1");
- model.setValue("/root/main/exequalfact/fromdd",strdd);
- model.setValue("/root/main/exequalfact/todd",strdd);
- }
-
-
- model.setValue("/root/main/exequalfact/pid", model.getValue("/root/send/pid"));
-
- model.refresh();
-
- }
- else {
- return false;
- }
-
- }
-
-
-
- function fSearchRcptAmt(){
- if (model.getValue("/root/hidden/flag") == "true"){
-
- submit("TRPMC00204");
- }
- else {
- return false;
- }
- }
-
-
- function fInitQualFact(){
- var strdd = getCurrentDate();
-
- model.resetInstanceNode("/root/main/exequalfact");
- model.setValue("/root/main/exequalfact/kindflag","L1");
- model.setValue("/root/main/exequalfact/fromdd",strdd);
- model.setValue("/root/main/exequalfact/todd",strdd);
- model.setValue("/root/main/exequalfact/yyno_year", strdd.substring(0,4));
- model.setValue("/root/main/exequalfact/yyno_month", strdd.substring(4,6));
- ipt_yyyy.disabled = true;
- ipt_mm.disabled = true;
-
- model.refresh();
-
- }
-
- function fCheckQualFactYynn(){
- var yyno = model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/yyno");
- var yyno_seq = yyno.substring(6,9);
- var i = 0;
- var strYynoCheck = ipt_yyyy.currentText + ipt_mm.currentText + ipt_seq.currentText;
-
- var intSeq = ipt_seq.currentText;
-
- if ( ipt_seq.currentText !=yyno_seq) {
- fInitQualFact();
- model.setValue("/root/main/exequalfact/yyno_seq", intSeq);
- model.setValue("/root/main/exequalfact/checkflag","false");
- for( i = 0; i< datagrid1.rows;i++){
- if (strYynoCheck == model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/yyno")){
- model.setValue("/root/main/exequalfact/yyno",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/yyno"));
- model.setValue("/root/main/exequalfact/kindflag",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/kindflag"));
- model.setValue("/root/main/exequalfact/outinstnm",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/outinstnm"));
- model.setValue("/root/main/exequalfact/fromdd",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/fromto"));
- model.setValue("/root/main/exequalfact/todd",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/todd"));
- model.setValue("/root/main/exequalfact/orddeptcd1",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/orddeptcd1"));
- model.setValue("/root/main/exequalfact/orddeptcd2 ",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/orddeptcd2"));
- model.setValue("/root/main/exequalfact/orddeptcd3",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/orddeptcd3"));
- model.setValue("/root/main/exequalfact/orddeptcd4",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/orddeptcd4"));
- model.setValue("/root/main/exequalfact/orddeptcd5 ",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/orddeptcd5"));
- model.setValue("/root/main/exequalfact/snwcd",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/snwcd"));
- model.setValue("/root/main/exequalfact/snwnm",model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/snwnm"));
- }
- }
-
- model.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:600px; height:13px; ">라이온스 시력 센터관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; ">인적사항</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; vertical-align:middle; ">성명[한글]</caption>
- <line id="line9" class="line_2" style="x1:0px; y1:52px; x2:1086px; y2:52px; "/>
- <caption id="caption19" class="tit_2" style="left:5px; top:86px; width:170px; height:13px; ">진료내역</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:101px; x2:1194px; y2:101px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/h_qualfact/qualfact" caption="연번호^보험유형^외래기관^승인기간^진료과^상병명" colsep="^" colwidth="150, 110, 250, 160, 171, 372" defaultrows="20" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:106px; width:1194px; height:230px; font-family:돋움; ">
- <col ref="yyno" style="text-align:left; "/>
- <col ref="kindflag" style="text-align:center; "/>
- <col ref="outinstnm" style="text-align:left; "/>
- <col ref="fromtodd" style="text-align:center; "/>
- <col ref="orddeptcd1"/>
- <col ref="snwnm" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( isDataCell() ) {
-
- var yyno = model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/yyno");
- var yyno_year = yyno.substring(0,4);
- var yyno_month = yyno.substring(4,6);
- var yyno_seq = yyno.substring(6,9);
-
- model.setValue("/root/main/exequalfact/yyno_year", yyno_year);
- model.setValue("/root/main/exequalfact/yyno_month", yyno_month);
- model.setValue("/root/main/exequalfact/yyno_seq",yyno_seq);
- model.setValue("/root/main/exequalfact/kindflag", model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/kindflag"));
- model.setValue("/root/main/exequalfact/outinstnm",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/outinstnm"));
- model.setValue("/root/main/exequalfact/fromdd",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/fromto"));
- model.setValue("/root/main/exequalfact/todd",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/todd"));
- model.setValue("/root/main/exequalfact/orddeptcd1",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/orddeptcd1"));
- model.setValue("/root/main/exequalfact/orddeptcd2",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/orddeptcd2"));
- model.setValue("/root/main/exequalfact/orddeptcd3",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/orddeptcd3"));
- model.setValue("/root/main/exequalfact/orddeptcd4",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/orddeptcd4"));
- model.setValue("/root/main/exequalfact/orddeptcd5",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/orddeptcd5"));
- model.setValue("/root/main/exequalfact/snwcd", model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/snwcd"));
- model.setValue("/root/main/exequalfact/snwnm",model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/snwnm"));
- model.setValue("/root/main/exequalfact/fstrgstrid", model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/fstrgstrid"));
- model.setValue("/root/main/exequalfact/checkflag","true");
- model.refresh();
-
- }
- else {
- fInitQualFact();
- }
-
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption20" class="cell_1" style="left:1011px; top:30px; width:80px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption33" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; vertical-align:middle; ">성명[한글]</caption>
- <caption id="caption3" class="cell_1" style="left:1011px; top:54px; width:80px; height:23px; vertical-align:middle; ">휴대폰</caption>
- <caption id="caption13" class="cell_1" style="left:553px; top:54px; width:90px; height:23px; vertical-align:middle; ">하위주소</caption>
- <caption id="caption4" class="cell_1" style="left:206px; top:54px; width:90px; height:23px; vertical-align:middle; ">E-Mail 주소</caption>
- <caption id="caption5" class="cell_1" style="left:206px; top:30px; width:90px; height:23px; vertical-align:middle; ">주민번호/성별</caption>
- <caption id="caption8" class="cell_1" style="left:553px; top:30px; width:90px; height:23px; vertical-align:middle; ">주소</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <input id="opt_sex" ref="/root/main/patinfo/patinfolist/sex" class="output_fix" style="left:465px; top:31px; width:41px; height:19px; "/>
- <input id="opt_age" ref="/root/main/patinfo/patinfolist/age" class="output_fix" style="left:509px; top:31px; width:41px; height:19px; "/>
- <input id="opt_zipcd1" ref="/root/main/patinfo/patinfolist/zipcd1" class="output_fix" style="left:646px; top:31px; width:30px; height:19px; "/>
- <input id="ipt_zipcd2" ref="/root/main/patinfo/patinfolist/zipcd2" class="output_fix" style="left:679px; top:31px; width:30px; height:19px; "/>
- <input id="opt_addr" ref="/root/main/patinfo/patinfolist/addr" class="output_fix" style="left:712px; top:31px; width:296px; height:19px; "/>
- <input id="opt_hometel" ref="/root/main/patinfo/patinfolist/hometel" class="output_fix" style="left:1094px; top:31px; width:101px; height:19px; "/>
- <input id="opt_mpphontel" ref="/root/main/patinfo/patinfolist/mpphontel" class="output_fix" style="left:1094px; top:55px; width:101px; height:19px; "/>
- <input id="opt_detladdr" ref="/root/main/patinfo/patinfolist/detladdr" class="output_fix" style="left:646px; top:55px; width:362px; height:19px; "/>
- <input id="opt_email" ref="/root/main/patinfo/patinfolist/email" class="output_fix" style="left:299px; top:55px; width:251px; height:19px; "/>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_essential" navindex="1" autonext="false" maxlength="10" style="left:83px; top:31px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- fSearchPatInfo();
- fSearchQualFact();
- fSearchRcptAmt();
- fInitQualFact();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_essential" navindex="2" imemode="hangul" style="left:83px; top:55px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- model.setValue("/root/source/srchcond", "2");
- model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- model.setValue("/root/hidden/flag", "true");
- fSearch();
- fSearchQualFact();
- fSearchRcptAmt();
- fInitQualFact();
- model.refresh();
- model.resetInstanceNode("/root/source");
-
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_essential" navindex="3" style="left:299px; top:31px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/source/srchcond", "3");
- model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
- model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
- model.setValue("/root/hidden/flag", "true");
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- fSearch();
- fSearchQualFact();
- fSearchRcptAmt();
- fInitQualFact();
-
- model.refresh();
- model.resetInstanceNode("/root/source");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno2" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_essential" navindex="4" style="left:382px; top:31px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/source/srchcond", "3");
- model.setValue("/root/source/rrgstno1", ipt_rrgstno1.currentText);
- model.setValue("/root/source/rrgstno2", ipt_rrgstno2.currentText);
- model.setValue("/root/hidden/flag", "true");
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- fSearch();
- fSearchQualFact();
- fSearchRcptAmt();
- fInitQualFact();
- model.refresh();
- model.resetInstanceNode("/root/source");
- }
-
- ]]>
- </script>
- </input>
- <datagrid id="datagrid2" nodeset="/root/main/h_rcptamt/rcptamt" caption="외래/입원^수납/입원일^퇴원일^진료과^환자구분^총진료비^급여액^비급여액^특진비^본인부담액" colsep="^" colwidth="90, 110, 110, 220, 110, 110, 110, 110, 110, 113" defaultrows="20" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:514px; width:1194px; height:230px; font-family:돋움; ">
- <col ref="rcptamt_flag" style="text-align:center; "/>
- <col ref="rcptamt_rcptandindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptamt_dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptamt_orddeptcd"/>
- <col ref="rcptamt_patflag" style="text-align:center; "/>
- <col ref="rcptamt_totalamt" format="#,###" style="text-align:right; "/>
- <col ref="rcptamt_payamt" format="#,###" style="text-align:right; "/>
- <col ref="rcptamt_nopyamt" format="#,###" style="text-align:right; "/>
- <col ref="rcptamt_specamt" format="#,###" style="text-align:right; "/>
- <col ref="rcptamt_payownbamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <line id="line8" class="line_1" style="x1:0px; y1:509px; x2:1194px; y2:509px; "/>
- <caption id="caption27" class="tit_2" style="left:5px; top:494px; width:170px; height:13px; ">수납금액</caption>
- <caption id="cap_pid" class="cell_1" style="left:0px; top:30px; width:80px; height:23px; vertical-align:middle; ">환자번호</caption>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button3" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var yyno = ipt_yyyy.currentText + ipt_mm.currentText + ipt_seq.currentText;
- var strCheck = "true"; //같은 연번호 없음
- var i = 0;
-
- if (!isRequiredControls("ipt_pid","ipt_seq")) {//입력 컨트롤들의 필수값 체크
- return false;
- }
- model.setValue("/root/main/exequalfact/yyno",yyno );
- model.setValue("/root/main/exequalfact/pid", ipt_pid.currentText);
-
- if (model.getValue("/root/main/exequalfact/kindflag") == "L1"){
- model.setValue("/root/main/exequalfact/kindflag", "1");
- }else {
- model.setValue("/root/main/exequalfact/kindflag", "2");
- }
-
-
- if (model.getValue("/root/main/exequalfact/checkflag") == "true"){
- if (yyno == model.getValue("/root/main/h_qualfact/qualfact["+datagrid1.row+"]/yyno")) {
- //update
- submit("TXPMC00202");
- }else {
- //insert
- submit("TXPMC00203");
- }
- }else {
- for( i = 0; i< datagrid1.rows;i++){
- if (yyno == model.getValue("/root/main/h_qualfact/qualfact["+ i +"]/yyno")){
- strCheck = "false"; // 같은 연번호가 존재
- }
- }
-
- if (strCheck == "false"){
- //update
- submit("TXPMC00202");
- }else {
- //insert
- submit("TXPMC00203");
- }
- }
-
- fSearchQualFact();
- fInitQualFact();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line58" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <button id="button1" class="icon_search" style="left:206px; top:476px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchdiag/basedd", getCurrentDate());
- modal("SPPIZ00400" ,"", "10", "10", "SPPIZ00400", "/root/send/srchdiag", "/root/init");
- ]]>
- </script>
- </button>
- <input id="ipt_snwnm" ref="/root/main/exequalfact/snwnm" class="input_default" navindex="15" style="left:225px; top:473px; width:420px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:398px; x2:500px; y2:398px; "/>
- <input id="ipt_snwcd" ref="/root/main/exequalfact/snwcd" class="input_default" navindex="14" autonext="false" style="left:83px; top:473px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') { // Enter 입력 시에
- model.setValue("/root/send/srchdiag/basedd", getCurrentDate());
- modal("SPPIZ00400" ,"", "10", "10", "SPPIZ00400", "/root/send/srchdiag", "/root/init");
- }
- ]]>
- </script>
- </input>
- <line id="line11" class="line_2" style="x1:0px; y1:422px; x2:645px; y2:422px; "/>
- <input id="ipt_outinstnm" ref="/root/main/exequalfact/outinstnm" class="input_default" navindex="6" style="left:83px; top:401px; width:562px; height:19px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:446px; x2:345px; y2:446px; "/>
- <caption id="caption43" class="search_no_b" style="left:208px; top:426px; width:12px; height:17px; ">~</caption>
- <caption id="caption21" class="tit_2" style="left:5px; top:356px; width:70px; height:13px; ">자격사항</caption>
- <line id="line13" class="line_2" style="x1:0px; y1:470px; x2:645px; y2:470px; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:494px; x2:1194px; y2:494px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:400px; width:80px; height:23px; vertical-align:middle; ">외래기관</caption>
- <caption id="caption24" class="cell_1" style="left:0px; top:424px; width:80px; height:23px; vertical-align:middle; ">승인기간</caption>
- <input id="ipt_todd" ref="/root/main/exequalfact/todd" class="input_default" navindex="8" inputtype="date" style="left:225px; top:425px; width:120px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:448px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
- <select1 id="rdo_kindflag" ref="/root/main/exequalfact/kindflag" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:333px; top:378px; width:282px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>의료급여1종</label>
- <value>L1</value>
- </item>
- <item>
- <label>의료급여2종+의료보험대상자</label>
- <value>L2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption26" class="cell_1" style="left:0px; top:472px; width:80px; height:23px; vertical-align:middle; ">상병명</caption>
- <select1 id="cmb_orddeptcd1" ref="/root/main/exequalfact/orddeptcd1" class="combo_default" navindex="9" appearance="minimal" style="left:83px; top:449px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd2" ref="/root/main/exequalfact/orddeptcd2" class="combo_default" navindex="10" appearance="minimal" style="left:196px; top:449px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd3" ref="/root/main/exequalfact/orddeptcd3" class="combo_default" navindex="11" appearance="minimal" style="left:309px; top:449px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd4" ref="/root/main/exequalfact/orddeptcd4" class="combo_default" navindex="12" appearance="minimal" style="left:422px; top:449px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/main/exequalfact/fromdd" class="input_default" navindex="7" inputtype="date" style="left:83px; top:425px; width:120px; height:19px; "/>
- <select1 id="cmb_orddeptcd5" ref="/root/main/exequalfact/orddeptcd5" class="combo_default" navindex="13" appearance="minimal" style="left:535px; top:449px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line7" class="line_1" style="x1:0px; y1:371px; x2:1194px; y2:371px; "/>
- <caption id="caption2" class="search_no_b" style="left:175px; top:379px; width:12px; height:17px; ">-</caption>
- <caption id="caption9" class="search_no_b" style="left:244px; top:379px; width:12px; height:17px; ">-</caption>
- <input id="ipt_yyyy" ref="/root/main/exequalfact/yyno_year" class="input_default" style="left:83px; top:377px; width:87px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* if ( ipt_yyno.currentText != model.getValue("/root/main/result/qualfact/yyno")) {
- var yyno = ipt_yyno.currentText
- var strdd = getCurrentDate();
-
-
- model.resetInstanceNode("/root/main/exequalfact");
- model.setValue("/root/main/exequalfact/yyno",yyno);
- model.setValue("/root/main/exequalfact/kindflag","L1");
- model.setValue("/root/main/exequalfact/fromdd",strdd);
- model.setValue("/root/main/exequalfact/todd",strdd);
-
- model.refresh();
- } */
- ]]>
- </script>
- </input>
- <input id="ipt_mm" ref="/root/main/exequalfact/yyno_month" class="input_default" style="left:193px; top:377px; width:45px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* if ( ipt_yyno.currentText != model.getValue("/root/main/result/qualfact/yyno")) {
- var yyno = ipt_yyno.currentText
- var strdd = getCurrentDate();
-
-
- model.resetInstanceNode("/root/main/exequalfact");
- model.setValue("/root/main/exequalfact/yyno",yyno);
- model.setValue("/root/main/exequalfact/kindflag","L1");
- model.setValue("/root/main/exequalfact/fromdd",strdd);
- model.setValue("/root/main/exequalfact/todd",strdd);
-
- model.refresh();
- } */
- ]]>
- </script>
- </input>
- <input id="ipt_seq" ref="/root/main/exequalfact/yyno_seq" class="input_default" navindex="5" style="left:261px; top:377px; width:45px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckQualFactYynn();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
-
- fCheckQualFactYynn();
-
- ]]>
- </script>
- </input>
- <caption id="cap_seq" class="cell_1" style="left:0px; top:376px; width:80px; height:23px; vertical-align:middle; ">연번호</caption>
- </xhtml:body>
- </xhtml:html>
|