123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO07900" position="absolute 0 0 1180 740" titletext="권역외상센터 대상자 조회" oninit="SPMMO07900_oninit" onload="SPMMO07900_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 355 260 920 620" id="grd_bak" class="datagrid2" visible="false" binddataset="ds_main_bak" oncelldblclick="grd_bak_oncelldblclick" taborder="0">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="55"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구역"/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="orddd"/>
- <Cell col="3" text="cretno"/>
- <Cell col="4" text="instcd"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="나이"/>
- <Cell col="8" text="내원일시"/>
- <Cell col="9" text="퇴실일시"/>
- <Cell col="10" text="퇴실종류"/>
- <Cell col="11" text="indsch"/>
- <Cell col="12" text="퇴원일시"/>
- <Cell col="13" text="dschdd"/>
- <Cell col="14" text="wardcd"/>
- <Cell col="15" text="퇴원시점 환자위치"/>
- <Cell col="16" text="ordtype"/>
- <Cell col="17" text="중환자실 이동"/>
- <Cell col="18" text="수술 여부"/>
- <Cell col="19" text="주호소"/>
- <Cell col="20" text="주진단"/>
- <Cell col="21" text="주진료과"/>
- <Cell col="22" text="주치의"/>
- <Cell col="23" text="담당의"/>
- <Cell col="24" text="호출진료과"/>
- <Cell col="25" text="호출의"/>
- </Band>
- <Band id="body">
- <Cell text="bind:bedposcnts"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:orddd"/>
- <Cell col="3" text="bind:cretno"/>
- <Cell col="4" text="bind:instcd"/>
- <Cell col="5" text="bind:hngnm"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:age"/>
- <Cell col="8" text="bind:chosdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="9" text="bind:outrmdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="10" text="bind:outrmcd"/>
- <Cell col="11" text="bind:indschacptstat"/>
- <Cell col="12" text="bind:dschnotidt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="13" text="bind:dschdd"/>
- <Cell col="14" text="bind:wardcd"/>
- <Cell col="15" text="bind:wardnm"/>
- <Cell col="16" text="bind:ordtype"/>
- <Cell col="17" text="bind:icu"/>
- <Cell col="18" text="bind:op"/>
- <Cell col="19" text="bind:sympnm"/>
- <Cell col="20" text="bind:diagnm"/>
- <Cell col="21" text="bind:orddeptnm"/>
- <Cell col="22" text="bind:jatdoctnm"/>
- <Cell col="23" text="bind:datdoctnm"/>
- <Cell col="24" text="bind:erorddeptnm"/>
- <Cell col="25" text="bind:ermedispclnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 20 1180 60" id="roundrect1" type="roundrectangle" class="div_SA" anchor="left top right" taborder="1">
- <Layouts>
- <Layout>
- <CheckBox id="CheckBox00" taborder="0" text="Ver3" position="absolute 956 10 1016 32" truevalue="Y" falsevalue="N" visible="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 62 1180 68" linetype="horizontal" id="line1" class="line_1" anchor="left top right"/>
- <Button position="absolute 1042 30 1098 52" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick" anchor="top right" taborder="2"/>
- <Grid position="absolute 0 65 1180 740" id="grd_mtralist" class="datagrid2" binddataset="ds_main_mtralist" oncelldblclick="grd_mtralist_oncelldblclick" anchor="all" cellsizebandtype="allband" cellsizingtype="col" scrollpixel="all" taborder="10" onrbuttondown="grd_mtralist_onrbuttondown" autosizingtype="row" extendsizetype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="61"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="80"/>
- <Column size="47"/>
- <Column size="192"/>
- <Column size="176"/>
- <Column size="80"/>
- <Column size="41"/>
- <Column size="91"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="69"/>
- <Column size="140"/>
- <Column size="185"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="normal" text="병동"/>
- <Cell col="2" displaytype="normal" text="병실"/>
- <Cell col="3" displaytype="normal" text="구역"/>
- <Cell col="4" text="중증"/>
- <Cell col="5" text="ISS"/>
- <Cell col="6" displaytype="normal" text="등록번호"/>
- <Cell col="7" displaytype="normal" text="환자명"/>
- <Cell col="8" displaytype="normal" text="성별"/>
- <Cell col="9" displaytype="normal" text="나이"/>
- <Cell col="10" text="Call"/>
- <Cell col="11" colspan="2" displaytype="normal" text="내원일시" taborder="undefined"/>
- <Cell col="13" colspan="2" displaytype="normal" text="퇴실일시" taborder="undefined"/>
- <Cell col="15" displaytype="normal" text="퇴실종류"/>
- <Cell col="16" displaytype="normal" text="전출의료기관"/>
- <Cell col="17" colspan="2" displaytype="normal" text="퇴원일시" taborder="undefined"/>
- <Cell col="19" displaytype="normal" text="퇴원종류"/>
- <Cell col="20" displaytype="normal" text="중환자실 이동"/>
- <Cell col="21" displaytype="normal" text="ICU(전송후)"/>
- <Cell col="22" displaytype="normal" text="수술여부"/>
- <Cell col="23" displaytype="normal" text="OP(전송후)"/>
- <Cell col="24" displaytype="normal" text="주호소"/>
- <Cell col="25" displaytype="normal" text="주진단"/>
- <Cell col="26" displaytype="normal" text="주진료과"/>
- <Cell col="27" displaytype="normal" text="담당교수"/>
- <Cell col="28" displaytype="normal" text="담당의"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" style="align:left;" text="bind:wardnm"/>
- <Cell col="2" displaytype="normal" style="align:left;" text="bind:lastpos"/>
- <Cell col="3" displaytype="normal" style="align:left;" text="bind:bedposcnts"/>
- <Cell col="4" text="bind:serflag"/>
- <Cell col="5" text="bind:trmsciss"/>
- <Cell col="6" displaytype="normal" style="align:center;" text="bind:pid"/>
- <Cell col="7" displaytype="normal" style="align:left;" text="bind:hngnm"/>
- <Cell col="8" displaytype="normal" style="align:center;" text="bind:sex"/>
- <Cell col="9" displaytype="normal" style="align:center;" text="bind:age"/>
- <Cell col="10" text="bind:callgbn"/>
- <Cell col="11" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
- <Cell col="12" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? (chostm != '-' ? '##:##' : '') : ''" maskchar=" "/>
- <Cell col="13" text="bind:outrmdd" mask="expr:!utlf_isNull(outrmdd) ? (outrmdd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
- <Cell col="14" displaytype="expr:!utlf_isNull(outrmtm) ? 'date' : ''" text="bind:outrmtm" mask="expr:!utlf_isNull(outrmtm) ? 'HH:mm' : ''"/>
- <Cell col="15" displaytype="normal" style="align:left;" text="bind:outrmcd" wordwrap="char"/>
- <Cell col="16" displaytype="normal" style="align:left;" text="bind:thospital" wordwrap="char"/>
- <Cell col="17" text="bind:notidd" mask="expr:!utlf_isNull(notidd) ? (notidd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
- <Cell col="18" text="bind:notitm" mask="expr:!utlf_isNull(notitm) ? (notitm != '-' ? '##:##' : '') : ''" maskchar=" "/>
- <Cell col="19" displaytype="normal" style="align:left;" text="bind:erptdcrt"/>
- <Cell col="20" displaytype="normal" text="bind:icu"/>
- <Cell col="21" displaytype="normal" text="bind:tricu"/>
- <Cell col="22" displaytype="normal" text="bind:op"/>
- <Cell col="23" displaytype="normal" text="bind:trop"/>
- <Cell col="24" displaytype="normal" style="align:left;" text="bind:sympnm" wordwrap="char" autosizecol="limitmin"/>
- <Cell col="25" displaytype="normal" style="align:left;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="26" displaytype="normal" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="27" displaytype="normal" style="align:left;" text="bind:jatdoctnm"/>
- <Cell col="28" displaytype="normal" style="align:left;" text="bind:datdoctnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo position="absolute 100 31 185 50" id="combo3" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left top" taborder="4">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">퇴원일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">내원일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar position="absolute 200 31 301 50" id="input3" class="input_search" dateformat="yyyy-MM-dd" value="null" autoselect="true" anchor="left top" taborder="5"/>
- <Calendar position="absolute 334 31 435 50" id="input1" class="input_search" dateformat="yyyy-MM-dd" autoselect="true" anchor="left top" taborder="6"/>
- <Static text="~" position="absolute 311 31 331 51" id="caption1" anchor="left top"/>
- <Static text="검색조건 :" position="absolute 10 32 105 49" id="caption8" class="search_name" anchor="left top"/>
- <Static text="권역 외상센터 대상자 조회" position="absolute 0 0 186 20" id="caption6" class="tit_1"/>
- <Shape position="absolute 1019 29 1025 52" linetype="vertical" id="line2" anchor="top right"/>
- <CheckBox position="absolute 454 31 554 51" id="checkbox1" text="퇴실조건 제외" anchor="left top" truevalue="Y" onclick="checkbox1_onclick" taborder="7"/>
- <Grid position="absolute 1 304 1180 554" id="grd_excel" class="datagrid2" visible="false" binddataset="ds_main_mtralist_ex" anchor="all" taborder="8" autosizingtype="none" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="152"/>
- <Column size="140"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="126"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="125"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="99"/>
- <Column size="102"/>
- <Column size="111"/>
- <Column size="86"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="44" 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="Call"/>
- <Cell col="5" text="KTAS"/>
- <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="총병원재원일"/>
- <Cell col="13" text="POD"/>
- <Cell col="14" text="첫수술일"/>
- <Cell col="15" text="내원일시"/>
- <Cell col="16" text="퇴실일시"/>
- <Cell col="17" text="퇴실종류"/>
- <Cell col="18" text="전출의료기관"/>
- <Cell col="19" text="퇴원일시"/>
- <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="수술실입실시간"/>
- <Cell col="29" text="수술실입실 소요시간(분)"/>
- <Cell col="30" text="최초수혈시작일시"/>
- <Cell col="31" displaytype="normal" edittype="none" text="내원 4시간 이내 수혈량 중 적혈구(RBC)개수" wordwrap="word"/>
- <Cell col="32" text="내원 24시간 이내 추가 수혈량 중 적혈구(RBC) 개수"/>
- <Cell col="33" text="최초 수혈 시간 소요시간(분)"/>
- <Cell col="34" text="주호소"/>
- <Cell col="35" text="주진단"/>
- <Cell col="36" text="퇴실 시 주진료과"/>
- <Cell col="37" text="담당교수"/>
- <Cell col="38" text="담당의"/>
- <Cell col="39" text="호출과"/>
- <Cell col="40" text="head"/>
- <Cell col="41" text="face"/>
- <Cell col="42" text="chest"/>
- <Cell col="43" text="abdomen"/>
- <Cell col="44" text="extremity"/>
- <Cell col="45" text="external"/>
- <Cell col="46" text="최종iss"/>
- <Cell col="47" text="손상유형"/>
- <Cell col="48" text="RTS"/>
- <Cell col="49" text="TRISS"/>
- </Band>
- <Band id="body">
- <Cell text="bind:wardnm"/>
- <Cell col="1" text="bind:lastpos"/>
- <Cell col="2" text="bind:bedposcnts"/>
- <Cell col="3" text="bind:serflag"/>
- <Cell col="4" text="bind:callgbn"/>
- <Cell col="5" text="bind:ktas"/>
- <Cell col="6" text="bind:pid"/>
- <Cell col="7" text="bind:hngnm"/>
- <Cell col="8" text="bind:sex"/>
- <Cell col="9" text="bind:age"/>
- <Cell col="10" text="bind:ertm"/>
- <Cell col="11" text="bind:wrdd"/>
- <Cell col="12" text="bind:hdd"/>
- <Cell col="13" text="bind:podd"/>
- <Cell col="14" text="bind:fopdd" mask="expr:!utlf_isNull(fopdd) ? '####-##-##' : ''"/>
- <Cell col="15" displaytype="normal" edittype="none" text="bind:chosdt" mask="expr:!utlf_isNull(chosdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="16" text="bind:outrmdt" mask="expr:!utlf_isNull(outrmdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="17" text="bind:outrmcd"/>
- <Cell col="18" text="bind:thospital"/>
- <Cell col="19" text="bind:dcdt" mask="expr:!utlf_isNull(dcdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="20" text="bind:erptdcrt"/>
- <Cell col="21" text="bind:icu"/>
- <Cell col="22" text="bind:icudd"/>
- <Cell col="23" text="bind:icuindt" mask="expr:!utlf_isNull(icuindt) ? '####-##-## ##:##' : ''"/>
- <Cell col="24" text="bind:icudurtm"/>
- <Cell col="25" text="bind:roomindt" mask="expr:!utlf_isNull(roomindt) ? '####-##-## ##:##' : ''"/>
- <Cell col="26" text="bind:roomdurtm"/>
- <Cell col="27" text="bind:op"/>
- <Cell col="28" text="bind:patinroomdt" mask="expr:!utlf_isNull(patinroomdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="29" text="bind:opdurtm"/>
- <Cell col="30" text="bind:bldstrdt" mask="expr:!utlf_isNull(bldstrdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="31" text="bind:rbccnt4"/>
- <Cell col="32" text="bind:rbccnt24"/>
- <Cell col="33" text="bind:blddurtm"/>
- <Cell col="34" text="bind:sympnm"/>
- <Cell col="35" text="bind:diagnm"/>
- <Cell col="36" text="bind:lastdeptnm"/>
- <Cell col="37" text="bind:jatdoctnm"/>
- <Cell col="38" text="bind:datdoctnm"/>
- <Cell col="39" text="bind:calldept"/>
- <Cell col="40" text="bind:head2"/>
- <Cell col="41" text="bind:face2"/>
- <Cell col="42" text="bind:chest2"/>
- <Cell col="43" text="bind:abdomen2"/>
- <Cell col="44" text="bind:extremity2"/>
- <Cell col="45" text="bind:external2"/>
- <Cell col="46" text="bind:iss2"/>
- <Cell col="47" text="bind:trmsdmtp"/>
- <Cell col="48" text="bind:trmsrtsc"/>
- <Cell col="49" text="bind:triss"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 700 31 800 50" id="input2" onkeydown="input2_onkeydown" autoselect="true" anchor="left top" taborder="9"/>
- <Static text="환자번호:" position="absolute 610 32 690 49" id="caption2" class="search_name" anchor="left top"/>
- <Button position="absolute 1100 30 1168 52" id="btn_excel" class="btn7" text="Excel" onclick="btn_excel_onclick" anchor="top right" taborder="3"/>
- <PopupMenu id="pmenu" position="absolute 1183 5 1338 68" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="pmenu_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">mtralistold_popmenu</Col>
- <Col id="captioncolumn">권역외상등록체계(OLD)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">mtralistnew_popmenu</Col>
- <Col id="captioncolumn">권역외상등록체계(NEW)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- <Row>
- <Col id="idcolumn">mtralistver3_popmenu</Col>
- <Col id="captioncolumn">권역외상등록체계(Ver3)</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- <Button id="button1" taborder="11" text="기록" class="btn2" position="absolute 885 30 941 52" anchor="left top" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_bak" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bedposcnts" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="chosdt" type="STRING"/>
- <Column id="outrmdt" type="STRING"/>
- <Column id="outrmcd" type="STRING"/>
- <Column id="indschacptstat" type="STRING"/>
- <Column id="dschnotidt" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="icu" type="STRING"/>
- <Column id="op" type="STRING"/>
- <Column id="sympnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="jatdoctnm" type="STRING"/>
- <Column id="datdoctnm" type="STRING"/>
- <Column id="erorddeptnm" type="STRING"/>
- <Column id="ermedispclnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srch_kind" type="STRING" size="256"/>
- <Column id="srch_startdd" type="STRING" size="256"/>
- <Column id="srch_enddd" type="STRING" size="256"/>
- <Column id="srch_outrmcdyn" type="STRING" size="256"/>
- <Column id="srch_pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srch_kind">2</Col>
- <Col id="srch_startdd"/>
- <Col id="srch_enddd"/>
- <Col id="srch_outrmcdyn"/>
- <Col id="srch_pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mtralist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING"/>
- <Column id="lastpos" type="STRING"/>
- <Column id="bedposcnts" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="chosdd" type="STRING"/>
- <Column id="chostm" type="STRING"/>
- <Column id="outrmdd" type="STRING"/>
- <Column id="outrmtm" type="STRING"/>
- <Column id="outrmcd" type="STRING"/>
- <Column id="thospital" type="STRING"/>
- <Column id="notidd" type="STRING"/>
- <Column id="notitm" type="STRING"/>
- <Column id="erptdcrt" type="STRING"/>
- <Column id="icu" type="STRING"/>
- <Column id="tricu" type="STRING"/>
- <Column id="op" type="STRING"/>
- <Column id="trop" type="STRING"/>
- <Column id="sympnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="jatdoctnm" type="STRING"/>
- <Column id="datdoctnm" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="indschacptstat" type="STRING"/>
- <Column id="serflag" type="STRING" size="0"/>
- <Column id="trmsciss" type="STRING" size="0"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mtralist_ex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING"/>
- <Column id="lastpos" type="STRING"/>
- <Column id="bedposcnts" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="erdd" type="STRING"/>
- <Column id="wrdd" type="STRING"/>
- <Column id="hdd" type="STRING"/>
- <Column id="podd" type="STRING"/>
- <Column id="fopdd" type="STRING"/>
- <Column id="chosdd" type="STRING"/>
- <Column id="chostm" type="STRING"/>
- <Column id="outrmdd" type="STRING"/>
- <Column id="outrmtm" type="STRING"/>
- <Column id="outrmcd" type="STRING"/>
- <Column id="thospital" type="STRING"/>
- <Column id="notidd" type="STRING"/>
- <Column id="notitm" type="STRING"/>
- <Column id="erptdcrt" type="STRING"/>
- <Column id="icu" type="STRING"/>
- <Column id="tricu" type="STRING"/>
- <Column id="icudd" type="STRING"/>
- <Column id="icuindt" type="STRING"/>
- <Column id="icudurtm" type="STRING"/>
- <Column id="roomindt" type="STRING"/>
- <Column id="roomdurtm" type="STRING"/>
- <Column id="op" type="STRING"/>
- <Column id="trop" type="STRING"/>
- <Column id="patinroomdt" type="STRING"/>
- <Column id="opdurtm" type="STRING"/>
- <Column id="pasthx" type="STRING"/>
- <Column id="sympnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="jatdoctnm" type="STRING"/>
- <Column id="datdoctnm" type="STRING"/>
- <Column id="consult" type="STRING"/>
- <Column id="calldept" type="STRING"/>
- <Column id="calldt" type="STRING"/>
- <Column id="arrvdt" type="STRING"/>
- <Column id="durtime" type="STRING"/>
- <Column id="head" type="STRING"/>
- <Column id="face" type="STRING"/>
- <Column id="chest" type="STRING"/>
- <Column id="abdomen" type="STRING"/>
- <Column id="extremity" type="STRING"/>
- <Column id="external" type="STRING"/>
- <Column id="iss" type="STRING"/>
- <Column id="head2" type="STRING"/>
- <Column id="face2" type="STRING"/>
- <Column id="chest2" type="STRING"/>
- <Column id="abdomen2" type="STRING"/>
- <Column id="extremity2" type="STRING"/>
- <Column id="external2" type="STRING"/>
- <Column id="iss2" type="STRING"/>
- <Column id="trmsdmtp" type="STRING"/>
- <Column id="trmsrtsc" type="STRING"/>
- <Column id="triss" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srch_kind" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">내원일</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bak" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bedposcnts" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="chosdt" type="STRING"/>
- <Column id="outrmdt" type="STRING"/>
- <Column id="outrmcd" type="STRING"/>
- <Column id="indschacptstat" type="STRING"/>
- <Column id="dschnotidt" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="icu" type="STRING"/>
- <Column id="op" type="STRING"/>
- <Column id="sympnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="jatdoctnm" type="STRING"/>
- <Column id="datdoctnm" type="STRING"/>
- <Column id="erorddeptnm" type="STRING"/>
- <Column id="ermedispclnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="combo3" propid="value" datasetid="ds_init" columnid="srch_kind"/>
- <BindItem id="item1" compid="input3" propid="value" datasetid="ds_init" columnid="srch_startdd"/>
- <BindItem id="item2" compid="input1" propid="value" datasetid="ds_init" columnid="srch_enddd"/>
- <BindItem id="item3" compid="checkbox1" propid="value" datasetid="ds_init" columnid="srch_outrmcdyn"/>
- <BindItem id="item4" compid="input2" propid="value" datasetid="ds_init" columnid="srch_pid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- function SPMMO07900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO07900_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(grd_mtralist);
- grdf_setToolTipBind(grd_mtralist);
-
- var sSdate = utlf_getCurrentDate().substr(0, 6) + "01";
- var sEdate = utlf_getCurrentDate();
-
- dsf_makeValue(ds_init, "srch_startdd", "string", sSdate);
- dsf_makeValue(ds_init, "srch_enddd", "string", sEdate);
-
- dsf_makeValue(ds_send, "userid", "string", sysf_getUserInfo("userid"));
- dsf_makeValue(ds_send, "dutplcecd", "string", sysf_getUserInfo("dutplcecd"));
- dsf_makeValue(ds_send, "workdd", "string", utlf_getCurrentDate());
-
- var oParam = {};
- oParam.id = "TRMNE05805";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetSuperUserTCenter";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_userinfo=userinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMNE05805";
- tranf_submit(oParam);
- var sSuperUser = ds_userinfo.getColumn(0, "superuser");
-
- if (sSuperUser == "Y") {
- btn_excel.enable = true;
- } else {
- btn_excel.enable = false;
- }
-
- if (gv_bIsPreview == true) // 개발자 모드
- {
- ds_init.setColumn(0, "srch_startdd", "20190901");
- ds_init.setColumn(0, "srch_enddd" , "20190903");
- roundrect1.CheckBox00.visible = true;
- }
- }
- function cf_TRMNE05805(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
-
- function fClickPatList(i) {
-
- if ( i > -1 ) {
-
- eORDTYPE = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "ordtype"));
- ePID = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "pid"));
- eINDD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "orddd"));
- eCRETNO = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "cretno"));
- eINSTCD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "instcd"));
- eSRCHDD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "dschdd"));
- eStat = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "indschacptstat"));
-
- if (eStat == "A") {
- var param = eORDTYPE + "▦"
- + ePID + "▦"
- + eINDD + "▦"
- + eCRETNO + "▦"
- + eINSTCD + "▦" ;
-
- } else {
- var param = eORDTYPE + "▦"
- + ePID + "▦"
- + eINDD + "▦"
- + eCRETNO + "▦"
- + eINSTCD + "▦"
- + eSRCHDD + "▦" ;
- }
-
- appf_initPatientInfo(param);
-
- var wndobj = frmf_findPopup("SMMMR00100");
-
- }
- }
- function grd_bak_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //상단정보
- fClickPatList(e.row);
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- //그리드 초기화
- grdf_clearSort(grd_mtralist);
-
- ds_send_cond.clearData();
- var nRow = ds_send_cond.addRow();
-
- dsf_makeValue(ds_send_cond, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
- dsf_makeValue(ds_send_cond, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
- dsf_makeValue(ds_send_cond, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
- dsf_makeValue(ds_send_cond, "srch_outrmcdyn", "string", ds_init.getColumn(0, "srch_outrmcdyn"));
- dsf_makeValue(ds_send_cond, "srch_gbn", "string", "S");
- dsf_makeValue(ds_send_cond, "srch_pid", "string", ds_init.getColumn(0, "srch_pid"));
-
- ds_main_mtralist.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO07901";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetMTraInfoList";
- oParam.inds = "req=ds_send_cond";
- oParam.outds = "ds_main_mtralist=mtralist ds_main_mtralist_ex=mtralist_ex";
- oParam.async = false;
- oParam.callback = "cf_TRMMO07901";
- tranf_submit(oParam);
- }
- function cf_TRMMO07901(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function grd_mtralist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_mtralist.rowposition;
- //상단정보
- fClickPatList(row);
-
- frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
- frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
- frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
- frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
- frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
- frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
-
- if (roundrect1.CheckBox00.value == "Y")
- {
- frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
- return;
- }
-
- if (ds_main_mtralist.getColumn(row, "orddd") >= "20200101") //Ver3
- {
- frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- else if(ds_main_mtralist.getColumn(row, "orddd") >= "20160901") //Ver2
- {
- frmf_open("SPMMO08012", "SPMMO08012", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
- }
- else
- {
- frmf_open("SPMMO08010", "SPMMO08010", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
- }
- }
- function input2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- btn_search.click();
- }
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_cond.clearData();
- dsf_makeValue(ds_send_cond, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
- dsf_makeValue(ds_send_cond, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
- dsf_makeValue(ds_send_cond, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
- dsf_makeValue(ds_send_cond, "srch_outrmcdyn", "string", ds_init.getColumn(0, "srch_outrmcdyn"));
- dsf_makeValue(ds_send_cond, "srch_pid", "string", ds_init.getColumn(0, "srch_pid"));
- dsf_makeValue(ds_send_cond, "srch_gbn", "string", "E");
- ds_main_mtralist_ex.clearData();
-
-
- var oParam = {};
- oParam.id = "TRMMO07901";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetMTraInfoList";
- oParam.inds = "req=ds_send_cond";
- oParam.outds = "ds_main_mtralist=mtralist ds_main_mtralist_ex=mtralist_ex";
- oParam.async = false;
- oParam.callback = "cf_TRMMO07901";
- tranf_submit(oParam);
- grdf_exportExcel(grd_excel, "권역외상센터대상자리스트", "SheetName", false, null, null, false);
- }
- function cf_TRMMO07901(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function mtralistold_popmenu() {
- var row = ds_main_mtralist.rowposition;
- //상단정보
- fClickPatList(row);
-
- frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
- frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
- frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
- frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
- frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
-
- frmf_open("SPMMO08010", "SPMMO08010", null, false, "1", null, null, null, null, null, null, null, "M");
- }
- function mtralistnew_popmenu() {
- var row = ds_main_mtralist.rowposition;
- //상단정보
- fClickPatList(row);
-
- frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
- frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
- frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
- frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
- frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
- frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
-
- frmf_open("SPMMO08012", "SPMMO08012", null, false, "1", null, null, null, null, null, null, null, "M");
- }
- function mtralistver3_popmenu() {
- var row = ds_main_mtralist.rowposition;
- //상단정보
- fClickPatList(row);
-
- frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
- frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
- frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
- frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
- frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
- frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
-
- frmf_open("SPMMO08016", "SPMMO08016", null, false, "1", null, null, null, null, null, null, null, "M");
- }
- function grd_mtralist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmenu.trackPopup(e.screenX,e.screenY);
-
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SPMMO08050", "SPMMO08050", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value != "Y")
- ds_init.setColumn(0, "srch_outrmcdyn", "");
- }
- function pmenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- ]]></Script>
- </Form>
- </FDL>
|