1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNR03400" position="absolute 0 0 950 762" titletext="간호일지 Type Ⅱ" onload="SMMNR03400_onload" onclose="SMMNR03400_onclose" scrollbars="none" ontimer="SMMNR03400_ontimer">
- <Layouts>
- <Layout>
- <Static id="cap_settingrn" text="내환자" class="cell_1" position="absolute 390 27 475 50" visible="false"/>
- <Static id="Static03" position="absolute 0 26 950 52" anchor="left top right" class="div_SA"/>
- <Div id="grp_opanst" visible="false" position="absolute 0 191 190 326" anchor="default" positiontype="position">
- <Layouts>
- <Layout>
- <Button id="button2" class="btn2" position="absolute 87 110 129 130" anchor="default" positiontype="position" text="선택" onlbuttonup="button2_onlbuttonup" onclick="button2_onclick"/>
- <Button id="button8" class="btn2" position="absolute 132 110 174 130" anchor="default" positiontype="position" text="닫기" onlbuttonup="button8_onlbuttonup" onclick="button8_onclick"/>
- <Grid id="grd_opanst" position="absolute 15 5 175 105" anchor="default" positiontype="position" onkeydown="grd_opanst_onkeydown" binddataset="ds_init_opanstlist" ondbclick="grd_opanst_ondbclick" oncelldblclick="grp_opanst_grd_opanst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="158"/>
- <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="recflag"/>
- <Cell col="2" text="그룹코드"/>
- </Band>
- <Band id="body">
- <Cell text="bind:hngnm"/>
- <Cell col="1" visible="false" text="bind:recflag"/>
- <Cell col="2" visible="false" text="bind:grupcd"/>
- <Cell col="3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line7" class="line_10" position="absolute 0 23 950 29" anchor="default" positiontype="position" linetype="horizontal" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption3" class="cell_1" position="absolute 1 27 101 51" anchor="default" positiontype="position" text="용도(부서)선택"/>
- <Shape id="line3" class="line_2" position="absolute 0 59 653 59" anchor="default" positiontype="position" linetype="horizontal"/>
- <Static id="caption4" class="cell_1" position="absolute 390 27 475 52" anchor="default" positiontype="position" text="환자정보" style="align:center middle;"/>
- <Tab id="swt_recinfo" position="absolute 0 41 950 756" anchor="all" positiontype="position" class="tab_Normal">
- <Tabpages>
- <Tabpage id="stmtinfo" class="tab_Normal" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static id="Static00" class="div_SA" position="absolute 0 652 950 703" anchor="left right bottom"/>
- <Static id="Static03" class="div_SA" position="absolute 0 0 950 29" anchor="left top right"/>
- <Button id="button1" class="btn3" position="absolute 866 5 946 25" anchor="top right" positiontype="position" text="기록조회" onclick="button1_onclick"/>
- <Button id="btn_stmtsave" class="btn3" position="absolute 783 5 863 25" anchor="top right" positiontype="position" text="인증저장" onclick="btn_stmtsave_onclick"/>
- <Calendar id="ipt_recdd" class="input_default" taborder="2" position="absolute 197 5 297 25" anchor="default" positiontype="position" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <MaskEdit id="ipt_rectm" class="input_default" taborder="3" mask="##:##" position="absolute 300 5 340 25" anchor="default" positiontype="position" imemode="hangul" type="string" onkeydown="swt_recinfo_stmtinfo_ipt_rectm_onkeydown" maskchar=" " displaynulltext=" " style="align:center middle;" ontextchange="swt_recinfo_stmtinfo_ipt_rectm_ontextchange" autoselect="true" trimtype="both" autoskip="true"/>
- <Button id="btn_recdt" class="btn5" enable="true" taborder="4" position="absolute 343 5 387 25" anchor="default" positiontype="position" text="적용" onclick="btn_recdt_onclick"/>
- <Static id="caption2" class="cell_1" position="absolute 0 3 100 27" anchor="default" positiontype="position" text="기록일자 정보"/>
- <Radio id="rdo_recflag" taborder="1" columncount="2" position="absolute 104 5 200 25" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_recinfo_stmtinfo_rdo_recflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">자동</Col>
- </Row>
- <Row>
- <Col id="codecolumn">U</Col>
- <Col id="datacolumn">지정</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption52" class="cell_1" position="absolute 1 678 143 702" style="align:center middle;" anchor="left bottom" positiontype="position" text=""/>
- <Button id="btn_freetextsave" class="btn5" taborder="11" position="absolute 902 655 946 675" anchor="right bottom" positiontype="position" text="선택" onclick="btn_freetextsave_onclick"/>
- <Static id="caption56" class="cell_1" position="absolute 1 653 143 677" anchor="left bottom" positiontype="position" text="Free Text" onkeydown="caption56_onkeydown" ondbclick="caption56_ondbclick"/>
- <Radio id="rdo_freetextdnarflag" columncount="5" position="absolute 2 680 144 700" anchor="left bottom" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">S</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1D</Col>
- <Col id="datacolumn">D</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3A</Col>
- <Col id="datacolumn">A</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4R</Col>
- <Col id="datacolumn">R</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <TextArea id="textarea4" position="absolute 146 655 899 700" anchor="left right bottom" positiontype="position" imemode="hangul"/>
- <Grid id="grd_stmtinfo" taborder="12" binddataset="ds_grid_grd_stmtinfo" autoenter="select" useinputpanel="false" selecttype="multirow" extendsizetype="both" cellsizingtype="both" oncellclick="swt_recinfo_stmtinfo_grd_stmtinfo_oncellclick" onenteredit="swt_recinfo_stmtinfo_grd_stmtinfo_onenteredit" onexpanddown="swt_recinfo_stmtinfo_grd_stmtinfo_onexpanddown" usebitmapcache="true" position="absolute 0 29 950 654" anchor="all" onclick="grd_stmtinfo_onclick" onmousemove="swt_recinfo_stmtinfo_grd_stmtinfo_onmousemove" oncloseup="swt_recinfo_stmtinfo_grd_stmtinfo_oncloseup" onlbuttondown="swt_recinfo_stmtinfo_grd_stmtinfo_onlbuttondown" onlbuttonup="swt_recinfo_stmtinfo_grd_stmtinfo_onlbuttonup" onselectchanged="swt_recinfo_stmtinfo_grd_stmtinfo_onselectchanged" onkeydown="swt_recinfo_stmtinfo_grd_stmtinfo_onkeydown" ontextchanged="swt_recinfo_stmtinfo_grd_stmtinfo_ontextchanged" onkillfocus="swt_recinfo_stmtinfo_grd_stmtinfo_onkillfocus">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="31" band="left"/>
- <Column size="20" band="left"/>
- <Column size="0"/>
- <Column size="71"/>
- <Column size="105"/>
- <Column size="0"/>
- <Column size="224"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="21" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="속성"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="grupcd"/>
- <Cell col="3" text="그룹명"/>
- <Cell col="4" text="기록일시"/>
- <Cell col="5" text="stmtcd"/>
- <Cell col="6" text="진술문장"/>
- <Cell col="7" text="diagstmtcd"/>
- <Cell col="8" text="attrinfo1"/>
- <Cell col="9" text="attrinfo2"/>
- <Cell col="10" text="attressnyn"/>
- <Cell col="11" text="dnarflag"/>
- <Cell col="12" text="attrcnt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:attryn"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:grupcd"/>
- <Cell col="3" style="align:center middle;" text="bind:grupnm" wordwrap="char" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="4" displaytype="date" text="bind:recdt" mask="yyyy-MM-dd HH:mm" suppress="1" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <Cell col="5" text="bind:stmtcd"/>
- <Cell col="6" style="align:top;padding:3 0 0 2;linespace:2;" text="bind:stmtcnts" wordwrap="char" suppress="1" suppressalign="first,over" autosizerow="limitmin"/>
- <Cell col="7" text="bind:diagstmtcd"/>
- <Cell col="8" text="bind:attrinfo1"/>
- <Cell col="9" text="bind:attrinfo2"/>
- <Cell col="10" text="bind:attressnyn"/>
- <Cell col="11" text="bind:dnarflag"/>
- <Cell col="12" text="bind:attrcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="recinfo" class="tab_Normal">
- <Layouts>
- <Layout>
- <Div id="group9" position="absolute 0 2 950 34" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption1" class="search_name" position="absolute 8 7 94 27" anchor="default" text="조회일자:" positiontype="position"/>
- <Static id="caption60" position="absolute 171 7 187 27" anchor="default" text="~" style="align:center middle;" positiontype="position"/>
- <Static id="caption62" class="search_name" position="absolute 301 7 385 27" anchor="default" text="DNAR 구분:" positiontype="position"/>
- <Static id="caption63" class="search_name" position="absolute 474 7 543 27" anchor="default" text="정렬순서:" positiontype="position"/>
- <Calendar id="input13" class="input_search" taborder="1" position="absolute 81 7 171 27" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true" autoskip="true"/>
- <Combo id="combo2" class="combo_essential" taborder="3" position="absolute 390 7 450 27" anchor="default" codecolumn="itemcd" datacolumn="itemnm" innerdataset="@ds_init_dnarflag" positiontype="position"/>
- <Button id="button6" taborder="6" position="absolute 807 4 863 24" anchor="top right" text="조회" onlbuttonup="button6_onlbuttonup" onclick="button6_onclick" positiontype="position" class="btn1"/>
- <Calendar id="input14" class="input_search" taborder="2" position="absolute 187 7 277 27" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true" autoskip="true"/>
- <Combo id="combo3" class="combo_essential" taborder="5" position="absolute 547 7 652 27" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">기록일자↓</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">기록일자↑</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_rec" class="btn3" position="absolute 866 6 946 26" anchor="top right" positiontype="position" text="기록작성" onclick="btn_rec_onclick"/>
- <Grid id="grd_carerecspec" position="absolute 0 33 950 705" anchor="all" positiontype="position" onlbuttonDown="grd_carerecspec_onlbuttonDown" binddataset="ds_grid_grd_carerecspec" onbuttondown="grd_carerecspec_onbuttondown" onclick="grd_carerecspec_onclick" onrbuttondown="swt_recinfo_recinfo_grd_carerecspec_onrbuttondown" selecttype="multirow" autofittype="col" oncellclick="swt_recinfo_recinfo_grd_carerecspec_oncellclick" autosizingtype="row" cellsizingtype="both" extendsizetype="both" onmousemove="swt_recinfo_recinfo_grd_carerecspec_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77"/>
- <Column size="49"/>
- <Column size="42"/>
- <Column size="659"/>
- <Column size="79"/>
- <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="21" band="head"/>
- <Row size="21"/>
- </Rows>
- <Band id="head">
- <Cell text="기록일자"/>
- <Cell col="1" text="시간"/>
- <Cell col="2" text="DNAR"/>
- <Cell col="3" text="간호기록"/>
- <Cell col="4" text="작성자"/>
- <Cell col="5" text="stmtcd"/>
- <Cell col="6" text="origincd"/>
- <Cell col="7" text="recoriginflag"/>
- <Cell col="8" text="carerecno"/>
- <Cell col="9" text="recflag"/>
- <Cell col="10" text="reclnkkey"/>
- <Cell col="11" text="interprecyn"/>
- <Cell col="12" text="fstrgstrid"/>
- <Cell col="13" text="certselyn"/>
- <Cell col="14" text="recverno"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:recdd" mask="####-##-##" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:center middle;" text="bind:rectm" mask="##:##" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" displaytype="combo" edittype="none" style="align:center middle;" text="bind:dnarflag" suppress="3" suppressalign="middle,over" combodataset="ds_init_dnarflag" combocodecol="itemcd" combodatacol="itemnm"/>
- <Cell col="3" style="align:left middle;" text="bind:stmtspec" wordwrap="char" suppress="4" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="4" style="align:center middle;" text="bind:fstrgstrnm" wordwrap="char" suppressalign="first" autosizerow="limitmin"/>
- <Cell col="5" text="bind:stmtcd"/>
- <Cell col="6" text="bind:origincd"/>
- <Cell col="7" text="bind:recoriginflag"/>
- <Cell col="8" text="bind:carerecno"/>
- <Cell col="9" text="bind:recflag"/>
- <Cell col="10" text="bind:reclnkkey"/>
- <Cell col="11" text="bind:interprecyn"/>
- <Cell col="12" text="bind:fstrgstrid"/>
- <Cell col="13" text="bind:certselyn"/>
- <Cell col="14" text="bind:recverno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="cap_title" class="tit_2" position="absolute 0 5 156 25" anchor="default" positiontype="position" text="간호일지 Type Ⅱ"/>
- <Edit readonly="true" id="opt_pid" position="absolute 478 29 585 49" anchor="default" positiontype="position" class="output"/>
- <Edit readonly="true" id="opt_pname" position="absolute 588 29 684 49" anchor="default" positiontype="position" class="output"/>
- <Edit readonly="true" id="opt_age" position="absolute 687 29 743 49" anchor="default" positiontype="position" class="output"/>
- <Combo id="cmb_deptflag" enable="false" position="absolute 104 29 387 49" anchor="default" positiontype="position" innerdataset="@ds_init_gruplist" codecolumn="grupcd" datacolumn="hngnm" onitemchanged="cmb_deptflag_onitemchanged"/>
- <Button id="btn_set" class="btn4" position="absolute 836 29 946 49" anchor="top right" positiontype="position" text="간호기록 Set" onclick="btn_set_onclick"/>
- <PopupDiv id="PopupDiv00" text="PopupDiv00" scrollbars="none" position="absolute 474 105 609 180">
- <Layouts>
- <Layout>
- <Grid id="Grid00" taborder="0" binddataset="ds_combo" scrollbars="none" useinputpanel="false" autosizingtype="col" oncellclick="PopupDiv00_Grid00_oncellclick" position="absolute 0 0 135 75" class="grd_Listbox">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="119"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell style="align:left;" text="bind:attrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </PopupDiv>
- <Combo id="cmb_pid_er" taborder="1" text="Combo00" position="absolute 479 30 584 49" innerdataset="@ds_init_nursemainlist" datacolumn="patnm" codecolumn="pid" onitemchanged="cmb_pid_er_onitemchanged"/>
- <Combo id="cmb_pid" taborder="2" innerdataset="@ds_init_chemolist" codecolumn="pid" datacolumn="hngnm" position="absolute 479 30 584 49" onitemchanged="cmb_pid_onitemchanged"/>
- <Combo id="cmb_settingrn" taborder="3" innerdataset="@ds_init_settinginfo" codecolumn="settingrnid" datacolumn="settingrnnm" position="absolute 479 30 584 49" visible="false" onitemchanged="cmb_settingrn_onitemchanged"/>
- <Edit id="ipt_srchpid" taborder="4" readonly="true" position="absolute 478 29 585 49" class="output" visible="false"/>
- <Button id="btn_srchpid" taborder="5" onclick="grp_biz_group1_btn_pid2_onclick" class="icon_search" visible="false" position="absolute 571 30 587 46"/>
- <Static id="cap_prtlnm" position="absolute 593 3 946 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_opanst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- <Column id="grupcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grid_grd_stmtinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="attryn" type="STRING"/>
- <Column id="check" type="STRING"/>
- <Column id="grupcd" type="STRING"/>
- <Column id="grupnm" type="STRING"/>
- <Column id="recdt" type="STRING"/>
- <Column id="stmtcd" type="STRING"/>
- <Column id="stmtcnts" type="STRING"/>
- <Column id="diagstmtcd" type="STRING"/>
- <Column id="attrinfo1" type="STRING"/>
- <Column id="attrinfo2" type="STRING"/>
- <Column id="attressnyn" type="STRING"/>
- <Column id="dnarflag" type="STRING"/>
- <Column id="attrcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_carerecspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recdd" type="STRING"/>
- <Column id="rectm" type="STRING"/>
- <Column id="dnar" type="STRING"/>
- <Column id="stmtspec" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="stmtcd" type="STRING"/>
- <Column id="origincd" type="STRING"/>
- <Column id="recoriginflag" type="STRING"/>
- <Column id="carerecno" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- <Column id="reclnkkey" type="STRING"/>
- <Column id="interprecyn" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="certselyn" type="STRING"/>
- <Column id="recverno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_pamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_opanstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="grupcd" type="STRING" size="256"/>
- <Column id="recdateflag" type="STRING" size="256"/>
- <Column id="certrecflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="dnarflag" type="STRING" size="256"/>
- <Column id="sortseq" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pname" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="srch_pid" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="freetextdnarflag" type="STRING" size="256"/>
- <Column id="maxattrcnt" type="STRING" size="256"/>
- <Column id="freetextsrchcnts" type="STRING" size="256"/>
- <Column id="carediagflag" type="STRING" size="256"/>
- <Column id="acptuniqno" type="STRING" size="256"/>
- <Column id="pastorddd" type="STRING" size="256"/>
- <Column id="pastordddflag" type="STRING" size="256"/>
- <Column id="settingrnid" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- <Column id="Column2" type="STRING" size="256"/>
- <Column id="Column3" type="STRING" size="256"/>
- <Column id="Column4" type="STRING" size="256"/>
- <Column id="Column5" type="STRING" size="256"/>
- <Column id="Column6" type="STRING" size="256"/>
- <Column id="Column7" type="STRING" size="256"/>
- <Column id="Column8" type="STRING" size="256"/>
- <Column id="Column9" type="STRING" size="256"/>
- <Column id="Column10" type="STRING" size="256"/>
- <Column id="Column11" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_gruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="grupcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_attrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_gruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_dnarflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="itemcd" type="STRING" size="256"/>
- <Column id="itemnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="itemcd">%</Col>
- <Col id="itemnm">전체</Col>
- </Row>
- <Row>
- <Col id="itemcd">1D</Col>
- <Col id="itemnm">D</Col>
- </Row>
- <Row>
- <Col id="itemcd">2N</Col>
- <Col id="itemnm">N</Col>
- </Row>
- <Row>
- <Col id="itemcd">3A</Col>
- <Col id="itemnm">A</Col>
- </Row>
- <Row>
- <Col id="itemcd">4R</Col>
- <Col id="itemnm">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_tmpsign" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_fsign" 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="orddd" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="recsaveflag" type="STRING" size="256"/>
- <Column id="signflag" type="STRING" size="256"/>
- <Column id="signgenrflag" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="dispyn" type="STRING" size="256"/>
- <Column id="signbfcnts" type="STRING" size="256"/>
- <Column id="signaftcnts" type="STRING" size="256"/>
- <Column id="screenid" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="acptuniqno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_recddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_totnursingrecordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_srchpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_dutplcdcdm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="grupcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_nursemainlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_chemolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_settinginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnnm" type="STRING" size="256"/>
- <Column id="settingrnid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prerecinfo" 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"/>
- <Dataset id="ds_tmp_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prerecinfo_prereclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_deptflag" propid="value" datasetid="ds_cond" columnid="grupcd"/>
- <BindItem id="item2" compid="opt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item3" compid="opt_pname" propid="value" datasetid="ds_cond" columnid="pname"/>
- <BindItem id="item4" compid="opt_age" propid="value" datasetid="ds_cond" columnid="age"/>
- <BindItem id="item5" compid="swt_recinfo.stmtinfo.rdo_recflag" propid="value" datasetid="ds_cond" columnid="recdateflag"/>
- <BindItem id="item6" compid="swt_recinfo.stmtinfo.ipt_recdd" propid="value" datasetid="ds_cond" columnid="recdd"/>
- <BindItem id="item7" compid="swt_recinfo.stmtinfo.ipt_rectm" propid="value" datasetid="ds_cond" columnid="rectm"/>
- <BindItem id="item8" compid="swt_recinfo.stmtinfo.rdo_freetextdnarflag" propid="value" datasetid="ds_cond" columnid="freetextdnarflag"/>
- <BindItem id="item9" compid="swt_recinfo.recinfo.group9.input13" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item10" compid="swt_recinfo.recinfo.group9.input14" propid="value" datasetid="ds_cond" columnid="todd"/>
- <BindItem id="item11" compid="swt_recinfo.recinfo.group9.combo2" propid="value" datasetid="ds_cond" columnid="dnarflag"/>
- <BindItem id="item12" compid="swt_recinfo.recinfo.group9.combo3" propid="value" datasetid="ds_cond" columnid="sortseq"/>
- <BindItem id="item13" compid="swt_recinfo.stmtinfo.textarea4" propid="value" datasetid="ds_cond" columnid="freetextsrchcnts"/>
- <BindItem id="item1" compid="ipt_srchpid" propid="value" datasetid="ds_cond" columnid="srch_pid"/>
- <BindItem id="item14" compid="cmb_pid" propid="value" datasetid="ds_cond" columnid="srch_pid"/>
- <BindItem id="item15" compid="cmb_pid_er" propid="value" datasetid="ds_cond" columnid="srch_pid"/>
- <BindItem id="item16" compid="cmb_settingrn" propid="value" datasetid="ds_cond" columnid="settingrnid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SMMNR03400_간호일지타입II.xfdl
- * Creator :
- * Make Date : 2016-03-02
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "emr_carerecxp::SMMNR034.xjs";
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- include "emr_spclcarexp::MNS001.xjs";
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fcolwidth() {
- var cnt = 0;
- for ( var i = 0; i < swt_recinfo.stmtinfo.grd_stmtinfo.getCellCount("Head"); i++ ) {
- cnt =+ cnt + swt_recinfo.stmtinfo.grd_stmtinfo.getFormatColSize(i);
- }
- // alert( cnt);
- var wid = swt_recinfo.stmtinfo.grd_stmtinfo.position.width.toString();
- var allcnt = wid.substr(0,3);
-
- var checkcnt = allcnt - cnt;
- // alert(checkcnt);
- var stmtcnt = swt_recinfo.stmtinfo.grd_stmtinfo.getFormatColSize(swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex("body","stmtcnts"));
-
- if ( allcnt > (cnt+25) ) {
- if ( checkcnt > 300 ) {
- swt_recinfo.stmtinfo.grd_stmtinfo.setFormatColProperty(swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex("body","stmtcnts"),"size",stmtcnt + 300);
- } else {
- swt_recinfo.stmtinfo.grd_stmtinfo.setFormatColProperty(swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex("body","stmtcnts"),"size",stmtcnt + checkcnt - 25);
-
- }
- }
- }
- function fprtlnm(){
- var pid = ds_cond.getColumn(0,"srch_pid");
- var chemo = ds_init_chemolist.rowcount;
- var prtlnm = "";
-
- if (!utlf_isNull(pid)){
- if(chemo > 0){
- prtlnm = ds_init_chemolist.lookup("pid", pid, "prtlnm");
- cap_prtlnm.text = prtlnm ;
- }
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMMNR03400
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMMNR03400_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- zesf_InitSign(); // 전자서명관련 모듈 생성 및 초기화
- frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick",
- [{id: "fUpdtNursingRecord", level: "1", title: "간호기록 수정"}
- ,{id: "fDelNursingRecord", level: "1", title: "간호기록 삭제"}
- ,{id: "fStmtListRecdt", level: "1", title: "기록시간수정"}]);
-
- grdf_setAllCheck(swt_recinfo.stmtinfo.grd_stmtinfo);
-
- this.setTimer(0, 100);
- /*
- fInitialize();
- fcolwidth();
- fprtlnm();
- */
- }
- /****************************************************************************************
- * Components :
- * Components ID : SMMNR03400
- * Event : onclose
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMMNR03400_onclose(obj:Form, e:CloseEventInfo)
- {
- var tmp_chk = 0;
- for(var i=0; i<ds_grid_grd_stmtinfo.rowcount; i++){
- if(ds_grid_grd_stmtinfo.getColumn(i,"check") == 1 || ds_grid_grd_stmtinfo.getColumn(i,"check") == "true"){
- tmp_chk++;
- break;
- }
- }
- if(tmp_chk != 0){
- var returnMsg = sysf_messageBox("저장하지 않은 간호기록 내역이 있습니다. 다시 저장", "I008");// 하십시오.
- return false;
- }
-
- if ( gSignRecYN == "Y" ){
- opener.frmf_setParameter("SMMNR03400_SignRecYN", "Y");
- }else{
- opener.frmf_setParameter("SMMNR03400_SignRecYN", "");
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fGrpOpAnstSel();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : button8
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_opanst.grd_opanst.visible = false;
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_stmtinfo
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_stmtinfo_onclick(obj:Grid, e:ClickEventInfo)
- {
- if( grd_stmtinfo.col > 0 && isDataCell()) {
-
- fClickedGridRow();
- }
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSrchCareRec();
- //swt_recinfo.stmtinfo.grd_stmtinfo.setFormatColProperty(0,"band","");
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_stmtsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_stmtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveCareRec();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_recdt
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_recdt_onclick(obj:Button, e:ClickEventInfo)
- {
- // var sTime = swt_recinfo.stmtinfo.ipt_rectm.value;
- //
- // if(utlf_trim(sTime).length != 4){
- // sysf_messageBox("시간입력이 잘못되었습니다.","I");
- // return;
- // }
- fRecDTAppend();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_freetextsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_freetextsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fSelTextStmtInfo();
- }
- /****************************************************************************************
- * Components :
- * Components ID : caption56
- * Event : ondbclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function caption56_ondbclick(obj:Static, e:MouseEventInfo)
- {
- button7.disabled = false;
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearchRecInfo();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_rec
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_rec_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_recinfo.tabindex = 0;
- btn_set.visible = true;
- fMakeStmtList("false");
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_carerecspec
- * Event : onbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_carerecspec_onbuttondown(obj:Grid, e:MouseEventInfo)
- {
- fSettingPopUpMenu();
-
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_carerecspec
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_carerecspec_onclick(obj:Grid, e:ClickEventInfo)
- {
- //fSettingCertImg("R");
-
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_set
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_set_onclick(obj:Button, e:ClickEventInfo)
- {
- fCallDeptSet();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_inputpid
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_inputpid_onclick(obj:Button, e:ClickEventInfo)
- {
- //fSrchPatInfo("P");
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_srchpid
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_srchpid_onclick(obj:Button, e:ClickEventInfo)
- {
- fSrchPatInfo();
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow = -1;
- lastcol = -1;
- if(e.row > -1 && e.col > -1){
- var iRow = e.row;
- var iCol = e.col;
-
- goldCol = e.col;
- goldRow = e.row;
-
- if ( iRow > -1 && iRow < ds_grid_grd_stmtinfo.rowcount ){
- //if(iCol < gStndColCnt){
- if(iCol <= swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex("body","check")){
- if( ds_grid_grd_stmtinfo.getColumn(iRow, "check") == "true" || ds_grid_grd_stmtinfo.getColumn(iRow, "check") == 1){
- //grd_stmtinfo.rowstyle(iRow,"data","background-color") = "#ffff88";
- }else{
- //grd_stmtinfo.rowstyle(iRow,"data","background-color") = "#FFFFFF";
- }
-
- }else if(iCol >= gStndColCnt && (iCol-gStndColCnt)%3 == 2 ){
- fCallAttrPopUp(e.col);
- }
- }
- }
- /*
- var sStndColCnt = gStndColCnt;
- var tmp_maxcnt = ds_cond.getColumn(0,"maxattrcnt");
- var chckflag = 0;
- if(swt_recinfo.stmtinfo.grd_stmtinfo.rowcount > 0)
- {
- if(e.col <= swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex( "body", "grupnm"))
- {
- if(e.col == swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex( "body", "grupnm")){
- selGrupCd = ds_grid_grd_stmtinfo.getColumn(e.row,"grupcd");
-
-
- var tmp_chk = ds_grid_grd_stmtinfo.findRowExpr("grupcd=='"+selGrupCd+"' && (check=='true'||check=='1')");
-
- if(tmp_chk >= 0)
- chckflag = 1;
-
- for(var i=0;i<ds_grid_grd_stmtinfo.rowcount;i++){
- if(chckflag){
- if(ds_grid_grd_stmtinfo.getColumn(i,"grupcd") == selGrupCd){
- ds_grid_grd_stmtinfo.setColumn(i,"check",0);
- }
- }else{
- if(ds_grid_grd_stmtinfo.getColumn(i,"grupcd") == selGrupCd){
- ds_grid_grd_stmtinfo.setColumn(i,"check",1);
- }
- }
- }
- }
-
- }else if(e.col >= gStndColCnt && (e.col-gStndColCnt)%3 == 2 ){ //아이콘클릭(다중선택시)
- fCallAttrPopUp(e.col);
- }
- }
- */
- }
- function swt_recinfo_recinfo_grd_carerecspec_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
-
- var tmp_chk = 0;
- for(var i=0; i<ds_grid_grd_carerecspec.rowcount; i++){
- if(ds_grid_grd_carerecspec.getSelect(i) == true)
- tmp_chk++;
- }
- if(tmp_chk == 1)
- ds_grid_grd_carerecspec.clearSelect();
-
- ds_grid_grd_carerecspec.selectRow(e.row);
- ds_grid_grd_carerecspec.rowposition = e.row;
- pmn_popupMenu.trackPopup(e.screenX,e.screenY,"",true);
-
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "fUpdtNursingRecord")
- fUpdtNursingRecord();
- else if(e.id == "fDelNursingRecord")
- fDelNursingRecord();
- else if(e.id == "fStmtListRecdt")
- fStmtListRecdt();
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
-
- var sStndColCnt = gStndColCnt;
- var tmp_maxcnt = ds_cond.getColumn(0,"maxattrcnt");
- var arrCellRect = obj.getCellRect(e.row,e.cell);
- var nDivX = system.clientToScreenX(obj,arrCellRect.left);
- var nDivY = system.clientToScreenY(obj,arrCellRect.bottom);
- checkCol = e.col;
-
- if(e.col > gStndColCnt && e.col < gStndColCnt+tmp_maxcnt)
- {
- ds_data_attrinfo.filter("");
- var filterchk = "";
-
- for(var i=0; i<tmp_maxcnt; i++){
- if(e.col == (sStndColCnt+1)+(3*i))
- filterchk = ds_grid_grd_stmtinfo.getColumn(e.row,"attrcd"+(i+1));
- }
-
- ds_data_attrinfo.filter("supcd=='"+filterchk+"'");
- PopupDiv00.Grid00.binddataset = "ds_data_attrinfo";
-
- var nHeight = 24;
- if(ds_data_attrinfo.rowcount > 0){
- nHeight = ds_data_attrinfo.rowcount * 24;
- }else{
- return;
- }
- var Grid0Size = PopupDiv00.Grid00.getRealColFullSize("body");
- PopupDiv00.position.height = nHeight+2;
- PopupDiv00.Grid00.position.height = nHeight;
- if(Grid0Size >= 135){
- PopupDiv00.position.width = Grid0Size+2;
- PopupDiv00.Grid00.position.width = Grid0Size;
- }
-
- if(checkClick==false)
- {
- PopupDiv00.trackPopup(nDivX,nDivY);// 24는 그리드 헤드의 size 값
- checkClick = true;
- }
- else
- {
- PopupDiv00.closePopup();
- checkClick = false;
- }
- }
- }
- function ListBox00_onitemclick(obj:ListBox, e:ListBoxClickEventInfo)
- {
- ds_grid_grd_stmtinfo.setColumn(ds_grid_grd_stmtinfo.rowposition,ds_grid_grd_stmtinfo.getColID(checkCol),ds_data_attrinfo.getColumn(e.index, "attrnm"));
- checkCol = "";
- PopupDiv00.closePopup();
- }
- function swt_recinfo_stmtinfo_rdo_recflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSettingRecInfo();
- }
- function swt_recinfo_stmtinfo_ipt_rectm_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == '13'){
- fRecDTAppend();
- }
- }
- function cmb_deptflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // swt_recinfo.stmtinfo.grd_stmtinfo.setFormatColProperty(0,"band","");
- fGrpOpAnstSel();
- swt_recinfo.tabindex = 0;
- btn_set.visible = true;
- fMakeStmtList("false");
- // if(ds_grid_grd_stmtinfo.getColumnInfo("prcpchk")){
- // ds_grid_grd_stmtinfo.filter("prcpchk!='Y'");
- // }
- // fKeyset();
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onenteredit(obj:Grid, e:GridEditEventInfo)
- {
- if( e.col == 1 || e.col == 3 ){
- if(ds_grid_grd_stmtinfo.getColumn(e.row,"check") != 1){
- ds_grid_grd_stmtinfo.setColumn(e.row,"check",1);
- }
- }
- }
- function swt_recinfo_recinfo_grd_carerecspec_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col != 4) return;
- if(ds_grid_grd_carerecspec.getColumn(e.row,"fstrgstrid") != sysf_getUserId()){
- sysf_messageBox("다른 사람의 기록은 인증처리","E001");
- return;
- }
- }
- function PopupDiv00_Grid00_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_grid_grd_stmtinfo.setColumn(ds_grid_grd_stmtinfo.rowposition,ds_grid_grd_stmtinfo.getColID(checkCol),ds_data_attrinfo.getColumn(e.row, "attrnm"));
- checkCol = "";
- PopupDiv00.closePopup();
- }
- function grp_opanst_grd_opanst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGrpOpAnstSel();
- }
- function swt_recinfo_stmtinfo_ipt_rectm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- var posttext = utlf_trim(e.posttext.replace(":",""));
- if(!utlf_isNull(posttext.substring(0,1))){
- if(eval(posttext.substring(0,1)) > 2){
- swt_recinfo.stmtinfo.ipt_rectm.value = "";
- swt_recinfo.stmtinfo.ipt_rectm.setCaretPos(0);
- return;
- }
- }
- if(!utlf_isNull(posttext.substring(1,2))){
- if(eval(posttext.substring(0,1)) > 1){
- if(eval(posttext.substring(1,2)) > 3){
- swt_recinfo.stmtinfo.ipt_rectm.value = posttext.substring(0,1);
- swt_recinfo.stmtinfo.ipt_rectm.setCaretPos(1);
- return;
- }
- }
- }
- if(!utlf_isNull(posttext.substring(3,2))){
- if(eval(posttext.substring(3,2)) > 5){
- swt_recinfo.stmtinfo.ipt_rectm.value = posttext.substring(0,2);
- swt_recinfo.stmtinfo.ipt_rectm.setCaretPos(2);
- return;
- }
- }
- }
- function cmb_pid_er_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- swt_recinfo.tabindex = 0;
- fSetPatInfoER();
- fSetPatInitInfo();
-
- fMakeStmtList(true);
- ds_cond.setColumn(0, "freetextsrchcnts", "");
- ds_cond.setColumn(0, "freetextdnarflag", "");
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row >-1 && e.col > -1){
- if(!utlf_isNull(swt_recinfo.stmtinfo.grd_stmtinfo.getCellValue(e.row,e.col))){
- swt_recinfo.stmtinfo.grd_stmtinfo.tooltiptext = swt_recinfo.stmtinfo.grd_stmtinfo.getCellValue(e.row,e.col);
- }else{
- swt_recinfo.stmtinfo.grd_stmtinfo.tooltiptext ="";
- }
- }
- }
- function swt_recinfo_recinfo_grd_carerecspec_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row >-1 && e.col > -1){
- if(!utlf_isNull(swt_recinfo.recinfo.grd_carerecspec.getCellValue(e.row,e.col))){
- swt_recinfo.recinfo.grd_carerecspec.tooltiptext = swt_recinfo.recinfo.grd_carerecspec.getCellValue(e.row,e.col);
- }else{
- swt_recinfo.recinfo.grd_carerecspec.tooltiptext ="";
- }
- }
- }
- function cmb_pid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- swt_recinfo.tabindex = 0;
- fSetPatInfo();
- fSetPatInitInfo();
-
- fMakeStmtList(true);
- ds_cond.setColumn(0, "freetextsrchcnts", "");
- ds_cond.setColumn(0, "freetextdnarflag", "");
-
- fprtlnm();
- }
- function cmb_settingrn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_tmp_cond.addColumn("settingrnid","string");
- ds_tmp_cond.setColumn(0, "settingrnid", ds_cond.getColumn(0, "settingrnid") );
- fGetPatList();
- }
- function SMMNR03400_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
- fInitialize();
- fcolwidth();
- fprtlnm();
- }
- }
- function ds_grid_grd_stmtinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var iRow = e.row;
- var iCol = e.col;
- if(iCol >= gStndColCnt && (iCol-gStndColCnt)%3 == 1 ){
- //if( e.col != swt_recinfo.stmtinfo.grd_stmtinfo.getBindCellIndex("body","check") ){
- if(ds_grid_grd_stmtinfo.getColumn(e.row,"check") == 1 || ds_grid_grd_stmtinfo.getColumn(e.row,"check") == "true"){
-
- }else{
- ds_grid_grd_stmtinfo.setColumn(e.row,"check",1);
- }
-
- //if(ds_grid_grd_stmtinfo.getColumn(e.row,"check") != 1){
- // ds_grid_grd_stmtinfo.setColumn(e.row,"check",1);
- //}
- }
- }
- var gstredit2 = "";
- var goldRow = 0;
- var goldCol = 0;
- var lastrow = -1;
- var lastcol = -1;
- var bDrop = false;
- var bolenter = false;
- function swt_recinfo_stmtinfo_grd_stmtinfo_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var preVal = utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
- if( bDrop == true && (!utlf_isNull(posVal) || preVal != posVal )){
- bComboEdit = false;
- obj.showEditor(false);
- // ds_grd_24hoursclincobsreclist.setColumn(e.row, "edittype" + e.col, "none");
- //obj.setCellPos(e.col);
- gstredit2 = "";
- goldRow = ds_grid_grd_stmtinfo.rowposition;
- }
-
- bDrop = false;
- lastrow = e.row;
- lastcol = e.col;
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
-
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- // Combo DropDown Click 처리
- //grdf_setSelectedCell(obj, e);
- swt_recinfo.stmtinfo.grd_stmtinfo.autoenter = "key";
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop = true;
- }
-
- if(utlf_isNull(ds_grid_grd_stmtinfo.getColumnInfo("sdataset" + e.col))){
- swt_recinfo.stmtinfo.grd_stmtinfo.autoenter = "key";
- }else{
- if(e.row > -1 && e.col > 0 && utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(e.row, "sdataset" + e.col)).substr(0, 11) == "ds_comborow") {
- //group4.grd_24hoursclincobsreclist.autoenter = "select";
- // Combo 선택시 활성화 및 combodatacol 변경
- if(grdf_getSelectedCols(swt_recinfo.stmtinfo.grd_stmtinfo).length == 1
- && grdf_getSelectedRows(swt_recinfo.stmtinfo.grd_stmtinfo).length == 1
- && swt_recinfo.stmtinfo.grd_stmtinfo.getEditText() == undefined){
-
- swt_recinfo.stmtinfo.grd_stmtinfo.showEditor(true);
- } else {
- if(!obj.isDropdownCombo() && (lastrow != e.row || lastcol != e.col)) {
- obj.setCellPos(e.col);
- ds_grid_grd_stmtinfo.rowposition = e.row;
- //2017.07.12_속성정보 현재컬럼 타자입력 후 현재컬럼 클릭 시 입력값 없어지는 현상 오류 수정
- //obj.showEditor(true);
- if(bDrop) {
- obj.dropdownCombo();
- }
- }
- }
- }
- else
- {
- swt_recinfo.stmtinfo.grd_stmtinfo.autoenter = "key";
- }
- }
-
- var ColMCount = grdf_getSelectedCols(swt_recinfo.stmtinfo.grd_stmtinfo);
- var RowMCount = grdf_getSelectedRows(swt_recinfo.stmtinfo.grd_stmtinfo);
-
- if(ColMCount.length > 1 || RowMCount.length > 1)
- {
- obj.showEditor(false);
- }
- }
- function lf_showExpr(nsdatasetname, nRow, nCol, nedit){
- //sysf_trace("nRow : " + nRow)
- var sVal = ds_grid_grd_stmtinfo.getColumn(nRow, nCol);
- if(!utlf_isNull(nedit))
- {
- sVal = nedit;
- }
- var inDs = this.objects[nsdatasetname];
- var sName = sVal;
- if( inDs != null ) {
- if(!utlf_isNull(sVal))
- {
- sName = inDs.lookup("attrcd", sVal, "attrnm");
-
- if( !utlf_isNull(sVal) && utlf_isNull(sName) ){
-
- sName = sVal;
-
- var nFindRow = inDs.findRow("supcd", nAddRow -1);
- var nAddRow = inDs.rowcount - 1;
- inDs.copyRow(nAddRow, inDs, nAddRow - 1);
- inDs.setColumn(nAddRow, "refseq", nAddRow);
- inDs.setColumn(nAddRow, "attrcd", sName);
- inDs.setColumn(nAddRow, "attrnm", sName);
-
- return true;
- }
- }
- }
- return false;
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- if(!utlf_isNull(ds_grid_grd_stmtinfo.getColumnInfo("sdataset" + goldCol)) && utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(goldRow, "sdataset" + goldCol)).substr(0, 11) == "ds_comborow")
- {
- if(!utlf_isNull(gstredit2))
- {
- var Gubun = false;
- var nAttrcd = utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(goldRow, "sdataset" + goldCol));
- Gubun = lf_showExpr(nAttrcd, goldRow, goldCol, gstredit2);
- var attrvalCol = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")).replace("bind:", "");
- ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- }
- else if(utlf_isNull(gstredit2))
- {
- if(!utlf_isNull(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")))
- {
- var attrvalCol = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")).replace("bind:", "");
- if(boltextchange == true){
- ds_grid_grd_stmtinfo.enableevent = false;
- ds_grid_grd_stmtinfo.updatecontrol = false;
- ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- ds_grid_grd_stmtinfo.enableevent = true;
- ds_grid_grd_stmtinfo.updatecontrol = true;
- }
-
- // if(utlf_isNull(ds_grid_grd_stmtinfo.getColumn(goldRow, attrvalCol)))
- // {
- // ds_grid_grd_stmtinfo.enableevent = false;
- // ds_grid_grd_stmtinfo.updatecontrol = false;
- // ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- // ds_grid_grd_stmtinfo.enableevent = true;
- // ds_grid_grd_stmtinfo.updatecontrol = true;
- // }
- }
- }
- }
- gstredit2 = "";
- boltextchange = false;
- if(e.col != 0){
- obj.showEditor(true);
- }
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- var iRow = ds_grid_grd_stmtinfo.rowposition;
- var iCol = obj.currentcol;
-
- goldRow = iRow;
- goldCol = iCol;
- if(e.keycode == 13){
- if(utlf_isNull(gstredit2))
- {
- if(iCol >6){
- var attrvalCol = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")).replace("bind:", "");
- ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- }
- }
-
- bolenter = true;
- goldRow = iRow;
- goldCol = iCol;
-
- if(!utlf_isNull(ds_grid_grd_stmtinfo.getColumnInfo("sdataset" + goldCol)) && utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(goldRow, "sdataset" + goldCol)).substr(0, 11) == "ds_comborow")
- {
- if(!utlf_isNull(gstredit2))
- {
- var Gubun = false;
- var nAttrcd = utlf_transNullToEmpty(ds_grid_grd_stmtinfo.getColumn(goldRow, "sdataset" + goldCol));
- Gubun = lf_showExpr(nAttrcd, goldRow, goldCol, gstredit2);
- var attrvalCol = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")).replace("bind:", "");
- ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- }
- else if(utlf_isNull(gstredit2))
- {
- if(!utlf_isNull(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")))
- {
- var attrvalCol = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getCellProperty("body", goldCol, "text")).replace("bind:", "");
-
- if(utlf_isNull(ds_grid_grd_stmtinfo.getColumn(goldRow, attrvalCol)))
- {
- ds_grid_grd_stmtinfo.enableevent = false;
- ds_grid_grd_stmtinfo.updatecontrol = false;
- ds_grid_grd_stmtinfo.setColumn(goldRow, attrvalCol, gstredit2);
- ds_grid_grd_stmtinfo.enableevent = true;
- ds_grid_grd_stmtinfo.updatecontrol = true;
- }
- }
- }
- obj.showEditor(false);
- }
- boltextchange = false;
- gstredit2 = "";
- }
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo)
- {
- var iRow = ds_grid_grd_stmtinfo.rowposition;
- var iCol = e.col;
-
- goldRow = iRow;
- goldCol = iCol;
-
- gstredit2 = utlf_transNullToEmpty(swt_recinfo.stmtinfo.grd_stmtinfo.getEditText(iRow, iCol));
- boltextchange = true;
- }
- function swt_recinfo_stmtinfo_grd_stmtinfo_onkillfocus(obj:Grid, e:KillFocusEventInfo)
- {
- frmf_inputEnterKey("swt_recinfo.stmtinfo.grd_stmtinfo", "onselectchanged", new GridSelectEventInfo);
- }]]></Script>
- </Form>
- </FDL>
|