123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW17300" position="absolute 0 0 785 755" titletext="입원업무 체크리스트" oninit="SMMNW17300_oninit" onload="SMMNW17300_onload" ontimer="SMMNW17300_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 775 745" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 20 775 60" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="입원일자 :" position="absolute 355 12 432 29" id="caption17" class="search_name"/>
- <Calendar position="absolute 430 10 518 29" id="ipt_orddd" class="input_search" autoselect="true" onchanged="group5_grp_sea_ipt_orddd_onchanged"/>
- <Combo position="absolute 255 10 330 29" id="cmb_settingrn" class="combo_search" innerdataset="@ds_init_settinginfo_settingrn" datacolumn="settingrnnm" codecolumn="settingrnid" onitemchanged="group5_grp_sea_cmb_settingrn_onitemchanged"/>
- <Static text="내환자 :" position="absolute 190 11 255 28" id="cap_settingrn" class="search_name"/>
- <Button position="absolute 710 10 766 32" id="button1" class="btn1" text="조회" onclick="group5_grp_sea_button1_onclick"/>
- <Shape position="absolute 697 10 703 30" linetype="vertical" id="line1" class="line_4"/>
- <Edit position="absolute 155 10 209 29" id="ipt_pid" class="input_search" visible="false" autoselect="true"/>
- <Combo position="absolute 80 10 150 29" id="cmb_patientnm" class="combo_search" enable="false" visible="false" innerdataset="@ds_main_patinfo_patinfolist" datacolumn="hngnm" codecolumn="pid"/>
- <Static text="병 동 :" position="absolute 5 11 60 28" id="ctn_ward" class="search_name"/>
- <Static text="환자정보 :" position="absolute 5 11 80 28" id="ctn_pid" class="search_name" visible="false"/>
- <Combo position="absolute 60 10 165 29" id="cmb_ward" class="combo_search" innerdataset="@ds_init_dept_dept" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="group5_grp_sea_cmb_ward_onitemchanged"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="입원업무 체크리스트" position="absolute 0 0 157 20" id="caption6" class="tit_1"/>
- <Grid position="absolute 0 95 190 745" id="grd_wardpatlist" binddataset="ds_main_wardpatinfo_wardpatlist" oncelldblclick="group5_grd_wardpatlist_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="65"/>
- <Column size="50"/>
- <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 text="병실"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="S/A"/>
- <Cell col="3" text="indd"/>
- <Cell col="4" text="cretno"/>
- <Cell col="5" text="pid"/>
- <Cell col="6" text="ordtype"/>
- <Cell col="7" text="orddeptcd"/>
- <Cell col="8" text="orddrid"/>
- </Band>
- <Band id="body">
- <Cell text="bind:roomcd"/>
- <Cell col="1" style="align:left;" text="bind:patnm"/>
- <Cell col="2" style="align:left;" text="bind:sexage"/>
- <Cell col="3" text="bind:indd"/>
- <Cell col="4" text="bind:cretno"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:ordtype"/>
- <Cell col="7" text="bind:orddeptcd"/>
- <Cell col="8" text="bind:orddrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 90 190 96" linetype="horizontal" id="line5" class="line_10"/>
- <Static text="입원환자 현황" position="absolute 0 74 113 90" align="align:center middle;" id="caption14" class="tit_2"/>
- <Grid position="absolute 195 95 775 745" id="grd_inworkchklist" binddataset="ds_main_inworkchkinfo_inworkchklist" cellsizingtype="col" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="240"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="75"/>
- </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="업무수행"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" style="padding:0 0 0 2;" text="bind:chkcd" combodataset="ds_codelistI01" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" text="bind:inchkyn"/>
- <Cell col="3" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##'"/>
- <Cell col="4" text="bind:fstrgstrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 195 90 775 96" linetype="horizontal" id="line4" class="line_10"/>
- <Static text="입원업무 리스트" position="absolute 195 74 339 90" align="align:center middle;" id="caption1" class="tit_2"/>
- <Combo position="absolute 245 30 305 49" id="cmb_Zone" class="combo_search" visible="false" innerdataset="@ds_temp_zoneinfo_zonelist" datacolumn="bednm" codecolumn="bedcd" onitemchanged="group5_cmb_Zone_onitemchanged"/>
- <Static text="구 역 :" position="absolute 190 31 245 48" align="align:center middle;" id="cap_Zone" class="search_name" visible="false"/>
- <Button position="absolute 711 70 775 89" id="button3" class="btn2" text="조회기준" onclick="group5_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_settinginfo_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnnm" type="STRING"/>
- <Column id="settingrnid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_dept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_wardpatinfo_wardpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="roomcd" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_inworkchkinfo_inworkchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkcd" type="STRING"/>
- <Column id="inchkyn" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_zoneinfo_zonelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bednm" type="STRING"/>
- <Column id="bedcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="settingrnid" type="STRING" size="256" sumtext="내환자간호사id"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="emcflag" type="STRING" size="256" sumtext="응급의료센터구분"/>
- <Column id="zonecd" type="STRING" size="256" sumtext="응급실구역코드"/>
- <Column id="dschyn" type="STRING" size="256" sumtext="퇴원환자 제외여부"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="nursid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="settingrnid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="zonecd" type="STRING" size="256"/>
- <Column id="patientnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="mskind" type="STRING" size="256"/>
- <Column id="histstat" type="STRING" size="256"/>
- <Column id="hospbrthyn" type="STRING" size="256"/>
- <Column id="rsrvinyn" type="STRING" size="256"/>
- <Column id="intm" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="dschtm" type="STRING" size="256"/>
- <Column id="dschtype" type="STRING" size="256"/>
- <Column id="dethdt" type="STRING" size="256"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- <Column id="fsexamflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="suppkind" type="STRING" size="256"/>
- <Column id="centcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="specordyn" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="roomgrdecd" type="STRING" size="256"/>
- <Column id="roomtypecd" type="STRING" size="256"/>
- <Column id="rqsthospcd" type="STRING" size="256"/>
- <Column id="rqstdrid" type="STRING" size="256"/>
- <Column id="drgyn" type="STRING" size="256"/>
- <Column id="bmtyn" type="STRING" size="256"/>
- <Column id="clincstdyyn" type="STRING" size="256"/>
- <Column id="clincstdycd" type="STRING" size="256"/>
- <Column id="batlockid" type="STRING" size="256"/>
- <Column id="batlockyn" type="STRING" size="256"/>
- <Column id="ordcostretcdd" type="STRING" size="256"/>
- <Column id="ordcostcalcdd" type="STRING" size="256"/>
- <Column id="dschdclrtyn" type="STRING" size="256"/>
- <Column id="dschdclrdt" type="STRING" size="256"/>
- <Column id="dschdclrtrgstid" type="STRING" size="256"/>
- <Column id="dschdclrtrgstnm" type="STRING" size="256"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256"/>
- <Column id="dschrgstacptdt" type="STRING" size="256"/>
- <Column id="dschrgstacptchar" type="STRING" size="256"/>
- <Column id="dschnotiyn" type="STRING" size="256"/>
- <Column id="dschnotidt" type="STRING" size="256"/>
- <Column id="dschnotirgstid" type="STRING" size="256"/>
- <Column id="dschnotirgstdt" type="STRING" size="256"/>
- <Column id="calclastdd" type="STRING" size="256"/>
- <Column id="dschjudgprcsstat" type="STRING" size="256"/>
- <Column id="lastjudgdd" type="STRING" size="256"/>
- <Column id="lastmdlclamdd" type="STRING" size="256"/>
- <Column id="lastjudgendid" type="STRING" size="256"/>
- <Column id="spcljudgflag" type="STRING" size="256"/>
- <Column id="mainjudgid" type="STRING" size="256"/>
- <Column id="iphs_fromdd" type="STRING" size="256"/>
- <Column id="iphs_insukind" type="STRING" size="256"/>
- <Column id="iphs_suppkind" type="STRING" size="256"/>
- <Column id="icdr_roomgrdecd" type="STRING" size="256"/>
- <Column id="icdr_roomtypecd" type="STRING" size="256"/>
- <Column id="icdr_wardcd2" type="STRING" size="256"/>
- <Column id="icdr_roomcd2" type="STRING" size="256"/>
- <Column id="icdr_roomgrdecd2" type="STRING" size="256"/>
- <Column id="icdr_roomtypecd2" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="hngnm2" type="STRING" size="256"/>
- <Column id="dispnm1" type="STRING" size="256"/>
- <Column id="dispnm2" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="arvpath" type="STRING" size="256"/>
- <Column id="ordrslt" type="STRING" size="256"/>
- <Column id="hospiceyn" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="orgordtype" type="STRING" size="256"/>
- <Column id="brateflag" type="STRING" size="256"/>
- <Column id="ermngtamtcalcyn" type="STRING" size="256"/>
- <Column id="erbrthflag" type="STRING" size="256"/>
- <Column id="erchospath" type="STRING" size="256"/>
- <Column id="erorddeptcd" type="STRING" size="256"/>
- <Column id="eroutdt" type="STRING" size="256"/>
- <Column id="careinrmdd" type="STRING" size="256"/>
- <Column id="careinrmtm" type="STRING" size="256"/>
- <Column id="careinrmrgstrid" type="STRING" size="256"/>
- <Column id="prcplockid" type="STRING" size="256"/>
- <Column id="iprcaddyn" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="hosoutexptresncd" type="STRING" size="256"/>
- <Column id="brthdd" type="STRING" size="256"/>
- <Column id="calcdd" type="STRING" size="256"/>
- <Column id="calctm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="replyn" type="STRING" size="256"/>
- <Column id="repltypenm" type="STRING" size="256"/>
- <Column id="resnyn" type="STRING" size="256"/>
- <Column id="npresnyn" type="STRING" size="256"/>
- <Column id="autoformcd" type="STRING" size="256"/>
- <Column id="subcretno" type="STRING" size="256"/>
- <Column id="prcpsaveyn" type="STRING" size="256"/>
- <Column id="emrsaveyn" type="STRING" size="256"/>
- <Column id="ertransyn" type="STRING" size="256"/>
- <Column id="ercareinrmdd" type="STRING" size="256"/>
- <Column id="ercareinrmtm" type="STRING" size="256"/>
- <Column id="coopteamcd" type="STRING" size="256"/>
- <Column id="coopteamnm" type="STRING" size="256"/>
- <Column id="nonprgresncd" type="STRING" size="256"/>
- <Column id="nonprgresncnts" type="STRING" size="256"/>
- <Column id="scndyn" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="rsrvflag" type="STRING" size="256"/>
- <Column id="etcordflag" type="STRING" size="256"/>
- <Column id="callvisityn" type="STRING" size="256"/>
- <Column id="specordtype" type="STRING" size="256"/>
- <Column id="specordtypenm" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="bedposcntscd" type="STRING" size="256"/>
- <Column id="bedposcnts" type="STRING" size="256"/>
- <Column id="basetypecd" type="STRING" size="256"/>
- <Column id="typenm" type="STRING" size="256"/>
- <Column id="opfeechkyn" type="STRING" size="256"/>
- <Column id="erissdeptcd" type="STRING" size="256"/>
- <Column id="warnmsg" type="STRING" size="256"/>
- <Column id="errwarnmsg" type="STRING" size="256"/>
- <Column id="durdiagyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="255"/>
- <Column id="cdid" type="STRING" size="255"/>
- <Column id="cdnm" type="STRING" size="255"/>
- <Column id="grupdetldesc" type="STRING" size="255"/>
- <Column id="supcdid" type="STRING" size="255"/>
- <Column id="sortseq" type="BIGDECIMAL" size="255"/>
- <Column id="valifromdd" type="STRING" size="255"/>
- <Column id="valitodd" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelistI01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="255"/>
- <Column id="cdid" type="STRING" size="255"/>
- <Column id="cdnm" type="STRING" size="255"/>
- <Column id="grupdetldesc" type="STRING" size="255"/>
- <Column id="supcdid" type="STRING" size="255"/>
- <Column id="sortseq" type="BIGDECIMAL" size="255"/>
- <Column id="valifromdd" type="STRING" size="255"/>
- <Column id="valitodd" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.grp_sea.cmb_ward" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
- <BindItem id="item1" compid="group5.grp_sea.cmb_patientnm" propid="value" datasetid="ds_main_cond" columnid="patientnm"/>
- <BindItem id="item2" compid="group5.grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item3" compid="group5.cmb_Zone" propid="value" datasetid="ds_main_cond" columnid="zonecd"/>
- <BindItem id="item4" compid="group5.grp_sea.cmb_settingrn" propid="value" datasetid="ds_main_cond" columnid="settingrnid"/>
- <BindItem id="item5" compid="group5.grp_sea.ipt_orddd" propid="value" datasetid="ds_main_cond" columnid="orddd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SMMNW17300
- * Creator : yjh
- * Make Date : 2017-01-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-01-09 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_wardcarexp::SMMNW17300.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNW17300
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNW17300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNW17300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNW17300_onload(obj:Form, e:LoadEventInfo)
- {
- //finit();
- this.setTimer(0, 100);
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_ward
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group5_grp_sea_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fnZoneDisp();
- fSettingnurid();
- fGetWardPatList();
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : ipt_orddd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 달력 값 변경시
- ****************************************************************************************/
- function group5_grp_sea_ipt_orddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- finit("Search");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_settingrn
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group5_grp_sea_cmb_settingrn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetWardPatList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group5_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- finit("Search");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_wardpatlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function group5_grd_wardpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var condparam = "";
- // 상단정보 올림
- condparam = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "ordtype")
- + "▦" + ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "pid")
- + "▦" + ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "indd")
- + "▦" + ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "cretno")
- + "▦" + ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "instcd")
- + "▦" + "";//model.getValue("/root/cond/actvdd");
-
- // setParameter("condparam", condparam);
- // modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- appf_initPatientInfo(condparam); //상단정보 셋팅
- fSearch();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_Zone
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group5_cmb_Zone_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetWardPatList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회기준버튼 클릭시
- ****************************************************************************************/
- function group5_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if(!utlf_isNull(group5.grp_sea.cmb_ward.text)){
- frmf_setParameter("PARAM1", group5.grp_sea.cmb_ward.value);
- frmf_setParameter("PARAM2", group5.grp_sea.cmb_ward.text);
-
- frmf_modal("SPMNW17300","SPMNW17300",null,"",1,1,1,"","","","","","M"); //yjh1
-
- fSearch() ;
- }else{
- sysf_messageBox("병동을 먼저 선택하십시오.", "I");
- }
- }
- function SMMNW17300_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
- finit();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|