123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMO02400" position="absolute 0 0 382 635" titletext="진료내역" oninit="SMMMO02400_oninit" onload="SMMMO02400_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 77 382 635" id="grd_bfprcplist" binddataset="ds_prcpsrch_prcplist" extendsizetype="row" autosizingtype="row" scrollpixel="all" onmousewheel="grd_bfprcplist_onmousewheel" anchor="all" oncelldblclick="grd_bfprcplist_oncelldblclick" cellsizingtype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="31"/>
- <Column size="54"/>
- <Column size="57"/>
- <Column size="210"/>
- <Column size="320"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="52"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="D/C"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="구분"/>
- <Cell col="4" colspan="2" text="처방내역" taborder="undefined"/>
- <Cell col="6" text="처방종류"/>
- <Cell col="7" text="응급"/>
- <Cell col="8" text="전달"/>
- <Cell col="9" text="검사결과"/>
- <Cell col="10" text="검사결과"/>
- <Cell col="11" text="처방코드"/>
- <Cell col="12" text="상태"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:status" expr="expr:(status == "I" || status == 1) ? 1 : 0" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:chkcol" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" combodataset="ds_chkcol" combocodecol="value" combodatacol="label" autosizerow="limitmin"/>
- <Cell col="2" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:tempcol14" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="3" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:tempcol13" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="4" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:tempcol6" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="5" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:tempcol7" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:prcpkindcd" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm" autosizerow="limitmin"/>
- <Cell col="7" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:erprcpflag" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="8" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:prcpdelivefact" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="9" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:testrsltcnts" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="10" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:testrsltunit" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="11" style="align:left middle;background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:prcpcd" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- <Cell col="12" style="background:EXPR(setPrcpColor("background", tempcol10));background2:EXPR(setPrcpColor("background", tempcol10));color:EXPR(setPrcpColor("fontcolor", tempcol10));color2:EXPR(setPrcpColor("fontcolor", tempcol10));font:EXPR(setPrcpColor("fonttype", tempcol10));linespace:1;" text="bind:tempcol12" wordwrap="expr:(grd_bfprcplist.extendsizetype == "row") ? "word" : "none"" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 77 102 635" id="grd_prcpdd" binddataset="ds_patprcpdaylist" autofittype="col" oncelldblclick="grd_prcpdd_oncelldblclick" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="87"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방일자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpdd" mask="####-##-##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 77 382 635" id="grd_patchosinfo" binddataset="ds_patchosinfolist" cellsizingtype="col" oncelldblclick="grd_patchosinfo_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="59"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진료구분"/>
- <Cell col="1" text="내원일"/>
- <Cell col="2" text="퇴원일시"/>
- <Cell col="3" text="진단명"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="진료의"/>
- <Cell col="6" text="임상"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:center middle;" text="bind:ordtype" combodataset="ds_ordtype" combocodecol="value" combodatacol="label"/>
- <Cell col="1" style="align:left middle;" text="bind:ordddtm"/>
- <Cell col="2" text="bind:dschdd"/>
- <Cell col="3" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="4" style="align:left middle;" text="bind:depthngnm"/>
- <Cell col="5" text="bind:orddrnm"/>
- <Cell col="6" text="bind:clincstdyflag"/>
- <Cell col="7" text="bind:centcd"/>
- <Cell col="8" text="bind:subdeptcd"/>
- <Cell col="9" text="bind:rsrvflag"/>
- <Cell col="10" text="bind:orddrid"/>
- <Cell col="11" text="bind:orddeptcd"/>
- <Cell col="12" text="bind:pid"/>
- <Cell col="13" text="bind:orddd"/>
- <Cell col="14" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 69 55 115 75" id="btn_detl" class="btn3" text="이전" onclick="btn_detl_onclick"/>
- <Button position="absolute 3 81 29 100" id="btn_prcpday" class="icon_left" text="" onclick="btn_prcpday_onclick"/>
- <Div id="Div00" taborder="1" position="absolute 0 0 382 52" class="div_SA2">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="0" text="조회" class="btn1" position="absolute 306 5 362 25" anchor="default" onclick="Div00_button1_onclick"/>
- <Radio id="radio1" taborder="1" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 10 5 142 25" anchor="default" onitemchanged="Div00_radio1_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">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_dept" taborder="2" innerdataset="@ds_deptlist" codecolumn="deptcd" datacolumn="deptnm" class="combo_search" position="absolute 152 5 292 25" anchor="default" onitemchanged="Div00_cmb_dept_onitemchanged"/>
- <CheckBox id="bool1" taborder="3" text="임상" value="N" truevalue="Y" falsevalue="N" onchanged="bool1_onchanged" position="absolute 12 27 57 47" anchor="default"/>
- <CheckBox id="chk_proprcp" taborder="4" text="가접수 포함" position="absolute 69 27 162 47" falsevalue="N" truevalue="Y" value="N" anchor="default" onchanged="Div00_chk_proprcp_onchanged"/>
- <CheckBox id="chk_kidney" taborder="5" text="인공신장실만" position="absolute 167 27 266 47" onchanged="Div00_chk_kidney_onchanged" visible="false" falsevalue="N" truevalue="Y"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_detlvw" taborder="2" text="상세보기" onclick="btn_detlvw_onclick" class="btn2" position="absolute 117 55 182 75" enable="false"/>
- <Button id="button9" taborder="3" text="전체선택" onclick="button9_onclick" class="btn2" position="absolute 184 55 248 75" enable="false"/>
- <Button id="button6" taborder="4" text="선택취소" onclick="button6_onclick" class="btn2" position="absolute 250 55 314 75" enable="false"/>
- <Button id="btn_copy" taborder="5" text="처방복사" onclick="btn_copy_onclick" class="btn5" position="absolute 316 55 382 75" enable="false"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_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_ordtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">건강검진</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">외래(임상)</Col>
- <Col id="value">OC</Col>
- </Row>
- <Row>
- <Col id="label">입원(임상)</Col>
- <Col id="value">IC</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cond1" type="STRING" size="256"/>
- <Column id="cond2" type="STRING" size="256"/>
- <Column id="cond3" type="STRING" size="256"/>
- <Column id="cond4" type="STRING" size="256"/>
- <Column id="cond5" type="STRING" size="256"/>
- <Column id="cond6" type="STRING" size="256"/>
- <Column id="cond7" type="STRING" size="256"/>
- <Column id="cond8" type="STRING" size="256"/>
- <Column id="cond9" type="STRING" size="256"/>
- <Column id="cond10" type="STRING" size="256"/>
- <Column id="cond11" type="STRING" size="256"/>
- <Column id="cond14" type="STRING" size="256"/>
- <Column id="cond99" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptlist" type="STRING" size="256"/>
- <Column id="srchcond1" type="STRING" size="256"/>
- <Column id="prcpstatcd" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="grdnm" type="STRING" size="256"/>
- <Column id="detlvw" type="STRING" size="256"/>
- <Column id="grdwd" type="STRING" size="256"/>
- <Column id="extngrdwd" type="STRING" size="256"/>
- <Column id="tempcol6wd" type="STRING" size="256"/>
- <Column id="tempcol7wd" type="STRING" size="256"/>
- <Column id="tempcol6exwd" type="STRING" size="256"/>
- <Column id="tempcol7exwd" type="STRING" size="256"/>
- <Column id="clincstdyflag" type="STRING" size="256"/>
- <Column id="chkprcp" type="STRING" size="256"/>
- <Column id="kidney" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond1">A</Col>
- <Col id="grdnm">grd_bfprcplist</Col>
- <Col id="detlvw">p</Col>
- <Col id="grdwd">382</Col>
- <Col id="extngrdwd">895</Col>
- <Col id="tempcol6wd">210</Col>
- <Col id="tempcol7wd">320</Col>
- <Col id="tempcol6exwd">350</Col>
- <Col id="tempcol7exwd">350</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dataflag" type="STRING" size="256" sumtext="자료구분 (Y:1건, N:여러건)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patchosinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태(외래 O, 응급 E ,입원 I)"/>
- <Column id="ordddtm" type="STRING" size="256" sumtext="내원일시"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일시"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="의사명"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="의사id"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patchosdeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prcpsrch_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_prcpsrch_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING"/>
- <Column id="chkcol" type="STRING"/>
- <Column id="tempcol14" type="STRING"/>
- <Column id="tempcol13" type="STRING"/>
- <Column id="tempcol6" type="STRING"/>
- <Column id="tempcol7" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="erprcpflag" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="tempcol12" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patprcpdaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_chkcol" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">D/C</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label"/>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">-</Col>
- <Col id="value"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_M0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_M0029" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="Div00.radio1" propid="value" datasetid="ds_init" columnid="srchcond1"/>
- <BindItem id="item1" compid="Div00.cmb_dept" propid="value" datasetid="ds_init" columnid="deptlist"/>
- <BindItem id="item2" compid="Div00.bool1" propid="value" datasetid="ds_init" columnid="clincstdyflag"/>
- <BindItem id="item3" compid="Div00.chk_proprcp" propid="value" datasetid="ds_init" columnid="chkprcp"/>
- <BindItem id="item4" compid="Div00.chk_kidney" propid="value" datasetid="ds_init" columnid="kidney"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-08-29
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-29 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO00100.xjs";
- include "emr_prcpmngtxp::SMMMO02100.xjs";
- include "emr_prcpmngtxp::SMMMO02400.xjs";
- var oOpener = this.getOwnerFrame().form;
- function SMMMO02400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_patchosinfo);
- }
- function SMMMO02400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(grd_patchosinfo);
-
- appf_getCodeList([{dsNm: "ds_M0003", cdGrpId: "M0003"}
- , {dsNm: "ds_M0011", cdGrpId: "M0011"}
- , {dsNm: "ds_M0029", cdGrpId: "M0029"}], true, true);
-
- fInitOrdSpec();
- }
- function refreshReqInterface() {
- fInitOrdSpec();
- }
- function Div00_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- grd_bfprcplist.visible = false
- fInitOrdSpec();
- }
- function Div00_cmb_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fInitOrdSpec();
- }
- function Div00_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitOrdSpec();
- }
- function grd_patchosinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fPatChosInfo();
- }
- function ds_prcpsrch_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "status")
- obj.setColumn(e.row, e.columnid, (e.newvalue == "I" || e.newvalue == 1) ? "I" : "N");
- }
- function btn_detl_onclick(obj:Button, e:ClickEventInfo)
- {
- fdetlvw();
- }
- function grd_bfprcplist_onmousewheel(obj:Grid, e:MouseWheelEventInfo)
- {
- obj.vscrollbar.pos = obj.vscrollbar.pos - e.amount;
- }
- function btn_prcpday_onclick(obj:Button, e:ClickEventInfo)
- {
- fDetlPrcpDay();
- }
- function btn_detlvw_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( grd_prcpdd.visible ) {
- ds_init.setColumn(0, "tempcol6wd", "210" );
- ds_init.setColumn(0, "tempcol7wd", "320" );
- ds_init.setColumn(0, "tempcol6exwd", "300" );
- ds_init.setColumn(0, "tempcol7exwd", "300" );
- } else {
- ds_init.setColumn(0, "tempcol6wd", "210" );
- ds_init.setColumn(0, "tempcol7wd", "320" );
- ds_init.setColumn(0, "tempcol6exwd", "350" );
- ds_init.setColumn(0, "tempcol7exwd", "350" );
- }
-
- fIvwDetlVwCom("prms");
-
- if ( ds_init.getColumn(0, "detlvw" ) == "m" ) {
- btn_prcpday.visible = false;
- btn_detl.visible = false;
- } else {
- if ( !grd_prcpdd.visible ) {
- btn_prcpday.visible = true;
- }
- btn_detl.visible = true;
- }
- }
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_bfprcplist.selectAll();
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_prcpsrch_prcplist.rowposition = -1;
- grd_bfprcplist.setCellPos(grd_bfprcplist.getCellPos());
- grd_bfprcplist.redraw();
- }
- function btn_copy_onclick(obj:Button, e:ClickEventInfo)
- {
- var selectedRows = grdf_getSelectedRows(grd_bfprcplist);
-
- for (var i = 0; i < selectedRows.length; i++){
- ds_prcpsrch_prcplist.setColumn(selectedRows[i], "status", "I");
- }
-
- lf_addPrcp ("child", "ds_prcpsrch_prcplist", "ds_main_prcplist", "Y", "status", "I", grd_bfprcplist, "N", "01");
-
- for (var i= 0; i < selectedRows.length; i++){
- ds_prcpsrch_prcplist.setColumn(selectedRows[i], "status", "N");
- }
- }
- function grd_bfprcplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- lf_addPrcp ("child", "ds_prcpsrch_prcplist", "ds_main_prcplist", "N", "status", "I", grd_bfprcplist, "N", "01");
- }
- function grd_prcpdd_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fPrcpDd();
- }
- function bool1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- grd_bfprcplist.visible = false;
- fInitOrdSpec();
- }
- function Div00_chk_proprcp_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- grd_bfprcplist.visible = false;
- fInitOrdSpec();
- }
- function Div00_chk_kidney_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- grd_bfprcplist.visible = false;
- fInitOrdSpec();
- }
- ]]></Script>
- </Form>
- </FDL>
|