123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI00600" position="absolute 0 0 1199 790" titletext="입원예약조회" onload="SMPMI00600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="입원예약조회" class="tit_1" position="absolute 0 0 140 25"/>
- <Div id="grp" taborder="3" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1194" height="35">
- <Static id="caption1" text="검색조건 :" class="search_name" position="absolute 15 9 87 31" anchor="default"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1105 9 1111 31" anchor="top right"/>
- <Static id="caption17" text="입원희망일자 :" class="search_name" position="absolute 394 9 493 31" anchor="default"/>
- <Combo id="cmb_inrsrvcond" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 93 9 208 31" anchor="default" onitemchanged="grp_cmb_inrsrvcond_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <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">4</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>
- <Edit id="ipt_pid" taborder="2" class="input_search" visible="false" position="absolute 226 9 331 31" anchor="default" onkeydown="grp_ipt_pid_onkeydown"/>
- <Combo id="cmb_assgward" taborder="3" innerdataset="ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default" onitemchanged="grp_cmb_assgward_onitemchanged"/>
- <Combo id="cmb_orddeptcd" taborder="4" innerdataset="@ds_hidden_init_orddeptcd" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default"/>
- <Combo id="cmb_orddrid" taborder="5" innerdataset="ds_hidden_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default"/>
- <Calendar id="ipt_inhopeddfrom" taborder="6" class="input_search" position="absolute 519 9 617 31" mask="yyyy-mm-dd" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd " value="null"/>
- <Calendar id="ipt_inhopeddto" taborder="7" class="input_search" position="absolute 639 9 737 31" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd "/>
- <Static id="cpt_line" text="~" class="search_no_b" position="absolute 623 9 633 31" anchor="default"/>
- <CheckBox id="bol_inhopeddchk" taborder="8" position="absolute 498 11 513 29" anchor="default" falsevalue="N" truevalue="Y" onclick="grp_bol_inhopeddchk_onclick"/>
- <Button id="btn_search" taborder="9" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="grp_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="입원예약내역" class="tit_2" position="absolute 0 71 100 87"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 87 1195 93" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_inrsrvspec" class="datagrid2" taborder="4" binddataset="ds_adrvlist_grdinrsrvspec" useinputpanel="false" oncelldblclick="group3_grd_inrsrvspec_oncelldblclick" position="absolute 0 92 1195 761" cellsizebandtype="allband" cellsizingtype="both" autoenter="select" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="53"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="42"/>
- <Column size="78"/>
- <Column size="71"/>
- <Column size="69"/>
- <Column size="54"/>
- <Column size="61"/>
- <Column size="37"/>
- <Column size="91"/>
- <Column size="99"/>
- <Column size="93"/>
- <Column size="50"/>
- <Column size="297"/>
- <Column size="121"/>
- <Column size="101"/>
- <Column size="153"/>
- <Column size="73"/>
- <Column size="72"/>
- <Column size="86"/>
- <Column size="87"/>
- <Column size="87"/>
- <Column size="94"/>
- <Column size="57"/>
- <Column size="77"/>
- <Column size="84"/>
- <Column size="71"/>
- <Column size="40"/>
- <Column size="48"/>
- <Column size="39"/>
- <Column size="108"/>
- <Column size="129"/>
- <Column size="117"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="144"/>
- <Column size="261"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" 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="DCC"/>
- <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="CP 여부"/>
- <Cell col="16" text="병실등급 FROM"/>
- <Cell col="17" text="병실등급 TO"/>
- <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="지시의사"/>
- <Cell col="31" text="지시일자"/>
- <Cell col="32" text="배정병동"/>
- <Cell col="33" text="배정병실"/>
- <Cell col="34" text="BMT 여부"/>
- <Cell col="35" text="격리실 여부"/>
- <Cell col="36" text="특실 여부"/>
- <Cell col="37" text="특이사항"/>
- <Cell col="38" text="결정서 취소사유"/>
- <Cell col="39" text="취소 참고사항"/>
- <Cell col="40" text="임상시험 접수"/>
- <Cell col="41" text="임상시험 과제번호"/>
- <Cell col="42" text="최종 수정일시"/>
- <Cell col="43" text="진료 전달사항"/>
- <Cell col="44" text="원무 전달사항"/>
- <Cell col="45" text="출력용병실 From"/>
- <Cell col="46" text="출력용병실 To"/>
- <Cell col="47" text="출력용 진료과"/>
- <Cell col="48" text="재원 여부"/>
- <Cell col="49" text="출력병실 등급"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="combo" text="bind:erreglyn" combodataset="ds_init_P0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inflag" combodataset="ds_static_inflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" displaytype="combo" style="padding:2 2 2 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvstat" combodataset="ds_init_P0017list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:erreglyn" combodataset="ds_static_erreglyn" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="5" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
- <Cell col="6" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:hngnm"/>
- <Cell col="7" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:sex" combodataset="ds_init_P0313list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="8" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:age"/>
- <Cell col="9" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:delay"/>
- <Cell col="10" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:patinhopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="12" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:adrv_scheopdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="13" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:opcnfmyn"/>
- <Cell col="14" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fcstinterm"/>
- <Cell col="15" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:cpyn"/>
- <Cell col="16" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhoperoomgrdefrom" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="17" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhoperoomgrdeto" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="18" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm" enable="false"/>
- <Cell col="19" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm" enable="false"/>
- <Cell col="20" style="align:left top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvrem" wordwrap="word"/>
- <Cell col="21" displaytype="normal" edittype="none" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:wardtypespecwardcd" enable="false"/>
- <Cell col="22" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:diagcd" wordwrap="char" enable="false"/>
- <Cell col="23" displaytype="normal" edittype="none" style="align:left top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:diagnm" wordwrap="char" enable="false"/>
- <Cell col="24" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvacptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="25" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukind" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="26" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:hometel"/>
- <Cell col="27" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:mpphontel"/>
- <Cell col="28" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:etctel1"/>
- <Cell col="29" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rrgstno" mask="99/99/99" maskchar=" "/>
- <Cell col="30" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:indirecdrnm" enable="false"/>
- <Cell col="31" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:indirecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="32" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:assgward" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="33" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:assgroom"/>
- <Cell col="34" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:bmtyn"/>
- <Cell col="35" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:isolroomyn"/>
- <Cell col="36" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:specroomyn"/>
- <Cell col="37" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:Inrsrvrem"/>
- <Cell col="38" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvcnclresn" combodataset="ds_init_P0020list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="39" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvcnclresnrem"/>
- <Cell col="40" displaytype="combo" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:clincstdyacptflag" combodataset="ds_static_clincstdyacptflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="41" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:clincstdyno"/>
- <Cell col="42" displaytype="date" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
- <Cell col="43" style="align:left middle;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:drrem" wordwrap="word"/>
- <Cell col="44" text="bind:inrsrvrem"/>
- <Cell col="45" text="bind:inhoperoomgrdefromnm"/>
- <Cell col="46" text="bind:inhoperoomgrdetonm"/>
- <Cell col="47" text="bind:deptengabbr"/>
- <Cell col="48" displaytype="none" edittype="none" text="bind:inhospyn"/>
- <Cell col="49" displaytype="none" edittype="none" text="bind:inhoperoomgrdenm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excsave" taborder="5" text="엑셀저장" class="btn7" position="absolute 1117 68 1195 87" onclick="btn_excsave_onclick" anchor="top right"/>
- <Button id="btn_print" taborder="6" text="출력" class="btn6" position="absolute 1066 68 1116 87" onclick="btn_print_onclick" anchor="top right"/>
- <Shape id="rectangle1" type="rectangle" position="absolute 992 71 1007 86" style="fillbrush:solid #ffff66ff true;" anchor="top right"/>
- <Static id="caption3" text="재원중" position="absolute 1012 72 1057 86" anchor="top right"/>
- <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 761 1194 767" anchor="left right bottom"/>
- <Button id="btn_clear" taborder="7" text="초기화" class="btn4" position="absolute 1126 765 1194 787" onclick="btn_clear_onclick" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0149list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0017list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0039list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0313list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0020list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inrsrvcond" type="STRING" size="256"/>
- <Column id="inrsrvcondnm" type="STRING" size="256"/>
- <Column id="inhopeddfrom" type="STRING" size="256"/>
- <Column id="inhopeddto" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="inrsrvcond">1</Col>
- <Col id="inrsrvcondnm"/>
- <Col id="inhopeddfrom"/>
- <Col id="inhopeddto"/>
- <Col id="sendflag"/>
- <Col id="sess_posinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_pam_P0041list" 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"/>
- <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_orddeptcd" 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"/>
- <Dataset id="ds_hidden_init_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sess_posinstcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sess_posinstcd"/>
- <Col id="ioflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inhopeddchk" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_static_inflag" 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">Y</Col>
- </Row>
- <Row>
- <Col id="label">미입원</Col>
- <Col id="value">G</Col>
- </Row>
- <Row>
- <Col id="label">재원중</Col>
- <Col id="value">I</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_static_erreglyn" 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">Y</Col>
- <Col id="value">F</Col>
- </Row>
- <Row>
- <Col id="label"/>
- <Col id="value">I</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_static_clincstdyacptflag" 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">N</Col>
- </Row>
- <Row>
- <Col id="label">임상(전액청구)</Col>
- <Col id="value">P</Col>
- </Row>
- <Row>
- <Col id="label">임상(진찰료제외)</Col>
- <Col id="value">Q</Col>
- </Row>
- <Row>
- <Col id="label">동물임상</Col>
- <Col id="value">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_adrvlist_grdinrsrvspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="erreglyn" type="STRING" size="256" sumtext="구분"/>
- <Column id="inflag" type="STRING" size="256" sumtext="입원여부"/>
- <Column id="inrsrvstat" type="STRING" size="256" sumtext="입원예약"/>
- <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="전문의"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="전문의"/>
- <Column id="scheopdd" type="STRING" size="256" sumtext="수술예정일"/>
- <Column id="adrv_scheopdd" type="STRING" size="256" sumtext="입원약정서수술예정일"/>
- <Column id="pid" 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="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="연락처"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="보호자연락처"/>
- <Column id="inhopedd" type="STRING" size="256" sumtext="입원희망일자"/>
- <Column id="indirecdrid" type="STRING" size="256" sumtext="지시의사"/>
- <Column id="indirecdrnm" type="STRING" size="256" sumtext="지시의사"/>
- <Column id="indirecdd" type="STRING" size="256" sumtext="지시일자"/>
- <Column id="assgward" type="STRING" size="256" sumtext="배정병동"/>
- <Column id="assgroom" type="STRING" size="256" sumtext="배정병실"/>
- <Column id="longinyn" type="STRING" size="256" sumtext="장기입원여부"/>
- <Column id="fcstinterm" type="STRING" size="256" sumtext="예상입원기간"/>
- <Column id="cpyn" type="STRING" size="256" sumtext="cp여부"/>
- <Column id="isolroomyn" type="STRING" size="256" sumtext="격리실여부"/>
- <Column id="specroomyn" type="STRING" size="256" sumtext="특실여부"/>
- <Column id="dietrem" type="STRING" size="256" sumtext="식이참고사항"/>
- <Column id="inrsrvrem" type="STRING" size="256" sumtext="입원예약참고사항"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과약어"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="patinhopedd" type="STRING" size="256" sumtext="환자입원희망일"/>
- <Column id="delay" type="STRING" size="256" sumtext="대기일"/>
- <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수상태"/>
- <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험과제번호"/>
- <Column id="inrsrvcnclresn" type="STRING" size="256" sumtext="결정서 취소사유"/>
- <Column id="inrsrvcnclresnrem" type="STRING" size="256" sumtext="취소사유 참고사항"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="inhoperoomgrdetonm" type="STRING" size="256" sumtext="출력용 희망병실등급To"/>
- <Column id="inhoperoomgrdefrom" type="STRING" size="256" sumtext="희망병실등급From"/>
- <Column id="inhoperoomgrdeto" type="STRING" size="256" sumtext="희망병실등급To"/>
- <Column id="inhoperoomgrdefromnm" type="STRING" size="256" sumtext="출력용 희망병실등급 From"/>
- <Column id="realinyn" type="STRING" size="256" sumtext="실제입원여부"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="실제입원여부"/>
- <Column id="wardtypespecwardcd" type="STRING" size="256" sumtext="병동형태(세부병동)"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="inhoperoomgrdenm" type="STRING" size="256" sumtext="병실등급fromto"/>
- <Column id="opcnfmyn" type="STRING" size="256" sumtext="수술확정구분"/>
- <Column id="bgColor" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.bol_inhopeddchk" propid="value" datasetid="ds_hidden" columnid="inhopeddchk"/>
- <BindItem id="item1" compid="grp.cmb_inrsrvcond" propid="value" datasetid="ds_send" columnid="inrsrvcond"/>
- <BindItem id="item2" compid="grp.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
- <BindItem id="item3" compid="grp.ipt_pid" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
- <BindItem id="item4" compid="grp.cmb_assgward" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
- <BindItem id="item5" compid="grp.cmb_orddrid" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
- <BindItem id="item6" compid="grp.ipt_inhopeddfrom" propid="value" datasetid="ds_send" columnid="inhopeddfrom"/>
- <BindItem id="item7" compid="grp.ipt_inhopeddto" propid="value" datasetid="ds_send" columnid="inhopeddto"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'pam_pamcomnxp::PAM001.xjs'
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * [frschlind description]
- * @param {[type]} rsflag [description]
- * @return {[type]} [description]
- */
- function frschlind(rsflag) {
- if (rsflag == '1') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = false;
- }
- else if (rsflag == '2') {
- grp.cmb_assgward.visible = true;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = false;
- }
- else if (rsflag == '3') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = true;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = false;
- }
- else if (rsflag == '4') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = true;
- grp.ipt_pid.visible = false;
- }
- else if (rsflag == '5') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = true;
- ds_send.setColumn(0, 'inrsrvcondnm', '');
- //grp.ipt_pid.text = "";
- grp.ipt_pid.setFocus();
- }
- else if (rsflag == '6') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = false;
- ds_send.setColumn(0, 'inrsrvcondnm', '');
- }
- else if (rsflag == '7') {
- grp.cmb_assgward.visible = false;
- grp.cmb_orddeptcd.visible = false;
- grp.cmb_orddrid.visible = false;
- grp.ipt_pid.visible = false;
- ds_send.setColumn(0, 'inrsrvcondnm', '');
- }
- }
- /**
- * [fInitialize description]
- * @return {[type]} [description]
- */
- function fInitialize() {
- ds_adrvlist_grdinrsrvspec.clearData();
- ds_send.clearData();
- ds_send.addRow();
- ds_send_data1.clearData();
- ds_send_data1.addRow();
- ds_hidden.setColumn(0, 'inhopeddchk', 'N');
-
- ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
- ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
- ds_send.setColumn(0, "inrsrvcond", "1");
- frschlind("1");
- }
- /**
- * 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 SMPMI00600_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj); // 화면공통
- grdf_setGridSort(grd_inrsrvspec);
- appf_getCodeList([
- { dsNm: 'ds_init_P0001list', cdGrpId: 'P0001' },
- { dsNm: 'ds_init_P0149list', cdGrpId: 'P0149' },
- { dsNm: 'ds_init_P0017list', cdGrpId: 'P0017' },
- { dsNm: 'ds_init_P0039list', cdGrpId: 'P0039' },
- { dsNm: 'ds_init_P0313list', cdGrpId: 'P0313' },
- { dsNm: 'ds_init_P0020list', cdGrpId: 'P0020' },
- { dsNm: 'ds_init_P0025list', cdGrpId: 'P0025' }
- ]);
- ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
- ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
-
- // 2009.06.30 - DCC적용여부
- pamfGetCodeList([{ dsNm: 'ds_init_pam_P0041list', cdGrpId: 'P0041' }])
- dsf_createDsRow('ds_TRPMI00106', [
- { 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_TRPMI00106";
- 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_roomgrdelist=roomgrdelist "
- + "ds_hidden_init_flag=flag ds_hidden_init_wardcd=wardcd ";
- oParam.async = false;
- tranf_submit(oParam);
- // 2009.06.30 - DCC 적용여부
- var sDccYn = ds_init_pam_P0041list.lookup("cdid", "D01", "cdnm");
- var colWidth = 0;
- if (sDccYn == "Y")
- {
- colWidth = 35;
- }
-
- grd_inrsrvspec.setFormatColProperty(4,"size", colWidth);
- ds_hidden.setColumn(0, 'inhopeddchk', 'Y');
- // bol_inhopeddchk.selected = true;
- //20090820 JHP 추가_ 등급을 공통코드로 가져오는데 이는 입원료 수가 매핑과 관련해서 종료된 입원료를 컨트롤 할수 있는 소지가 있기에
- // 실제 수가와 매핑코드를 조회하여 살아있는 입원료 등급 코드를 가져온다.
- // 해당 조회를 실행한다음에 병실등급에 해당하는 콤보박스를 이걸로 바꾼다. 기존은 P0025(/root/init/P0025list/P0025)였다.
- var sUserInfosS = sysf_getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- //var posinstcd = UserInfosS_Array[2]; //소속기관코드
- //var posinstnm = UserInfosS_Array[3]; //소속기관명
- var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
- var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
- ds_send_data1.setColumn(0, "sess_posinstcd", posinstcd);
- dsf_createDsRow('ds_TRPMI00405', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00405.copyRow(0, ds_send_data1, 0);
- var oParam = {};
- oParam.id = "TRPMI00405";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetRoomGrdeInfoList";
- oParam.inds = "req=ds_TRPMI00405";
- oParam.outds = "ds_hidden_roomgrdelist=roomgrdelist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- /**
- * cmb_inrsrvcond 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_cmb_inrsrvcond_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- var rsflag = ds_send.getColumn(0, "inrsrvcond");
- frschlind(rsflag);
- }
- /**
- * cmb_assgward 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_cmb_assgward_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- grp.btn_search.click();
- }
- /**
- * ipt_pid 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- /**
- * bol_inhopeddchk 채크박스 클릭 이벤트
- * @param {[type]} obj: CheckBox [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_bol_inhopeddchk_onclick(obj: CheckBox, e: ClickEventInfo) {
- var value = ds_hidden.getColumn(0, 'inhopeddchk');
- if (value == 'Y') {
- grp.ipt_inhopeddfrom.visible = true;
- grp.ipt_inhopeddto.visible = true;
- grp.cpt_line.visible = true;
- ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
- ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
- }
- else {
- ds_send.setColumn(0, "inhopeddfrom", '');
- ds_send.setColumn(0, "inhopeddto", '');
- }
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_btn_search_onclick(obj: Button, e: ClickEventInfo) {
- //입원예약조회 구분 플래그
- ds_send.setColumn(0, "sendflag", 'I');
- dsf_createDsRow('ds_TRPMI00601', [
- { col: 'inrsrvcond', type: 'string', size: 256, val: '' },
- { col: 'inrsrvcondnm', type: 'string', size: 256, val: '' },
- { col: 'inhopeddfrom', type: 'string', size: 256, val: '' },
- { col: 'inhopeddto', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00601.copyRow(0, ds_send, 0);
- ds_adrvlist_grdinrsrvspec.clearData();
- var oParam = {};
- oParam.id = "TRPMI00601";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetInRsrvRefList";
- oParam.inds = "req=ds_TRPMI00601";
- oParam.outds = "ds_adrvlist_grdinrsrvspec=grdinrsrvspec";
- oParam.async = false;
- tranf_submit(oParam);
- ds_adrvlist_grdinrsrvspec.addColumn('bgColor', 'string');
- for (var idx = 0; idx < ds_adrvlist_grdinrsrvspec.rowcount; idx++) {
- var sRealInYN = ds_adrvlist_grdinrsrvspec.getColumn(idx, "realinyn");
- var color = '';
- if (sRealInYN == "Y") {
- color = '#ffff66';
- }
- else {
- color = '#ffffff';
- }
- ds_adrvlist_grdinrsrvspec.setColumn(idx, 'bgColor', color);
- }
- }
- /**
- * 출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_print_onclick(obj: Button, e: ClickEventInfo) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/adrvlist/grdinrsrvspec", ds_adrvlist_grdinrsrvspec);
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPMI00601"], [{ xml_data_XML1: objDOM.documentElement.source }], option);
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_excsave_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(grd_inrsrvspec, "excel", "SheetName", false, "", "", false);
- }
- /**
- * 그리드 셀 더블클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function group3_grd_inrsrvspec_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- var sPid = ds_adrvlist_grdinrsrvspec.getColumn(grd_inrsrvspec.currentrow, "pid");
- ds_source.setColumn(0, "pid", sPid);
- frmf_modal("SMPMI00200", "SMPMI00200", { arg_ds_source: ds_source }, "", "", "", "", "", "", "", "", "", "M");
- }
- /**
- * 초기화 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_clear_onclick(obj: Button, e: ClickEventInfo) {
- fInitialize();
- }
- ]]></Script>
- </Form>
- </FDL>
|