1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480 |
- <?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="">
- <send>
- <data1>
- <issfromdd/>
- <isstodd/>
- <refflag/>
- <refvalue/>
- <clamddyn/>
- </data1>
- <data3>
- <pid/>
- <hngnm/>
- <srchcond/>
- <indd/>
- </data3>
- <updatedate>
- <grdpmcheoac/>
- </updatedate>
- <data2>
- <pid/>
- <indd/>
- <instcd/>
- <status/>
- </data2>
- <data4>
- <s_inpt>
- <inpt/>
- </s_inpt>
- </data4>
- <data5>
- <sess_posinstcd/>
- <ioflag/>
- </data5>
- <data6>
- <cdgrupid/>
- </data6>
- <data7>
- <inpt_pid/>
- <inpt_remfact/>
- <inpt_instcd/>
- </data7>
- <search1>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </search1>
- </send>
- <main>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_orddeptcd/>
- <ptbs_medispclid/>
- <ptbs_atdoctid/>
- <ptbs_insukind/>
- <ptbs_indd/>
- <ptbs_dschdd/>
- <ptbs_suppkind/>
- <ptbs_specordyn/>
- <ptbs_inpath/>
- <ptbs_maindiag/>
- </ptbs>
- <inpt>
- <inpt_cntrcnty/>
- <inpt_chrgernm/>
- <inpt_tel/>
- <inpt_faxno/>
- <inpt_appernm/>
- <inpt_patrela/>
- <inpt_appmthd/>
- <inpt_limitamt/>
- <inpt_fromdd/>
- <inpt_todd/>
- <inpt_remfact/>
- <inpt_mngtcnts/>
- <inpt_endflagcd/>
- <inpt_fstrgstrid/>
- <inpt_fstrgstdt/>
- <inpt_lastupdtrid/>
- <inpt_lastupdtdt/>
- <inpt_instcd/>
- </inpt>
- <grdpmchlist>
- <grdpmcheoac>
- <pid/>
- <acptdd/>
- <clamdd/>
- <clamamt/>
- <payamt/>
- <nopyamt/>
- <choiordamt/>
- <indd/>
- <dschdd/>
- <appdd/>
- <enddd/>
- <rcptamt/>
- <rcptdd/>
- <clamseqno/>
- </grdpmcheoac>
- </grdpmchlist>
- <grdpmcheoaclist>
- <grdpmcheoaclist>
- <pid/>
- <hngnm/>
- <insukind/>
- <sex/>
- <age/>
- <indd/>
- <dschdd/>
- <orddeptcd/>
- <medispclid/>
- <clamamt/>
- <clamdd/>
- <rcptamt/>
- <rcptdd/>
- <cntrcnty/>
- <diagnm/>
- </grdpmcheoaclist>
- </grdpmcheoaclist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <ugcy_print>
- <pat_pid/>
- <pat_hngnm/>
- <pat_rrgstno/>
- <pat_addr/>
- <minst_name/>
- <minst_prsd/>
- <minst_bizmngrgstno/>
- <minst_addr/>
- <minst_phone/>
- <minst_yearfrom/>
- <minst_monthfrom/>
- <minst_dayfrom/>
- <minst_yearto/>
- <minst_monthto/>
- <minst_dayto/>
- <claimamt/>
- <bank_name/>
- <bank_acount/>
- <bank_owner/>
- <ctrt_year/>
- <ctrt_month/>
- <ctrt_day/>
- <ctrt_name/>
- <ctrt_inst_name/>
- <ctrt_inst_prsd/>
- <ctrt_to/>
- </ugcy_print>
- </main>
- <hidden>
- <original>
- <inpt_cntrcnty/>
- <inpt_chrgernm/>
- <inpt_tel/>
- <inpt_faxno/>
- <inpt_appernm/>
- <inpt_patrela/>
- <inpt_appmthd/>
- <inpt_mngtcnts/>
- <inpt_fstrgstrid/>
- <inpt_fstrgstdt/>
- <inpt_lastupdtrid/>
- <inpt_lastupdtdt/>
- <inpt_status/>
- </original>
- <rcv>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_orddeptcd/>
- <ptbs_medispclid/>
- <ptbs_atdoctid/>
- <ptbs_insukind/>
- <ptbs_indd/>
- <ptbs_dschdd/>
- <ptbs_suppkind/>
- <ptbs_specordyn/>
- <ptbs_inpath/>
- <ptbs_maindiag/>
- </ptbs>
- <inpt>
- <cntrcnty/>
- <chrgernm/>
- <tel/>
- <faxno/>
- <appernm/>
- <patrela/>
- <appmthd/>
- <limitamt/>
- <fromdd/>
- <todd/>
- <remfact/>
- <mngtcnts/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <instcd/>
- <limitamt/>
- <fromdd/>
- <todd/>
- <endflagcd/>
- </inpt>
- </rcv>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- </roomcd>
- </init>
- <rcvflag>
- <flag>
- <chkcount/>
- </flag>
- </rcvflag>
- <check>
- <ptbs>
- <chkcount/>
- <ptbs_pid/>
- </ptbs>
- </check>
- <tmp/>
- <inpt>
- </inpt>
- <srchdiag>
- <selectedrdodiagkind/>
- <basedd/>
- <diagcd/>
- <diagnm/>
- <flag/>
- </srchdiag>
- <hosp>
- <hospinfo>
- <instcd/>
- <todd/>
- <fromdd/>
- <hospnm/>
- <hospgrde/>
- <bizmngrgstno/>
- <prsdnm/>
- <reprtel1/>
- <reprtel2/>
- <reprfaxno/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <detladdr/>
- <fulladdr/>
- <womediflag/>
- <proccorpcd/>
- <inducscorpcd/>
- <lossinsucorpcd/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <clamprsdnm/>
- <clamprsdrrgstno1/>
- <clamprsdrrgstno2/>
- <clamprsdtel/>
- <clamcnfmno/>
- <clamagtcd/>
- <loginid/>
- <password/>
- <hospengnm/>
- <prsdengnm/>
- <engaddr/>
- </hospinfo>
- </hosp>
- <speccode>
- <speccodelist>
- <cdgrupid/>
- <cdid/>
- <cdnm/>
- <detldesc/>
- <dispseq/>
- </speccodelist>
- </speccode>
- <sppiz00400>
- <rslt>
- <diaghngnm/>
- <diagcd/>
- <diagengnm/>
- <termcd/>
- </rslt>
- </sppiz00400>
- </hidden>
- <init>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- <P0010list>
- <P0010>
- <cdnm/>
- <cdid/>
- </P0010>
- </P0010list>
- <P0002list>
- <P0002>
- <cdnm/>
- <cdid/>
- </P0002>
- </P0002list>
- <P0447list>
- <P0447>
- <cdnm/>
- <cdid/>
- </P0447>
- </P0447list>
- <P0448list>
- <P0448>
- <cdnm/>
- <cdid/>
- </P0448>
- </P0448list>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/tlpmlist"/>
- <submission id="TRPMC00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/rcvflag"/>
- <submission id="TXPMC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5"/>
- <submission id="TRPMI00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data6" resultref="/root/hidden/check"/>
- <submission id="TRPMC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/rcvflag"/>
- <submission id="TRPMC00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/h_inpt/inpt"/>
- <submission id="TRPMC00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedate"/>
- <submission id="TRPMC00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/grdpmchlist"/>
- <submission id="TRPMC00606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/grdpmcheoaclist"/>
- <submission id="TRPMC00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/main/patinfo"/>
- <submission id="TRPMC00608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC00609" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/hosp"/>
- <submission id="TRPMC00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data6" resultref="/root/hidden/speccode"/>
- <submission id="TXPAI02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data7"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitialize(initflag)
- {
- switch(initflag) {
-
- case "0":
- model.resetInstanceNode("/root/send/data3");
- model.resetInstanceNode("/root/send/data4");
- model.resetInstanceNode("/root/send/data5");
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/hidden/original");
- model.resetInstanceNode("/root/hidden/rcv");
- model.resetInstanceNode("/root/hidden/rcvflag");
- model.resetInstanceNode("/root/main/grdpmcheoaclist/grdpmcheoaclist");
- model.refresh();
- break;
- case "1":
- model.resetInstanceNode("/root/send/data3");
- model.resetInstanceNode("/root/send/data4");
- model.resetInstanceNode("/root/send/data5");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/inpt");
- model.resetInstanceNode("/root/hidden/original");
- model.resetInstanceNode("/root/hidden/rcv");
- model.resetInstanceNode("/root/hidden/rcvflag");
- model.refresh();
- break;
- default:
- }
- }
-
- function fPatInfoSrch()
- {
- if (submit("TRPMC00601")) {
- var iptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
- if (iptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
-
- fPmchEoas();
- fPmchEoac();
-
- model.refresh();
- return false;
- } else {
- messageBox("환자인적이","I004");
- model.resetInstanceNode("/root/main/ptbs");
- model.refresh();
- return false;
- }
- }
- }
-
- function fPmchEoas()
- {
- model.setValue("/root/send/data2/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data2/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- submit("TRPMC00608")
-
- model.setvalue("/root/main/inpt/inpt_cntrcnty", model.getValue("/root/hidden/rcv/inpt/cntrcnty"));
- model.setvalue("/root/main/inpt/inpt_chrgernm", model.getValue("/root/hidden/rcv/inpt/chrgernm"));
- model.setvalue("/root/main/inpt/inpt_tel", model.getValue("/root/hidden/rcv/inpt/tel"));
- model.setvalue("/root/main/inpt/inpt_faxno", model.getValue("/root/hidden/rcv/inpt/faxno"));
- model.setvalue("/root/main/inpt/inpt_appernm", model.getValue("/root/hidden/rcv/inpt/appernm"));
- model.setvalue("/root/main/inpt/inpt_patrela", model.getValue("/root/hidden/rcv/inpt/patrela"));
- model.setvalue("/root/main/inpt/inpt_appmthd", model.getValue("/root/hidden/rcv/inpt/appmthd"));
- model.setvalue("/root/main/inpt/inpt_mngtcnts", model.getValue("/root/hidden/rcv/inpt/mngtcnts"));
-
- model.setvalue("/root/main/inpt/inpt_remfact", model.getValue("/root/hidden/rcv/inpt/remfact"));
- model.setvalue("/root/main/inpt/inpt_limitamt", model.getValue("/root/hidden/rcv/inpt/limitamt"));
- model.setvalue("/root/main/inpt/inpt_fromdd", model.getValue("/root/hidden/rcv/inpt/fromdd"));
- model.setvalue("/root/main/inpt/inpt_todd", model.getValue("/root/hidden/rcv/inpt/todd"));
- model.setvalue("/root/main/inpt/inpt_endflagcd", model.getValue("/root/hidden/rcv/inpt/endflagcd"));
-
- model.setvalue("/root/main/inpt/inpt_instcd", model.getValue("/root/hidden/rcv/inpt/instcd"));
- }
-
- function fPmchEoac()
- {
- model.setValue("/root/send/data2/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data2/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- submit("TRPMC00605")
- }
- function fRrgstNo1Veri()
- {
- var ptbs_rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
-
- if (ptbs_rrgstno1 != null && ptbs_rrgstno1 != "" && ptbs_rrgstno1 != " " && ptbs_rrgstno1 != "-")
- {
- if (ptbs_rrgstno1.length != 6)
- {
- messageBox("주민번호1은 6자리여야 합니다!","E999","");
- model.setFocus("ptbs_rrgstno1");
- model.refresh();
- return false;
- }
-
- if (ptbs_rrgstno1.isNumber() != true)
- {
- messageBox("주민번호1은 숫자형태로 입력되어야 합니다!","E999","");
- model.setFocus("ptbs_rrgstno1");
- model.refresh();
- return false;
- }
- }
- else
- {
- messageBox("주민번호1은 6자리여야 합니다!","E999","");
- model.setFocus("ptbs_rrgstno1");
- model.refresh();
- return false;
- }
- }
-
- function fHngNmVeri(gubn)
- {
- var ptbs_hngnm;
- if (gubn == "xforms-next") ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
- else if (gubn == "onkeypress" || gubn == "onkeyup")
- {
- ptbs_hngnm = (ipt_hngnm.currentText).toString();
- }
-
- //한글 한글자를 그냥 길이1로 계산
- if (eval((ptbs_hngnm.length).toString()) < 2)
- {
- messageBox("환자성명은 2글자 이상되어야 합니다!","E999","");
- model.setFocus("ipt_hngnm");
- return false;
- }
- }
-
- function fChangeCheck()
- {
- var tlpm_flag;
- var ins = document.models( 0 ).instances( 0 );
-
- var h_tlpm = ins.selectSingleNode("/root/temp/h_inpt/inpt");
- var o_tlpm = ins.selectSingleNode("/root/main/inpt");
-
- // model.resetInstanceNode("/root/send/s_ptbs");
-
- if (h_tlpm == null) {
- tlpm_flag = null; // 데이터가 없으면 인스턴스 노드가 없다.
- } else if (o_tlpm == null) {
- tlpm_flag = null;
- } else if (h_tlpm.xml == o_tlpm.xml) {
- tlpm_flag = null;
- messageBox("변경사항이","I004");
- return false;
- } else if (h_tlpm.xml != o_tlpm.xml){
- tlpm_flag = 'u'
- model.setValue("/root/main/inpt/inpt_status",tlpm_flag);
- //copyNodeType("/root/send/data5/s_tlpm","/root/main/tlpm","replace");
- return true;
- }
- }
-
- // 2008.05.23 최병진 추가
- // 숫자에 3자리마다 ',' 추가
- // ex) 123456789 -> 123,456,789
- function fGetMoneyTypeNumber(pValue) {
- var num = pValue.replace(/(^\s*)|(\s*$)/g, "");;
- while((/(-?[0-9]+)([0-9]{3})/).test(num)) {
- num = num.replace((/(-?[0-9]+)([0-9]{3})/), "$1,$2");
- }
- return num;
- }
-
- function fChoiValue(choiflag)
- {
- //전체, 진료과, 환자번호, 환자성명, 청구일, 관할시군구청, 청구액, 입금액, 입금일
- model.resetInstanceNode("/root/send/data1/refvalue");
- if (choiflag == '0') {
- cmb_reforddeptcd.visible = false;
- ipt_refinput.visible = false;
- ipt_refdate.visible = false;
- ipt_refamt.visible = false;
- cap_up.visible = false;
- } else if (choiflag == '1') {
- cmb_reforddeptcd.attribute("left") = "731px";
- cmb_reforddeptcd.attribute("top") = "457px";
- cmb_reforddeptcd.visible = true;
- ipt_refinput.visible = false;
- ipt_refdate.visible = false;
- ipt_refamt.visible = false;
- cap_up.visible = false;
- model.setFocus("cmb_reforddeptcd");
- } else if (choiflag == '2' || choiflag == '3' || choiflag == '5') {
- ipt_refinput.attribute("left") = "731px";
- ipt_refinput.attribute("top") = "457px";
- cmb_reforddeptcd.visible = false;
- ipt_refinput.visible = true;
- ipt_refdate.visible = false;
- ipt_refamt.visible = false;
- cap_up.visible = false;
- model.setFocus("ipt_refinput");
- } else if (choiflag == '8') {
- ipt_refdate.attribute("left") = "731px";
- ipt_refdate.attribute("top") = "457px";
- cmb_reforddeptcd.visible = false;
- ipt_refinput.visible = false;
- ipt_refdate.visible = true;
- ipt_refamt.visible = false;
- cap_up.visible = false;
- model.setFocus("ipt_refdate");
- } else if (choiflag == '6' || choiflag == '7') {
- ipt_refamt.attribute("left") = "731px";
- ipt_refamt.attribute("top") = "457px";
- cap_up.attribute("left") = "862px";
- cap_up.attribute("top") = "460px";
- cmb_reforddeptcd.visible = false;
- ipt_refinput.visible = false;
- ipt_refdate.visible = false;
- ipt_refamt.visible = true;
- cap_up.visible = true;
- model.setFocus("ipt_refamt");
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0008"),new Array("/root/init/P0008list"));
- zbcfGetCodeList(new Array("P0010"),new Array("/root/init/P0010list"));
- zbcfGetCodeList(new Array("P0002"),new Array("/root/init/P0002list"));
- zbcfGetCodeList(new Array("P0447"),new Array("/root/init/P0447list"));
- zbcfGetCodeList(new Array("P0448"),new Array("/root/init/P0448list"));
-
- model.setValue("/root/send/data5/sess_posinstcd", getUserInfo("posinstcd"));
- model.setValue("/root/send/data5/ioflag","I");
-
- // 공통코드조회
- submit("TRPMI00106");
-
- // 원무코드조회(P0009) 은행정보
- model.setValue("/root/send/data6/cdgrupid", "P0009");
- submit("TRPMC00610");
- /*
- var stodate = model.getValue("/root/hidden/init/flag/prestdd");
- model.setValue("/root/send/data1/issfromdd",stodate.substr(0,8));
- model.setValue("/root/send/data1/isstodd",stodate.substr(0,8));
- */
-
- model.removeNodeset("/root/main/grdpmchlist/grdpmcheoac");
- //model.resetInstanceNode("/root/main/item1/mchrginfo");
-
- model.setValue("/root/send/data1/issfromdd", getCurrentDate());
- model.setValue("/root/send/data1/isstodd", getCurrentDate());
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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="caption1" class="tit_1" style="left:0px; top:0px; width:100px; height:13px; font-family:돋움; vertical-align:middle; ">긴급복지관리</caption>
- </group>
- <group id="group3" class="line_3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:180px; top:455px; width:790px; height:24px; "/>
- <caption id="caption6" class="cell_1" style="left:839px; top:78px; width:80px; height:23px; vertical-align:middle; ">주상병</caption>
- <line id="line14" class="line_2" style="x1:0px; y1:161px; x2:1095px; y2:161px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:119px; width:170px; height:13px; ">등록사항</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:134px; x2:1194px; y2:134px; "/>
- <caption id="caption22" class="cell_1" style="left:665px; top:163px; width:80px; height:23px; text-align:left; vertical-align:middle; ">담당자</caption>
- <caption id="caption23" class="cell_1" style="left:0px; top:139px; width:88px; height:23px; text-align:left; vertical-align:middle; ">관할시군구청</caption>
- <caption id="caption24" class="cell_1" style="left:447px; top:163px; width:80px; height:23px; vertical-align:middle; ">관 계</caption>
- <caption id="caption25" class="cell_1" style="left:0px; top:163px; width:88px; height:23px; text-align:left; vertical-align:middle; ">신청인</caption>
- <input id="ipt_appernm" ref="/root/main/inpt/inpt_appernm" class="input_default" navindex="6" imemode="hangul" style="left:91px; top:164px; width:129px; height:19px; "/>
- <input id="ipt_cntrcnty" ref="/root/main/inpt/inpt_cntrcnty" class="input_default" navindex="5" imemode="hangul" style="left:91px; top:140px; width:129px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:883px; top:139px; width:80px; height:23px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <caption id="caption27" class="cell_1" style="left:223px; top:163px; width:88px; height:23px; vertical-align:middle; ">신청방법</caption>
- <input id="ipt_chrgernm" ref="/root/main/inpt/inpt_chrgernm" class="input_default" navindex="9" imemode="hangul" style="left:748px; top:164px; width:131px; height:19px; "/>
- <input id="ipt_tel" ref="/root/main/inpt/inpt_tel" class="input_default" navindex="10" style="left:966px; top:140px; width:129px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:883px; top:163px; width:80px; height:23px; text-align:left; vertical-align:middle; ">팩스번호</caption>
- <input id="ipt_faxno" ref="/root/main/inpt/inpt_faxno" class="input_default" navindex="11" style="left:966px; top:164px; width:129px; height:19px; "/>
- <caption id="caption42" class="tit_2" style="left:2px; top:283px; width:170px; height:13px; ">긴급지원 청구내역</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:219px; x2:598px; y2:219px; "/>
- <caption id="caption48" class="tit_2" style="left:5px; top:203px; width:170px; height:14px; ">퇴원참고사항</caption>
- <textarea id="tar_mngtcnts" ref="/root/main/inpt/inpt_remfact" imemode="hangul" style="left:0px; top:223px; width:598px; height:43px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:298px; x2:1194px; y2:298px; "/>
- <line id="line18" class="line_1" style="x1:0px; y1:480px; x2:1194px; y2:480px; "/>
- <caption id="caption53" class="tit_2" style="left:5px; top:465px; width:130px; height:13px; ">긴급복지 청구현황</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:453px; x2:1194px; y2:453px; "/>
- <button id="button5" class="btn5_letter6" style="left:1108px; top:278px; width:86px; height:19px; ">
- <caption>청구내역저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var cur_row = grd_pmcheoac.row;
- model.makeValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.makeValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/indd", model.getValue("/root/main/ptbs/ptbs_indd"));
-
- model.makeValue("/root/send/updatedate/grdpmcheoac",grd_pmcheoac.getUpdateData());
-
- if ( submit("TRPMC00604") ) {
- grd_pmcheoac.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- //model.copyNode("/root/main/grdpmchlist/grdpmcheoac", "/root/hidden/tmp");
- grd_pmcheoac.rebuild();
- }
-
- ]]>
- </script>
- </button>
- <input id="input14" ref="/root/send/data1/issfromdd" class="input_default" inputtype="date" style="left:278px; top:458px; width:97px; height:19px; "/>
- <input id="input25" ref="/root/send/data1/isstodd" class="input_default" inputtype="date" style="left:389px; top:458px; width:96px; height:19px; "/>
- <caption id="caption31" style="left:375px; top:461px; width:15px; height:16px; vertical-align:middle; ">~</caption>
- <button id="button9" class="btn2_letter2" style="left:1152px; top:5px; width:42px; height:19px; ">
- <caption>상병</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/srchdiag/selectedrdodiagkind","1");
- model.setValue("/root/hidden/srchdiag/basedd",getCurrentDate());
- model.setValue("/root/hidden/srchdiag/diagcd", "");
- model.setValue("/root/hidden/srchdiag/diagnm", "");
- model.setValue("/root/hidden/srchdiag/flag","D");
-
- modal("SPPIZ00400" ,"", "10", "10", "SPPIZ00400", "/root/hidden/srchdiag", "/root/init");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_3" style="x1:0px; y1:186px; x2:1194px; y2:186px; "/>
- <input id="input9" ref="/root/main/ptbs/ptbs_zipcd1" class="input_default" disabled="true" style="left:83px; top:79px; width:33px; height:19px; "/>
- <input id="ipt_indd" ref="/root/main/ptbs/ptbs_indd" class="input_default" disabled="true" inputtype="date" style="left:922px; top:31px; width:98px; height:19px; "/>
- <input id="ipt_rrgstno1" ref="/root/main/ptbs/ptbs_rrgstno1" class="input_default" disabled="true" navindex="3" maxlength="6" style="left:327px; top:31px; width:78px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/ptbs/ptbs_rrgstno2" class="input_default" disabled="true" navindex="4" maxlength="7" style="left:408px; top:31px; width:80px; height:19px; "/>
- <input id="ipt_pid" ref="/root/main/ptbs/ptbs_pid" class="input_essential" navindex="1" maxlength="10" style="left:83px; top:31px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if (event.keyCode=='13') {
-
- //조회전 클리어..
- model.resetInstanceNode("/root/send/data3");
- model.resetInstanceNode("/root/main/popupendflag");
- model.setValue("/root/send/data3/srchcond","1");
- model.setValue("/root/main/ptbs/ptbs_pid",ipt_pid.currentText);
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- // 환자의 입원내역 카운트 조회
- if (ipt_pid.currentText != "") {
- submit("TRPMC00607");
- }
- var chkcnt = getNodesetCount("/root/main/patinfo/patinfolist");
- //alert("chkcnt--->"+chkcnt);
-
- if (chkcnt > 0) {
- if (chkcnt > 1) {
- model.resetInstanceNode("/root/send/data3");
- model.setValue("/root/send/data3/srchcond","1");
- model.setValue("/root/main/ptbs/ptbs_pid",ipt_pid.currentText);
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
-
- // 입원내역조회 팝업
- modal("SSPMC00601", "1","150", "150", "SSPMC00601", "/root/send/data3", "/root/send");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
-
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/ptbs/ptbs_indd",model.getValue("/root/main/patinfo/patinfolist/indd"));
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- if (ipt_pid.currentText != "") {
- fPatInfoSrch();
- }
- model.refresh();
- } else {
- return false;
- }
- } else {
- //model.resetInstanceNode("/root/send/data3");
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/ptbs/ptbs_indd",model.getValue("/root/main/patinfo/patinfolist/indd"));
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- if (ipt_pid.currentText != "") {
- fPatInfoSrch();
- }
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_specordyn" ref="/root/main/ptbs/ptbs_specordyn" disabled="true" appearance="full" cols="2" overflow="visible" style="left:1093px; top:57px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:563px; top:30px; width:87px; height:23px; vertical-align:middle; ">진료과</caption>
- <input id="input10" ref="/root/main/ptbs/ptbs_zipcd2" class="input_default" disabled="true" style="left:119px; top:79px; width:33px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:1023px; top:30px; width:70; height:23px; vertical-align:middle; ">입원경로</caption>
- <caption id="caption3" class="cell_1" style="left:687px; top:78px; width:58px; height:23px; vertical-align:middle; ">보조유형</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; vertical-align:middle; ">성명[한글]</caption>
- <select1 id="cmb_inpath" ref="/root/main/ptbs/ptbs_inpath" disabled="true" appearance="minimal" style="left:1094px; top:31px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0002list/P0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_suppkind" ref="/root/main/ptbs/ptbs_suppkind" class="combo_default" disabled="true" appearance="minimal" style="left:747px; top:79px; width:88px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:563px; top:54px; width:87px; height:23px; vertical-align:middle; ">전문의/주치의</caption>
- <input id="ipt_dschdd" ref="/root/main/ptbs/ptbs_dschdd" class="input_default" disabled="true" inputtype="date" style="left:922px; top:55px; width:98px; height:19px; "/>
- <input id="input1" ref="/root/main/ptbs/ptbs_detladdr" class="input_default" disabled="true" style="left:326px; top:79px; width:170px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/ptbs/ptbs_hngnm" class="input_essential" navindex="2" imemode="hangul" style="left:83px; top:55px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // 2008.05.20 최병진 - 성명으로 조회 시 먼저 환자기본정보를 조회하고 선택된 환자의 환자번호를 기반으로 입원내역을 조회하도록 변경
- // 이전 버전은 ClearCase 2008.05.20 이전 날짜의 버전을 통해서 확인
- if (event.keyCode=='13') {
-
- if (fHngNmVeri("onkeypress") == false) return;
- //조회전 클리어..
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/send/data3");
- model.setValue("/root/send/data3/srchcond","2");
- model.setValue("/root/main/ptbs/ptbs_hngnm",ipt_hngnm.currentText);
- model.setValue("/root/send/data3/hngnm",model.getValue("/root/main/ptbs/ptbs_hngnm"));
- // 환자기초정보조회
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data3", "/root/send");
- model.resetInstanceNode("/root/send/data3");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- }
-
- // 입원내역조회
- if (model.getValue("/root/main/ptbs/ptbs_pid") != "") {
- submit("TRPMC00607");
- }
- var ptbs_chkcnt = getNodesetCount("/root/main/patinfo/patinfolist");
- if (ptbs_chkcnt > 0) {
- //ptbs의 자료가 한개이상일 경우 팝업을 띄워준다.
- if (ptbs_chkcnt > 1) {
-
- //조회전 클리어..
- model.resetInstanceNode("/root/send/data3");
- model.setValue("/root/send/data3/srchcond","1");
- //model.setValue("/root/main/ptbs/ptbs_pid",ipt_pid.currentText);
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
-
- modal("SSPMC00601", "1","150", "150", "SSPMC00601", "/root/send/data3", "/root/send");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/ptbs/ptbs_hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/ptbs/ptbs_indd",model.getValue("/root/main/patinfo/patinfolist/indd"));
- model.setValue("/root/send/data3/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- var sPid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (sPid != "") {
- fPatInfoSrch();
- }
-
- model.refresh();
- } else {
- return false;
- }
- } else {
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/ptbs/ptbs_hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/ptbs/ptbs_indd",model.getValue("/root/main/patinfo/patinfolist/indd"));
- model.setValue("/root/send/data3/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- var sPid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (sPid != "") {
- fPatInfoSrch();
- }
- model.refresh();
- }
- } else {
- messageBox("환자인적이","I004");
- model.resetInstanceNode("/root/main/ptbs");
- model.refresh();
- return false;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption36" class="cell_1" style="left:839px; top:30px; width:80px; height:23px; vertical-align:middle; ">입원일자</caption>
- <input id="input15" ref="/root/main/ptbs/ptbs_hometel" class="input_default" disabled="true" style="left:327px; top:55px; width:115px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:206px; top:54px; width:118px; height:23px; vertical-align:middle; ">연락처/휴대폰</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:78px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption37" class="cell_1" style="left:839px; top:54px; width:80px; height:23px; vertical-align:middle; ">퇴원일자</caption>
- <caption id="caption15" class="cell_1" style="left:498px; top:78px; width:62px; height:23px; vertical-align:middle; ">보험유형</caption>
- <input id="input2" ref="/root/main/ptbs/ptbs_mpphontel" class="input_default" disabled="true" style="left:445px; top:55px; width:115px; height:19px; "/>
- <input id="input16" ref="/root/main/ptbs/ptbs_zipnm" class="input_default" disabled="true" style="left:177px; top:79px; width:147px; height:19px; "/>
- <input id="input3" ref="/root/main/ptbs/ptbs_zipcdseq" disabled="true" style="left:155px; top:79px; width:19px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:30px; width:80px; height:23px; vertical-align:middle; ">환자번호</caption>
- <line id="line2" class="line_3" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
- <caption id="caption17" class="cell_1" style="left:1023px; top:54px; width:70; height:23px; vertical-align:middle; ">선택진료</caption>
- <input id="input4" ref="/root/main/ptbs/ptbs_sex" class="input_default" disabled="true" style="left:491px; top:31px; width:33px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:206px; top:30px; width:118px; height:23px; vertical-align:middle; ">주민번호/성별/나이</caption>
- <input id="input5" ref="/root/main/ptbs/ptbs_age" class="input_default" disabled="true" style="left:527px; top:31px; width:33px; height:19px; "/>
- <datagrid id="grd_pmcheoac" nodeset="/root/main/grdpmchlist/grdpmcheoac" caption="환자번호^접수일자^청구일자^청구금액^급여^비급여^선택진료비^입원일자^퇴원일자^적용일자^종료일자^입금액^입금일자^청구일련번호" colsep="^" colwidth="92, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:303px; width:1194px; height:149px; ">
- <col disabled="true" ref="pid" type="output" style="text-align:center; "/>
- <col ref="acptdd" type="inputdate" style="text-align:center; "/>
- <col ref="clamdd" type="inputdate" style="text-align:center; "/>
- <col ref="clamamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="nopyamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="choiordamt" type="input" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="indd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="dschdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appdd" type="inputdate" style="text-align:center; "/>
- <col ref="enddd" type="inputdate" style="text-align:center; "/>
- <col ref="rcptamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="rcptdd" type="inputdate" style="text-align:center; "/>
- <col disabled="true" ref="clamseqno" type="output"/>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode=='46') {
- var cur_row = grd_pmcheoac.row;
- grd_pmcheoac.deleteItem(cur_row);
- model.refresh();
- } else if (event.keyCode=='45') {
- grd_pmcheoac.addRow();
- var cur_row = grd_pmcheoac.row;
- model.setValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/indd", model.getValue("/root/main/ptbs/ptbs_indd"));
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_orddrid" ref="/root/main/ptbs/ptbs_medispclid" disabled="true" appearance="minimal" style="left:653px; top:55px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/main/ptbs/ptbs_insukind" class="combo_default" disabled="true" appearance="minimal" style="left:562px; top:79px; width:121px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/main/ptbs/ptbs_orddeptcd" disabled="true" appearance="minimal" style="left:653px; top:31px; width:183px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_atdoctid" ref="/root/main/ptbs/ptbs_atdoctid" disabled="true" appearance="minimal" style="left:746px; top:55px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line6" class="line_3" style="x1:0px; y1:267px; x2:598px; y2:267px; "/>
- <button id="button53" class="btn2_letter3" style="left:998px; top:278px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pmcheoac.addRow();
-
- var cur_row = grd_pmcheoac.row;
-
- model.setValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/main/grdpmchlist/grdpmcheoac[" + cur_row + "]/indd", model.getValue("/root/main/ptbs/ptbs_indd"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button54" class="btn2_letter3" style="left:1053px; top:278px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_pmcheoac.row;
- grd_pmcheoac.deleteItem(cur_row);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn5_letter2" style="left:954px; top:278px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/data2/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data2/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- submit("TRPMC00605")
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_pmchlist" nodeset="/root/main/grdpmcheoaclist/grdpmcheoaclist" caption="환자번호^환자성명^유형^성별^나이^입원일자^퇴원일자^진료과^전문의^청구금액^청구일자^입금금액^입금일자^관할시군구청^진단명" colsep="^" colwidth="67, 66, 68, 32, 32, 93, 97, 108, 66, 72, 97, 76, 104, 100, 253" dataheight="23" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:485px; width:1194px; height:256px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="indd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="medispclid" style="text-align:center; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="clamdd" type="inputdate" style="text-align:center; "/>
- <col ref="rcptamt" style="text-align:center; "/>
- <col ref="rcptdd" type="inputdate" style="text-align:center; "/>
- <col ref="cntrcnty"/>
- <col ref="diagnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var currentRow = grd_pmchlist.row;
- model.setValue("/root/main/ptbs/ptbs_pid",model.getValue("/root/main/grdpmcheoaclist/grdpmcheoaclist[" + currentRow + "]/pid"));
- model.setValue("/root/main/ptbs/ptbs_indd",model.getValue("/root/main/grdpmcheoaclist/grdpmcheoaclist[" + currentRow + "]/indd"));
- model.setValue("/root/send/data3/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
-
- var sPid = model.getValue("/root/main/grdpmcheoaclist/grdpmcheoaclist/pid");
- if (sPid != "") {
- fPatInfoSrch();
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_pmchlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_appmthd" ref="/root/main/inpt/inpt_appmthd" appearance="minimal" style="left:314px; top:164px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0447list/P0447">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_patrela" ref="/root/main/inpt/inpt_patrela" appearance="minimal" style="left:531px; top:164px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0448list/P0448">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_uncyprint" class="btn2_letter2" style="left:910px; top:278px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2008.05.22 긴급지원 청구내역 기반으로 출력
- var selectedRow = grd_pmcheoac.row;
- if (selectedRow < 1) {
- messageBox("출력할 청구내역을", "C002");
- return false;
- } else {
- // 병원정보조회
- submit("TRPMC00609");
- var claimAppdd = model.getValue("/root/main/grdpmchlist/grdpmcheoac/appdd");
- var claimEnddd = model.getValue("/root/main/grdpmchlist/grdpmcheoac/enddd");
- var ctrtDate = getCurrentDate();
-
- var yearFrom = claimAppdd.substr(0, 4);
- var monthFrom = claimAppdd.substr(4, 2);
- var dayFrom = claimAppdd.substr(6, 2);
-
- var yearTo = claimEnddd.substr(0, 4);
- var monthTo = claimEnddd.substr(4, 2);
- var dayTo = claimEnddd.substr(6, 2);
-
- var ctrtYear = ctrtDate.substr(0, 4);
- var ctrtMonth = ctrtDate.substr(4, 2);
- var ctrtDay = ctrtDate.substr(6, 2);
-
- var koreanAmt = model.getValue("/root/main/grdpmchlist/grdpmcheoac/clamamt").setAmountToKorean();
- var numberAmt = fGetMoneyTypeNumber(model.getValue("/root/main/grdpmchlist/grdpmcheoac/clamamt"));
- var claimAmt = "금 " + koreanAmt + "원정" + "(₩" + numberAmt + ")";
-
- model.setValue("/root/main/ugcy_print/pat_pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/main/ugcy_print/pat_hngnm", model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/main/ugcy_print/pat_rrgstno", (model.getValue("/root/main/ptbs/ptbs_rrgstno1").concat(model.getValue("/root/main/ptbs/ptbs_rrgstno2"))));
- model.setValue("/root/main/ugcy_print/pat_addr", (model.getValue("/root/main/ptbs/ptbs_zipnm").concat(model.getValue("/root/main/ptbs/ptbs_detladdr"))));
- model.setValue("/root/main/ugcy_print/minst_name", model.getValue("/root/hidden/hosp/hospinfo/hospnm"));
- model.setValue("/root/main/ugcy_print/minst_prsd", model.getValue("/root/hidden/hosp/hospinfo/prsdnm"));
- model.setValue("/root/main/ugcy_print/minst_bizmngrgstno", model.getValue("/root/hidden/hosp/hospinfo/bizmngrgstno"));
- model.setValue("/root/main/ugcy_print/minst_addr", model.getValue("/root/hidden/hosp/hospinfo/fulladdr"));
- model.setValue("/root/main/ugcy_print/minst_phone", model.getValue("/root/hidden/hosp/hospinfo/reprtel1"));
- model.setValue("/root/main/ugcy_print/minst_yearfrom", yearFrom);
- model.setValue("/root/main/ugcy_print/minst_monthfrom", monthFrom);
- model.setValue("/root/main/ugcy_print/minst_dayfrom", dayFrom);
- model.setValue("/root/main/ugcy_print/minst_yearto", yearTo);
- model.setValue("/root/main/ugcy_print/minst_monthto", monthTo);
- model.setValue("/root/main/ugcy_print/minst_dayto", dayTo);
- model.setValue("/root/main/ugcy_print/claimamt", claimAmt);
- model.setValue("/root/main/ugcy_print/bank_name", model.getValue("/root/hidden/speccode/speccodelist[(cdid = 'B')]/cdnm"));
- model.setValue("/root/main/ugcy_print/bank_acount", model.getValue("/root/hidden/speccode/speccodelist[(cdid = 'A')]/cdnm"));
- model.setValue("/root/main/ugcy_print/bank_owner", model.getValue("/root/hidden/speccode/speccodelist[(cdid = 'O')]/cdnm"));
- model.setValue("/root/main/ugcy_print/ctrt_year", ctrtYear);
- model.setValue("/root/main/ugcy_print/ctrt_month", ctrtMonth);
- model.setValue("/root/main/ugcy_print/ctrt_day", ctrtDay);
- model.setValue("/root/main/ugcy_print/ctrt_name", model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/main/ugcy_print/ctrt_inst_name", model.getValue("/root/hidden/hosp/hospinfo/hospnm"));
- model.setValue("/root/main/ugcy_print/ctrt_inst_prsd", model.getValue("/root/hidden/hosp/hospinfo/prsdnm"));
- model.setValue("/root/main/ugcy_print/ctrt_to", model.getValue("/root/main/inpt/inpt_cntrcnty"));
-
- // 긴급지원비용 청구서 출력
- exeReportPreview("RPPMC00600", "XMLSTR", "", "", "true", "", "", "", "", "Y","", "", "", "", "", "", "");
- //exeReportPreview("RPPMC00600", "XMLSTR" , "" , "" , "true" , "", "", "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_listprint" class="btn2_letter2" visibility="hidden" style="left:1087px; top:460px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:460px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "긴금복지청구현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_pmchlist.saveExcel(fileName, "grd_pmchlist", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_reference" class="btn5_letter2" style="left:923px; top:458px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- submit("TRPMC00606")
-
- ]]>
- </script>
- </button>
- <input id="input6" ref="/root/main/ptbs/ptbs_maindiag" class="input_default" disabled="true" style="left:922px; top:79px; width:270px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:223px; top:139px; width:88px; height:23px; text-align:left; vertical-align:middle; ">한도액</caption>
- <input id="input7" ref="/root/main/inpt/inpt_limitamt" class="input_default" navindex="5" imemode="hangul" format="#,###" style="left:314px; top:140px; width:129px; height:19px; text-align:right; "/>
- <input id="input8" ref="/root/main/inpt/inpt_fromdd" class="input_default" navindex="5" imemode="hangul" inputtype="date" style="left:531px; top:140px; width:129px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:447px; top:139px; width:80px; height:23px; text-align:left; vertical-align:middle; ">지원기간</caption>
- <input id="input11" ref="/root/main/inpt/inpt_todd" class="input_default" navindex="5" imemode="hangul" inputtype="date" style="left:681px; top:140px; width:129px; height:19px; "/>
- <caption id="caption13" style="left:665px; top:144px; width:15px; height:11px; ">~</caption>
- <textarea id="textarea1" ref="/root/main/inpt/inpt_mngtcnts" imemode="hangul" style="left:603px; top:223px; width:590px; height:43px; "/>
- <caption id="caption16" class="tit_2" style="left:608px; top:203px; width:170px; height:14px; ">관리내용</caption>
- <line id="line11" class="line_3" style="x1:603px; y1:267px; x2:1193px; y2:267px; "/>
- <line id="line12" class="line_1" style="x1:603px; y1:219px; x2:1193px; y2:219px; "/>
- <button id="button3" class="btn5_letter6" style="left:511px; top:199px; width:86px; height:19px; ">
- <caption>참고사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data7/inpt_pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data7/inpt_remfact",model.getValue("/root/main/inpt/inpt_remfact"));
- model.setValue("/root/send/data7/inpt_instcd",model.getValue("/root/main/inpt/inpt_instcd"));
- submit("TXPAI02201");
- ]]>
- </script>
- </button>
- <caption id="caption32" class="search_name" style="left:189px; top:458px; width:90px; height:17px; ">청구일자 :</caption>
- <caption id="caption18" class="search_name" style="left:558px; top:458px; width:67px; height:17px; ">구분 :</caption>
- <line id="line40" class="line_4" style="x1:913px; y1:459px; x2:913px; y2:476px; "/>
- <select1 id="combo1" ref="/root/send/data1/refflag" appearance="minimal" style="left:621px; top:457px; width:109px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>진료과별</label>
- <value>1</value>
- </item>
- <item>
- <label>환자번호별</label>
- <value>2</value>
- </item>
- <item>
- <label>환자성명별</label>
- <value>3</value>
- </item>
- <item>
- <label>관할시군구청별</label>
- <value>5</value>
- </item>
- <item>
- <label>청구액별</label>
- <value>6</value>
- </item>
- <item>
- <label>입금액별</label>
- <value>7</value>
- </item>
- <item>
- <label>입금일별</label>
- <value>8</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var choiflag = model.getValue("/root/send/data1/refflag");
- //검색조건
- fChoiValue(choiflag);
-
- // model.removeNodeset("/root/main/gridlist");
- // model.makeNode("/root/main/gridlist/roominfolist");
- // model.makeNode("/root/main/gridlist/roominfolistprint");
- // model.resetInstanceNode("/root/main/gridlist/item");
- // model.refresh();
- //
- // if (choiflag == '1' || choiflag == '9' || choiflag == '10' || choiflag == '11') {
- // submit("TRPMB00301");
- //
- // }
-
- ]]>
- </script>
- </select1>
- <input id="ipt_refamt" ref="/root/send/data1/refvalue" class="input_default" navindex="11" visibility="hidden" format="#,###" style="left:782px; top:457px; width:129px; height:19px; "/>
- <input id="ipt_refdate" ref="/root/send/data1/refvalue" class="input_default" navindex="11" visibility="hidden" inputtype="date" style="left:767px; top:457px; width:129px; height:19px; "/>
- <input id="ipt_refinput" ref="/root/send/data1/refvalue" class="input_default" navindex="11" visibility="hidden" style="left:747px; top:457px; width:129px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- var choiflag = model.getValue("/root/send/data1/refflag");
- if (choiflag == '2') {
- if(event.keyCode == "13") {
- setInputNodeCurText();
- //model.setValue("/root/send/search1/pid",model.getValue("/root/main/primaryInfo/pid"));
- model.setValue("/root/send/search1/pid",model.getValue("/root/send/data1/refvalue"));
- model.setValue("/root/send/search1/srchcond","1");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- model.setValue("/root/send/data1/refvalue",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- inputEnterKey("btn_reference", "DOMActivate");
- }
- } else if (choiflag == '3') {
- if(event.keyCode == "13") {
- setInputNodeCurText();
- model.setValue("/root/send/search1/hngnm",model.getValue("/root/send/data1/refvalue"));
- model.setValue("/root/send/search1/srchcond","2");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- model.setValue("/root/send/data1/refvalue",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- inputEnterKey("btn_reference", "DOMActivate");
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_reforddeptcd" ref="/root/send/data1/refvalue" appearance="minimal" style="left:731px; top:457px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_up" visibility="hidden" style="left:974px; top:461px; width:30px; height:15px; ">이상</caption>
- <bool id="ipt_clamddyn" navindex="8" checkvalue="Y,N" appearance="bool" ref="/root/send/data1/clamddyn" style="left:490px; top:460px; width:15px; height:20px; text-align:center; "/>
- <caption id="caption19" style="left:505px; top:462px; width:30px; height:15px; ">제외</caption>
- <caption id="caption21" class="cell_1" style="left:1101px; top:139px; width:40px; height:46px; text-align:center; vertical-align:middle; ">
- <![CDATA[종결
- 구분]]>
- </caption>
- <select1 id="rdo_endflagcd" ref="/root/main/inpt/inpt_endflagcd" appearance="full" overflow="visible" style="left:1144px; top:145px; width:45px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>종결</label>
- <value>1</value>
- </item>
- <item>
- <label>계속</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group6" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button6" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize("0");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //기존자료가 존재하는지를 체크한다.
- model.resetInstanceNode("/root/send/data2");
- model.resetInstanceNode("/root/hidden/rcvflag/flag/chkcount");
-
- model.setValue("/root/send/data2/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data2/indd",model.getValue("/root/main/ptbs/ptbs_indd"));
- submit("TRPMC00602")
-
- var ichkcount = model.getValue("/root/hidden/rcvflag/flag/chkcount");
- //데이터 존재 - 컨트롤 값이 변경되었는지 체크하여 변경시 업데이트
- if (ichkcount > 0) {
- tlpm_flag = 'u'
- model.makenode("/root/temp/h_inpt/inpt");
- model.makenode("/root/main/inpt/inpt_pid");
- model.makenode("/root/main/inpt/inpt_indd");
- model.makenode("/root/main/inpt/inpt_status");
-
- model.copynode("/root/temp/h_inpt/inpt", "/root/main/inpt");
- model.setValue("/root/temp/h_inpt/inpt/inpt_pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/temp/h_inpt/inpt/inpt_indd",model.getValue("/root/main/ptbs/ptbs_indd"));
- model.setValue("/root/temp/h_inpt/inpt/inpt_status",tlpm_flag);
-
- model.setValue("/root/send/data2/instcd",model.getValue("/root/main/ptbs/ptbs_instcd"));
-
- submit("TRPMC00603")
- //데이터 미존재 - 신규저장
- } else {
- tlpm_flag = 'i'
- model.makenode("/root/temp/h_inpt/inpt");
- model.makenode("/root/main/inpt/inpt_pid");
- model.makenode("/root/main/inpt/inpt_indd");
- model.makenode("/root/main/inpt/inpt_status");
-
- model.copynode("/root/temp/h_inpt/inpt", "/root/main/inpt");
- model.setValue("/root/temp/h_inpt/inpt/inpt_pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/temp/h_inpt/inpt/inpt_indd",model.getValue("/root/main/ptbs/ptbs_indd"));
- model.setValue("/root/temp/h_inpt/inpt/inpt_status",tlpm_flag);
-
- model.setValue("/root/send/data2/instcd",model.getValue("/root/main/ptbs/ptbs_instcd"));
-
- submit("TRPMC00603")
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" style="left:0px; top:5px; width:115px; height:22px; ">
- <caption>퇴원수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPAI00100");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button1" class="btn3_letter3" style="left:81px; top:5px; width:80px; height:22px; ">
- <caption>진단서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/patinfo");
-
- model.makeNode("/root/main/patinfo/pid");
- model.makeNode("/root/main/patinfo/hngnm");
- model.makeNode("/root/main/patinfo/age");
- model.makeNode("/root/main/patinfo/brthdd");
- model.makeNode("/root/main/patinfo/rrgstno1");
- model.makeNode("/root/main/patinfo/addr");
- model.makeNode("/root/main/patinfo/hometel");
-
- model.setValue("/root/main/patinfo/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/main/patinfo/age", model.getValue("/root/main/ptbs/ptbs_age"));
- var rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
- var rrgstno = rrgstno1 + '-' + rrgstno2;
- model.setValue("/root/main/patinfo/rrgstno1", rrgstno);
-
- var today = getCurrentDate().substring(0,4);
- var yy = rrgstno1.substring(0,2);
- var dd = rrgstno1.substring(2,6);
- var brthdd = (parseInt(today) - parseInt(yy) + 1).toString(10) + dd;
- model.setValue("/root/main/patinfo/brthdd", brthdd);
- var addr1 = model.getValue("/root/main/ptbs/ptbs_zipnm");
- var addr2 = model.getValue("/root/main/ptbs/ptbs_detladdr");
- var addr = addr1 + " " + addr2;
- model.setValue("/root/main/patinfo/addr", addr);
- model.setValue("/root/main/patinfo/hometel", model.getValue("/root/main/ptbs/ptbs_hometel"));
-
-
- modal("../../../emr/medirecweb/xrw/SMMMR02900_제증명관리", "1","10", "150", "SMMMR02900", "/root/main/patinfo", "/root/main/patinfo");
-
- model.removenode("/root/main/patinfo");
- model.makeNode("/root/main/patinfo/patinfolist");
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter6" style="left:150px; top:5px; width:104px; height:22px; ">
- <caption>특이환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/main/patinfo/patinfolist/pid");
- model.makeNode("/root/main/patinfo/patinfolist/hngnm");
- model.makeNode("/root/main/patinfo/patinfolist/rrgstno1");
- model.makeNode("/root/main/patinfo/patinfolist/rrgstno2");
-
- modal("../../../pam/patinfomngtweb/xrw/SMPMC01300_특이환자관리", "1","10", "150", "SMPMC01300", "/root/main/patinfo/patinfolist", "/root/main/patinfo/patinfolist");
-
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|