12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMI03000" position="absolute 0 0 700 629" titletext="외출외박확인" onload="SPPMI03000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="외출외박확인" class="tit_1" position="absolute 0 0 140 25"/>
- <Div id="grp" taborder="1" class="div_SA" position="absolute 0 25 700 60" anchor="left top right">
- <Layouts>
- <Layout width="700" height="35">
- <Button id="btn_srch" taborder="15" text="조회" class="btn1" position="absolute 630 7 686 29" onclick="grp_btn_srch_onclick" anchor="top right"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 612 7 618 29" anchor="top right"/>
- <Static id="caption50" text="조회구분 :" class="search_name" position="absolute 215 9 301 26" anchor="left top"/>
- <Combo id="cmb_srchcond1" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 295 8 385 27" onitemchanged="grp_cmb_srchcond1_onitemchanged" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">원무승인전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">귀원전</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption25" text="조회일자 :" class="search_name" position="absolute 15 9 101 26" anchor="left top"/>
- <Calendar id="ipt_gootdd" taborder="17" position="absolute 96 8 196 27" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null" onkeydown="group2_ipt_gootdd_onkeydown" anchor="left top"/>
- <Static id="caption20" text="병동 :" class="search_name" position="absolute 404 9 466 26" anchor="left top"/>
- <Combo id="combo1" taborder="18" innerdataset="@ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" position="absolute 462 8 596 27" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="외출외박내역" class="tit_2" position="absolute 0 339 155 356" anchor="left bottom"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 85 700 91" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_gootspotlist" taborder="2" binddataset="ds_main_gosolist" useinputpanel="false" position="absolute 0 90 700 331" oncellclick="grd_gootspotlist_oncellclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="53" band="left"/>
- <Column size="70" band="left"/>
- <Column size="80" band="left"/>
- <Column size="84"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="108"/>
- <Column size="100"/>
- <Column size="88"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="120"/>
- <Column size="90"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자성명"/>
- <Cell col="4" text="병실"/>
- <Cell col="5" text="외출일자"/>
- <Cell col="6" text="외출시간"/>
- <Cell col="7" text="귀원일자"/>
- <Cell col="8" text="귀원시간"/>
- <Cell col="9" text="실귀원일자"/>
- <Cell col="10" text="실귀원시간"/>
- <Cell col="11" text="귀원확인여부"/>
- <Cell col="12" text="외출사유"/>
- <Cell col="13" text="연락처1"/>
- <Cell col="14" text="연락처2"/>
- <Cell col="15" text="진료과"/>
- <Cell col="16" text="담당교수"/>
- <Cell col="17" text="병동"/>
- <Cell col="18" text="병실"/>
- <Cell col="19" displaytype="normal" text="보험유형"/>
- <Cell col="20" text="승인의사"/>
- <Cell col="21" text="원무승인자"/>
- <Cell col="22" text="실귀원확인자"/>
- <Cell col="23" text="불승인사유"/>
- <Cell col="24" text="비고"/>
- <Cell col="25" text="최초접수자"/>
- <Cell col="26" text="최초접수일시"/>
- <Cell col="27" text="최종수정담당자"/>
- <Cell col="28" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" text="bind:goso_acptflagcd" combodataset="ds_static_acptflagcd" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" text="bind:goso_pid"/>
- <Cell col="3" text="bind:goso_hngnm"/>
- <Cell col="4" text="bind:goso_roomcd"/>
- <Cell col="5" displaytype="date" style="align:center middle;" text="bind:goso_gootdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="expr:utlf_isNull(goso_goottm) ? 'none' : 'normal'" style="align:center middle;" text="bind:goso_goottm" mask="##:##"/>
- <Cell col="7" displaytype="date" style="align:center middle;" text="bind:goso_rtndd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="8" displaytype="expr:utlf_isNull(goso_rtntm) ? 'none' : 'normal'" style="align:center middle;" text="bind:goso_rtntm" mask="##:##"/>
- <Cell col="9" displaytype="date" text="bind:goso_orgrtndd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="expr:utlf_isNull(goso_orgrtntm) ? 'none' : 'normal'" text="bind:goso_orgrtntm" mask="##:##"/>
- <Cell col="11" text="bind:goso_rtncnfmyn"/>
- <Cell col="12" text="bind:goso_gootresn"/>
- <Cell col="13" text="bind:goso_tel1"/>
- <Cell col="14" text="bind:goso_tel2"/>
- <Cell col="15" displaytype="combo" text="bind:goso_orddeptcd" combodataset="ds_hidden_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="16" text="bind:goso_atdoctid"/>
- <Cell col="17" displaytype="combo" text="bind:goso_wardcd" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="18" displaytype="combo" text="bind:goso_roomcd" combodataset="ds_hidden_init_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="19" displaytype="combo" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="20" text="bind:goso_appid"/>
- <Cell col="21" text="bind:goso_pamacptid"/>
- <Cell col="22" text="bind:goso_orgrtnacptid"/>
- <Cell col="23" text="bind:goso_nonaprvresn"/>
- <Cell col="24" text="bind:goso_rem"/>
- <Cell col="25" text="bind:goso_fstrgstrid"/>
- <Cell col="26" displaytype="date" text="bind:goso_fstrgstdt" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="27" text="bind:goso_lastupdtrid"/>
- <Cell col="28" displaytype="date" text="bind:goso_lastupdtdt" mask="yyyy-MM-dd HH:mm:ss"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption9" text="외출외박확인" class="tit_2" position="absolute 0 68 106 85" anchor="left top"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 1 487 697 493" anchor="left bottom"/>
- <Edit id="opt_sex" taborder="3" readonly="true" position="absolute 520 363 557 382" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;align:center middle;" enable="false" anchor="left bottom"/>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 1 513 697 519" anchor="left bottom"/>
- <Combo id="cmb_goottm" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 206 415 255 434" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">01</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">02</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">03</Col>
- </Row>
- <Row>
- <Col id="codecolumn">04</Col>
- <Col id="datacolumn">04</Col>
- </Row>
- <Row>
- <Col id="codecolumn">05</Col>
- <Col id="datacolumn">05</Col>
- </Row>
- <Row>
- <Col id="codecolumn">06</Col>
- <Col id="datacolumn">06</Col>
- </Row>
- <Row>
- <Col id="codecolumn">07</Col>
- <Col id="datacolumn">07</Col>
- </Row>
- <Row>
- <Col id="codecolumn">08</Col>
- <Col id="datacolumn">08</Col>
- </Row>
- <Row>
- <Col id="codecolumn">09</Col>
- <Col id="datacolumn">09</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">11</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">13</Col>
- </Row>
- <Row>
- <Col id="codecolumn">14</Col>
- <Col id="datacolumn">14</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15</Col>
- </Row>
- <Row>
- <Col id="codecolumn">16</Col>
- <Col id="datacolumn">16</Col>
- </Row>
- <Row>
- <Col id="codecolumn">17</Col>
- <Col id="datacolumn">17</Col>
- </Row>
- <Row>
- <Col id="codecolumn">18</Col>
- <Col id="datacolumn">18</Col>
- </Row>
- <Row>
- <Col id="codecolumn">19</Col>
- <Col id="datacolumn">19</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">21</Col>
- <Col id="datacolumn">21</Col>
- </Row>
- <Row>
- <Col id="codecolumn">22</Col>
- <Col id="datacolumn">22</Col>
- </Row>
- <Row>
- <Col id="codecolumn">23</Col>
- <Col id="datacolumn">23</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="ipt_rem" taborder="5" enable="false" position="absolute 103 493 698 512" anchor="left right bottom"/>
- <Combo id="cmb_rtntm" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 206 440 255 459" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">01</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">02</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">03</Col>
- </Row>
- <Row>
- <Col id="codecolumn">04</Col>
- <Col id="datacolumn">04</Col>
- </Row>
- <Row>
- <Col id="codecolumn">05</Col>
- <Col id="datacolumn">05</Col>
- </Row>
- <Row>
- <Col id="codecolumn">06</Col>
- <Col id="datacolumn">06</Col>
- </Row>
- <Row>
- <Col id="codecolumn">07</Col>
- <Col id="datacolumn">07</Col>
- </Row>
- <Row>
- <Col id="codecolumn">08</Col>
- <Col id="datacolumn">08</Col>
- </Row>
- <Row>
- <Col id="codecolumn">09</Col>
- <Col id="datacolumn">09</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">11</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">13</Col>
- </Row>
- <Row>
- <Col id="codecolumn">14</Col>
- <Col id="datacolumn">14</Col>
- </Row>
- <Row>
- <Col id="codecolumn">15</Col>
- <Col id="datacolumn">15</Col>
- </Row>
- <Row>
- <Col id="codecolumn">16</Col>
- <Col id="datacolumn">16</Col>
- </Row>
- <Row>
- <Col id="codecolumn">17</Col>
- <Col id="datacolumn">17</Col>
- </Row>
- <Row>
- <Col id="codecolumn">18</Col>
- <Col id="datacolumn">18</Col>
- </Row>
- <Row>
- <Col id="codecolumn">19</Col>
- <Col id="datacolumn">19</Col>
- </Row>
- <Row>
- <Col id="codecolumn">20</Col>
- <Col id="datacolumn">20</Col>
- </Row>
- <Row>
- <Col id="codecolumn">21</Col>
- <Col id="datacolumn">21</Col>
- </Row>
- <Row>
- <Col id="codecolumn">22</Col>
- <Col id="datacolumn">22</Col>
- </Row>
- <Row>
- <Col id="codecolumn">23</Col>
- <Col id="datacolumn">23</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_rtntmmin" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 276 440 325 459" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 1 539 697 545" anchor="left bottom"/>
- <Calendar id="ipt_rtndd" taborder="8" enable="false" position="absolute 103 440 203 459" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" oneditclick="ipt_rtndd_oneditclick" anchor="left bottom"/>
- <MaskEdit id="ipt_orgrtntm" taborder="9" mask="##:##" position="absolute 205 545 255 564" type="string" maskchar=" " style="align:center middle;" autoselect="true" autoskip="true" ontextchange="ipt_orgrtntm_ontextchange" anchor="left bottom"/>
- <CheckBox id="ipt_rtncnfmyn" taborder="10" position="absolute 520 545 570 564" falsevalue="N" truevalue="Y" onclick="ipt_rtncnfmyn_onclick" anchor="left bottom"/>
- <Shape id="line11" linetype="horizontal" class="line_3" position="absolute 0 591 697 597" anchor="left right bottom"/>
- <Edit id="opt_hngnm" taborder="11" readonly="true" position="absolute 309 363 414 382" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;align:center middle;" enable="false" anchor="left bottom"/>
- <Edit id="ipt_nonaprvresn" taborder="12" enable="false" position="absolute 309 519 698 538" anchor="left right bottom"/>
- <Static id="caption21" text="진료과" class="cell_1" position="absolute 0 387 100 410" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption1" text="귀원일시" class="cell_1" position="absolute 0 439 100 462" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption10" text="비고" class="cell_1" position="absolute 0 491 100 514" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption22" text="담당교수" class="cell_1" position="absolute 206 387 306 410" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption11" text="시" position="absolute 258 414 273 434" anchor="left bottom"/>
- <Edit id="opt_pid" taborder="13" readonly="true" position="absolute 103 363 203 382" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;align:center middle;" enable="false" anchor="left bottom"/>
- <Static id="caption12" text="분" position="absolute 330 414 345 434" anchor="left bottom"/>
- <Static id="caption3" text="외출사유" class="cell_1" position="absolute 0 465 100 488" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Combo id="cmb_roomcd" taborder="14" innerdataset="@ds_hidden_init_roomcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 620 389 698 408" anchor="left right bottom"/>
- <Edit id="ipt_tel1" taborder="15" enable="false" position="absolute 520 415 698 434" anchor="left right bottom"/>
- <Static id="caption4" text="연락처1" class="cell_1" position="absolute 417 413 517 436" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption13" text="시" position="absolute 258 440 273 460" anchor="left bottom"/>
- <Static id="caption24" text="귀원확인여부" class="cell_1" position="absolute 417 543 517 566" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Static id="caption5" text="환자번호" class="cell_1" position="absolute 0 361 100 384" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Combo id="cmb_goottmmin" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 276 415 325 434" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">00</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption14" text="분" position="absolute 330 440 345 460" anchor="left bottom"/>
- <Edit id="ipt_tel2" taborder="17" enable="false" position="absolute 520 440 698 459" anchor="left right bottom"/>
- <Combo id="cmb_orddeptcd" taborder="18" innerdataset="@ds_hidden_init_orddeptcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 103 389 203 408" anchor="left bottom"/>
- <Calendar id="input1" taborder="19" enable="false" position="absolute 103 415 203 434" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" oneditclick="input1_oneditclick" anchor="left bottom"/>
- <Static id="caption15" text="연락처2" class="cell_1" position="absolute 417 439 517 462" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Combo id="cmb_gootresn" taborder="20" innerdataset="@ds_init_P0418list" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 103 467 698 486" anchor="left right bottom"/>
- <Calendar id="ipt_orgrtndd" taborder="21" position="absolute 103 545 203 564" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onkillfocus="ipt_orgrtndd_onkillfocus" anchor="left bottom"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 1 383 697 389" anchor="left bottom"/>
- <Static id="caption7" text="환자명" class="cell_1" position="absolute 206 361 306 384" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Combo id="cmb_wardcd" taborder="22" innerdataset="@ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 520 389 618 408" anchor="left bottom"/>
- <Combo id="cmb_acptflagcd" taborder="23" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" enable="false" position="absolute 103 519 203 538" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">승인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">불승인</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption16" text="불승인사유" class="cell_1" position="absolute 206 517 306 540" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Edit id="opt_age" taborder="24" readonly="true" position="absolute 559 363 596 382" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;align:center middle;" enable="false" anchor="left bottom"/>
- <Static id="caption8" text="성별/나이/보험" class="cell_1" position="absolute 417 361 517 384" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 1 409 697 415" anchor="left bottom"/>
- <Static id="caption17" text="승인여부" class="cell_1" position="absolute 0 517 100 540" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Combo id="cmb_atdoctid" taborder="25" innerdataset="@ds_hidden_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 309 389 414 408" anchor="left bottom"/>
- <Static id="caption29" text="병동/병실1" class="cell_1" position="absolute 417 387 517 410" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 1 435 697 441" anchor="left bottom"/>
- <Static id="caption18" text="외출일시" class="cell_1" position="absolute 0 413 100 436" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 1 461 697 467" anchor="left bottom"/>
- <Static id="caption19" text="실제귀원일시" class="cell_1" position="absolute 0 543 100 566" style="padding:0 0 0 3;" anchor="left bottom"/>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 0 356 700 362" anchor="left right bottom"/>
- <Button id="btn_exit" taborder="26" text="종료" class="btn4" position="absolute 643 602 699 624" onclick="btn_exit_onclick" anchor="right bottom"/>
- <Button id="btn_app" taborder="27" text="저장" class="btn4" position="absolute 585 602 641 624" onclick="btn_app_onclick" anchor="right bottom"/>
- <Combo id="combo2" taborder="28" innerdataset="@ds_hidden_init_insukind" codecolumn="cd" datacolumn="nm" class="combo_default" enable="true" position="absolute 598 363 698 382" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;align:center middle;" anchor="left right bottom"/>
- <Button id="button1" taborder="29" text="신청서출력" class="btn3" position="absolute 491 602 583 624" onclick="button1_onclick" anchor="right bottom" visible="false"/>
- <Button id="button3" taborder="30" text="자보신청서출력" class="btn3" position="absolute 0 602 116 624" anchor="left bottom" visible="false" onclick="button3_onclick"/>
- <Button id="btn_app02" taborder="31" text="신청 및 동의서출력" class="btn3" position="absolute 234 602 371 624" onclick="btn_app02_onclick" anchor="right bottom"/>
- <Static id="caption00" text="신청의" class="cell_1" position="absolute 0 569 100 592" anchor="left bottom" style="padding:0 0 0 3;"/>
- <Combo id="cmb_atdoctid00" taborder="32" innerdataset="@ds_hidden_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 103 571 203 590" anchor="left bottom"/>
- <Shape id="line00" class="line_2" position="absolute 1 565 697 571" anchor="left bottom"/>
- <Calendar id="ipt_orgrtndd00" taborder="33" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onkillfocus="ipt_orgrtndd_onkillfocus" position="absolute 309 571 409 590" anchor="left bottom" enable="false"/>
- <MaskEdit id="ipt_orgrtntm00" taborder="34" type="string" mask="##:##" maskchar=" " autoselect="true" autoskip="true" ontextchange="ipt_orgrtntm_ontextchange" position="absolute 412 571 462 590" anchor="left bottom" style="align:center middle;" enable="false"/>
- <Static id="caption20" text="신청일시" class="cell_1" position="absolute 206 569 306 592" anchor="left bottom" style="padding:0 0 0 3;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond1" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="goso_status" type="STRING" size="256"/>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- <Column id="gootdd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond1">3</Col>
- <Col id="pid"/>
- <Col id="goso_status"/>
- <Col id="sess_posinstcd">012</Col>
- <Col id="gootdd"/>
- <Col id="wardcd"/>
- <Col id="formcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_gosolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="INT" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원 기관코드"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태(코드군 P0040 참조)"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드(1.신청 2.승인 3.불승인)"/>
- <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
- <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
- <Column id="appid" type="STRING" size="256" sumtext="신청 담당자 ID"/>
- <Column id="pamacptdd" type="STRING" size="256" sumtext="원무 접수일자"/>
- <Column id="pamacpttm" type="STRING" size="256" sumtext="원무 접수시간"/>
- <Column id="pamacptid" type="STRING" size="256" sumtext="원무 접수 담당자 ID"/>
- <Column id="gootdd" type="STRING" size="256" sumtext="외출일자"/>
- <Column id="goottm" type="STRING" size="256" sumtext="외출시간"/>
- <Column id="goottmtm" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="goottmmin" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="rtndd" type="STRING" size="256" sumtext="귀가일자"/>
- <Column id="rtntm" type="STRING" size="256" sumtext="귀가시간"/>
- <Column id="rtntmtm" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="rtntmmin" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="orgrtndd" type="STRING" size="256" sumtext="실제귀가일자"/>
- <Column id="orgrtntm" type="STRING" size="256" sumtext="실제귀가시간"/>
- <Column id="orgrtnacptid" type="STRING" size="256" sumtext="귀가 접수 담당자 ID"/>
- <Column id="rtncnfmyn" type="STRING" size="256" sumtext="귀가확인여부"/>
- <Column id="tel1" type="STRING" size="256" sumtext="전화번호1"/>
- <Column id="tel2" type="STRING" size="256" sumtext="전화번호2"/>
- <Column id="gootresn" type="STRING" size="256" sumtext="외출사유"/>
- <Column id="nonaprvresn" type="STRING" size="256" sumtext="불승인사유"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="zipnm" type="STRING" size="256" sumtext="주소"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="atdoctidnm" type="STRING" size="256" sumtext="주치의이름"/>
- <Column id="appidnm" type="STRING" size="256" sumtext="승인의사"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="signdata" type="BLOB" size="256" sumtext="서명이미지"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goso_oncolumnchanged">
- <ColumnInfo>
- <Column id="goso_status" type="STRING" size="256"/>
- <Column id="goso_pid" type="STRING" size="256"/>
- <Column id="goso_indd" type="STRING" size="256"/>
- <Column id="goso_cretno" type="STRING" size="256"/>
- <Column id="goso_seqno" type="STRING" size="256"/>
- <Column id="goso_instcd" type="STRING" size="256"/>
- <Column id="goso_histstat" type="STRING" size="256"/>
- <Column id="goso_acptflagcd" type="STRING" size="256"/>
- <Column id="goso_appdd" type="STRING" size="256"/>
- <Column id="goso_apptm" type="STRING" size="256"/>
- <Column id="goso_appid" type="STRING" size="256"/>
- <Column id="goso_pamacptdd" type="STRING" size="256"/>
- <Column id="goso_pamacpttm" type="STRING" size="256"/>
- <Column id="goso_pamacptid" type="STRING" size="256"/>
- <Column id="goso_orddeptcd" type="STRING" size="256"/>
- <Column id="goso_atdoctid" type="STRING" size="256"/>
- <Column id="goso_wardcd" type="STRING" size="256"/>
- <Column id="goso_roomcd" type="STRING" size="256"/>
- <Column id="goso_gootdd" type="STRING" size="256"/>
- <Column id="goso_goottm" type="STRING" size="256"/>
- <Column id="goso_goottmtm" type="STRING" size="256"/>
- <Column id="goso_goottmmin" type="STRING" size="256"/>
- <Column id="goso_rtndd" type="STRING" size="256"/>
- <Column id="goso_rtntm" type="STRING" size="256"/>
- <Column id="goso_rtntmtm" type="STRING" size="256"/>
- <Column id="goso_rtntmmin" type="STRING" size="256"/>
- <Column id="goso_orgrtndd" type="STRING" size="256"/>
- <Column id="goso_orgrtntm" type="STRING" size="256"/>
- <Column id="goso_orgrtnacptid" type="STRING" size="256"/>
- <Column id="goso_rtncnfmyn" type="STRING" size="256"/>
- <Column id="goso_tel1" type="STRING" size="256"/>
- <Column id="goso_tel2" type="STRING" size="256"/>
- <Column id="goso_gootresn" type="STRING" size="256"/>
- <Column id="goso_nonaprvresn" type="STRING" size="256"/>
- <Column id="goso_rem" type="STRING" size="256"/>
- <Column id="goso_fstrgstrid" type="STRING" size="256"/>
- <Column id="goso_fstrgstdt" type="STRING" size="256"/>
- <Column id="goso_lastupdtrid" type="STRING" size="256"/>
- <Column id="goso_lastupdtdt" type="STRING" size="256"/>
- <Column id="goso_hngnm" type="STRING" size="256"/>
- <Column id="goso_sex" type="STRING" size="256"/>
- <Column id="goso_age" type="STRING" size="256"/>
- <Column id="goso_insukind" type="STRING" size="256"/>
- <Column id="goso_addr" type="STRING" size="256"/>
- <Column id="goso_rrgstno" type="STRING" size="256"/>
- <Column id="goso_signdata" type="BLOB" size="256" sumtext="서명이미지"/>
- <Column id="goso_appidnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goso_status"/>
- <Col id="goso_pid"/>
- <Col id="goso_indd"/>
- <Col id="goso_cretno"/>
- <Col id="goso_seqno"/>
- <Col id="goso_instcd"/>
- <Col id="goso_histstat"/>
- <Col id="goso_acptflagcd"/>
- <Col id="goso_appdd"/>
- <Col id="goso_apptm"/>
- <Col id="goso_appid"/>
- <Col id="goso_pamacptdd"/>
- <Col id="goso_pamacpttm"/>
- <Col id="goso_pamacptid"/>
- <Col id="goso_orddeptcd"/>
- <Col id="goso_atdoctid"/>
- <Col id="goso_wardcd"/>
- <Col id="goso_roomcd"/>
- <Col id="goso_gootdd"/>
- <Col id="goso_goottm"/>
- <Col id="goso_goottmtm"/>
- <Col id="goso_goottmmin"/>
- <Col id="goso_rtndd"/>
- <Col id="goso_rtntm"/>
- <Col id="goso_rtntmtm"/>
- <Col id="goso_rtntmmin"/>
- <Col id="goso_orgrtndd"/>
- <Col id="goso_orgrtntm"/>
- <Col id="goso_orgrtnacptid"/>
- <Col id="goso_rtncnfmyn"/>
- <Col id="goso_tel1"/>
- <Col id="goso_tel2"/>
- <Col id="goso_gootresn"/>
- <Col id="goso_nonaprvresn"/>
- <Col id="goso_rem"/>
- <Col id="goso_fstrgstrid"/>
- <Col id="goso_fstrgstdt"/>
- <Col id="goso_lastupdtrid"/>
- <Col id="goso_lastupdtdt"/>
- <Col id="goso_hngnm"/>
- <Col id="goso_sex"/>
- <Col id="goso_age"/>
- <Col id="goso_insukind"/>
- <Col id="goso_signdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0418list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- <Column id="up" type="STRING" size="256"/>
- <Column id="io" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- <Column id="deptengabbr2" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- <Column id="dp" type="STRING" size="256"/>
- <Column id="sp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- <Column id="of" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="id" type="STRING" size="256"/>
- <Column id="gr" type="STRING" size="256"/>
- <Column id="ty" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prestdd" type="STRING" size="256"/>
- <Column id="mskindflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_rcv_gosolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="INT" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원 기관코드"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태(코드군 P0040 참조)"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드(1.신청 2.승인 3.불승인)"/>
- <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
- <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
- <Column id="appid" type="STRING" size="256" sumtext="신청 담당자 ID"/>
- <Column id="pamacptdd" type="STRING" size="256" sumtext="원무 접수일자"/>
- <Column id="pamacpttm" type="STRING" size="256" sumtext="원무 접수시간"/>
- <Column id="pamacptid" type="STRING" size="256" sumtext="원무 접수 담당자 ID"/>
- <Column id="gootdd" type="STRING" size="256" sumtext="외출일자"/>
- <Column id="goottm" type="STRING" size="256" sumtext="외출시간"/>
- <Column id="goottmtm" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="goottmmin" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="rtndd" type="STRING" size="256" sumtext="귀가일자"/>
- <Column id="rtntm" type="STRING" size="256" sumtext="귀가시간"/>
- <Column id="rtntmtm" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="rtntmmin" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="orgrtndd" type="STRING" size="256" sumtext="실제귀가일자"/>
- <Column id="orgrtntm" type="STRING" size="256" sumtext="실제귀가시간"/>
- <Column id="orgrtnacptid" type="STRING" size="256" sumtext="귀가 접수 담당자 ID"/>
- <Column id="rtncnfmyn" type="STRING" size="256" sumtext="귀가확인여부"/>
- <Column id="tel1" type="STRING" size="256" sumtext="전화번호1"/>
- <Column id="tel2" type="STRING" size="256" sumtext="전화번호2"/>
- <Column id="gootresn" type="STRING" size="256" sumtext="외출사유"/>
- <Column id="nonaprvresn" type="STRING" size="256" sumtext="불승인사유"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="zipnm" type="STRING" size="256" sumtext="주소"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="atdoctidnm" type="STRING" size="256" sumtext="주치의이름"/>
- <Column id="appidnm" type="STRING" size="256" sumtext="승인의사"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_static_acptflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">신청</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">승인</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">불승인</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_original_gosolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_ocrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAGNO"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formfromdt" type="STRING" size="256" sumtext="서식시작일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_s_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goso_oncolumnchanged">
- <ColumnInfo>
- <Column id="goso_status" type="STRING" size="256"/>
- <Column id="goso_pid" type="STRING" size="256"/>
- <Column id="goso_indd" type="STRING" size="256"/>
- <Column id="goso_cretno" type="STRING" size="256"/>
- <Column id="goso_seqno" type="STRING" size="256"/>
- <Column id="goso_instcd" type="STRING" size="256"/>
- <Column id="goso_histstat" type="STRING" size="256"/>
- <Column id="goso_acptflagcd" type="STRING" size="256"/>
- <Column id="goso_appdd" type="STRING" size="256"/>
- <Column id="goso_apptm" type="STRING" size="256"/>
- <Column id="goso_appid" type="STRING" size="256"/>
- <Column id="goso_pamacptdd" type="STRING" size="256"/>
- <Column id="goso_pamacpttm" type="STRING" size="256"/>
- <Column id="goso_pamacptid" type="STRING" size="256"/>
- <Column id="goso_orddeptcd" type="STRING" size="256"/>
- <Column id="goso_atdoctid" type="STRING" size="256"/>
- <Column id="goso_wardcd" type="STRING" size="256"/>
- <Column id="goso_roomcd" type="STRING" size="256"/>
- <Column id="goso_gootdd" type="STRING" size="256"/>
- <Column id="goso_goottm" type="STRING" size="256"/>
- <Column id="goso_goottmtm" type="STRING" size="256"/>
- <Column id="goso_goottmmin" type="STRING" size="256"/>
- <Column id="goso_rtndd" type="STRING" size="256"/>
- <Column id="goso_rtntm" type="STRING" size="256"/>
- <Column id="goso_rtntmtm" type="STRING" size="256"/>
- <Column id="goso_rtntmmin" type="STRING" size="256"/>
- <Column id="goso_orgrtndd" type="STRING" size="256"/>
- <Column id="goso_orgrtntm" type="STRING" size="256"/>
- <Column id="goso_orgrtnacptid" type="STRING" size="256"/>
- <Column id="goso_rtncnfmyn" type="STRING" size="256"/>
- <Column id="goso_tel1" type="STRING" size="256"/>
- <Column id="goso_tel2" type="STRING" size="256"/>
- <Column id="goso_gootresn" type="STRING" size="256"/>
- <Column id="goso_nonaprvresn" type="STRING" size="256"/>
- <Column id="goso_rem" type="STRING" size="256"/>
- <Column id="goso_fstrgstrid" type="STRING" size="256"/>
- <Column id="goso_fstrgstdt" type="STRING" size="256"/>
- <Column id="goso_lastupdtrid" type="STRING" size="256"/>
- <Column id="goso_lastupdtdt" type="STRING" size="256"/>
- <Column id="goso_hngnm" type="STRING" size="256"/>
- <Column id="goso_sex" type="STRING" size="256"/>
- <Column id="goso_age" type="STRING" size="256"/>
- <Column id="goso_insukind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goso_status"/>
- <Col id="goso_pid"/>
- <Col id="goso_indd"/>
- <Col id="goso_cretno"/>
- <Col id="goso_seqno"/>
- <Col id="goso_instcd"/>
- <Col id="goso_histstat"/>
- <Col id="goso_acptflagcd"/>
- <Col id="goso_appdd"/>
- <Col id="goso_apptm"/>
- <Col id="goso_appid"/>
- <Col id="goso_pamacptdd"/>
- <Col id="goso_pamacpttm"/>
- <Col id="goso_pamacptid"/>
- <Col id="goso_orddeptcd"/>
- <Col id="goso_atdoctid"/>
- <Col id="goso_wardcd"/>
- <Col id="goso_roomcd"/>
- <Col id="goso_gootdd"/>
- <Col id="goso_goottm"/>
- <Col id="goso_goottmtm"/>
- <Col id="goso_goottmmin"/>
- <Col id="goso_rtndd"/>
- <Col id="goso_rtntm"/>
- <Col id="goso_rtntmtm"/>
- <Col id="goso_rtntmmin"/>
- <Col id="goso_orgrtndd"/>
- <Col id="goso_orgrtntm"/>
- <Col id="goso_orgrtnacptid"/>
- <Col id="goso_rtncnfmyn"/>
- <Col id="goso_tel1"/>
- <Col id="goso_tel2"/>
- <Col id="goso_gootresn"/>
- <Col id="goso_nonaprvresn"/>
- <Col id="goso_rem"/>
- <Col id="goso_fstrgstrid"/>
- <Col id="goso_fstrgstdt"/>
- <Col id="goso_lastupdtrid"/>
- <Col id="goso_lastupdtdt"/>
- <Col id="goso_hngnm"/>
- <Col id="goso_sex"/>
- <Col id="goso_age"/>
- <Col id="goso_insukind"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.combo1" propid="value" datasetid="ds_send" columnid="wardcd"/>
- <BindItem id="item1" compid="grp.cmb_srchcond1" propid="value" datasetid="ds_send" columnid="srchcond1"/>
- <BindItem id="item2" compid="grp.ipt_gootdd" propid="value" datasetid="ds_send" columnid="gootdd"/>
- <BindItem id="item3" compid="opt_pid" propid="value" datasetid="ds_main_goso" columnid="goso_pid"/>
- <BindItem id="item4" compid="opt_hngnm" propid="value" datasetid="ds_main_goso" columnid="goso_hngnm"/>
- <BindItem id="item5" compid="opt_sex" propid="value" datasetid="ds_main_goso" columnid="goso_sex"/>
- <BindItem id="item6" compid="opt_age" propid="value" datasetid="ds_main_goso" columnid="goso_age"/>
- <BindItem id="item7" compid="combo2" propid="value" datasetid="ds_main_goso" columnid=""/>
- <BindItem id="item8" compid="cmb_roomcd" propid="value" datasetid="ds_main_goso" columnid="goso_roomcd"/>
- <BindItem id="item9" compid="cmb_wardcd" propid="value" datasetid="ds_main_goso" columnid="goso_wardcd"/>
- <BindItem id="item10" compid="cmb_atdoctid" propid="value" datasetid="ds_main_goso" columnid="goso_atdoctid"/>
- <BindItem id="item11" compid="cmb_orddeptcd" propid="value" datasetid="ds_main_goso" columnid="goso_orddeptcd"/>
- <BindItem id="item12" compid="input1" propid="value" datasetid="ds_main_goso" columnid="goso_gootdd"/>
- <BindItem id="item13" compid="ipt_rtndd" propid="value" datasetid="ds_main_goso" columnid="goso_rtndd"/>
- <BindItem id="item14" compid="cmb_rtntm" propid="value" datasetid="ds_main_goso" columnid="goso_rtntmtm"/>
- <BindItem id="item15" compid="cmb_goottm" propid="value" datasetid="ds_main_goso" columnid="goso_goottmtm"/>
- <BindItem id="item16" compid="cmb_goottmmin" propid="value" datasetid="ds_main_goso" columnid="goso_goottmmin"/>
- <BindItem id="item17" compid="cmb_rtntmmin" propid="value" datasetid="ds_main_goso" columnid="goso_rtntmmin"/>
- <BindItem id="item18" compid="ipt_tel1" propid="value" datasetid="ds_main_goso" columnid="goso_tel1"/>
- <BindItem id="item19" compid="ipt_tel2" propid="value" datasetid="ds_main_goso" columnid="goso_tel2"/>
- <BindItem id="item20" compid="cmb_gootresn" propid="value" datasetid="ds_main_goso" columnid="goso_gootresn"/>
- <BindItem id="item21" compid="ipt_rem" propid="value" datasetid="ds_main_goso" columnid="goso_rem"/>
- <BindItem id="item22" compid="cmb_acptflagcd" propid="value" datasetid="ds_main_goso" columnid="goso_acptflagcd"/>
- <BindItem id="item23" compid="ipt_nonaprvresn" propid="value" datasetid="ds_main_goso" columnid="goso_nonaprvresn"/>
- <BindItem id="item24" compid="ipt_orgrtndd" propid="value" datasetid="ds_main_goso" columnid="goso_orgrtndd"/>
- <BindItem id="item25" compid="ipt_orgrtntm" propid="value" datasetid="ds_main_goso" columnid="goso_orgrtntm"/>
- <BindItem id="item26" compid="ipt_rtncnfmyn" propid="value" datasetid="ds_main_goso" columnid="goso_rtncnfmyn"/>
- <BindItem id="item27" compid="cmb_atdoctid00" propid="value" datasetid="ds_main_goso" columnid="goso_appid"/>
- <BindItem id="item28" compid="ipt_orgrtndd00" propid="value" datasetid="ds_main_goso" columnid="goso_appdd"/>
- <BindItem id="item29" compid="ipt_orgrtntm00" propid="value" datasetid="ds_main_goso" columnid="goso_apptm"/>
- </Bind>
- <InitValue>
- <Combo id="cmb_atdoctid" codecolumn="cd" datacolumn="nm" innerdataset="@ds_hidden_init_orddrid"/>
- <Combo id="cmb_atdoctid00" codecolumn="cd" datacolumn="nm" innerdataset="@ds_hidden_init_orddrid"/>
- </InitValue>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'emr_prcpmngtxp::SMMMO00100.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * 외출외박환자리스트 조회
- * @return {[type]} [description]
- */
- function fQuery() {
- dsf_createDsRow('ds_req', [
- { col: 'srchcond1', type: 'string', size: 256, val: '' },
- { col: 'gootdd', type: 'string', size: 256, val: '' },
- { col: 'wardcd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'goso_caller', type: 'string', size: 256, val: '' }
- ], false);
- ds_req.copyRow(0, ds_send, 0);
- ds_hidden_rcv_gosolist.clearData();
- var oParam = {};
- oParam.id = "TRPMI01101";
- oParam.service = "ipatmngtapp.GoOtSpOtPat";
- oParam.method = "reqGetGoOtSpOtList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_rcv_gosolist=goso";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_gosolist, 'goso_');
- ds_hidden_rcv_gosolist.copyData(ds_tmp, false);
- // dsf_setTypeFormat(ds_hidden_rcv_gosolist, "goso_cretno:INT^goso_seqno:INT");
- if (arErrorCode.pop("TRPMI01101") > -1) {
- ds_main_goso.enableevent = false;
- ds_main_goso.clearData();
- ds_main_goso.addRow();
- ds_main_goso.enableevent = true;
- ds_hidden_original_gosolist.copyData(ds_hidden_rcv_gosolist, false);
- ds_hidden_rcv_gosolist.filter('goso_acptflagcd != ""');
- ds_main_gosolist.copyData(ds_hidden_rcv_gosolist, true);
- }
- }
- /**
- * fOCRSave
- * @return {[type]} [description]
- */
- function fOCRSave() {
- // 파라미터 세팅
- var ocrtagno = ds_main_ocrinfo.getColumn(0, "ocrtag");
- var pid = ds_main_goso.getColumn(0, "goso_pid");
- var orddd = ds_main_goso.getColumn(0, "goso_indd");
- var cretno = ds_main_goso.getColumn(0, "goso_cretno");
- var ordtype = "I";
- var orddeptcd = ds_main_goso.getColumn(0, "goso_orddeptcd");
- var orddrid = ds_main_goso.getColumn(0, "goso_atdoctid");
- var formcd = ds_main_ocrinfo.getColumn(0, "formcd");
- var formfromdt = ds_main_ocrinfo.getColumn(0, "formfromdt");
- var pagecnt = "1";
- if (!fSaveOCRIF(ocrtagno, pid, orddd, cretno, ordtype, orddeptcd, orddrid, formcd, formfromdt, "", "", pagecnt)) {
- sysf_messageBox("통합기록 연동중 오류가 발생하였습니다. ", "C999");
- return false;
- }
- }
- /**
- * [fChangeSave description]
- * @param {[type]} arg1 [description]
- * @return {[type]} [description]
- */
- function fChangeSave(arg1) {
- var goso_flag = null;
- goso_flag = arg1;
- ds_send_s_goso.clearData();
- if (goso_flag == 'C') { // 확인등록 Routin
- // 필수입력항목체크
- var sValCheck = fValCheck();
- if (sValCheck != 'Y') {
- sysf_messageBox(sValCheck, "I004");
- return;
- }
- ds_send_s_goso.copyRow(ds_send_s_goso.addRow(), ds_main_goso, 0);
- ds_send_s_goso.setColumn(0, "goso_status", goso_flag);
- }
- else {
- sysf_messageBox("변경된 내역이", "I004");
- return;
- }
- if (ds_main_goso.getColumn(0, "goso_rtncnfmyn") != 'Y') {
- if (sysf_messageBox("귀원확인여부가 체크되지 않았습니다. 수정하시겠습니까?", "Q") == "6") {
- return;
- }
- }
- if (goso_flag == 'C') {
- dsf_createDsRow('ds_res', [
- { col: 'goso_count', type: 'string', size: 256, val: '' },
- { col: 'goso_pid', type: 'string', size: 256, val: '' },
- { col: 'goso_indd', type: 'string', size: 256, val: '' },
- { col: 'goso_cretno', type: 'string', size: 256, val: '' }
- ], false);
-
- ds_res.copyData(ds_send_s_goso);
- eraseFixed(ds_res, 'goso_');
- dsf_setTypeFormat(ds_res, "cretno:INT^seqno:INT");
- var oParam = {};
- oParam.id = "TXPMI01101";
- oParam.service = "ipatmngtapp.GoOtSpOtPat";
- oParam.method = "reqSetGoOtSpOt";
- oParam.inds = "s_goso=ds_res";
- oParam.outds = "ds_res=result";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else {
- sysf_messageBox("변경된 내역이", "I004");
- }
- if (ds_res.getColumn(0, "goso_count") == '1') {
- fQuery();
- }
- }
- /**
- * 타겟 데이터셋의 컬럼에서 고정문자열을 지운다
- * @param {[type]} target: Dataset [description]
- * @param {[type]} fixedStr [description]
- * @return {[type]} [description]
- */
- function eraseFixed(target: Dataset, fixedStr){
- if(target.rowcount < 1 || target.colcount < 1){
- return;
- }
- for(var i = 0; i < target.colcount; i++){
- var colId = String(target.getColID(i)).replace(fixedStr, '');
- target.updateColID(i, colId);
- }
- }
- /**
- * 전과신청내역의 필수 입력항목 체크
- * @return {[type]} [description]
- */
- function fValCheck() {
- var rtn = "Y";
- var goso_pid = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_pid"));
- var goso_indd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_indd"));
- var goso_cretno = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_cretno"));
- var goso_histstat = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_histstat"));
- var goso_acptflagcd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_acptflagcd"));
- var goso_appdd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_appdd"));
- var goso_apptm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_apptm"));
- var goso_gootdd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_gootdd"));
- var goso_goottmtm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_goottmtm"));
- var goso_goottmmin = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_goottmmin"));
- var goso_rtndd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_rtndd"));
- var goso_rtntmtm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_rtntmtm"));
- var goso_rtntmmin = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_rtntmmin"));
- var goso_orgrtndd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_orgrtndd"));
- var goso_orgrtntm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_orgrtntm"));
- var goso_nonaprvresn = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_nonaprvresn"));
- var goso_rtncnfmyn = utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_rtncnfmyn"));
- if (goso_pid == "") {
- rtn = "환자등록번호가";
- }
- else if (goso_indd == "") {
- rtn = "입원일자가";
- }
- else if (goso_cretno == "") {
- rtn = "입원등록키가";
- }
- else if (goso_histstat == "") {
- rtn = "상태값이";
- }
- else if (goso_acptflagcd == "") {
- rtn = "접수상태가";
- }
- else if (goso_appdd == "") {
- rtn = "신청일자가";
- }
- else if (goso_apptm == "") {
- rtn = "신청시간이";
- }
- else if (goso_gootdd == "") {
- rtn = "외출일자가";
- }
- else if (goso_goottmtm == "") {
- rtn = "외출시간중 시가";
- }
- else if (goso_goottmmin == "") {
- rtn = "외출시간중 분이";
- }
- else if (goso_rtndd == "") {
- rtn = "귀원일자가";
- }
- else if (goso_rtntmtm == "") {
- rtn = "귀원시간중 시가";
- }
- else if (goso_rtntmmin == "") {
- rtn = "귀원시간중 분이";
- }
- else if (ds_main_goso.getColumn(0, "goso_rtncnfmyn") == 'Y') {
- if (goso_orgrtndd == "") {
- rtn = "실제귀원일자가";
- }
- else if (goso_orgrtntm == "") {
- rtn = "실제귀원시간이";
- }
- }
- else if (goso_rtncnfmyn == "") {
- rtn = "귀원확인여부가";
- }
- if (goso_acptflagcd == '1') {
- rtn = "승인여부가";
- }
- else if (goso_acptflagcd == '3') {
- rtn = "불승인 건은 확인처리할수";
- }
- // 외출시간이나 귀원시간에서 시와 분으로 나누어진것을 더해서 데이터 저장을 한다.
- if (rtn == 'Y') {
- ds_main_goso.setColumn(0,"goso_goottm", goso_goottmtm + goso_goottmmin);
- ds_main_goso.setColumn(0,"goso_rtntm", goso_rtntmtm + goso_rtntmmin);
- }
- return rtn;
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SPPMI03000_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- appf_getCodeList([{ dsNm: 'ds_init_P0418list', cdGrpId: 'P0418' }]);
- ds_hidden_init_disccd.clearData();
- ds_hidden_init_insukind.clearData();
- ds_hidden_init_suppkind.clearData();
- ds_hidden_init_orddeptcd.clearData();
- ds_hidden_init_orddrid.clearData();
- ds_hidden_init_wardcd.clearData();
- ds_hidden_init_roomcd.clearData();
- ds_hidden_init_flag.clearData();
-
- dsf_createDsRow('ds_req', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'dridsorttype', type: 'string', size: 256, val: '' }
- ], false);
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_init_disccd=disccd ds_hidden_init_insukind=insukind "
- + "ds_hidden_init_suppkind=suppkind ds_hidden_init_orddeptcd=orddeptcd ds_hidden_init_orddrid=orddrid "
- + "ds_hidden_init_wardcd=wardcd ds_hidden_init_roomcd=roomcd ds_hidden_init_flag=flag";
- oParam.async = false;
- tranf_submit(oParam);
- ds_send.setColumn(0, "gootdd", utlf_getCurrentDate());
- var spid = '';
- if(typeof(ds_hidden_target) != 'undefined'){
- spid = ds_hidden_target.getColumn(0, "pid");
- }
- if (spid != "") {
- ds_send.setColumn(0, "pid", spid);
- fQuery();
- }
- else {
- // 상단정보체크 2007.10.20 간호요청
- var paminfo = sysf_getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
- if (paminfo.length > 0) { //원무 정보(기본 정보)가 있는 경우
- dsf_setCSVToDs('ds_main_paminfo', paminfo);
- var pid = ds_main_paminfo.getColumn(0, "pid");
- ds_send.setColumn(0, "pid", pid);
- ds_send.setColumn(0, "wardcd", ds_main_paminfo.getColumn(0, "wardcd"));
- fQuery();
- }
- else {
- //ds_send.setColumn(0, "wardcd" ,getUserInfo("dutplcecd")); // 사용자(접속자)의 병동코드를 가져온다.
- fQuery();
- }
- }
-
- if (sysf_getUserInfo("dutplceinstcd") != "031") {
- button1.visible = true;
- }
- }
- /**
- * 조회일자 키보드 입력 이벤트
- * @param {[type]} obj: Calendar [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function group2_ipt_gootdd_onkeydown(obj: Calendar, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_srch.click();
- }
- }
- /**
- * 조회구분 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_cmb_srchcond1_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- var ipatrefflag = e.postvalue;
- if (ipatrefflag == '3' || ipatrefflag == '4') {
- grp.btn_srch.click();
- }
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_btn_srch_onclick(obj: Button, e: ClickEventInfo) {
- fQuery();
- }
- /**
- * 외출외박확인 그리드 셀 클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grd_gootspotlist_oncellclick(obj: Grid, e: GridClickEventInfo) {
- var currow = grd_gootspotlist.currentrow;
- if (currow < 0) {
- return false;
- }
- // 각종환자정보 조회 ( 현재 선택된 재원내역 Row )
- ds_main_goso.copyRow(0, ds_main_gosolist, currow);
- var srtncnfmyn = ds_main_goso.getColumn(0, "goso_rtncnfmyn");
- var sgoottm = String(ds_main_goso.getColumn(0, "goso_goottm"));
- var srtntm = String(ds_main_goso.getColumn(0, "goso_rtntm"));
- var sgoottmtm = sgoottm.substr(0, 2);
- var sgoottmmin = sgoottm.substr(2, 2);
- var srtntmtm = srtntm.substr(0, 2);
- var srtntmmin = srtntm.substr(2, 2);
- ds_main_goso.setColumn(0, "goso_goottmtm", sgoottmtm);
- ds_main_goso.setColumn(0, "goso_goottmmin", sgoottmmin);
- ds_main_goso.setColumn(0, "goso_rtntmtm", srtntmtm);
- ds_main_goso.setColumn(0, "goso_rtntmmin", srtntmmin);
- if (srtncnfmyn == "Y") {
- ipt_orgrtndd.enable = false;
- ipt_orgrtntm.enable = false;
- }
- else {
- ipt_orgrtndd.enable = true;
- ipt_orgrtntm.enable = true;
- }
- // 자보의 경우 보험유형 배경색 설정
- if (ds_main_goso.getColumn(0, "goso_insukind") == "31") {
- combo2.style.backgroundColor = "#ff99cc";
- }
- else {
- combo2.style.backgroundColor = "#ECEBEC";
- }
- }
- /**
- * ds_main_goso 데이터셋 컬럼 변경 후 이벤트
- * @param {[type]} obj: Dataset [description]
- * @param {[type]} e: DSColChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function ds_main_goso_oncolumnchanged(obj: Dataset, e: DSColChangeEventInfo) {
- if (e.columnid == 'goso_gootdd') {
- if (e.newvalue < utlf_getCurrentDate()) {
- sysf_messageBox('오늘일자보다 작을수 ', 'I004');
- ds_main_goso.setColumn(0, 'goso_gootdd', e.oldvalue);
- }
- }
- else if (e.columnid == 'goso_rtndd') {
- if (e.newvalue < utlf_getCurrentDate() || e.newvalue < ds_main_goso.getColumn(0, 'goso_gootdd')) {
- sysf_messageBox('오늘일자나 외출일자보다 작을수 ', 'I004');
- ds_main_goso.setColumn(0, 'goso_rtndd', e.oldvalue);
- }
- }
- else if (e.columnid == 'goso_orgrtndd') {
- if (e.newvalue > utlf_getCurrentDate() || e.newvalue < ds_main_goso.getColumn(0, 'goso_gootdd')) {
- sysf_messageBox('오늘일자보다 크거나 외출일자보다 작을수 ', 'I004');
- ds_main_goso.setColumn(0, 'goso_orgrtndd', e.oldvalue);
- }
- }
- }
- /**
- * 실제귀원일시 키보드 입력 이벤트
- * @param {[type]} obj: MaskEdit [description]
- * @param {[type]} e: TextChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_orgrtntm_ontextchange(obj: MaskEdit, e: TextChangeEventInfo) {
- utlf_validMaskEditTime(obj, e);
- }
- /**
- * 귀원확인여부 체크박스 클릭 이벤트
- * @param {[type]} obj: CheckBox [description]
- * @param {[type]} e: CheckBoxChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rtncnfmyn_onchanged(obj: CheckBox, e: CheckBoxChangeEventInfo) {
-
- }
- /**
- * 신청서출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button1_onclick(obj: Button, e: ClickEventInfo) {
- var pid = ds_main_goso.getColumn(0, "goso_pid");
- if (utlf_isNull(pid)) {
- sysf_messageBox("외출외박내역을 선택 후 출력하십시오.", "E000");
- return;
- }
- ds_send.setColumn(0, "formcd", "1600018617"); // 외출외박신청서 1600018617
- dsf_createDsRow('ds_req', [{ col: 'formcd', type: 'string', size: 256, val: '1600018617'}], false);
- ds_main_ocrinfo.clearData();
- // OCR 연동처리를 위한 정보 조회
- var oParam = {};
- oParam.id = "TRPMI01103";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetOcrInfo2";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_ocrinfo=ocrinfo";
- oParam.async = false;
- tranf_submit(oParam);
- var ocrtag = ds_main_ocrinfo.getColumn(0, "ocrtag");
- if (utlf_isNull(ocrtag)) {
- sysf_messageBox("OCR번호 조회에 실패하였습니다.\r\n동일현상이 반복되는 경우 전산실로 문의 하십시오.", "E000");
- return;
- }
- dsf_makeValue(ds_main_goso, "ocrtag", 'string', ocrtag);
- dsf_makeValue(ds_main_goso, "usernm", 'string', sysf_getUserName());
- dsf_makeValue(ds_main_goso, "goso_logo", 'string', rptf_getLogoImageURL());
- var fromdd = ds_main_goso.getColumn(0, "goso_gootdd");
- var todd = ds_main_goso.getColumn(0, "goso_rtndd");
- dsf_makeValue(ds_main_goso, "goso_days", 'string', utlf_getDateInterval(fromdd, todd) + 1); // 양입법적용
- var orddeptcd = ds_main_goso.getColumn(0, "goso_orddeptcd");
- dsf_makeValue(ds_main_goso, "goso_orddeptnm", 'string',
- ds_hidden_init_orddeptcd.getColumn(ds_hidden_init_orddeptcd.findRow('cd', orddeptcd), 'nm'));
- dsf_makeValue(ds_main_goso, "goso_orddeptabbr", 'string',
- ds_hidden_init_orddeptcd.getColumn(ds_hidden_init_orddeptcd.findRow('cd', orddeptcd), 'deptengabbr2'));
- // 신청의 이름 설정(2019/04/17 이정택 주석처리)
- //dsf_makeValue(ds_main_goso, "goso_appidnm", 'string', cmb_atdoctid.text);
- var resncd = ds_main_goso.getColumn(0, "goso_gootresn");
- dsf_makeValue(ds_main_goso, "goso_gootresnnm", 'string', ds_init_P0418list.getColumn(ds_init_P0418list.findRow('cdid', resncd), 'cdnm'));
- // 외출외박 신청서
- // DOM 객체 설정
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/goso", ds_main_goso); // 데이터셋 1
-
- var objExtCommon = new ExtCommon();
- var objSignData = objExtCommon.encodeBase64(ds_main_goso.getColumn(0, "goso_signdata"));
- rptf_setValueToDOM(objDOM, "/root/main/goso/goso_signdata", objSignData);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "directprint=1;printdialog=0;";
- rptf_exeReportPreview30(["RPPMI03000"],[objParam], option);
- // 통합기록연동처리
- fOCRSave();
- }
- /**
- * 동의서출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_app02_onclick(obj: Button, e: ClickEventInfo) {
- var pid = ds_main_goso.getColumn(0, "goso_pid");
- if (utlf_isNull(pid)) {
- sysf_messageBox("외출외박내역을 선택 후 출력하십시오.", "E000");
- return;
- }
- ds_send.setColumn(0, "formcd", "1700019251");
- dsf_createDsRow('ds_req', [{ col: 'formcd', type: 'string', size: 256, val: '1700019251'}], false);
- ds_main_ocrinfo.clearData();
- // OCR 연동처리를 위한 정보 조회
- var oParam = {};
- oParam.id = "TRPMI01103";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetOcrInfo2";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_ocrinfo=ocrinfo";
- oParam.async = false;
- tranf_submit(oParam);
- var ocrtag = ds_main_ocrinfo.getColumn(0, "ocrtag");
- if (utlf_isNull(ocrtag)) {
- sysf_messageBox("OCR번호 조회에 실패하였습니다.\r\n동일현상이 반복되는 경우 전산실로 문의 하십시오.", "E000");
- return;
- }
-
- dsf_makeValue(ds_main_goso, "ocrtag", 'string', ocrtag);
- dsf_makeValue(ds_main_goso, "usernm", 'string', sysf_getUserName());
- dsf_makeValue(ds_main_goso, "goso_logo", 'string', rptf_getLogoImageURL());
- var fromdd = ds_main_goso.getColumn(0, "goso_gootdd");
- var todd = ds_main_goso.getColumn(0, "goso_rtndd");
- dsf_makeValue(ds_main_goso, "goso_days", 'string', utlf_getDateInterval(fromdd, todd) + 1); // 양입법적용
- var orddeptcd = ds_main_goso.getColumn(0, "goso_orddeptcd");
- dsf_makeValue(ds_main_goso, "goso_orddeptnm", 'string',
- ds_hidden_init_orddeptcd.getColumn(ds_hidden_init_orddeptcd.findRow('cd', orddeptcd), 'nm'));
- dsf_makeValue(ds_main_goso, "goso_orddeptabbr", 'string',
- ds_hidden_init_orddeptcd.getColumn(ds_hidden_init_orddeptcd.findRow('cd', orddeptcd), 'deptengabbr2'));
- var resncd = ds_main_goso.getColumn(0, "goso_gootresn");
- dsf_makeValue(ds_main_goso, "goso_gootresnnm", 'string', ds_init_P0418list.getColumn(ds_init_P0418list.findRow('cdid', resncd), 'cdnm'));
- // 외출외박 신청서
- // DOM 객체 설정
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/goso", ds_main_goso); // 데이터셋 1
-
- //본원 외출/외박 신청 및 동의서에 의사서명 출력되도록 수정(2019/04/18)
- var objExtCommon = new ExtCommon();
- var objSignData = objExtCommon.encodeBase64(ds_main_goso.getColumn(0, "goso_signdata"));
- rptf_setValueToDOM(objDOM, "/root/main/goso/goso_signdata", objSignData);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "directprint=1;printdialog=0;";
- rptf_exeReportPreview30(["RPPMI03002"],[objParam], option);
-
- // 통합기록연동처리
- fOCRSave();
- }
- /**
- * 귀원확인여부 체크박스 클릭 이벤트
- * @param {[type]} obj:CheckBox [description]
- * @param {[type]} e:ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rtncnfmyn_onclick(obj:CheckBox, e:ClickEventInfo){
- var sValue = obj.value;
-
- if (sValue == "N") {
- var sOrgrtndd = ds_main_goso.getColumn(0, "goso_orgrtndd");
- var sCurrentDate = utlf_getCurrentDate();
- if (sOrgrtndd == sCurrentDate) {
- ds_main_goso.setColumn(0, "goso_orgrtndd", "");
- ds_main_goso.setColumn(0, "goso_orgrtntm", "");
- ipt_orgrtndd.enable = true;
- ipt_orgrtntm.enable = true;
- }
- else {
- ds_main_goso.setColumn(0, 'goso_rtncnfmyn', 'Y');
- sysf_messageBox("당일이 아니면 취소할수", "I004");
- }
- }
- else if (sValue == "Y") {
- var sAcptflagcd = ds_main_goso.getColumn(0, "goso_acptflagcd");
- if (sAcptflagcd != "2") {
- ds_main_goso.setColumn(0, 'goso_rtncnfmyn', 'N');
- sysf_messageBox("승인상태가 아니므로 귀원확인 할수", "I004");
- }
- if (utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_orgrtndd")) == "") {
- ds_main_goso.setColumn(0, "goso_orgrtndd", utlf_getCurrentDate());
- }
- if (utlf_transNullToEmpty(ds_main_goso.getColumn(0, "goso_orgrtntm")) == "") {
- var sCurrentTime = utlf_getCurrentTime();
- ds_main_goso.setColumn(0, "goso_orgrtntm", sCurrentTime.substr(0, 4));
- }
- }
- }
- /**
- * 저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_app_onclick(obj: Button, e: ClickEventInfo) {
- fChangeSave("C"); // Confirm
- }
- /**
- * 종료 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_exit_onclick(obj: Button, e: ClickEventInfo) {
- this.close();
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|