123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNS01000" position="absolute 0 0 1181 722" titletext="입원환자리스트" oninit="SMMNS01000_oninit" onload="SMMNS01000_onload">
- <Layouts>
- <Layout>
- <Static text="입원환자 리스트" position="absolute 1 63 127 79" id="caption2" class="tit_2"/>
- <Shape position="absolute 0 79 1174 85" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 84 1174 716" align="align:center middle;" id="grd_inpatlist" binddataset="ds_inpatlist" oncellclick="grd_inpatlist_oncellclick" oncelldblclick="grd_inpatlist_oncelldblclick" onheadclick="grd_inpatlist_onheadclick" onmousewheel="grd_inpatlist_onmousewheel" onrbuttondown="grd_inpatlist_onrbuttondown" scrollpixel="all" selecttype="multirow" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="91"/>
- <Column size="72"/>
- <Column size="56"/>
- <Column size="49"/>
- <Column size="56"/>
- <Column size="76"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="66"/>
- <Column size="80"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="76"/>
- <Column size="54"/>
- <Column size="45"/>
- <Column size="57"/>
- <Column size="39"/>
- <Column size="41"/>
- <Column size="55"/>
- <Column size="75"/>
- <Column size="50"/>
- <Column size="63"/>
- <Column size="66"/>
- <Column size="64"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="82"/>
- <Column size="64"/>
- <Column size="65"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="indd"/>
- <Cell col="2" text="cretno"/>
- <Cell col="3" text="seqno"/>
- <Cell col="4" text="메모"/>
- <Cell col="5" text="병실"/>
- <Cell col="6" text="color"/>
- <Cell col="7" text="성명"/>
- <Cell col="8" text="등록번호"/>
- <Cell col="9" text="S/A"/>
- <Cell col="10" text="HD"/>
- <Cell col="11" text="POD"/>
- <Cell col="12" text="AD"/>
- <Cell col="13" text="의료협력"/>
- <Cell col="14" text="회신상태"/>
- <Cell col="15" text="orddeptcd"/>
- <Cell col="16" text="진료과"/>
- <Cell col="17" text="세부과"/>
- <Cell col="18" text="전문의"/>
- <Cell col="19" text="MEDISPCLID"/>
- <Cell col="20" text="담당의"/>
- <Cell col="21" text="진단명"/>
- <Cell col="22" text="수술명"/>
- <Cell col="23" text="검사조회"/>
- <Cell col="24" text="의뢰"/>
- <Cell col="25" text="특이"/>
- <Cell col="26" text="익일정규"/>
- <Cell col="27" text="최종처방일"/>
- <Cell col="28" text="CP여부"/>
- <Cell col="29" text="보험유형"/>
- <Cell col="30" text="퇴원구분"/>
- <Cell col="31" text="관심"/>
- <Cell col="32" text="Transfer"/>
- <Cell col="33" text="협진팀"/>
- <Cell col="34" text="제한항생제"/>
- <Cell col="35" text="PreWork Up"/>
- <Cell col="36" text="BMT예정일"/>
- <Cell col="37" text="이식형태"/>
- <Cell col="38" text="BMT Day"/>
- <Cell col="39" text="Post Cx Day"/>
- <Cell col="40" text="선택진료여부"/>
- <Cell col="41" text="ordtype"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:indd"/>
- <Cell col="2" text="bind:cretno"/>
- <Cell col="3" text="bind:seqno"/>
- <Cell col="4" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:memo"/>
- <Cell col="5" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:roomcd"/>
- <Cell col="6" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:color"/>
- <Cell col="7" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:hngnm"/>
- <Cell col="8" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:pid"/>
- <Cell col="9" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:sa"/>
- <Cell col="10" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:hd"/>
- <Cell col="11" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:pod"/>
- <Cell col="12" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:ad" mask="####-##-##" maskchar=" " calendardisplaynulltype="none"/>
- <Cell col="13" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:refer"/>
- <Cell col="14" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:replstat"/>
- <Cell col="15" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddeptcd"/>
- <Cell col="16" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:deptnm"/>
- <Cell col="17" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:subdeptnm"/>
- <Cell col="18" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:medispclnm"/>
- <Cell col="19" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:medispclid"/>
- <Cell col="20" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:atdoctnm"/>
- <Cell col="21" style="align:left middle;padding:5 2 1 2;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="22" style="align:left middle;padding:5 2 1 2;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:opnm" wordwrap="word"/>
- <Cell col="23" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:testrslt"/>
- <Cell col="24" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:cnst"/>
- <Cell col="25" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:spclflag"/>
- <Cell col="26" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:dayregular"/>
- <Cell col="27" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:lastprcpdd" mask="####-##-##" maskchar=" " calendardisplaynulltype="none"/>
- <Cell col="28" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:cpyn"/>
- <Cell col="29" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:insukind" combodataset="ds_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="30" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" class="text_center;" text="bind:dschnoti"/>
- <Cell col="31" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:conctypenm"/>
- <Cell col="32" style="align:left middle;padding:5 2 1 2;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:transfer" wordwrap="word"/>
- <Cell col="33" displaytype="combo" edittype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:coopteamcd" combodataset="ds_M0525" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="34" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:antidrugflag"/>
- <Cell col="35" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:preworkup"/>
- <Cell col="36" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hsctpreday"/>
- <Cell col="37" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:transtype"/>
- <Cell col="38" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hsctday"/>
- <Cell col="39" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:postcxday"/>
- <Cell col="40" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:specordtype" combodataset="ds_M0623" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="41" text="bind:ordtype"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="타과 방사선종양처방환자는 노란색으로 보입니다." position="absolute 140 65 565 80" id="stt_radiation" visible="false"/>
- <Static id="Static00" text="총" class="search_name" position="absolute 6 8 42 28"/>
- <Static id="Static01" position="absolute 41 8 76 28" style="align:center middle;"/>
- <Static id="Static02" text="명" position="absolute 88 8 108 28" style="color:#262626ff;font:Dotum,9,bold;"/>
- <Static id="Static03" text="진 료 일" class="search_name" position="absolute 125 8 193 28"/>
- <Static id="Static04" text="진 료 과" class="search_name" position="absolute 301 8 369 28"/>
- <Static id="Static05" text="세 부 과" class="search_name" position="absolute 511 8 579 28"/>
- <Static id="Static06" text="전 문 의" class="search_name" position="absolute 716 8 784 28"/>
- <Static id="Static07" text="담 당 의" class="search_name" position="absolute 895 8 963 28"/>
- <Static id="Static08" text="병 동" class="search_name" position="absolute 511 34 563 54"/>
- <Static id="Static09" text="등록번호" class="search_name" position="absolute 716 34 784 54"/>
- <Static id="Static10" text="환 자 명" class="search_name" position="absolute 895 34 963 54"/>
- <Calendar id="Calendar00" taborder="1" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="Div00_Calendar00_onchanged" position="absolute 204 8 294 28"/>
- <Combo id="cmb_orddept" taborder="2" innerdataset="ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Div00_cmb_orddept_onitemchanged" position="absolute 380 8 495 28"/>
- <Combo id="cmb_subdept" taborder="3" innerdataset="ds_subdeptinfo" codecolumn="subdeptcd" datacolumn="subdeptnm" position="absolute 590 8 705 28"/>
- <Combo id="cmb_medispclid" taborder="4" innerdataset="ds_userlist" codecolumn="userid" datacolumn="usernm" position="absolute 795 8 885 28"/>
- <Combo id="cmb_atdoctid" taborder="5" innerdataset="ds_userlist2" codecolumn="userid" datacolumn="usernm" position="absolute 974 8 1064 28"/>
- <CheckBox id="CheckBox00" taborder="6" text="내환자 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 6 34 93 54"/>
- <CheckBox id="CheckBox01" taborder="7" text="당일전과포함" value="N" truevalue="Y" falsevalue="N" position="absolute 110 34 202 54"/>
- <Radio id="Radio00" taborder="8" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 218 34 494 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">재원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">퇴원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">입원예정</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">입실완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_wardcd" taborder="9" innerdataset="ds_orddept2" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 590 34 680 54"/>
- <Edit id="edt_pid" taborder="10" autoselect="true" onkeydown="Div00_edt_pid_onkeydown" position="absolute 795 34 885 54"/>
- <Edit id="Edit00" taborder="11" autoselect="true" onkeydown="Div00_Edit00_onkeydown" position="absolute 974 34 1064 54"/>
- <Button id="Button00" taborder="12" onclick="Div00_Button00_onclick" class="icon_search" position="absolute 1067 34 1087 54"/>
- <Button id="btn_req" taborder="13" text="조회" onclick="Div00_btn_req_onclick" class="btn1" position="absolute 1107 21 1159 41" anchor="top right" hotkey="F5"/>
- <Div id="Div00" anchor="left top right" taborder="14" scrollbars="none" class="div_SA2" position="absolute 0 0 1174 62">
- <Layouts>
- <Layout>
- <Static id="Static00" text="총" class="search_name" position="absolute 6 8 42 28"/>
- <Static id="Static01" position="absolute 41 8 76 28" style="align:center middle;"/>
- <Static id="Static02" text="명" position="absolute 88 8 108 28" style="color:#262626ff;font:Dotum,9,bold;"/>
- <Static id="Static03" text="진 료 일" class="search_name" position="absolute 125 8 193 28"/>
- <Static id="Static04" text="진 료 과" class="search_name" position="absolute 301 8 369 28"/>
- <Static id="Static05" text="세 부 과" class="search_name" position="absolute 511 8 579 28"/>
- <Static id="Static06" text="전 문 의" class="search_name" position="absolute 716 8 784 28"/>
- <Static id="Static07" text="담 당 의" class="search_name" position="absolute 895 8 963 28"/>
- <Static id="Static08" text="병 동" class="search_name" position="absolute 511 34 563 54"/>
- <Static id="Static09" text="등록번호" class="search_name" position="absolute 716 34 784 54"/>
- <Static id="Static10" text="환 자 명" class="search_name" position="absolute 895 34 963 54"/>
- <Calendar id="Calendar00" taborder="14" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="Div00_Calendar00_onchanged" position="absolute 204 8 294 28"/>
- <Combo id="cmb_orddept" taborder="15" innerdataset="ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Div00_cmb_orddept_onitemchanged" position="absolute 380 8 495 28"/>
- <Combo id="cmb_subdept" taborder="16" innerdataset="ds_subdeptinfo" codecolumn="subdeptcd" datacolumn="subdeptnm" position="absolute 590 8 705 28"/>
- <Combo id="cmb_medispclid" taborder="17" innerdataset="ds_userlist" codecolumn="userid" datacolumn="usernm" position="absolute 795 8 885 28"/>
- <Combo id="cmb_atdoctid" taborder="18" innerdataset="ds_userlist2" codecolumn="userid" datacolumn="usernm" position="absolute 974 8 1064 28"/>
- <CheckBox id="CheckBox00" taborder="19" text="내환자 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 6 34 93 54"/>
- <CheckBox id="CheckBox01" taborder="20" text="당일전과포함" value="N" truevalue="Y" falsevalue="N" position="absolute 110 34 202 54"/>
- <Radio id="Radio00" taborder="21" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 218 34 494 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">재원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">퇴원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">입원예정</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">입실완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_wardcd" taborder="22" innerdataset="ds_orddept2" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 590 34 680 54"/>
- <Edit id="edt_pid" taborder="23" autoselect="true" onkeydown="Div00_edt_pid_onkeydown" position="absolute 795 34 885 54"/>
- <Edit id="Edit00" taborder="24" autoselect="true" onkeydown="Div00_Edit00_onkeydown" position="absolute 974 34 1064 54"/>
- <Button id="Button00" taborder="25" onclick="Div00_Button00_onclick" class="icon_search" position="absolute 1067 34 1087 54"/>
- <Button id="btn_req" taborder="26" text="조회" onclick="Div00_btn_req_onclick" class="btn1" position="absolute 1107 21 1159 41" anchor="top right" hotkey="F5"/>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="pmn_menu" innerdataset="@ds_menu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1184 2 1299 24"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="patflagstat" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="sortcol" type="STRING" size="256"/>
- <Column id="orderby" type="STRING" size="256"/>
- <Column id="mypatflag" type="STRING" size="256"/>
- <Column id="totcnt" type="STRING" size="256"/>
- <Column id="transfer" type="STRING" size="256"/>
- <Column id="subdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patflagstat">-</Col>
- <Col id="scrnid">inpatlist</Col>
- <Col id="mypatflag">Y</Col>
- <Col id="transfer">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_inpatlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_inpatlist_onrowposchanged">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="memo" type="STRING" size="256" sumtext="메모"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="color" type="STRING" size="256" sumtext="cell색상"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="동명이인적용환자명"/>
- <Column id="pid" type="BIGDECIMAL" size="256" sumtext="등록번호"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별나이"/>
- <Column id="hd" type="INT" size="256" sumtext="입원기간"/>
- <Column id="pod" type="STRING" size="256" sumtext="POD"/>
- <Column id="ad" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="refer" type="STRING" size="256" sumtext="의료협력"/>
- <Column id="replstat" type="STRING" size="256" sumtext="회신상태"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="subdeptnm" type="STRING" size="256" sumtext="세부과부서명"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="교수명"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="전문의ID"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="전공의명"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="testrslt" type="STRING" size="256" sumtext="검사조회"/>
- <Column id="cnst" type="STRING" size="256" sumtext="의뢰"/>
- <Column id="spclflag" type="STRING" size="256" sumtext="특이구분"/>
- <Column id="dayregular" type="STRING" size="256" sumtext="익일정규"/>
- <Column id="lastprcpdd" type="STRING" size="256" sumtext="최종처방일"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="cpyn" type="STRING" size="256" sumtext="CP여부"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="dschnoti" type="STRING" size="256" sumtext="퇴원구분"/>
- <Column id="conctypenm" type="STRING" size="256" sumtext="관심분류명"/>
- <Column id="transfer" type="STRING" size="256" sumtext="transfer"/>
- <Column id="coopteamcd" type="STRING" size="256" sumtext="협진팀명"/>
- <Column id="antidrugflag" type="STRING" size="256" sumtext="항생제"/>
- <Column id="preworkup" type="STRING" size="256" sumtext="preworkup"/>
- <Column id="hsctpreday" type="STRING" size="256" sumtext="hsct예정일"/>
- <Column id="trsntype" type="STRING" size="256" sumtext="이식형태"/>
- <Column id="hsctday" type="STRING" size="256" sumtext="hsctday"/>
- <Column id="postcxday" type="STRING" size="256" sumtext="postcxday"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="repltype" type="STRING" size="256" sumtext="회신유형"/>
- <Column id="recsubjective" type="STRING" size="256"/>
- <Column id="recaccess" type="STRING" size="256"/>
- <Column id="recplan" type="STRING" size="256"/>
- <Column id="drginfo" type="STRING" size="256" sumtext="DRG구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_reqphardcdno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_npdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hardcdno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_opdrugresn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_orddept2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_userlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_jobhardcdno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_subdeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_reqdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
- <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
- <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
- <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
- <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_reqInPat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcd">fCallWndConcPatRgst</Col>
- <Col id="hardcdnm">관심환자등록</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_reqdata2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일"/>
- <Column id="stnddd" type="STRING" size="256" sumtext="기준일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_opprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_reqdata3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원/진료일"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_reqdata4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="I/O/Eflag"/>
- <Column id="srchtabflag" type="STRING" size="256" sumtext="조회하는대상자리스트탭(I/O/D/E)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_rsltgetdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cpgno" type="STRING" size="256" sumtext="cpg번호"/>
- <Column id="cpghistseq" type="STRING" size="256" sumtext="cpg이력번호"/>
- <Column id="cpgappno" type="STRING" size="256" sumtext="적용번호"/>
- <Column id="histseq" type="STRING" size="256" sumtext="적용이력번호"/>
- <Column id="appdd" type="STRING" size="256" sumtext="적용일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="I/O/Eflag"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="getformyn" type="STRING" size="256" sumtext="서식존재여부"/>
- <Column id="appyn" type="STRING" size="256" sumtext="적용여부"/>
- <Column id="appstat" type="STRING" size="256" sumtext="적용상태"/>
- <Column id="cpgnm" type="STRING" size="256" sumtext="cpg명"/>
- <Column id="prtlflagcd" type="STRING" size="256" sumtext="cp/cpg구분(01:CP/02:CPG)"/>
- <Column id="msgcnts" type="STRING" size="256" sumtext="출력Msg내용"/>
- <Column id="msgflag" type="STRING" size="256" sumtext="출력Msg구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="Static01" propid="text" datasetid="ds_cond" columnid="totcnt"/>
- <BindItem id="item1" compid="Calendar00" propid="value" datasetid="ds_cond" columnid="indd"/>
- <BindItem id="item2" compid="cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
- <BindItem id="item3" compid="cmb_subdept" propid="value" datasetid="ds_cond" columnid="subdeptcd"/>
- <BindItem id="item4" compid="cmb_medispclid" propid="value" datasetid="ds_cond" columnid="medispclid"/>
- <BindItem id="item5" compid="cmb_atdoctid" propid="value" datasetid="ds_cond" columnid="atdoctid"/>
- <BindItem id="item6" compid="CheckBox00" propid="value" datasetid="ds_cond" columnid="mypatflag"/>
- <BindItem id="item7" compid="CheckBox01" propid="value" datasetid="ds_cond" columnid="transfer"/>
- <BindItem id="item8" compid="Radio00" propid="value" datasetid="ds_cond" columnid="patflagstat"/>
- <BindItem id="item9" compid="cmb_wardcd" propid="value" datasetid="ds_cond" columnid="wardcd"/>
- <BindItem id="item10" compid="edt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item11" compid="Edit00" propid="value" datasetid="ds_cond" columnid="hngnm"/>
- <BindItem id="item12" compid="Div00.Static01" propid="text" datasetid="ds_cond" columnid="totcnt"/>
- <BindItem id="item13" compid="Div00.Calendar00" propid="value" datasetid="ds_cond" columnid="indd"/>
- <BindItem id="item14" compid="Div00.cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
- <BindItem id="item15" compid="Div00.cmb_subdept" propid="value" datasetid="ds_cond" columnid="subdeptcd"/>
- <BindItem id="item16" compid="Div00.cmb_medispclid" propid="value" datasetid="ds_cond" columnid="medispclid"/>
- <BindItem id="item17" compid="Div00.cmb_atdoctid" propid="value" datasetid="ds_cond" columnid="atdoctid"/>
- <BindItem id="item18" compid="Div00.CheckBox00" propid="value" datasetid="ds_cond" columnid="mypatflag"/>
- <BindItem id="item19" compid="Div00.CheckBox01" propid="value" datasetid="ds_cond" columnid="transfer"/>
- <BindItem id="item20" compid="Div00.Radio00" propid="value" datasetid="ds_cond" columnid="patflagstat"/>
- <BindItem id="item21" compid="Div00.cmb_wardcd" propid="value" datasetid="ds_cond" columnid="wardcd"/>
- <BindItem id="item22" compid="Div00.edt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item23" compid="Div00.Edit00" propid="value" datasetid="ds_cond" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO04100.xjs";
- include "emr_prcpmngtxp::SMMMO04300.xjs";
- var orderby = new SortArray(); // 그리드 정렬 설정에 사용
- function SMMNS01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_inpatlist);
- }
- function SMMNS01000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(grd_inpatlist);
-
- fInitialize_SMMMO04300();
- }
- function refreshReqInterface(bResetColumn) {
- if(bResetColumn)
- reqOrderInfoOfCol(ds_reqdata1, ds_gridseq, "SMMMO04300", grd_inpatlist); //입원환자리스트 컬럼 조회 및 설정
- fReqInPatList();
- }
- function grd_inpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- parent.parent.SMMMO04100_setPid(ds_inpatlist.getColumn(e.row, "pid"));
- }
- function grd_inpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- // sysf_setGlobalVariable("OrderMainRefresh", "Y"); // 처방 메인 refresh 단일화를 위한 글로벌 변수 셋팅 - 20081212 by Moonsh
- // if ( fChkBfPrcpLoad("I") == false ) {
- // return;
- // }
- // fSelectInPat();
- fReqInPatPamInfo();
- }
- function grd_inpatlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
-
- ds_cond.setColumn(0, "sortcol", lf_getBindCellName(obj, e.col));
- ds_cond.setColumn(0, "orderby", orderby.getNext()); // 노멀에서 시작한다는 전제로 함
-
- parent.parent.ds_cond_inpatlist.copyData(ds_cond);
- }
- function grd_inpatlist_onmousewheel(obj:Grid, e:MouseWheelEventInfo)
- {
- obj.vscrollbar.pos = obj.vscrollbar.pos - e.amount;
- }
- function grd_inpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- function Div00_edt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.value = utlf_trim(obj.value);
- if(obj.value == ""){
- return;
- }
- if(lf_reqPatInfo(ds_patnm, "pid", "ptbs", obj.value)) {
- ds_cond.setColumn(0, "hngnm", ds_patnm.getColumn(0, "hngnm"));
-
- fReqInPatList();
- }
- }
- }
- function Div00_Edit00_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- ds_hidden.clearData();
- ds_hidden.addRow();
-
- ds_hidden.setColumn(0, "srchcond", "2");
- ds_hidden.setColumn(0, "hngnm", obj.text);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
-
- if(!utlf_isNull(this.objects["ds_patinfolist"])) {
- var pid = ds_patinfolist.getColumn(0, "pid");
- var hngnm = ds_patinfolist.getColumn(0, "hngnm");
-
- ds_cond.setColumn(0, "pid", pid);
- ds_cond.setColumn(0, "hngnm", hngnm);
- }
- }
- }
- function Div00_Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
- if(!utlf_isNull(this.objects["ds_patinfolist"])) {
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_cond.setColumn(0, "pid", sPid);
- ds_cond.setColumn(0, "hngnm", sHngnm);
- }
- }
- function Div00_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- var orddeptcd = ds_cond.getColumn(0, "orddeptcd");
- var medispclid = ds_cond.getColumn(0, "medispclid");
- var atdoctid = ds_cond.getColumn(0, "atdoctid");
- var wardcd = ds_cond.getColumn(0, "wardcd");
-
- if (orddeptcd == "-" && medispclid == "-" && atdoctid == "-" && wardcd == "-" ) {
- sysf_messageBox("조회조건 전부가 전체가 될수는", "I004");
- } else {
- fReqInPatList();
- }
- }
- function Div00_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var sOrdDd = ds_cond.getColumn(0, "indd");
- var orddeptcd = ds_cond.getColumn(0, "orddeptcd");
- var medispclid = ds_cond.getColumn(0, "medispclid");
- var atdoctid = ds_cond.getColumn(0, "atdoctid");
- var wardcd = ds_cond.getColumn(0, "wardcd");
- var rtorddeptcd = ds_hardcdno.getColumn(0, "hardcd");
-
- setUserList(orddeptcd, "-", "-", sOrdDd);
-
- setRadiationMsg(orddeptcd);
- setSubDeptCodeList(orddeptcd);
- if (orddeptcd == "-" && medispclid == "-" && atdoctid == "-" && wardcd == "-" ) {
- sysf_messageBox("조회조건 전부가 전체가 될수는", "I004");
- } else {
- fReqInPatList();
- }
- }
- function Div00_Calendar00_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- // var sOrdDd = obj.value;
- // var sOrdDeptCd = Div00.cmb_orddept.value;
- //
- // setDeptCodeList(null, sOrdDd);
- //
- // if(ds_orddept.findRow("deptcd", sOrdDeptCd) == -1) {
- // if(ds_hardcd.findRow("hardcd", sOrdDeptCd) != -1) { // 소아청소년과 분과 이면 소아청소년과로 설정.
- // Div00.cmb_orddept.value = "2110000000";
- // Div00.cmb_orddept.onitemchanged.fireEvent(Div00.cmb_orddept, new ItemChangeEventInfo);
- // } else {
- // sysf_messageBox ( "선택일자에 존재하지 않는 진료과 입니다.\n\n진료과를 다시 선택 하세요.", "I" );
- // Div00.cmb_orddept.value = "";
- // }
- // }
- }
- ]]></Script>
- </Form>
- </FDL>
|