1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADC02500" position="absolute 0 0 1196 821" titletext="NST관리대상검색" oninit="SMADC02500_oninit" onload="SMADC02500_onload">
- <Layouts>
- <Layout>
- <Static id="caption12" text="NST관리대상자검색" class="tit_1" position="absolute 0 0 226 25"/>
- <Grid id="grd_nstmngt" taborder="2" binddataset="ds_grd_nstmngt" useinputpanel="false" position="absolute 0 114 1193 792" oncelldblclick="grd_nstmngt_oncelldblclick" cellsizingtype="both" anchor="all" extendsizetype="row" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" band="left"/>
- <Column size="25" band="left"/>
- <Column size="40"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="132"/>
- <Column size="64"/>
- <Column size="102"/>
- <Column size="85"/>
- <Column size="71"/>
- <Column size="41"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="72"/>
- <Column size="228"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="201"/>
- <Column size="106"/>
- <Column size="141"/>
- <Column size="100"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" rowspan="2" taborder="undefined"/>
- <Cell col="2" text="내환자" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="상 태" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="EN/PN" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="투여경로" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="병실" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="환자명" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="S/A" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="의뢰일" taborder="undefined"/>
- <Cell col="12" rowspan="2" colspan="4" text="최종회신일" taborder="undefined"/>
- <Cell col="16" colspan="4" text="회신현황" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="종결일" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="담당교수" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="의뢰의" taborder="undefined"/>
- <Cell col="23" rowspan="2" text="의뢰사유" taborder="undefined"/>
- <Cell col="24" rowspan="2" text="경과일수" taborder="undefined"/>
- <Cell col="25" rowspan="2" text="투여경로" taborder="undefined"/>
- <Cell col="26" rowspan="2" text="비고" taborder="undefined"/>
- <Cell col="27" rowspan="2" text="처방코드" taborder="undefined"/>
- <Cell col="28" rowspan="2" text="추천제형" taborder="undefined"/>
- <Cell col="29" rowspan="2" text="입원일" taborder="undefined"/>
- <Cell col="30" rowspan="2" text="상병" taborder="undefined"/>
- <Cell col="31" text="formrecseq"/>
- <Cell col="32" text="rgstseqno"/>
- <Cell col="33" text="prcpgenrflag"/>
- <Cell col="34" text="cretno"/>
- <Cell col="35" text="formcd"/>
- <Cell col="36" text="cnstseqno"/>
- <Cell col="37" text="prcpno"/>
- <Cell col="38" rowspan="2" text="퇴원예고/퇴원" taborder="undefined"/>
- <Cell col="39" rowspan="2" text="퇴원일자" taborder="undefined"/>
- <Cell col="40" text="cnstcnts9"/>
- <Cell col="41" text="N-Zone"/>
- <Cell row="1"/>
- <Cell row="1" col="2" displaytype="checkbox" edittype="checkbox" taborder="undefined"/>
- <Cell row="1" col="16" text="의사"/>
- <Cell row="1" col="17" text="영양사"/>
- <Cell row="1" col="18" text="약사"/>
- <Cell row="1" col="19" text="간호사"/>
- <Cell row="1" col="31"/>
- <Cell row="1" col="32"/>
- <Cell row="1" col="33"/>
- <Cell row="1" col="34"/>
- <Cell row="1" col="35"/>
- <Cell row="1" col="36"/>
- <Cell row="1" col="37"/>
- <Cell row="1" col="40"/>
- <Cell row="1" col="41"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" celltype="head" text="expr:currow+1"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:chkmy" expr="expr:(chkmy=="Y"||chkmy==1)?1:0"/>
- <Cell col="3" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cnststat"/>
- <Cell col="4" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:epgubun"/>
- <Cell col="5" style="align:left top;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:prcpnm" wordwrap="char"/>
- <Cell col="6" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:roomcd" enable="false"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:orddeptnm" wordwrap="word"/>
- <Cell col="8" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:pid"/>
- <Cell col="9" style="align:left top;padding:5 2 1 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:hngnm" wordwrap="word"/>
- <Cell col="10" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:sna"/>
- <Cell col="11" displaytype="expr:utlf_isNull(reqdd2) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:reqdd2"/>
- <Cell col="12" displaytype="expr:utlf_isNull(repldd2) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:repldd2"/>
- <Cell col="13" displaytype="expr:utlf_isNull(reqdd) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:reqdd"/>
- <Cell col="14" displaytype="expr:utlf_isNull(repldd) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:repldd" calendardisplaynulltype="none"/>
- <Cell col="15" text="bind:newrepldd"/>
- <Cell col="16" displaytype="checkbox" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:droffrflag" expr="expr:(droffrflag=="2"||droffrflag==1)?1:0"/>
- <Cell col="17" displaytype="checkbox" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dieteroffrflag" expr="expr:(dieteroffrflag=="2"||dieteroffrflag==1)?1:0"/>
- <Cell col="18" displaytype="checkbox" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:pharmstoffrflag" expr="expr:(pharmstoffrflag=="2"||pharmstoffrflag==1)?1:0"/>
- <Cell col="19" displaytype="checkbox" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:nurseoffrflag" expr="expr:(nurseoffrflag=="2"||nurseoffrflag==1)?1:0"/>
- <Cell col="20" displaytype="expr:utlf_isNull(firstinfo) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:firstinfo" calendardisplaynulltype="none"/>
- <Cell col="21" text="bind:orddrnm"/>
- <Cell col="22" style="align:center top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cnstdrnm" wordwrap="char"/>
- <Cell col="23" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:sau" wordwrap="char" tooltiptext="bind:sau"/>
- <Cell col="24" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:ddcnt"/>
- <Cell col="25" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:prcpnm" wordwrap="char"/>
- <Cell col="26" displaytype="text" edittype="text" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cnstcnts20" wordwrap="char"/>
- <Cell col="27" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:prcpcd" wordwrap="char"/>
- <Cell col="28" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:jae" wordwrap="char"/>
- <Cell col="29" displaytype="expr:utlf_isNull(orddd) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:orddd" calendardisplaynulltype="none"/>
- <Cell col="30" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:diagnm" wordwrap="char"/>
- <Cell col="31" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:formrecseq"/>
- <Cell col="32" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:rgstseqno"/>
- <Cell col="33" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:prcpgenrflag"/>
- <Cell col="34" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cretno"/>
- <Cell col="35" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:formcd"/>
- <Cell col="36" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cnstseqno"/>
- <Cell col="37" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:prcpno"/>
- <Cell col="38" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dschyn"/>
- <Cell col="39" displaytype="expr:utlf_isNull(dschdd) ? "normal" :"date"" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dschdd" calendardisplaynulltype="none"/>
- <Cell col="40" text="bind:cnstcnts9"/>
- <Cell col="41" text="bind:pdano"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption13" text="NST관리대상자" class="tit_2" position="absolute 0 93 189 113" onclick="caption13_onclick"/>
- <Button id="button51" taborder="3" text="엑셀저장" class="btn7" position="absolute 1040 87 1117 109" onclick="button51_onclick" anchor="top right"/>
- <Button id="btn_prt" taborder="8" text="출력" class="btn6" visible="false" position="absolute 736 796 792 818"/>
- <Button id="button1" taborder="9" text="NST추구관리대상자" class="btn3" position="absolute 0 796 141 818" onclick="button1_onclick" anchor="left bottom"/>
- <Button id="button2" taborder="10" text="NST 코드관리" class="btn3" position="absolute 145 796 261 818" onclick="button2_onclick" anchor="left bottom"/>
- <Button id="button3" taborder="11" text="EN 세부엑셀저장" onclick="grp_btn_button3_onclick" class="btn3" position="absolute 265 796 390 818" anchor="left bottom"/>
- <Button id="btn_save" taborder="12" text="저 장 " class="btn4" position="absolute 1120 87 1193 109" onclick="btn_save_onclick" anchor="top right"/>
- <Div id="grp_sea" taborder="17" style="align:center top;" class="div_SA" position="absolute 0 25 1193 85" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1101 34 1107 53" anchor="top right"/>
- <Button id="btn_sea" taborder="10" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 1120 33 1176 55" anchor="top right"/>
- <Static id="caption4" text="내환자:" class="search_name" position="absolute 918 35 993 52" anchor="default"/>
- <Combo id="combo10" taborder="5" innerdataset="@ds_init_ward" codecolumn="deptcd" datacolumn="deptnm" class="combo_search" position="absolute 812 8 926 29" columncount="2" anchor="default"/>
- <Edit id="input1" taborder="9" class="input_search" position="absolute 716 33 805 54" anchor="default" onkeydown="grp_sea_input1_onkeydown" autoselect="true"/>
- <Static id="caption9" text="등록번호 :" class="search_name" position="absolute 642 36 717 53" anchor="default"/>
- <Static id="caption5" text="병 동 :" class="search_name" position="absolute 738 11 808 28" anchor="default"/>
- <Combo id="combo1" taborder="4" innerdataset="@ds_init_deptlist" codecolumn="deptcd" datacolumn="deptnm" class="combo_search" position="absolute 599 9 726 30" anchor="default"/>
- <Radio id="rdo_repflag" taborder="8" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 472 33 637 54" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">회신</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미회신</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption11" text="회신구분:" class="search_name" position="absolute 403 36 475 53" anchor="default"/>
- <Static id="caption10" text="의 뢰 과 :" class="search_name" position="absolute 528 12 602 29" anchor="default"/>
- <Radio id="radio2" taborder="3" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 352 10 525 30" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">퇴원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_reqflag" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 84 33 258 54" anchor="default" onitemchanged="grp_sea_rdo_reqflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">의뢰</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미의뢰</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption1" text="의뢰구분 :" class="search_name" position="absolute 10 36 84 53" anchor="default"/>
- <Static id="caption7" text="구 분 :" class="search_name" position="absolute 278 13 353 30" anchor="default"/>
- <Calendar id="ipt_srchdd2" taborder="2" class="input_search" position="absolute 181 8 268 29" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Static id="caption8" text="~" position="absolute 171 10 182 30" anchor="default"/>
- <Calendar id="ipt_srchdd1" taborder="1" class="input_search" position="absolute 82 8 169 29" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Radio id="rdo_nutrflag" taborder="6" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 1011 9 1154 30" anchor="default" onitemclick="grp_sea_rdo_nutrflag_onitemclick" visible="true">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">EN</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">PN</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption2" text="의뢰영역 :" class="search_name" position="absolute 937 12 1011 29" anchor="default" visible="true"/>
- <Static id="caption3" text="의뢰일시 :" class="search_name" position="absolute 9 10 100 27" anchor="default"/>
- <cp_checkboxList id="checkbox2" titletext="CheckBox List" taborder="11" text="cp_checkboxList00" scrollbars="none" visible="false" position="absolute 808 33 945 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- <cp_checkboxList id="checkbox3" titletext="CheckBox List" taborder="12" text="cp_checkboxList00" scrollbars="none" visible="false" position="absolute 808 33 945 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- <cp_checkboxList id="checkbox4" titletext="CheckBox List" taborder="13" text="cp_checkboxList00" scrollbars="none" visible="false" position="absolute 808 33 937 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- <CheckBox id="chk_finishdd" taborder="14" text="종결자제외" position="absolute 234 33 321 53" value="true" truevalue="Y" falsevalue="N"/>
- <Combo id="Combo00" taborder="15" position="absolute 978 35 1078 55" index="-1" innerdataset="@ds_mypat" codecolumn="cd" datacolumn="nm" onitemchanged="grp_sea_Combo00_onitemchanged"/>
- <CheckBox id="chk_cncl" taborder="16" text="취소자제외" value="true" truevalue="Y" falsevalue="N" position="absolute 316 32 403 52"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line02" class="line_10" position="absolute 0 109 1193 115" anchor="left top right" style="border:0 none black ;font:arial,9,bold;"/>
- <Button id="Button00" taborder="19" text="내환자 등록" position="absolute 953 87 1037 109" onclick="Button00_onclick" anchor="top right" class="btn2" visible="false"/>
- <Button id="button05" taborder="22" text="NST 내환자 보기" onclick="grp_btn_button3_onclick" class="btn3" position="absolute 393 796 518 818" anchor="left bottom"/>
- <Static id="Static00" text="당일처방건수 :" position="absolute 214 91 296 111" onclick="Static00_onclick"/>
- <Static id="Static01" position="absolute 299 88 336 108" style="background:#f5f5dcc3;align:center bottom;font:arial,9,bold;"/>
- <Button id="button04" taborder="24" text="NST업무일지" class="btn3" position="absolute 521 796 624 818" anchor="left bottom" onclick="button04_onclick"/>
- <Button id="button06" taborder="25" text="NST영양액관리" class="btn3" position="absolute 625 796 738 818" anchor="left bottom" onclick="button06_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_nstmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_nstmngt_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="cnststat" type="STRING"/>
- <Column id="epgubun" type="STRING"/>
- <Column id="nrsscore" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="reqdd" type="STRING"/>
- <Column id="repldd" type="STRING"/>
- <Column id="firstinfo" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="sau" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="cnstcnts20" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="jae" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="formrecseq" type="STRING"/>
- <Column id="rgstseqno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="formcd" type="STRING"/>
- <Column id="cnstseqno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="dschyn" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="cnstcnts9" type="STRING"/>
- <Column id="pdano" type="STRING"/>
- <Column id="newrepldd" type="STRING" size="256"/>
- <Column id="chkmy" type="STRING" size="256"/>
- <Column id="ddcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd1" type="STRING" size="256"/>
- <Column id="srchdd2" type="STRING" size="256"/>
- <Column id="reqdrugcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="statflag" type="STRING" size="256"/>
- <Column id="nutrflag" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="repflag" type="STRING" size="256"/>
- <Column id="flag1" type="STRING" size="256"/>
- <Column id="flag2" type="STRING" size="256"/>
- <Column id="flag3" type="STRING" size="256"/>
- <Column id="reqflagval" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="data1" type="STRING" size="256"/>
- <Column id="finishdd" type="STRING" size="256"/>
- <Column id="mypatyn" type="STRING" size="256"/>
- <Column id="exclcncl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdd1"/>
- <Col id="srchdd2"/>
- <Col id="reqdrugcd"/>
- <Col id="pid"/>
- <Col id="orddeptcd"/>
- <Col id="wardcd"/>
- <Col id="statflag"/>
- <Col id="nutrflag">A</Col>
- <Col id="ioflag">I</Col>
- <Col id="reqflag">Y</Col>
- <Col id="repflag">A</Col>
- <Col id="flag1"/>
- <Col id="flag2"/>
- <Col id="flag3"/>
- <Col id="reqflagval"/>
- <Col id="deptflag"/>
- <Col id="data1"/>
- <Col id="finishdd">Y</Col>
- <Col id="mypatyn"/>
- <Col id="exclcncl"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_flag3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">Y</Col>
- <Col id="cdnm">Central</Col>
- </Row>
- <Row>
- <Col id="cdnm">Peripheral</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_flag2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">Y</Col>
- <Col id="cdnm">신규</Col>
- </Row>
- <Row>
- <Col id="cdnm">변경</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_flag1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">처방</Col>
- <Col id="cdid">Y</Col>
- </Row>
- <Row>
- <Col id="cdnm">Screening</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cnstinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_cnstinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond_param" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="cnsttype" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="cnstseqno" type="STRING" size="256"/>
- <Column id="plusyn" type="STRING" size="256"/>
- <Column id="sau" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="cnstcnts9" type="STRING" size="256"/>
- <Column id="cnststat" type="STRING" size="256"/>
- <Column id="pdano" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="firstinfo" type="STRING" size="256"/>
- <Column id="repldd2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnststatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grd_nstmngtid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="cnststat" type="STRING"/>
- <Column id="epgubun" type="STRING"/>
- <Column id="nrsscore" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sna" type="STRING"/>
- <Column id="reqdd" type="STRING"/>
- <Column id="repldd" type="STRING"/>
- <Column id="firstinfo" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="sau" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="cnstcnts20" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="jae" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="formrecseq" type="STRING"/>
- <Column id="rgstseqno" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="formcd" type="STRING"/>
- <Column id="cnstseqno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="dschyn" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="cnstcnts9" type="STRING"/>
- <Column id="pdano" type="STRING"/>
- <Column id="newrepldd" type="STRING" size="256"/>
- <Column id="droff" type="STRING" size="256"/>
- <Column id="dietoff" type="STRING" size="256"/>
- <Column id="pharmoff" type="STRING" size="256"/>
- <Column id="nurseoff" type="STRING" size="256"/>
- <Column id="replseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchdataid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nstid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="nstid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_nstiddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstkind" type="STRING" size="256"/>
- <Column id="cnstseqno" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="nstid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_id" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchidyn" 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="cnstcnts11" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_seq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_haesin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="droffr" type="STRING" size="256"/>
- <Column id="droffrflag" type="STRING" size="256"/>
- <Column id="dieteroffr" type="STRING" size="256"/>
- <Column id="dieteroffrflag" type="STRING" size="256"/>
- <Column id="pharmstoffr" type="STRING" size="256"/>
- <Column id="pharmstoffrflag" type="STRING" size="256"/>
- <Column id="nurseoffr" type="STRING" size="256"/>
- <Column id="nurseoffrflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srchrepldd" 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="reqdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_repldd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="droffr" type="STRING" size="256"/>
- <Column id="droffrflag" type="STRING" size="256"/>
- <Column id="dieteroffr" type="STRING" size="256"/>
- <Column id="dieteroffrflag" type="STRING" size="256"/>
- <Column id="pharmstoffr" type="STRING" size="256"/>
- <Column id="pharmstoffrflag" type="STRING" size="256"/>
- <Column id="nurseoffr" type="STRING" size="256"/>
- <Column id="nurseoffrflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_mypat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd"/>
- <Col id="nm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_prcpcntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcpcnt">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_mypatrgstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_srchdd1" propid="value" datasetid="ds_send_srchdata" columnid="srchdd1"/>
- <BindItem id="item1" compid="grp_sea.ipt_srchdd2" propid="value" datasetid="ds_send_srchdata" columnid="srchdd2"/>
- <BindItem id="item2" compid="grp_sea.radio2" propid="value" datasetid="ds_send_srchdata" columnid="ioflag"/>
- <BindItem id="item3" compid="grp_sea.combo1" propid="value" datasetid="ds_send_srchdata" columnid="orddeptcd"/>
- <BindItem id="item4" compid="grp_sea.combo10" propid="value" datasetid="ds_send_srchdata" columnid="wardcd"/>
- <BindItem id="item5" compid="grp_sea.rdo_nutrflag" propid="value" datasetid="ds_send_srchdata" columnid="nutrflag"/>
- <BindItem id="item6" compid="grp_sea.rdo_reqflag" propid="value" datasetid="ds_send_srchdata" columnid="reqflag"/>
- <BindItem id="item7" compid="grp_sea.rdo_repflag" propid="value" datasetid="ds_send_srchdata" columnid="repflag"/>
- <BindItem id="item8" compid="grp_sea.input1" propid="value" datasetid="ds_send_srchdata" columnid="pid"/>
- <BindItem id="item10" compid="grp_sea.chk_finishdd" propid="value" datasetid="ds_send_srchdata" columnid="finishdd"/>
- <BindItem id="item9" compid="grp_sea.Combo00" propid="value" datasetid="ds_send_srchdata" columnid="mypatyn"/>
- <BindItem id="item11" compid="grp_sea.chk_cncl" propid="value" datasetid="ds_send_srchdata" columnid="exclcncl"/>
- <BindItem id="item12" compid="Static01" propid="text" datasetid="ds_prcpcntinfo" columnid="prcpcnt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "ast_commonxp::AST.xjs";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMADC02500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMADC02500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grd_nstmngt, 0);
- grdf_initGrid(grd_nstmngt);
- //디폴트 한달 영양팀 이은숙선생님 요청사항
- ds_send_srchdata.setColumn(0, "srchdd1", utlf_getCurrentDate());
- ds_send_srchdata.setColumn(0, "srchdd2", utlf_getCurrentDate());
- /* 검색 checkbox Start */
- // 처방
- // var sProp1="col=2,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- // grp_sea.checkbox4.setInitComp(sProp1, ds_flag1, "cdid", "cdnm", "");
-
- // 신규
- // var sProp1="col=2,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- // grp_sea.checkbox2.setInitComp(sProp1, ds_flag2, "cdid", "cdnm", "");
-
- // Central
- // var sProp1="col=2,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- // grp_sea.checkbox3.setInitComp(sProp1, ds_flag3, "cdid", "cdnm", "");
-
- /* 검색 checkbox End */
-
- var reqflag = ds_send_srchdata.getColumn(0, "reqflag");
-
- if( reqflag == "A" || reqflag == "N" ){ // 의뢰구분 :전체 일경우
- grp_sea.rdo_repflag.enable = false; // 회신구분 - 선택불가능하도록
- ds_send_srchdata.setColumn(0, "repflag", "A");
- } else if( reqflag == "Y" ){ // 의뢰구분 :의뢰일경우, EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- grp_sea.rdo_nutrflag.enable = true; // 의뢰영역 - 선택가능하도록
- grp_sea.rdo_repflag.enable = true; // 회신구분 - 선택가능하도록
- }
-
- var oParam = {};
- oParam.id = "TRADC00101";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqGetDeptList";
- oParam.inds = "req=ds_send_deptinfo";
- oParam.outds = "ds_init_deptlist=dept ds_init_ward=ward ds_mypatrgstinfo=rgstinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRADC00101";
- tranf_submit(oParam);
-
-
-
-
- dsf_addDsItem(ds_mypat, "cd", "nm", "", "", "above");
-
-
- ds_mypat.setColumn(1, "cd", sysf_getUserInfo("userid"));
- ds_mypat.setColumn(1, "nm", sysf_getUserInfo("usernm"));
-
-
- dsf_addDsItem(ds_init_deptlist, "deptcd", "deptnm", "", "", "above");
- dsf_addDsItem(ds_init_ward, "deptcd", "deptnm", "", "", "above");
-
- var getDeptcd = ds_init_deptlist.getColumn(0, "deptcd");
- var getWardcd = ds_init_deptlist.getColumn(0, "deptcd");
- if( getDeptcd == "-" ) ds_init_deptlist.setColumn(0, "deptcd", "");
- if( getWardcd == "-" ) ds_init_ward.setColumn(0, "deptcd", "");
-
- ds_mypat.setColumn(0, "cd", "");
- ds_send_srchdata.setColumn(0,"mypatyn", "");
- ds_send_srchdata.setColumn(0, "exclcncl", "Y");
- //조회
-
- var rgstyn = ds_mypatrgstinfo.getColumn(0, "rgstyn");
-
- if(rgstyn == "Y") {
- ds_send_srchdata.setColumn(0,"mypatyn", sysf_getUserInfo("userid"));
- }
-
- //ds_send_srchdata.setColumn(0,"mypatyn", "");
-
- grp_sea_btn_sea_onclick();
- }
- /******************************************************************
- * Argument :
- * Description : 조회 Button Event
- ******************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDs("ds_temp_chkmy");
- ds_grd_nstmngt.filter("chkmy == 'Y'");
- if(ds_grd_nstmngt.rowcount > 0) {
- ds_temp_chkmy.copyData(ds_grd_nstmngt, true);
- }
- ds_grd_nstmngt.filter("");
- var nVScroll = grd_nstmngt.vscrollbar.pos;
- var nRowPos = ds_grd_nstmngt.rowposition;
-
- /* 2019-04-01 의약품검색 삭제요청.
- var getReqdrugcd = "";
- getReqdrugcd = ds_send_srchdata.getColumn(0, "reqdrugcd");
- if( !utlf_isNull(getReqdrugcd) ){ getReqdrugcd = getReqdrugcd.toUpperCase(); }
- ds_send_srchdata.setColumn(0, "reqdrugcd", getReqdrugcd); //2008-11-01 의뢰약품 대문자 처리
- */
-
- ///2018년 7월 11일 김치국 과,병동 선택시 등록 되므로 다시 선택하지 않음
- //ds_send_srchdata.setColumn(0, "orddeptcd", ds_init_deptlist.getColumn(0, "deptcd")); // 의뢰과 선택
- //ds_send_srchdata.setColumn(0, "wardcd", ds_init_ward.getColumn(0, "deptcd")); // 병동 선택
-
- var oParam = {};
- oParam.id = "TRADC02501";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNSTMngtSrchList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_nstmngt=mainlist ds_prcpcntinfo=prcpcntinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
-
- ds_grd_nstmngt.addColumn("chkmy","string");
-
- ds_grd_nstmngt.rowposition = nRowPos;
- grd_nstmngt.vscrollbar.pos = nVScroll;
-
- //그리드 특정 컬럼값을 비교하여 로우 백컬러 변경
- // grdf_setRowStyle(grd_nstmngt, "1", "Y", "dschyn", "equal");
- if(ds_temp_chkmy.rowcount > 0) {
- for(var i = 0 ; i < ds_temp_chkmy.rowcount ; i++) {
- var sPid = ds_temp_chkmy.getColumn(i, "pid");
- var sCsntseqno = ds_temp_chkmy.getColumn(i, "cnstseqno");
- var cRow = ds_grd_nstmngt.findRowExpr("pid=='"+sPid+"' && cnstseqno=='"+sCsntseqno+"'");
- if(cRow > -1) {
- ds_grd_nstmngt.setColumn(cRow, "chkmy", "Y");
- }
- }
-
- if(button05.text == "NST 내환자 해제") {
- ds_grd_nstmngt.filter("chkmy == 'Y'");
- }
- }
- }
-
- /******************************************************************
- * Argument :
- * Description : NST과리대상자 List Event
- ******************************************************************/
- function grd_nstmngt_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
-
- //2010-01-06 비고란 저장 가능하도록 처리 (미회신사유등록..)
- var grdRow = ds_grd_nstmngt.rowposition;
- var cCol = grd_nstmngt.currentcol;
-
- if( cCol != 16 ){
- var cnstseqno = ds_grd_nstmngt.getColumn(grdRow, "cnstseqno");
- var formrecseq = ds_grd_nstmngt.getColumn(grdRow, "formrecseq");
- var formcd = ds_grd_nstmngt.getColumn(grdRow, "formcd");
- var pid = ds_grd_nstmngt.getColumn(grdRow, "pid");
- var cretno = ds_grd_nstmngt.getColumn(grdRow, "cretno");
- var prcpgenrflag = ds_grd_nstmngt.getColumn(grdRow, "prcpgenrflag");
- var rgstseqno = ds_grd_nstmngt.getColumn(grdRow, "rgstseqno");
- var reqdd = ds_grd_nstmngt.getColumn(grdRow, "reqdd");
- var orddd = ds_grd_nstmngt.getColumn(grdRow, "orddd");
- var prcpcd = ds_grd_nstmngt.getColumn(grdRow, "prcpcd");
- var prcpno = ds_grd_nstmngt.getColumn(grdRow, "prcpno");
- var plusyn = ds_grd_nstmngt.getColumn(grdRow, "plusyn");
- var sau = ds_grd_nstmngt.getColumn(grdRow, "sau"); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- var roomcd = ds_grd_nstmngt.getColumn(grdRow, "roomcd"); //2009-12-03 회신서출력시 [병실] 출력요청
- var cnstcnts9 = ds_grd_nstmngt.getColumn(grdRow, "cnstcnts9"); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- var cnststat = ds_grd_nstmngt.getColumn(grdRow, "cnststat"); // 회신상태
- var pdano = ds_grd_nstmngt.getColumn(grdRow, "pdano"); // 의뢰인엔존
- var orddrnm = ds_grd_nstmngt.getColumn(grdRow, "orddrnm"); // 담당교수
- var cnstdrnm = ds_grd_nstmngt.getColumn(grdRow, "cnstdrnm"); // 의뢰의
- var firstinfo = ds_grd_nstmngt.getColumn(grdRow, "firstinfo"); // 종결일자
- var dschdd = ds_grd_nstmngt.getColumn(grdRow, "dschdd"); // 종결일자
- var repldd2 = ds_grd_nstmngt.getColumn(grdRow, "repldd2"); // 종결일자
-
- if( prcpgenrflag != "E" ){
- prcpgenrflag = "I";
- }
- var srchdd = utlf_getCurrentDate();
- if(!utlf_isNull(dschdd)) {
- srchdd=dschdd;
- }
-
- var instcd = sysf_getUserInfo( "dutplceinstcd" );
- var param = prcpgenrflag + "▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
-
- //frmf_setParameter("condparam", param);
-
- appf_initPatientInfo(param);
- //환자기본정보설정 삭제
- //frmf_modal("SPMMO08900", "SPMMO08900", null, null, 1, null, 50, 600, 150, null, null, null, "M");
-
- frmf_setParameter("openmode", "reccnstform");
- frmf_setParameter("formrecseq", formrecseq); //서식기록테이블의 formrecseq(기록순번)
- frmf_setParameter("pid", pid);
- frmf_setParameter("rgstseqno", rgstseqno);
-
- ds_temp_cnstinfo.setColumn(0, "cnstseqno", cnstseqno);
- ds_temp_cnstinfo.setColumn(0, "formrecseq", formrecseq);
- ds_temp_cnstinfo.setColumn(0, "pid", pid);
- ds_temp_cnstinfo.setColumn(0, "cretno", cretno);
- ds_temp_cnstinfo.setColumn(0, "prcpgenrflag", prcpgenrflag);
- ds_temp_cnstinfo.setColumn(0, "rgstseqno", rgstseqno);
- ds_temp_cnstinfo.setColumn(0, "cnstdd", reqdd);
- ds_temp_cnstinfo.setColumn(0, "orddd", orddd);
- ds_temp_cnstinfo.setColumn(0, "cnsttype", "ast"); // 약품식별회신을 위한 변수 설정
- ds_temp_cnstinfo.setColumn(0, "plusyn", plusyn); //추구관리가능여부
- ds_temp_cnstinfo.setColumn(0, "sau", sau); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- ds_temp_cnstinfo.setColumn(0, "roomcd", roomcd); //2009-12-03 회신서출력시 [병실] 출력요청
- ds_temp_cnstinfo.setColumn(0, "cnstcnts9", cnstcnts9); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- ds_temp_cnstinfo.setColumn(0, "cnststat", cnststat); //회신상태
- ds_temp_cnstinfo.setColumn(0, "pdano", pdano); //의뢰인엔존
- ds_temp_cnstinfo.setColumn(0, "orddrnm", orddrnm + "/" + cnstdrnm); //주치의/의뢰인
- ds_temp_cnstinfo.setColumn(0, "firstinfo", firstinfo); //종결일자
- ds_temp_cnstinfo.setColumn(0, "repldd2", repldd2); //최종회신일
-
- //********************************* 해당 의뢰건을 의뢰확정 상태로 변경 *********************************
- if( !utlf_isNull(formrecseq) ){
- var oParam = {};
- oParam.id = "TXADC00101";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqExeReqCnstStat";
- oParam.inds = "req=ds_temp_cnstinfo";
- oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
- oParam.async = false;
- //oParam.callback = "cf_TXADC00101";
- tranf_submit(oParam);
-
- if( ds_hidden_cnststatinfo.getColumn(ds_grd_nstmngt.rowposition, "cnststat") == "04" ){
- sysf_messageBox("취소된 의뢰건","I009");
- }
- }
-
- if( formcd == "0000000770" || formcd == "0000003019" ){ //NST
- ds_temp_cnstinfo.setColumn(0, "formcd", formcd); // EN, PN구분을 위한 formcd 설정
- if( utlf_isNull(formrecseq) ){
- ds_temp_cnstinfo.setColumn(0, "prcpcd", prcpcd);
- ds_temp_cnstinfo.setColumn(0, "prcpno", prcpno);
- }
-
- var objArg = new Object();
- objArg.arg_ds_temp_cnstinfo = ds_temp_cnstinfo;
- frmf_modal("SMADC02600", "SMADC02600", objArg, null, 1, null, 50, 600, 150, null, null, null, "M");
- grp_sea_btn_sea_onclick();
- }
- }
-
- if( cCol == "16" ){
- if( ds_grd_nstmngt.getColumn(grdRow, "cnststat") == "미의뢰" ){
- sysf_messageBox("[미의뢰]건에 대해서 비고란을 입력할수 없습니다.", "I");
- ds_grd_nstmngt.setColumn(grdRow, "cnstcnts20", "");
- return;
- }
- }
- }
- /******************************************************************
- * Argument :
- * Description : Excel Down Event
- ******************************************************************/
- function button51_onclick(obj:Button, e:ClickEventInfo)
- {
-
-
- if( ds_grd_nstmngt.rowcount > 0 ){
- grdf_exportExcel(grd_nstmngt, "NST관리대상자리스트", "NST관리대상자리스트", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /******************************************************************
- * Argument :
- * Description : NST추구관리대상자Button Event
- ******************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMADC03100", "SMADC03100", null, null, 1, null, 50, 600, 150, null, null, null, "M");
- }
- /******************************************************************
- * Argument :
- * Description : NST 코드관리Button Event
- ******************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMADC03200", "SMADC03200", null, null, 1, null, 50, 600, 150, null, null, null, "M");
- }
- /******************************************************************
- * Argument :
- * Description : 내환자Button Event
- ******************************************************************/
- function grp_btn_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- //frmf_open("SMADC02501", "SMADC02501", null, null, 1, null, 50, 600, 150, null, null, null, "M");
- if(obj.text == "NST 내환자 보기") {
- ds_grd_nstmngt.filter("chkmy == 'Y'");
- obj.text = "NST 내환자 해제";
- } else {
- ds_grd_nstmngt.filter("");
- obj.text = "NST 내환자 보기";
- }
- }
- /******************************************************************
- * Argument :
- * Description : 저장Button Event
- ******************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(grd_nstmngt);
- if( update.rowcount < 1 ){
- sysf_messageBox("저장할 정보가 없습니다. 확인하여 주시기바랍니다","I");
- return;
- }
-
- grdf_setStatusColumn(update, "m"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
- ds_send_cnstinfolist.copyData(update, true);
-
- var oParam = {};
- oParam.id = "TXADC02501";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqExeNSTCnstInfo";
- oParam.inds = "req=ds_send_cnstinfolist";
- oParam.outds = "ds_hidden_cnstinfolist=item";
- oParam.async = false;
- //oParam.callback = "cf_TXADC02501";
- tranf_submit(oParam);
- }
- function grp_sea_rdo_reqflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if ( e.postvalue == "A" || e.postvalue == "N" ) { // 의뢰구분 :전체 & 미의뢰 일 경우
- //grp_sea.rdo_nutrflag.enable = true; // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- grp_sea.rdo_repflag.enable = false; // 회신구분 - 선택불가능하도록
- grp_sea.rdo_repflag.value = "A";
- } else { // 의뢰구분 :의뢰일경우
- //grp_sea.rdo_nutrflag.enable = true; // EN/PN 구분일경우는 의뢰구분만 Check가능하도록 처리
- grp_sea.rdo_repflag.enable = true; // 회신구분 - 선택가능하도록
- }
- }
- function grp_sea_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_sea_btn_sea_onclick();
- }
- }
- function grp_sea_rdo_nutrflag_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
-
- }
- function caption13_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function Button05_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_srchdataid.setColumn(0, "nstid", sysf_getUserInfo("userid")); // 사용자 사번
- var oParam = {};
- oParam.id = "TRADC02505";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstListId";
- oParam.inds = "req=ds_send_srchdataid";
- oParam.outds = "ds_grd_nstmngtid=mainlist";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
-
- for(var ii = 0; ii < ds_grd_nstmngtid.rowcount; ii++) {
- ds_send_srchidyn.setColumn(0, "cnstcnts11", ds_grd_nstmngtid.getColumn(ii, "formrecseq"));
- ds_send_srchidyn.setColumn(0, "pid", ds_grd_nstmngtid.getColumn(ii, "pid"));
-
- var oParam = {};
- oParam.id = "TRADC02506";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstMyListSeq";
- oParam.inds = "req=ds_send_srchidyn";
- oParam.outds = "ds_temp_seq=seqno";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
-
- var rgstseqno = ds_temp_seq.getColumn(0, "rgstseqno");
- var formrecseq = ds_temp_seq.getColumn(0, "formrecseq");
- //sysf_trace(" Seq :" + ii + " : " + rgstseqno + " : " + formrecseq );
- ds_grd_nstmngtid.setColumn(ii, "replseq", rgstseqno);
- ds_send_srchidyn.setColumn(0, "formrecseq", formrecseq);
- ds_send_srchidyn.setColumn(0, "rgstseqno", rgstseqno);
- var oParam = {};
- oParam.id = "TRADC02507";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstMyListSeqHaesin";
- oParam.inds = "req=ds_send_srchidyn";
- oParam.outds = "ds_temp_haesin=haesin";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
-
- var droffr = ds_temp_haesin.getColumn(0, "droffrflag");
- var dieteroffr = ds_temp_haesin.getColumn(0, "dieteroffrflag");
- var pharmstoffr = ds_temp_haesin.getColumn(0, "pharmstoffrflag");
- var nurseoffr = ds_temp_haesin.getColumn(0, "nurseoffrflag");
- //sysf_trace(" droffr, : dieteroffr : " + ii + " : " + droffr + " : " + dieteroffr );
- ds_grd_nstmngtid.setColumn(ii, "droff", droffr);
- ds_grd_nstmngtid.setColumn(ii, "dietoff", dieteroffr);
- ds_grd_nstmngtid.setColumn(ii, "pharmoff",pharmstoffr);
- ds_grd_nstmngtid.setColumn(ii, "nurseoff",nurseoffr);
-
-
- ds_send_srchrepldd.setColumn(0, "pid", ds_grd_nstmngtid.getColumn(ii, "pid"));
- ds_send_srchrepldd.setColumn(0, "reqdd", ds_grd_nstmngtid.getColumn(ii, "reqdd"));
- var oParam = {};
- oParam.id = "TRADC02508";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstListNewRepldd";
- oParam.inds = "req=ds_send_srchrepldd";
- oParam.outds = "ds_temp_repldd=repldd";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
-
- var newrepldd = ds_temp_repldd.getColumn(0, "repldd");
- ds_grd_nstmngtid.setColumn(ii, "newrepldd", newrepldd);
- }
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- //sysf_trace("Row건수 :" +ds_grd_nstmngt.rowcount);
- for(var ii = 0; ii < ds_grd_nstmngt.rowcount; ii++) {
- // sysf_trace("선택 Row : " + ii + ':' +ds_grd_nstmngt.getColumn(ii, "sel"));
- if(ds_grd_nstmngt.getColumn(ii, "sel") == "Y") {
- // sysf_trace("선택 Row cnstseqno : " + ds_grd_nstmngt.getColumn(ii, "cnstseqno"));
- ds_send_nstiddata.setColumn(0, "cnstkind", '');
- ds_send_nstiddata.setColumn(0, "cnstseqno", ds_grd_nstmngt.getColumn(ii, "cnstseqno"));
- ds_send_nstiddata.setColumn(0, "formrecseq", ds_grd_nstmngt.getColumn(ii, "formrecseq"));
- ds_send_nstiddata.setColumn(0, "pid", ds_grd_nstmngt.getColumn(ii, "pid"));
- ds_send_nstiddata.setColumn(0, "orddd", ds_grd_nstmngt.getColumn(ii, "orddd"));
- ds_send_nstiddata.setColumn(0, "nstid", sysf_getUserInfo("userid"));
-
- var oParam = {};
- oParam.id = "TXADC02503";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqExeNstSaveId";
- oParam.inds = "req=ds_send_nstiddata";
- oParam.outds = "ds_temp_id=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
- }
- }
- }
- function Button04_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var ii = 0; ii < ds_grd_nstmngtid.rowcount; ii++) {
- if(ds_grd_nstmngtid.getColumn(ii, "sel") == "1") {
- ds_send_nstiddata.setColumn(0, "cnstseqno", ds_grd_nstmngtid.getColumn(ii, "cnstseqno"));
- ds_send_nstiddata.setColumn(0, "formrecseq", ds_grd_nstmngtid.getColumn(ii, "formrecseq"));
- ds_send_nstiddata.setColumn(0, "pid", ds_grd_nstmngtid.getColumn(ii, "pid"));
- ds_send_nstiddata.setColumn(0, "orddd", ds_grd_nstmngtid.getColumn(ii, "orddd"));
- ds_send_nstiddata.setColumn(0, "nstid", sysf_getUserInfo("userid"));
-
- var oParam = {};
- oParam.id = "TXADC02504";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqExeNstDelId";
- oParam.inds = "req=ds_send_nstiddata";
- oParam.outds = "ds_temp_id=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
- }
- }
- ds_send_srchdataid.setColumn(0, "nstid", sysf_getUserInfo("userid")); // 사용자 사번
- var oParam = {};
- oParam.id = "TRADC02505";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstListId";
- oParam.inds = "req=ds_send_srchdataid";
- oParam.outds = "ds_grd_nstmngtid=mainlist";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02501";
- tranf_submit(oParam);
- }
- function grd_nstmngtid_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //2010-01-06 비고란 저장 가능하도록 처리 (미회신사유등록..)
- var grdRow = ds_grd_nstmngtid.rowposition;
- var cCol = grd_nstmngtid.currentcol;
- sysf_trace("선택 Row : " + grdRow + ':' +cCol);
- if( cCol != 16 ){
- var cnstseqno = ds_grd_nstmngtid.getColumn(grdRow, "cnstseqno");
- var formrecseq = ds_grd_nstmngtid.getColumn(grdRow, "formrecseq");
- var formcd = ds_grd_nstmngtid.getColumn(grdRow, "formcd");
- var pid = ds_grd_nstmngtid.getColumn(grdRow, "pid");
- var cretno = ds_grd_nstmngtid.getColumn(grdRow, "cretno");
- var prcpgenrflag = ds_grd_nstmngtid.getColumn(grdRow, "prcpgenrflag");
- var rgstseqno = ds_grd_nstmngtid.getColumn(grdRow, "rgstseqno");
- var reqdd = ds_grd_nstmngtid.getColumn(grdRow, "reqdd");
- var orddd = ds_grd_nstmngtid.getColumn(grdRow, "orddd");
- var prcpcd = ds_grd_nstmngtid.getColumn(grdRow, "prcpcd");
- var prcpno = ds_grd_nstmngtid.getColumn(grdRow, "prcpno");
- var plusyn = ds_grd_nstmngtid.getColumn(grdRow, "plusyn");
- var sau = ds_grd_nstmngtid.getColumn(grdRow, "sau"); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- var roomcd = ds_grd_nstmngtid.getColumn(grdRow, "roomcd"); //2009-12-03 회신서출력시 [병실] 출력요청
- var cnstcnts9 = ds_grd_nstmngtid.getColumn(grdRow, "cnstcnts9"); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- var cnststat = ds_grd_nstmngtid.getColumn(grdRow, "cnststat"); // 회신상태
- var pdano = ds_grd_nstmngtid.getColumn(grdRow, "pdano"); // 의뢰인엔존
- var orddrnm = ds_grd_nstmngtid.getColumn(grdRow, "orddrnm"); // 주치의/의뢰인
- var firstinfo = ds_grd_nstmngtid.getColumn(grdRow, "firstinfo"); // 종결일자
-
- if( prcpgenrflag != "E" ){
- prcpgenrflag = "I";
- }
-
- var srchdd = utlf_getCurrentDate();
-
- var instcd = sysf_getUserInfo( "dutplceinstcd" );
- var param = prcpgenrflag + "▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
-
- //frmf_setParameter("condparam", param);
-
- appf_initPatientInfo(param);
- //환자기본정보설정 삭제
- //frmf_modal("SPMMO08900", "SPMMO08900", null, null, 1, null, 50, 600, 150, null, null, null, "M");
-
- frmf_setParameter("openmode", "reccnstform");
- frmf_setParameter("formrecseq", formrecseq); //서식기록테이블의 formrecseq(기록순번)
- frmf_setParameter("pid", pid);
- frmf_setParameter("rgstseqno", rgstseqno);
-
- ds_temp_cnstinfo.setColumn(0, "cnstseqno", cnstseqno);
- ds_temp_cnstinfo.setColumn(0, "formrecseq", formrecseq);
- ds_temp_cnstinfo.setColumn(0, "pid", pid);
- ds_temp_cnstinfo.setColumn(0, "cretno", cretno);
- ds_temp_cnstinfo.setColumn(0, "prcpgenrflag", prcpgenrflag);
- ds_temp_cnstinfo.setColumn(0, "rgstseqno", rgstseqno);
- ds_temp_cnstinfo.setColumn(0, "cnstdd", reqdd);
- ds_temp_cnstinfo.setColumn(0, "orddd", orddd);
- ds_temp_cnstinfo.setColumn(0, "cnsttype", "ast"); // 약품식별회신을 위한 변수 설정
- ds_temp_cnstinfo.setColumn(0, "plusyn", plusyn); //추구관리가능여부
- ds_temp_cnstinfo.setColumn(0, "sau", sau); //2009-12-03 회신서출력시 [의뢰사유] 출력요청
- ds_temp_cnstinfo.setColumn(0, "roomcd", roomcd); //2009-12-03 회신서출력시 [병실] 출력요청
- ds_temp_cnstinfo.setColumn(0, "cnstcnts9", cnstcnts9); //2009-12-23 의뢰유형 추가 (1:영양평가 2:영양교육)
- ds_temp_cnstinfo.setColumn(0, "cnststat", cnststat); //회신상태
- ds_temp_cnstinfo.setColumn(0, "pdano", pdano); //의뢰인엔존
- ds_temp_cnstinfo.setColumn(0, "orddrnm", orddrnm); //주치의/의뢰인
- ds_temp_cnstinfo.setColumn(0, "firstinfo", firstinfo); //종결일자
-
- //********************************* 해당 의뢰건을 의뢰확정 상태로 변경 *********************************
- if( !utlf_isNull(formrecseq) ){
- var oParam = {};
- oParam.id = "TXADC00101";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqExeReqCnstStat";
- oParam.inds = "req=ds_temp_cnstinfo";
- oParam.outds = "ds_hidden_cnststatinfo=cnststatinfo";
- oParam.async = false;
- //oParam.callback = "cf_TXADC00101";
- tranf_submit(oParam);
-
- if( ds_hidden_cnststatinfo.getColumn(ds_grd_nstmngt.rowposition, "cnststat") == "04" ){
- sysf_messageBox("취소된 의뢰건","I009");
- }
- }
-
- if( formcd == "0000000770" || formcd == "0000003019" ){ //NST
- ds_temp_cnstinfo.setColumn(0, "formcd", formcd); // EN, PN구분을 위한 formcd 설정
- if( utlf_isNull(formrecseq) ){
- ds_temp_cnstinfo.setColumn(0, "prcpcd", prcpcd);
- ds_temp_cnstinfo.setColumn(0, "prcpno", prcpno);
- }
-
- var objArg = new Object();
- objArg.arg_ds_temp_cnstinfo = ds_temp_cnstinfo;
- frmf_modal("SMADC02600", "SMADC02600", objArg, null, 1, null, 50, 600, 150, null, null, null, "M");
- grp_sea_btn_sea_onclick();
- }
- }
-
- if( cCol == "16" ){
- if( ds_grd_nstmngt.getColumn(grdRow, "cnststat") == "미의뢰" ){
- sysf_messageBox("[미의뢰]건에 대해서 비고란을 입력할수 없습니다.", "I");
- ds_grd_nstmngt.setColumn(grdRow, "cnstcnts20", "");
- return;
- }
- }
-
- }
- function ds_grd_nstmngt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel" || e.columnid=="chkmy") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function grp_sea_Combo00_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- grp_sea_btn_sea_onclick();
- }
- function Static00_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function button04_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMADC03500", "SMADC03500", null, null, 1, null, 50, 600, 150, null, null, null, "M");
- }
- function button06_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMADC03600", "SMADC03600", null, null, 1, null, 50, 600, 150, null, null, null, "M");
- }
- ]]></Script>
- </Form>
- </FDL>
|