123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI02800" position="absolute 0 0 700 600" titletext="외출외박승인" onload="SMPMI02800_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 624 302 700 321" id="button3" class="btn7" text="엑셀저장" onclick="button3_onclick" anchor="top right"/>
- <Static id="caption6" text="외출외박승인" class="tit_1" position="absolute 0 0 140 25"/>
- <Div id="grp" taborder="1" position="absolute 0 25 700 60" class="div_SA" 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" anchor="top right" onclick="grp_btn_srch_onclick"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 612 7 618 29" anchor="top right"/>
- <Edit id="ipt_srchpid" taborder="16" class="input_search" visible="false" position="absolute 209 8 324 27" anchor="default" onkeydown="grp_ipt_srchpid_onkeydown"/>
- <Static id="caption50" text="조회구분 :" class="search_name" position="absolute 20 9 106 26" anchor="default"/>
- <Combo id="cmb_srchcond1" taborder="17" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 102 8 204 27" anchor="default" onitemchanged="grp_cmb_srchcond1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">미승인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">보험유형</Col>
- </Row>
- <Row>
- <Col id="codecolumn">7</Col>
- <Col id="datacolumn">환자성명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_insukind" taborder="18" innerdataset="@ds_hidden_init_insukind" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 234 8 364 27" anchor="default" onitemchanged="grp_cmb_insukind_onitemchanged"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="외출외박내역" class="tit_2" position="absolute 0 305 120 321"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 322 700 328" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_gootspotlist" taborder="2" binddataset="ds_main_gosolist" useinputpanel="false" position="absolute 0 327 700 567" 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="88"/>
- <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="130"/>
- <Column size="206"/>
- <Column size="108"/>
- <Column size="100"/>
- <Column size="88"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <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"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="주민번호"/>
- <Cell col="14" text="주소"/>
- <Cell col="15" text="연락처1"/>
- <Cell col="16" text="연락처2"/>
- <Cell col="17" text="진료과"/>
- <Cell col="18" text="담당교수"/>
- <Cell col="19" 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="최종수정담당자"/>
- <Cell col="29" text="최종수정일시"/>
- <Cell col="30" text="indd"/>
- <Cell col="31" text="cretno"/>
- <Cell col="32" text="appdd"/>
- <Cell col="33" text="seqno"/>
- <Cell col="34" text="status"/>
- <Cell col="35" text="instcd"/>
- <Cell col="36" text="histstat"/>
- <Cell col="37" text="apptm"/>
- <Cell col="38" text="pamacptdd"/>
- <Cell col="39" text="pamacpttm"/>
- <Cell col="40" text="goottmtm"/>
- <Cell col="41" text="goottmmin"/>
- <Cell col="42" text="rtntmtm"/>
- <Cell col="43" text="rtntmmin"/>
- <Cell col="44" text="sex"/>
- <Cell col="45" text="age"/>
- <Cell col="46" text="atdoctidnm"/>
- <Cell col="47" text="appidnm"/>
- <Cell col="48" text="dschdclrtyn"/>
- <Cell col="49" text="dschnotiyn"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center;" text="bind:goso_acptflagcd" combodataset="ds_static_goso_acptflagcd" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" text="bind:goso_pid"/>
- <Cell col="3" text="bind:goso_hngnm"/>
- <Cell col="4" displaytype="combo" style="align:center;" text="bind:goso_insukind" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <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" style="align:center middle;" text="bind:goso_orgrtndd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="expr:utlf_isNull(goso_orgrtntm) ? 'none' : 'normal'" style="align:center middle;" text="bind:goso_orgrtntm" mask="##:##"/>
- <Cell col="11" text="bind:goso_rtncnfmyn"/>
- <Cell col="12" displaytype="combo" style="align:center middle;" text="bind:goso_gootresn" combodataset="ds_init_P0418list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="13" displaytype="expr:utlf_isNull(goso_rrgstno) ? 'none' : 'normal'" text="bind:goso_rrgstno" mask="999999-9999999"/>
- <Cell col="14" text="bind:goso_zipnm"/>
- <Cell col="15" text="bind:goso_tel1"/>
- <Cell col="16" text="bind:goso_tel2"/>
- <Cell col="17" displaytype="combo" text="bind:goso_orddeptcd" combodataset="ds_hidden_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="18" displaytype="combo" text="bind:goso_atdoctid" combodataset="ds_hidden_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="19" displaytype="combo" text="bind:goso_wardcd" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="20" displaytype="combo" text="bind:goso_roomcd" combodataset="ds_hidden_init_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="21" text="bind:goso_appid"/>
- <Cell col="22" text="bind:goso_pamacptid"/>
- <Cell col="23" text="bind:goso_orgrtnacptid"/>
- <Cell col="24" text="bind:goso_nonaprvresn"/>
- <Cell col="25" text="bind:goso_rem"/>
- <Cell col="26" text="bind:goso_fstrgstrid"/>
- <Cell col="27" displaytype="date" text="bind:goso_fstrgstdt" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="28" text="bind:goso_lastupdtrid"/>
- <Cell col="29" displaytype="date" text="bind:goso_lastupdtdt" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="30" text="bind:goso_indd"/>
- <Cell col="31" text="bind:goso_cretno"/>
- <Cell col="32" text="bind:goso_appdd"/>
- <Cell col="33" text="bind:goso_seqno"/>
- <Cell col="34" text="bind:goso_status"/>
- <Cell col="35" text="bind:goso_instcd"/>
- <Cell col="36" text="bind:goso_histstat"/>
- <Cell col="37" text="bind:goso_apptm"/>
- <Cell col="38" text="bind:goso_pamacptdd"/>
- <Cell col="39" text="bind:goso_pamacpttm"/>
- <Cell col="40" text="bind:goso_goottmtm"/>
- <Cell col="41" text="bind:goso_goottmmin"/>
- <Cell col="42" text="bind:goso_rtntmtm"/>
- <Cell col="43" text="bind:goso_rtntmmin"/>
- <Cell col="44" text="bind:goso_sex"/>
- <Cell col="45" text="bind:goso_age"/>
- <Cell col="46" text="bind:goso_atdoctidnm"/>
- <Cell col="47" text="bind:goso_appidnm"/>
- <Cell col="48" text="bind:goso_dschdclrtyn"/>
- <Cell col="49" text="bind:goso_dschnotiyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption9" text="외출외박승인" class="tit_2" position="absolute 0 66 112 82"/>
- <Shape id="line7" linetype="horizontal" class="line_1" position="absolute 0 84 700 90" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption18" text="외출일시" class="cell_1" position="absolute 0 141 100 164"/>
- <Calendar id="ipt_gootdd" taborder="3" position="absolute 103 143 203 162" autoselect="true" autoskip="false" dateformat="yyyy-MM-dd" value="null" ontextchange="ipt_gootdd_ontextchange" canchange="ipt_gootdd_canchange"/>
- <Static id="caption21" text="진료과" class="cell_1" position="absolute 0 115 100 138"/>
- <Static id="caption22" text="담당교수" class="cell_1" position="absolute 206 115 306 138"/>
- <Combo id="cmb_atdoctid" taborder="4" innerdataset="@ds_hidden_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 309 117 414 136"/>
- <Combo id="cmb_roomcd" taborder="5" innerdataset="@ds_hidden_init_roomcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 620 117 698 136" anchor="left top right"/>
- <Combo id="cmb_wardcd" taborder="6" innerdataset="@ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 520 117 618 136"/>
- <Combo id="cmb_orddeptcd" taborder="7" innerdataset="@ds_hidden_init_orddeptcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 103 117 203 136"/>
- <Static id="caption29" text="병동/병실1" class="cell_1" position="absolute 417 115 517 138"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 1 111 697 117" anchor="left top right"/>
- <Static id="caption1" text="귀가일시" class="cell_1" position="absolute 0 167 100 190"/>
- <Calendar id="ipt_rtndd" taborder="8" position="absolute 103 169 203 188" autoselect="true" autoskip="false" dateformat="yyyy-MM-dd" canchange="ipt_rtndd_canchange" ontextchange="ipt_rtndd_ontextchange"/>
- <Static id="caption3" text="외출사유" class="cell_1" position="absolute 0 193 100 216"/>
- <Static id="caption4" text="연락처1" class="cell_1" position="absolute 417 141 517 164"/>
- <Static id="caption5" text="환자번호" class="cell_1" position="absolute 0 89 100 112"/>
- <Static id="caption7" text="환자명" class="cell_1" position="absolute 206 89 306 112"/>
- <Static id="caption8" text="성별/나이" class="cell_1" position="absolute 417 89 517 112"/>
- <Edit id="ipt_tel1" taborder="9" position="absolute 520 143 698 162" anchor="left top right"/>
- <Static id="caption10" text="비고" class="cell_1" position="absolute 0 219 100 242"/>
- <Edit id="ipt_rem" taborder="10" position="absolute 103 220 698 239" anchor="left top right"/>
- <Edit id="opt_pid" taborder="11" readonly="true" position="absolute 103 91 203 110" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5; :disabled {align:center middle;}" enable="false"/>
- <Edit id="opt_hngnm" taborder="12" readonly="true" position="absolute 309 91 414 110" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5; :disabled {align:center middle;}" enable="false"/>
- <Edit id="opt_sex" taborder="13" readonly="true" position="absolute 520 91 570 110" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5; :disabled {align:center middle;}" enable="false"/>
- <Edit id="opt_age" taborder="14" readonly="true" position="absolute 575 91 697 110" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5; :disabled {align:center middle;}" enable="false" anchor="left top right"/>
- <Combo id="cmb_goottm" taborder="15" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 206 143 255 162">
- <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_goottmmin" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 276 143 325 162">
- <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="caption11" text="시" position="absolute 258 143 273 163"/>
- <Static id="caption12" text="분" position="absolute 330 143 345 163"/>
- <Static id="caption13" text="시" position="absolute 258 169 273 189"/>
- <Combo id="cmb_rtntm" taborder="17" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 206 169 255 188">
- <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>
- <Static id="caption14" text="분" position="absolute 330 169 345 189"/>
- <Combo id="cmb_rtntmmin" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 276 169 325 188">
- <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="caption15" text="연락처2" class="cell_1" position="absolute 417 167 517 190"/>
- <Edit id="ipt_tel2" taborder="19" position="absolute 520 169 698 188" anchor="left top right"/>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 1 137 697 143" anchor="left top right"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 1 163 697 169" anchor="left top right"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 1 189 697 195" anchor="left top right"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 1 215 697 221" anchor="left top right"/>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 1 241 697 247" anchor="left top right"/>
- <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 1 267 697 273" anchor="left top right"/>
- <Edit id="ipt_nonaprvresn" taborder="20" position="absolute 309 247 698 266" anchor="left top right"/>
- <Static id="caption16" text="불승인사유" class="cell_1" position="absolute 206 245 306 268"/>
- <Static id="caption17" text="승인여부" class="cell_1" position="absolute 0 245 100 268"/>
- <Combo id="cmb_acptflagcd" taborder="21" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 103 247 203 266" onitemchanged="cmb_acptflagcd_onitemchanged">
- <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>
- <Shape id="line11" linetype="horizontal" class="line_3" position="absolute 1 294 697 300" anchor="left top right"/>
- <Calendar id="ipt_orgrtndd" taborder="22" enable="false" position="absolute 103 274 203 293" dateformat="yyyy-MM-dd" value="null" canchange="ipt_orgrtndd_canchange" ontextchange="ipt_orgrtndd_ontextchange"/>
- <Static id="caption19" text="실제귀가일시" class="cell_1" position="absolute 0 272 100 295"/>
- <CheckBox id="ipt_rtncnfmyn" taborder="23" enable="false" position="absolute 536 274 586 293" falsevalue="N" truevalue="Y"/>
- <Static id="caption24" text="귀가확인여부" class="cell_1" position="absolute 417 272 517 295"/>
- <Combo id="cmb_gootresn" taborder="24" innerdataset="@ds_init_P0418list" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 103 195 698 214" anchor="left top right"/>
- <Button id="btn_exit" taborder="26" text="종료" class="btn4" position="absolute 643 573 699 595" onclick="btn_exit_onclick" anchor="right bottom"/>
- <Button id="btn_app" taborder="27" text="저장" class="btn4" position="absolute 585 573 641 595" onclick="btn_app_onclick" anchor="right bottom"/>
- <Button id="button1" taborder="28" text="출력" class="btn4" position="absolute 527 573 583 595" onclick="button1_onclick" anchor="right bottom"/>
- <Button id="button2" taborder="29" text="입원/퇴원수납" class="btn3" position="absolute 0 573 111 595" onclick="button2_onclick" anchor="left bottom"/>
- <MaskEdit id="ipt_orgrtntm" taborder="30" position="absolute 206 274 256 293" style="align:center middle;" mask="##:##" type="string" maskchar=" " displaynulltext=" " autoselect="true"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_gosolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goso_status" type="STRING" size="256" sumtext="상태"/>
- <Column id="goso_pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="goso_indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="goso_cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="goso_seqno" type="INT" size="256" sumtext="일련번호"/>
- <Column id="goso_instcd" type="STRING" size="256" sumtext="병원 기관코드"/>
- <Column id="goso_histstat" type="STRING" size="256" sumtext="이력 상태(코드군 P0040 참조)"/>
- <Column id="goso_acptflagcd" type="STRING" size="256" sumtext="접수구분 코드(1.신청 2.승인 3.불승인)"/>
- <Column id="goso_appdd" type="STRING" size="256" sumtext="신청일자"/>
- <Column id="goso_apptm" type="STRING" size="256" sumtext="신청시간"/>
- <Column id="goso_appid" type="STRING" size="256" sumtext="신청 담당자 ID"/>
- <Column id="goso_pamacptdd" type="STRING" size="256" sumtext="원무 접수일자"/>
- <Column id="goso_pamacpttm" type="STRING" size="256" sumtext="원무 접수시간"/>
- <Column id="goso_pamacptid" type="STRING" size="256" sumtext="원무 접수 담당자 ID"/>
- <Column id="goso_gootdd" type="STRING" size="256" sumtext="외출일자"/>
- <Column id="goso_goottm" type="STRING" size="256" sumtext="외출시간"/>
- <Column id="goso_goottmtm" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="goso_goottmmin" type="STRING" size="256" sumtext="외출시간(temp)"/>
- <Column id="goso_rtndd" type="STRING" size="256" sumtext="귀가일자"/>
- <Column id="goso_rtntm" type="STRING" size="256" sumtext="귀가시간"/>
- <Column id="goso_rtntmtm" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="goso_rtntmmin" type="STRING" size="256" sumtext="귀가시간(temp)"/>
- <Column id="goso_orgrtndd" type="STRING" size="256" sumtext="실제귀가일자"/>
- <Column id="goso_orgrtntm" type="STRING" size="256" sumtext="실제귀가시간"/>
- <Column id="goso_orgrtnacptid" type="STRING" size="256" sumtext="귀가 접수 담당자 ID"/>
- <Column id="goso_rtncnfmyn" type="STRING" size="256" sumtext="귀가확인여부"/>
- <Column id="goso_tel1" type="STRING" size="256" sumtext="전화번호1"/>
- <Column id="goso_tel2" type="STRING" size="256" sumtext="전화번호2"/>
- <Column id="goso_gootresn" type="STRING" size="256" sumtext="외출사유"/>
- <Column id="goso_nonaprvresn" type="STRING" size="256" sumtext="불승인사유"/>
- <Column id="goso_rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="goso_fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="goso_fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="goso_lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="goso_lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="goso_hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="goso_sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="goso_age" type="STRING" size="256" sumtext="나이"/>
- <Column id="goso_orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="goso_atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="goso_wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="goso_roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="goso_rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="goso_zipnm" type="STRING" size="256" sumtext="주소"/>
- <Column id="goso_insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="goso_atdoctidnm" type="STRING" size="256" sumtext="주치의이름"/>
- <Column id="goso_appidnm" type="STRING" size="256" sumtext="승인의사"/>
- <Column id="goso_dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="goso_dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="goso_addr" type="STRING" size="256" sumtext="주소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_atdoctid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_gootresn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <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="insukind" type="STRING" size="256"/>
- <Column id="goso_caller" type="STRING" size="256"/>
- <Column id="goso_status" type="STRING" size="256"/>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond1">2</Col>
- <Col id="pid"/>
- <Col id="insukind"/>
- <Col id="goso_caller"/>
- <Col id="goso_status"/>
- <Col id="sess_posinstcd">012</Col>
- <Col id="ioflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <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_appdd" type="STRING" size="256"/>
- <Column id="goso_seqno" type="STRING" size="256"/>
- <Column id="goso_caller" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="goso_pid"/>
- <Col id="goso_indd"/>
- <Col id="goso_cretno"/>
- <Col id="goso_appdd"/>
- <Col id="goso_seqno"/>
- <Col id="goso_caller"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <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_orgrtntmtm" type="STRING" size="256"/>
- <Column id="goso_orgrtntmmin" 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"/>
- </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_orgrtntmtm"/>
- <Col id="goso_orgrtntmmin"/>
- <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"/>
- </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_static_goso_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_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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <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_rcv_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_original_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <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="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_gosoprint" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goso_pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="goso_hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="goso_rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="goso_orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="goso_medispclnm" type="STRING" size="256" sumtext="담당교수"/>
- <Column id="goso_wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="goso_roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="goso_insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="goso_tel1" type="STRING" size="256" sumtext="전화번호1"/>
- <Column id="goso_tel2" type="STRING" size="256" sumtext="전화번호2"/>
- <Column id="goso_gootdd" type="STRING" size="256" sumtext="외출일자"/>
- <Column id="goso_goottm" type="STRING" size="256" sumtext="외출시간"/>
- <Column id="goso_rtndd" type="STRING" size="256" sumtext="귀가일자"/>
- <Column id="goso_rtntm" type="STRING" size="256" sumtext="귀가시간"/>
- <Column id="goso_gootyy" type="STRING" size="256" sumtext="외출년도"/>
- <Column id="goso_gootmm" type="STRING" size="256" sumtext="외출월"/>
- <Column id="goso_gootdd1" type="STRING" size="256" sumtext="외출일자"/>
- <Column id="goso_goothh" type="STRING" size="256" sumtext="외출시간"/>
- <Column id="goso_rtnyy" type="STRING" size="256" sumtext="귀가년도"/>
- <Column id="goso_rtnmm" type="STRING" size="256" sumtext="귀가월"/>
- <Column id="goso_rtndd1" type="STRING" size="256" sumtext="귀가일자"/>
- <Column id="goso_rtnhh" type="STRING" size="256" sumtext="귀가시간"/>
- <Column id="goso_rtnday" type="STRING" size="256" sumtext="외박기간"/>
- <Column id="goso_indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="goso_cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="goso_gootresn" type="STRING" size="256" sumtext="외출사유"/>
- <Column id="goso_rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="goso_logo" 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_send_goso" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.cmb_srchcond1" propid="value" datasetid="ds_send" columnid="srchcond1"/>
- <BindItem id="item1" compid="grp.ipt_srchpid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item2" compid="grp.cmb_insukind" propid="value" datasetid="ds_send" columnid="insukind"/>
- <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="cmb_orddeptcd" propid="value" datasetid="ds_main_goso" columnid="goso_orddeptcd"/>
- <BindItem id="item8" compid="cmb_atdoctid" propid="value" datasetid="ds_main_goso" columnid="goso_atdoctid"/>
- <BindItem id="item9" compid="cmb_wardcd" propid="value" datasetid="ds_main_goso" columnid="goso_wardcd"/>
- <BindItem id="item10" compid="cmb_roomcd" propid="value" datasetid="ds_main_goso" columnid="goso_roomcd"/>
- <BindItem id="item11" compid="ipt_gootdd" propid="value" datasetid="ds_main_goso" columnid="goso_gootdd"/>
- <BindItem id="item12" compid="cmb_goottm" propid="value" datasetid="ds_main_goso" columnid="goso_goottmtm"/>
- <BindItem id="item13" compid="cmb_goottmmin" propid="value" datasetid="ds_main_goso" columnid="goso_goottmmin"/>
- <BindItem id="item14" compid="ipt_tel1" propid="value" datasetid="ds_main_goso" columnid="goso_tel1"/>
- <BindItem id="item15" compid="ipt_rtndd" propid="value" datasetid="ds_main_goso" columnid="goso_rtndd"/>
- <BindItem id="item16" compid="cmb_rtntm" propid="value" datasetid="ds_main_goso" columnid="goso_rtntmtm"/>
- <BindItem id="item17" compid="cmb_rtntmmin" propid="value" datasetid="ds_main_goso" columnid="goso_rtntmmin"/>
- <BindItem id="item18" compid="ipt_tel2" propid="value" datasetid="ds_main_goso" columnid="goso_tel2"/>
- <BindItem id="item19" compid="cmb_gootresn" propid="value" datasetid="ds_main_goso" columnid="goso_gootresn"/>
- <BindItem id="item20" compid="ipt_rem" propid="value" datasetid="ds_main_goso" columnid="goso_rem"/>
- <BindItem id="item21" compid="cmb_acptflagcd" propid="value" datasetid="ds_main_goso" columnid="goso_acptflagcd"/>
- <BindItem id="item22" compid="ipt_nonaprvresn" propid="value" datasetid="ds_main_goso" columnid="goso_nonaprvresn"/>
- <BindItem id="item23" compid="ipt_orgrtndd" propid="value" datasetid="ds_main_goso" columnid="goso_orgrtndd"/>
- <BindItem id="item25" compid="ipt_rtncnfmyn" propid="value" datasetid="ds_main_goso" columnid="goso_rtncnfmyn"/>
- <BindItem id="item24" compid="ipt_orgrtntm" propid="value" datasetid="ds_main_goso" columnid="goso_orgrtntm"/>
- </Bind>
- <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';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : 초기값 셋팅
- ****************************************************************************************/
- function fInitSetting(arg1, arg2){
- grp.ipt_srchpid.visible = arg1;
- grp.cmb_insukind.visible = arg2;
-
- if(!arg1){
- ds_send.setColumn(0, 'pid', '');
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 외출외박환자리스트 조회
- ****************************************************************************************/
- function fQuery(){
- ds_send.setColumn(0, 'goso_caller', 'SMPMI02800');
-
- 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, 'srchcond1=srchcond1,pid=pid,insukind=insukind,goso_caller=goso_caller');
-
- ds_hidden_rcv_goso.clearData();
- ds_hidden_rcv_goso.addRow();
-
- var oParam = {};
- oParam.id = "TRPMI01101";
- oParam.service = "ipatmngtapp.GoOtSpOtPat";
- oParam.method = "reqGetGoOtSpOtList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_rcv_goso=goso";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRPMI01101") > -1){
- ds_hidden_rcv_goso.filter('acptflagcd != ""');
- dsf_copyDsWithPrefix(ds_main_gosolist, ds_hidden_rcv_goso, 'goso_');
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회조건 컨트롤 조정
- ****************************************************************************************/
- function fipatrefchlind(flag){
- switch(flag){
- case '1':
- grp.ipt_srchpid.position.top = 8;
- grp.ipt_srchpid.position.left = 220;
- grp.ipt_srchpid.visible = true;
- grp.cmb_insukind.visible = false;
- break;
-
- case '2':
- grp.ipt_srchpid.visible = false;
- grp.cmb_insukind.visible = false;
- break;
-
- case '3':
- grp.ipt_srchpid.visible = false;
- grp.cmb_insukind.visible = false;
- break;
-
- case '6':
- grp.ipt_srchpid.visible = false;
- grp.cmb_insukind.position.top = 8;
- grp.cmb_insukind.position.left = 220;
- grp.cmb_insukind.visible = true;
- break;
-
- case '7':
- grp.ipt_srchpid.visible = true;
- grp.cmb_insukind.visible = false;
- break;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 2007.12.12 외출외박신청서 출력
- ****************************************************************************************/
- function fGoSoPrint(pid, indd, cretno, appdd, seqno){
- dsf_createDsRow('ds_req', [
- { col: 'goso_pid', type: 'string', size: 256, val: pid },
- { col: 'goso_indd', type: 'string', size: 256, val: indd },
- { col: 'goso_cretno', type: 'int', size: 256, val: cretno },
- { col: 'goso_appdd', type: 'string', size: 256, val: appdd },
- { col: 'goso_seqno', type: 'int', size: 256, val: seqno },
- { col: 'goso_caller', type: 'string', size: 256, val: 'SMPMI02800' }
- ], false);
-
- ds_hidden_gosoprint.clearData();
- ds_hidden_gosoprint.addRow();
-
- var oParam = {};
- oParam.id = "TRPMI01102";
- oParam.service = "ipatmngtapp.GoOtSpOtPat";
- oParam.method = "reqGetGoOtSpOtPrnList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_gosoprint=gosoprint";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRPMI01102") > -1){
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_gosoprint, 'goso_');
- ds_hidden_gosoprint.copyData(ds_tmp, true);
-
- if(ds_hidden_gosoprint.rowcount < 1){
- return;
- }
- var gootdd = ds_hidden_gosoprint.getColumn(0, 'goso_gootdd');
- var goottm = ds_hidden_gosoprint.getColumn(0, 'goso_goottm');
- var rtndd = ds_hidden_gosoprint.getColumn(0, 'goso_rtndd');
- var rtntm = ds_hidden_gosoprint.getColumn(0, 'goso_rtntm');
- var rrgstno = ds_hidden_gosoprint.getColumn(0, 'goso_rrgstno');
-
- dsf_makeValue(ds_hidden_gosoprint, 'goso_gootyy', 'string', gootdd.substr(0, 4));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_gootmm', 'string', gootdd.substr(4, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_gootdd1', 'string', gootdd.substr(6, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_goothh', 'string', goottm.substr(0, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_rtnyy', 'string', rtndd.substr(0, 4));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_rtnmm', 'string', rtndd.substr(4, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_rtndd1', 'string', rtndd.substr(6, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_rtnhh', 'string', rtntm.substr(0, 2));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_logo', 'string', rptf_getLogoImageURL());
- ds_hidden_gosoprint.setColumn(0, 'goso_rrgstno', rrgstno.substr(0, 6) + '-' + rrgstno.substr(6, 7));
-
- dsf_makeValue(ds_hidden_gosoprint, 'goso_atdoctidnm', 'string',
- ds_main_gosolist.getColumn(grd_gootspotlist.currentrow, 'goso_atdoctidnm'));
- dsf_makeValue(ds_hidden_gosoprint, 'goso_appidnm', 'string',
- ds_main_gosolist.getColumn(grd_gootspotlist.currentrow, 'goso_appidnm'));
-
- //ds_hidden_gosoprint.setColumn(0, 'goso_logo', rptf_getLogoImageURL());
-
- // DOM 객체 설정
- var objDOM = rptf_createDOM();
-
- rptf_setNodeListToDOM(objDOM, "root/hidden/h_gosoprint/gosoprint" , ds_hidden_gosoprint);
- rptf_exeReportPreview30(["RPPMI02801"],[{ xml_data_XML1: objDOM.documentElement.source }],
- 'open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0');
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 외출외박 승인 등록,취소
- ****************************************************************************************/
- function fChangeSave(flag){
- // 승인등록 Routine
- if(flag == 'U'){
- // 간호귀가확인후에는 수정을 못하도록 처리한다
- var srtncnfmyn = ds_main_goso.getColumn(0, 'goso_rtncnfmyn');
- if(srtncnfmyn == 'Y'){
- sysf_messageBox('귀가확인처리된 데이터이므로 수정할수', 'I004');
- return;
- }
-
- // 필수입력항목체크
- var sValCheck = fValCheck();
- if(sValCheck != 'Y'){
- sysf_messageBox(sValCheck, 'I004');
- return;
- }
-
- ds_main_goso.getColumn(0, 'goso_status', flag);
- //copyNode
- }
- else{
- sysf_messageBox('변경된 내역이', 'I004');
- return;
- }
-
- if(flag == 'U'){
- ds_send_goso.copyData(ds_main_goso, true);
-
- ds_send_goso.setColumn(0, 'goso_status', flag);
-
- for (var i=0; i < ds_send_goso.getColCount(); i++ ) {
- ds_send_goso.updateColID(String(ds_send_goso.getColID(i)), String(ds_send_goso.getColID(i)).replace("goso_",""));
- }
-
- var oParam = {};
- oParam.id = "TXPMI01101";
- oParam.service = "ipatmngtapp.GoOtSpOtPat";
- oParam.method = "reqSetGoOtSpOt";
- oParam.inds = "s_goso=ds_send_goso";
- oParam.outds = "ds_=result";
- oParam.async = false;
- //oParam.callback = "cf_TXPMI01101";
- tranf_submit(oParam);
- }
- else{
- sysf_messageBox('변경된 내역이', 'I004');
- return;
- }
-
- //var acptflag = ds_main_goso.getColumn(0, 'goso_acptflagcd');
-
- if(ds_main_goso.getColumn(0, 'goso_acptflagcd') != '3'){
- // 승인 후 외출외박신청서 출력
- var seqno = ds_main_goso.getColumn(0, 'goso_seqno');
- seqno = parseInt(seqno) + 1; // for what?
- }
- fQuery();
- }
- /****************************************************************************************
- * Argument :
- * Description : 전과신청내역의 필수 입력항목 체크
- ****************************************************************************************/
- function fValCheck(){
- var rtn = "Y";
-
- var pid = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_pid'));
- var indd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_indd'));
- var cretno = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_cretno'));
- var histstat = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_histstat'));
- var acptflagcd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_acptflagcd'));
- var appdd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_appdd'));
- var apptm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_apptm'));
- var gootdd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_gootdd'));
- var goottmtm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_goottmtm'));
- var goottmmin = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_goottmmin'));
- var rtndd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_rtndd'));
- var rtntmtm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_rtntmtm'));
- var rtntmmin = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_rtntmmin'));
- var orgrtndd = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_orgrtndd'));
- var orgrtntmtm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_orgrtntmtm'));
- var orgrtntmmin = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_orgrtntmmin'));
- var nonaprvresn = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_nonaprvresn'));
-
- if(pid == ''){
- rtn = '환자등록번호가';
- }
- else if(indd == ''){
- rtn = '입원일자가';
- }
- else if(cretno == ''){
- rtn = '입원등록키가';
- }
- else if(histstat == ''){
- rtn = '상태값이';
- }
- else if(acptflagcd == ''){
- rtn = '접수상태가';
- }
- else if(appdd == ''){
- rtn = '신청일자가';
- }
- else if(apptm == ''){
- rtn = '신청시간이';
- }
- else if(gootdd == ''){
- rtn = '외출일자가';
- }
- else if(goottmtm == ''){
- rtn = '외출시간중 시가';
- }
- else if(goottmmin == ''){
- rtn = '외출시간중 분이';
- }
- else if(rtndd == ''){
- rtn = '귀가일자가';
- }
- else if(rtntmtm == ''){
- rtn = '귀가시간중 시가';
- }
- else if(rtntmmin == ''){
- rtn = '귀가시간중 분이';
- }
-
- if(acptflagcd == '1'){
- rtn = '승인여부가';
- }
- else if(acptflagcd == '3'){
- if(nonaprvresn == '' || nonaprvresn == ' '){
- rtn = '불승인 사유가';
- }
- }
-
- // 외출시간이나 귀가시간에서 시와 분으로 나누어진것을 더해서 데이터 저장을 한다
- if(rtn == 'Y'){
- ds_main_goso.setColumn(0, 'goso_goottm', goottmtm + goottmmin);
- ds_main_goso.setColumn(0, 'goso_rtntm', rtntmtm + rtntmmin);
- ds_main_goso.setColumn(0, 'goso_orgrtntm', orgrtntmtm + orgrtntmmin);
- }
-
- return rtn;
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMPMI02800_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기화
- frmf_initForm(obj);
-
- appf_getCodeList([{ dsNm: 'ds_init_P0418list', cdGrpId: 'P0418' }]);
-
- ds_send.setColumn(0, 'ioflag', 'I');
-
- dsf_createDsRow('ds_req', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: 'I' },
- { 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_insukind=insukind ds_hidden_init_orddeptcd=orddeptcd " +
- "ds_hidden_init_orddrid=orddrid ds_hidden_init_wardcd=wardcd ds_hidden_init_roomcd=roomcd ";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00106";
- tranf_submit(oParam);
-
- var pid, srchcond;
-
- if(frmf_isPopup()){
- srchcond = opener.frmf_getParameter('SMPAI00100_Param2');
- pid = opener.frmf_getParameter('SMPAI00100_Param3');
-
- opener.frmf_clearParameter('SMPAI00100_Param2');
- opener.frmf_clearParameter('SMPAI00100_Param3');
-
- ds_send.setColumn(0, 'srchcond1', srchcond);
- frmf_inputEnterKey('grp.cmb_srchcond1', 'onitemchanged',new ItemChangeEventInfo);
- }
- else{
- ds_hidden_target.getColumn(0, 'pid');
- }
-
- if(!utlf_isNull(pid)){
- ds_send.setColumn(0, 'pid', pid);
- fInitSetting(true, false);
- fQuery();
- }
- else{
- fInitSetting(true, false);
- }
-
- grdf_setGridSort(grd_gootspotlist);
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회구분 cmb_srchcond1 콤보 아이템 변경 후 이벤트
- ****************************************************************************************/
- function grp_cmb_srchcond1_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- ds_send.setColumn(0, 'pid', '');
- fipatrefchlind(e.postvalue);
-
- if(e.postvalue == '2' || e.postvalue == '3'){
- grp.btn_srch.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회구분 ipt_srchpid 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_ipt_srchpid_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
-
- grp.btn_srch.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회구분 cmb_insukind 콤보 아이템 변경 후 이벤트
- ****************************************************************************************/
- function grp_cmb_insukind_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- grp.btn_srch.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_srch_onclick(obj:Button, e:ClickEventInfo){
- fQuery();
- }
- /****************************************************************************************
- * Argument :
- * Description : 외출일시 ipt_gootdd 키보드 입력 이벤트
- ****************************************************************************************/
- function ipt_gootdd_ontextchange(obj:Calendar, e:TextChangeEventInfo)
- {
- if(e.posttext.replace(' ', '').length == 10){
- var date = e.posttext.replace('-', '');
-
- if(date < utlf_getCurrentDate()){
- sysf_messageBox('오늘일자보다 작을수', 'I004');
- obj.setCaretPos(9);
- return false;
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 외출일시 ipt_gootdd 의 canchange 이벤트
- ****************************************************************************************/
- function ipt_gootdd_canchange(obj:Calendar, e:ChangeEventInfo)
- {
- if(e.postvalue < utlf_getCurrentDate()){
- sysf_messageBox('오늘일자보다 작을수', 'I004');
- return false;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 귀가일시 ipt_rtndd 의 canchange 이벤트
- ****************************************************************************************/
- function ipt_rtndd_canchange(obj:Calendar, e:ChangeEventInfo){
- if(e.postvalue < utlf_getCurrentDate() || e.postvalue < ds_main_goso.getColumn(0, 'goso_gootdd')){
- sysf_messageBox('오늘일자나 외출일자보다 작을수', 'I004');
- return false;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 귀가일시 ipt_rtndd 키보드 입력 이벤트
- ****************************************************************************************/
- function ipt_rtndd_ontextchange(obj:Calendar, e:TextChangeEventInfo){
- var value = e.posttext.replace(' ', '')
- if(value.length == 10){
- var date = e.posttext.replace('-', '');
-
- if(date < utlf_getCurrentDate() || date < ds_main_goso.getColumn(0, 'goso_gootdd')){
- sysf_messageBox('오늘일자나 외출일자보다 작을수', 'I004');
- obj.setCaretPos(9);
- return false;
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 승인여부 콤보 아이템 변경 후 이벤트
- ****************************************************************************************/
- function cmb_acptflagcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- var sacptflagcd = ds_main_goso.getColumn(0, 'goso_acptflagcd');
-
- if(sacptflagcd == '2'){
- ds_main_goso.setColumn(0, 'goso_nonaprvresn', '');
- ipt_nonaprvresn.enable = false;
- }
- else if(sacptflagcd == '3'){
- ds_main_goso.setColumn(0, 'goso_nonaprvresn', '');
- ipt_nonaprvresn.enable = true;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 실제귀가일시 canchange 이벤트
- ****************************************************************************************/
- function ipt_orgrtndd_canchange(obj:Calendar, e:ChangeEventInfo){
- if(e.postvalue < utlf_getCurrentDate() || e.postvalue < ds_main_goso.getColumn(0, 'goso_gootdd')){
- sysf_messageBox('오늘일자보다 크거나 외출일자보다 작을수', 'I004');
- return false;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 실제귀가일시 키보드 입력 이벤트
- ****************************************************************************************/
- function ipt_orgrtndd_ontextchange(obj:Calendar, e:TextChangeEventInfo){
- var value = e.posttext.replace(' ', '')
- if(value.length == 10){
- var date = e.posttext.replace('-', '');
-
- if(date < utlf_getCurrentDate() || date < ds_main_goso.getColumn(0, 'goso_gootdd')){
- sysf_messageBox('오늘일자보다 크거나 외출일자보다 작을수', 'I004');
- obj.setCaretPos(9);
- return false;
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 엑셀저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(grd_gootspotlist, "save", "SheetName", false, "" , 'user' , true);
- }
- /****************************************************************************************
- * Argument :
- * Description : 외출외박내역 그리드 클릭 이벤트
- ****************************************************************************************/
- function grd_gootspotlist_oncellclick(obj:Grid, e:GridClickEventInfo){
- var arr = ['goso_orgrtntmtm', 'goso_orgrtntmmin', 'goso_goottmtm', 'goso_goottmmin', 'goso_rtntmtm', 'goso_rtntmmin'];
-
- for(i in arr){
- if(utlf_isNull(ds_main_gosolist.getColumnInfo(arr[i]))){
- ds_main_gosolist.addColumn(arr[i], 'string');
- }
- }
- var currow = grd_gootspotlist.currentrow;
-
- ds_main_goso.copyRow(0, ds_main_gosolist, currow);
-
- if(ds_main_goso.getColumn(0, 'goso_orgrtntmtm') <= 0){
- arr = ['goso_orgrtntmtm', 'goso_orgrtntmmin', 'goso_goottmtm', 'goso_goottmmin', 'goso_rtntmtm', 'goso_rtntmmin'];
-
- for(i in arr){
- if(utlf_isNull(ds_main_gosolist.getColumnInfo(arr[i]))){
- ds_main_goso.addColumn(arr[i], 'string');
- }
- }
- }
- var sgoottm = ds_main_goso.getColumn(0, 'goso_goottm');
- var srtntm = ds_main_goso.getColumn(0, 'goso_rtntm');
- var sorgrtntm = utlf_transNullToEmpty(ds_main_goso.getColumn(0, 'goso_orgrtntm'));
- var sgoottmtm = sgoottm.substr(0, 2);
- var sgoottmmin = sgoottm.substr(2, 2);
- var srtntmtm = srtntm.substr(0, 2);
- var srtntmmin = srtntm.substr(2, 2);
-
- if(sorgrtntm != '' && sorgrtntm != ' '){
- ds_main_goso.setColumn(0, 'goso_orgrtntmtm', sorgrtntm.substr(0,2));
- ds_main_goso.setColumn(0, 'goso_orgrtntmmin', sorgrtntm.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);
-
- }
- /****************************************************************************************
- * Argument :
- * Description : 입원/퇴원수납 버튼 클릭 이벤트
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo){
- var pid = ds_main_goso.getColumn(0, 'goso_pid');
- if(utlf_isNull(pid)){
- sysf_messageBox('환자선택을 먼저 하십시오!', 'I');
- return;
- }
- // Top section에 파라미터 설정
- var viewer = frmf_getViewer('patientInfo');
- if(!utlf_isNull(viewer)){
- viewer.frmf_setParameter('SMPAI00100_Param1', pid);
- }
-
- // 입원수납 팝업
- frmf_modal("SMPAI00100", "SMPAI00100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 출력 버튼 클릭 이벤트
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo){
- var pid = ds_main_goso.getColumn(0, 'goso_pid');
-
- if(utlf_isNull(pid)){
- sysf_messageBox('출력할 항목을 선택하십시오!', 'I');
- return;
- }
-
- var acptflag = ds_main_goso.getColumn(0, 'goso_acptflagcd');
-
- if(acptflag == '2'){
- fGoSoPrint(pid,
- ds_main_goso.getColumn(0, 'goso_indd'),
- ds_main_goso.getColumn(0, 'goso_cretno'),
- ds_main_goso.getColumn(0, 'goso_appdd'),
- ds_main_goso.getColumn(0, 'goso_seqno'));
- }
- else{
- sysf_messageBox('승인내역만 출력할 수 있습니다!', 'I');
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_app_onclick(obj:Button, e:ClickEventInfo){
- fChangeSave('U');
- }
- /****************************************************************************************
- * Argument :
- * Description : 취소 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_exit_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|