123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO08014" position="absolute 0 0 1180 750" titletext="권역외상센터 사망환자 조회" oninit="SPMMO08014_oninit" onload="SPMMO08014_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1180 65" id="roundrect1" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Edit id="input2" taborder="0" autoselect="true" onkeydown="input2_onkeydown" position="absolute 522 10 622 29" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 70 1180 74" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Button position="absolute 1042 35 1098 57" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick" anchor="top right"/>
- <Grid position="absolute 0 74 1180 750" id="grd_troplist" class="datagrid2" binddataset="ds_main_mtrainfo_troplist" anchor="all" cellsizingtype="col" extendsizetype="row" selecttype="multirow" oncelldblclick="grd_troplist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="52"/>
- <Column size="52"/>
- <Column size="65"/>
- <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" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="사망사례 분석표" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="저장 상태" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="메모" taborder="undefined"/>
- <Cell col="4" colspan="19" text="환자기본정보" taborder="undefined"/>
- <Cell col="23" rowspan="2" text="예방가능성 평가" taborder="undefined"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell row="1" col="4" text="중증"/>
- <Cell row="1" col="5" text="등록번호"/>
- <Cell row="1" col="6" text="환자명"/>
- <Cell row="1" col="7" text="성별"/>
- <Cell row="1" col="8" text="나이"/>
- <Cell row="1" col="9" text="퇴실종류"/>
- <Cell row="1" col="10" colspan="2" text="사고일시" taborder="undefined"/>
- <Cell row="1" col="12" colspan="2" text="내원일시" taborder="undefined"/>
- <Cell row="1" col="14" colspan="2" text="사망일시" taborder="undefined"/>
- <Cell row="1" col="16" text="주진단"/>
- <Cell row="1" col="17" text="주진료과"/>
- <Cell row="1" col="18" text="담당교수"/>
- <Cell row="1" col="19" text="담당의"/>
- <Cell row="1" col="20" text="ISS"/>
- <Cell row="1" col="21" text="Triss"/>
- <Cell row="1" col="22" text="Ps"/>
- <Cell row="1" col="24" text="head"/>
- <Cell row="1" col="25" text="face"/>
- <Cell row="1" col="26" text="chest"/>
- <Cell row="1" col="27" text="abdomen"/>
- <Cell row="1" col="28" text="extremity"/>
- <Cell row="1" col="29" text="external"/>
- <Cell row="1" col="30" text="iss"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center;" text="bind:fielsaveyn" combodataset="ds_fielsaveyn" combocodecol="value" combodatacol="label"/>
- <Cell col="2" displaytype="combo" style="align:center;color:EXPR(!utlf_isNull(status) ? (status == 'T' ? '#0000ff' : '#333333') : '#333333');" text="bind:status" combodataset="ds_status" combocodecol="value" combodatacol="label"/>
- <Cell col="3" style="align:left middle;" text="bind:memo"/>
- <Cell col="4" text="bind:serflag"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:hngnm"/>
- <Cell col="7" text="bind:sex"/>
- <Cell col="8" text="bind:age"/>
- <Cell col="9" style="align:left middle;" text="bind:erptemrt"/>
- <Cell col="10" text="bind:trmshudt" mask="expr:!utlf_isNull(trmshudt) ? (trmshudt != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="11" text="bind:trmshutm" mask="expr:!utlf_isNull(trmshutm) ? '##:##' : ''"/>
- <Cell col="12" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="13" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? '##:##' : ''"/>
- <Cell col="14" text="bind:dethdd" mask="expr:!utlf_isNull(dethdd) ? (dethdd != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="15" text="bind:dethtm" mask="expr:!utlf_isNull(dethtm) ? '##:##' : ''"/>
- <Cell col="16" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="17" text="bind:orddeptnm"/>
- <Cell col="18" text="bind:jatdoctnm"/>
- <Cell col="19" text="bind:datdoctnm"/>
- <Cell col="20" text="bind:iss"/>
- <Cell col="21" text="bind:triss"/>
- <Cell col="22" text="bind:ps"/>
- <Cell col="23" displaytype="combo" text="bind:prepbass" combodataset="ds_prepbass" combocodecol="value" combodatacol="label"/>
- <Cell col="24" text="bind:head"/>
- <Cell col="25" text="bind:face"/>
- <Cell col="26" text="bind:chest"/>
- <Cell col="27" text="bind:abdomen"/>
- <Cell col="28" text="bind:extremity"/>
- <Cell col="29" text="bind:external"/>
- <Cell col="30" text="bind:iss"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo position="absolute 100 36 185 55" id="combo3" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn">
- <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 36 293 55" id="input3" class="input_search" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar position="absolute 318 36 411 55" id="input1" class="input_search" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Static text="~" position="absolute 300 36 320 56" id="caption1"/>
- <Static text="검색조건 :" position="absolute 10 38 93 55" id="caption8" class="search_name"/>
- <Static text="권역외상센터 사망환자 조회" position="absolute 0 0 225 25" id="caption6" class="tit_1"/>
- <Shape position="absolute 1019 34 1025 57" linetype="vertical" id="line2" anchor="top right"/>
- <Button position="absolute 1100 35 1168 57" id="btn_excel" class="btn7" text="Excel" onclick="btn_excel_onclick" anchor="top right"/>
- <Static id="caption00" text="환자번호 :" class="search_name" position="absolute 442 38 525 55"/>
- <Grid id="grd_troplist_ex" class="datagrid2" taborder="2" binddataset="ds_main_mtrainfo_troplist_ex" useinputpanel="false" selecttype="multirow" extendsizetype="row" cellsizingtype="col" position="absolute 8 264 1172 702" anchor="all" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="300"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="64"/>
- <Column size="60"/>
- <Column size="150"/>
- <Column size="140"/>
- <Column size="60"/>
- <Column size="150"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="21" text="환자기본정보" taborder="undefined"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28" rowspan="2" colspan="5" text="사망에 직접적인 영향을 준 문제가 발생한 단계 및 장소" taborder="undefined"/>
- <Cell col="33" rowspan="2" colspan="6" text="사망원인" taborder="undefined"/>
- <Cell col="39" colspan="5" text="정보의 가용성과 정확도" taborder="undefined"/>
- <Cell col="44" colspan="12" text="손상 정도와 진료의 질에 대한 평가" taborder="undefined"/>
- <Cell col="56" rowspan="2" text="예방가능성 평가" taborder="undefined"/>
- <Cell row="1" text="중증"/>
- <Cell row="1" col="1" text="등록번호"/>
- <Cell row="1" col="2" text="환자명"/>
- <Cell row="1" col="3" text="성별"/>
- <Cell row="1" col="4" text="나이"/>
- <Cell row="1" col="5" text="퇴실종류"/>
- <Cell row="1" col="6" colspan="2" text="사고일시" taborder="undefined"/>
- <Cell row="1" col="8" colspan="2" text="내원일시" taborder="undefined"/>
- <Cell row="1" col="10" colspan="2" text="사망일시" taborder="undefined"/>
- <Cell row="1" col="12" text="사고시각부터 사망에 이른시간(사망일시-사고일시)(분)"/>
- <Cell row="1" col="13" text="주진단"/>
- <Cell row="1" col="14" text="주진료과"/>
- <Cell row="1" col="15" text="담당교수"/>
- <Cell row="1" col="16" text="담당의"/>
- <Cell row="1" col="17" text="사고기전"/>
- <Cell row="1" col="18" text="손상유형"/>
- <Cell row="1" col="19" text="전원여부"/>
- <Cell row="1" col="20" text="이송수단"/>
- <Cell row="1" col="21" text="head"/>
- <Cell row="1" col="22" text="face"/>
- <Cell row="1" col="23" text="chest"/>
- <Cell row="1" col="24" text="abdomen"/>
- <Cell row="1" col="25" text="extremity"/>
- <Cell row="1" col="26" text="external"/>
- <Cell row="1" col="27" text="iss"/>
- <Cell row="1" col="39" text="구급일지"/>
- <Cell row="1" col="40" text="전 병원 의무기록이나 영상"/>
- <Cell row="1" col="41" text="병원 의무기록이나 영상"/>
- <Cell row="1" col="42" text="사망진단서"/>
- <Cell row="1" col="43" text="ISS등 trauma registry"/>
- <Cell row="1" col="44" text="내원시 수축기압"/>
- <Cell row="1" col="45" text="내원시 호흡수"/>
- <Cell row="1" col="46" text="내원시 GCS(전체)"/>
- <Cell row="1" col="47" text="head"/>
- <Cell row="1" col="48" text="face"/>
- <Cell row="1" col="49" text="chest"/>
- <Cell row="1" col="50" text="abdomen"/>
- <Cell row="1" col="51" text="extremity"/>
- <Cell row="1" col="52" text="external"/>
- <Cell row="1" col="53" text="최종 ISS"/>
- <Cell row="1" col="54" text="Triss"/>
- <Cell row="1" col="55" text="Ps"/>
- </Band>
- <Band id="body">
- <Cell text="bind:serflag"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" style="align:left middle;" text="bind:erptemrt"/>
- <Cell col="6" text="bind:trmshudt" mask="expr:!utlf_isNull(trmshudt) ? (trmshudt != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="7" text="bind:trmshutm" mask="expr:!utlf_isNull(trmshutm) ? '##:##' : ''"/>
- <Cell col="8" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="9" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? '##:##' : ''"/>
- <Cell col="10" text="bind:dethdd" mask="expr:!utlf_isNull(dethdd) ? (dethdd != '-' ? '####-##-##' : '') : ''"/>
- <Cell col="11" text="bind:dethtm" mask="expr:!utlf_isNull(dethtm) ? '##:##' : ''"/>
- <Cell col="12" text="bind:deathinterval"/>
- <Cell col="13" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="14" text="bind:orddeptnm"/>
- <Cell col="15" text="bind:jatdoctnm"/>
- <Cell col="16" text="bind:datdoctnm"/>
- <Cell col="17" displaytype="combo" style="align:center;" text="bind:ackn" combodataset="ds_ackn" combocodecol="value" combodatacol="label"/>
- <Cell col="18" displaytype="combo" style="align:center;" text="bind:dmtp" combodataset="ds_dmtp" combocodecol="value" combodatacol="label"/>
- <Cell col="19" displaytype="combo" text="bind:trkn" combodataset="ds_trkn" combocodecol="value" combodatacol="label"/>
- <Cell col="20" displaytype="combo" text="bind:trmeth" combodataset="ds_trmeth" combocodecol="value" combodatacol="label"/>
- <Cell col="21" text="bind:head"/>
- <Cell col="22" text="bind:face"/>
- <Cell col="23" text="bind:chest"/>
- <Cell col="24" text="bind:abdomen"/>
- <Cell col="25" text="bind:extremity"/>
- <Cell col="26" text="bind:external"/>
- <Cell col="27" text="bind:iss"/>
- <Cell col="28" text="expr:!utlf_isNull(stsp1) ? (stsp1 == 'Y' ? '병원전 단계 (Prehospital)' : '') : ''"/>
- <Cell col="29" text="expr:!utlf_isNull(stsp2) ? (stsp2 == 'Y' ? '병원간 이송 단계 (Interhospital)' : '') : ''"/>
- <Cell col="30" text="expr:!utlf_isNull(stsp3) ? (stsp3 == 'Y' ? '병원 단계 (Inhospital)' : '') : ''"/>
- <Cell col="31" text="expr:!utlf_isNull(stsp4) ? (stsp4 == 'Y' ? '해당사항 없음' : '') : ''"/>
- <Cell col="32" text="expr:!utlf_isNull(stsp5) ? (stsp5 == 'Y' ? '기타' : '') : ''"/>
- <Cell col="33" text="expr:!utlf_isNull(dehtres1) ? (dehtres1 == 'Y' ? 'Bleeding' : '') : ''"/>
- <Cell col="34" text="expr:!utlf_isNull(dehtres2) ? (dehtres2 == 'Y' ? 'MODS / Sepsis' : '') : ''"/>
- <Cell col="35" text="expr:!utlf_isNull(dehtres3) ? (dehtres3== 'Y' ? 'Respiratory arrest' : '') : ''"/>
- <Cell col="36" text="expr:!utlf_isNull(dehtres4) ? (dehtres4 == 'Y' ? 'Cardiac arres' : '') : ''"/>
- <Cell col="37" text="expr:!utlf_isNull(dehtres5) ? (dehtres5 == 'Y' ? 'CNS' : '') : ''"/>
- <Cell col="38" text="expr:!utlf_isNull(dehtres6) ? (dehtres6 == 'Y' ? 'Others' : '') : ''"/>
- <Cell col="39" displaytype="combo" style="align:center;" text="bind:infoavac1" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
- <Cell col="40" displaytype="combo" style="align:center;" text="bind:infoavac2" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
- <Cell col="41" displaytype="combo" style="align:center;" text="bind:infoavac3" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
- <Cell col="42" displaytype="combo" style="align:center;" text="bind:infoavac4" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
- <Cell col="43" displaytype="combo" style="align:center;" text="bind:infoavac5" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
- <Cell col="44" text="bind:hibp"/>
- <Cell col="45" text="bind:brth"/>
- <Cell col="46" text="bind:vgct"/>
- <Cell col="47" text="bind:head"/>
- <Cell col="48" text="bind:face"/>
- <Cell col="49" text="bind:chest"/>
- <Cell col="50" text="bind:abdomen"/>
- <Cell col="51" text="bind:extremity"/>
- <Cell col="52" text="bind:external"/>
- <Cell col="53" text="bind:ciss"/>
- <Cell col="54" text="bind:triss"/>
- <Cell col="55" text="bind:ps"/>
- <Cell col="56" displaytype="combo" text="bind:prepbass" combodataset="ds_prepbass" combocodecol="value" combodatacol="label"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_mtrainfo_troplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filestat" type="STRING" size="256"/>
- <Column id="savestat" type="STRING" size="256"/>
- <Column id="serflag" type="STRING" size="256"/>
- <Column id="memo" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="erptemrt" type="STRING" size="256"/>
- <Column id="trmshudt" type="STRING" size="256"/>
- <Column id="trmshutm" type="STRING" size="256"/>
- <Column id="chosdd" type="STRING" size="256"/>
- <Column id="chostm" type="STRING" size="256"/>
- <Column id="dethdd" type="STRING" size="256"/>
- <Column id="dethtm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="jatdoctnm" type="STRING" size="256"/>
- <Column id="datdoctnm" type="STRING" size="256"/>
- <Column id="iss" type="STRING" size="256"/>
- <Column id="triss" type="STRING" size="256"/>
- <Column id="ps" type="STRING" size="256"/>
- <Column id="prepbass" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="fielsaveyn" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_mtrainfo_troplist_ex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="serflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="erptemrt" type="STRING" size="256"/>
- <Column id="trmshudt" type="STRING" size="256"/>
- <Column id="trmshutm" type="STRING" size="256"/>
- <Column id="chosdd" type="STRING" size="256"/>
- <Column id="chostm" type="STRING" size="256"/>
- <Column id="dethdd" type="STRING" size="256"/>
- <Column id="dethtm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="jatdoctnm" type="STRING" size="256"/>
- <Column id="datdoctnm" type="STRING" size="256"/>
- <Column id="ciss" type="STRING" size="256"/>
- <Column id="triss" type="STRING" size="256"/>
- <Column id="ps" type="STRING" size="256"/>
- <Column id="prepbass" type="STRING" size="256"/>
- <Column id="ackn" type="STRING" size="256"/>
- <Column id="dmtp" type="STRING" size="256"/>
- <Column id="trkn" type="STRING" size="256"/>
- <Column id="trmeth" type="STRING" size="256"/>
- <Column id="deathinterval" type="STRING" size="256"/>
- <Column id="infoavac1" type="STRING" size="256"/>
- <Column id="infoavac2" type="STRING" size="256"/>
- <Column id="infoavac3" type="STRING" size="256"/>
- <Column id="infoavac4" type="STRING" size="256"/>
- <Column id="infoavac5" type="STRING" size="256"/>
- <Column id="stsp1" type="STRING" size="256"/>
- <Column id="stsp2" type="STRING" size="256"/>
- <Column id="stsp3" type="STRING" size="256"/>
- <Column id="stsp4" type="STRING" size="256"/>
- <Column id="stsp5" type="STRING" size="256"/>
- <Column id="dehtres1" type="STRING" size="256"/>
- <Column id="dehtres2" type="STRING" size="256"/>
- <Column id="dehtres3" type="STRING" size="256"/>
- <Column id="dehtres4" type="STRING" size="256"/>
- <Column id="dehtres5" type="STRING" size="256"/>
- <Column id="dehtres6" type="STRING" size="256"/>
- <Column id="hibp" type="STRING" size="256"/>
- <Column id="brth" type="STRING" size="256"/>
- <Column id="vgct" type="STRING" size="256"/>
- <Column id="head" type="STRING" size="256"/>
- <Column id="face" type="STRING" size="256"/>
- <Column id="chest" type="STRING" size="256"/>
- <Column id="abdomen" type="STRING" size="256"/>
- <Column id="extremity" type="STRING" size="256"/>
- <Column id="external" type="STRING" size="256"/>
- </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"/>
- <Column id="srch_excel" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srch_kind">1</Col>
- <Col id="srch_startdd"/>
- <Col id="srch_enddd"/>
- <Col id="srch_outrmcdyn"/>
- <Col id="srch_pid"/>
- <Col id="srch_excel"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_fielsaveyn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_status" 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">S</Col>
- </Row>
- <Row>
- <Col id="label">임시</Col>
- <Col id="value">T</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_prepbass" 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">P</Col>
- <Col id="value">01</Col>
- </Row>
- <Row>
- <Col id="label">PP</Col>
- <Col id="value">02</Col>
- </Row>
- <Row>
- <Col id="value">03</Col>
- <Col id="label">NP</Col>
- </Row>
- <Row>
- <Col id="value">04</Col>
- <Col id="label">NPCI</Col>
- </Row>
- <Row>
- <Col id="value">05</Col>
- <Col id="label">DOA</Col>
- </Row>
- <Row>
- <Col id="value">06</Col>
- <Col id="label">판단불가</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_ackn" 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="value">1</Col>
- <Col id="label">교통사고-자동차</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">교통사고-자전거</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">교통사고-오토바이</Col>
- </Row>
- <Row>
- <Col id="value">4</Col>
- <Col id="label">교통사고-기타</Col>
- </Row>
- <Row>
- <Col id="value">9</Col>
- <Col id="label">교통사고-미상</Col>
- </Row>
- <Row>
- <Col id="value">10</Col>
- <Col id="label">추락</Col>
- </Row>
- <Row>
- <Col id="value">11</Col>
- <Col id="label">미끄러짐</Col>
- </Row>
- <Row>
- <Col id="value">12</Col>
- <Col id="label">물체에 부딪침, 맞음, 끼임</Col>
- </Row>
- <Row>
- <Col id="value">20</Col>
- <Col id="label">총상</Col>
- </Row>
- <Row>
- <Col id="value">21</Col>
- <Col id="label">칼, 치아 등 날카로운 것에 의한 손상</Col>
- </Row>
- <Row>
- <Col id="value">30</Col>
- <Col id="label">기계에 의한 손상</Col>
- </Row>
- <Row>
- <Col id="value">40</Col>
- <Col id="label">익수</Col>
- </Row>
- <Row>
- <Col id="value">50</Col>
- <Col id="label">질식</Col>
- </Row>
- <Row>
- <Col id="value">88</Col>
- <Col id="label">기타</Col>
- </Row>
- <Row>
- <Col id="value">99</Col>
- <Col id="label">미상</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_dmtp" 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="value">1</Col>
- <Col id="label">둔상</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">관통상</Col>
- </Row>
- <Row>
- <Col id="value">8</Col>
- <Col id="label">기타</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">화상</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_trkn" 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="value">1</Col>
- <Col id="label">사고 현장에서부터 직접 내원</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">다른 병원으로부터 전원</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">외래에서 의뢰</Col>
- </Row>
- <Row>
- <Col id="value">8</Col>
- <Col id="label">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_trmeth" 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="value">1</Col>
- <Col id="label">119구급차</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">의료기관 구급차</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">기타 구급차</Col>
- </Row>
- <Row>
- <Col id="value">4</Col>
- <Col id="label">경찰차 등 공공차량</Col>
- </Row>
- <Row>
- <Col id="value">5</Col>
- <Col id="label">항공이송</Col>
- </Row>
- <Row>
- <Col id="value">6</Col>
- <Col id="label">자차 및 기타자동차</Col>
- </Row>
- <Row>
- <Col id="value">7</Col>
- <Col id="label">도보</Col>
- </Row>
- <Row>
- <Col id="value">8</Col>
- <Col id="label">기타</Col>
- </Row>
- <Row>
- <Col id="value">9</Col>
- <Col id="label">미상</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_infoavac" 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="value">01</Col>
- <Col id="label">충분</Col>
- </Row>
- <Row>
- <Col id="value">02</Col>
- <Col id="label">보통</Col>
- </Row>
- <Row>
- <Col id="value">03</Col>
- <Col id="label">부족</Col>
- </Row>
- <Row>
- <Col id="value">04</Col>
- <Col id="label">없음</Col>
- </Row>
- </Rows>
- </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="item4" compid="roundrect1.input2" propid="value" datasetid="ds_init" columnid="srch_pid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-02-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-05 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //var arErrorCode = new HashArray();
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : N/A
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO08014
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SPMMO08014_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO08014
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SPMMO08014_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(grd_troplist);
- grdf_setToolTipBind(grd_troplist);
- ds_main_mtrainfo_troplist.clearData();
-
- var sSdate = utlf_getCurrentDate().substr(0, 6) + "01";
- var sEdate = utlf_getCurrentDate();
-
- // 김현석 개발자 모드 체크
- if (gv_bIsPreview)
- {
- sSdate = "20190923";
- sEdate = "20190923";
- }
-
- ds_init.setColumn(0, "srch_startdd", sSdate);
- ds_init.setColumn(0, "srch_enddd", sEdate);
-
- dsf_createDsRow("ds_send", [{col:"userid", type:"STRING", size:256, val:sysf_getUserInfo("userid")}
- , {col:"dutplcecd", type:"STRING", size:256, val:sysf_getUserInfo("dutplcecd")}
- , {col:"workdd", type:"STRING", size:256, val:utlf_getCurrentDate()}]);
- dsf_createDs("ds_main_userinfo", [{col:"superuser", type:"STRING", size:256}]);
-
- var oParam = {};
- oParam.id = "TRMNE05805";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetSuperUserTCenter";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_userinfo=userinfo";
- oParam.async = true;
- oParam.callback = "cf_TRMNE05805";
- tranf_submit(oParam);
-
- }
- function cf_TRMNE05805(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var sSuperUser = ds_main_userinfo.getColumn(0, "superuser");
-
- if (sSuperUser == "Y") {
- btn_excel.enable = true;
- } else {
- btn_excel.enable = false;
- }
- }
- /*
- */
- function fClickPatList(i) {
-
- if ( i > -1 ) {
-
- eORDTYPE = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "ordtype"));
- ePID = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "pid"));
- eINDD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "orddd"));
- eCRETNO = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "cretno"));
- //eINSTCD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "instcd"));
- eINSTCD = "";
- eSRCHDD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "dschdd"));
- eStat = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.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);
-
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회 버튼
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_cond", [{col:"srch_kind", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_kind")}
- , {col:"srch_startdd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_startdd")}
- , {col:"srch_enddd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_enddd")}
- , {col:"srch_pid", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_pid")}
- , {col:"srch_gbn", type:"STRING", size:256, val:"S"}
-
- , {col:"srch_excel", type:"STRING", size:256, val:"N"}]);
-
- ds_main_mtrainfo_troplist.clearData();
- ds_main_mtrainfo_troplist_ex.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO07910";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetExpireTraInfoList";
- oParam.inds = "req=ds_send_cond";
- oParam.outds = "ds_main_mtrainfo_troplist=mtralist ds_main_mtrainfo_troplist_ex=mtralist_ex";
- oParam.async = true;
- //oParam.callback = "cf_TRMMO08021";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀 버튼
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDsRow("ds_send_cond", [{col:"srch_kind", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_kind")}
- , {col:"srch_startdd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_startdd")}
- , {col:"srch_enddd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_enddd")}
- , {col:"srch_pid", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_pid")}
- , {col:"srch_gbn", type:"STRING", size:256, val:"E"}
- , {col:"srch_excel", type:"STRING", size:256, val:"E"}]);
-
- ds_main_mtrainfo_troplist.clearData();
- ds_main_mtrainfo_troplist_ex.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO07910";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetExpireTraInfoList";
- oParam.inds = "req=ds_send_cond";
- oParam.outds = "ds_main_mtrainfo_troplist=mtralist ds_main_mtrainfo_troplist_ex=mtralist_ex";
- oParam.async = true;
- oParam.callback = "cf_TRMMO07910";
- tranf_submit(oParam);
-
- }
- function cf_TRMMO07910(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- grdf_exportExcel(grd_troplist_ex, "권역외상센터사망환자리스트" + input3.value , "SheetName", true, "", "none", true);
- }
- function grd_troplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_mtrainfo_troplist.rowposition;
-
- //상단정보
- fClickPatList(row);
-
- frmf_setParameter("idno", ds_main_mtrainfo_troplist.getColumn(row, "pid"));
- frmf_setParameter("indd", ds_main_mtrainfo_troplist.getColumn(row, "chosdd"));
- frmf_setParameter("orddd", ds_main_mtrainfo_troplist.getColumn(row, "orddd"));
- frmf_setParameter("intm", ds_main_mtrainfo_troplist.getColumn(row, "chostm"));
- frmf_setParameter("cretno", ds_main_mtrainfo_troplist.getColumn(row, "cretno"));
-
- frmf_open("SPMMO08015", "SPMMO08015", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
-
- //20160901 권역외상등록체계 Ver2.0 개정
- //20200218 권역외상등록체계 Ver3.0 개정
- if(ds_main_mtrainfo_troplist.getColumn(row, "orddd") >= "20200101") // Ver3
- {
- frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- else if(ds_main_mtrainfo_troplist.getColumn(row, "orddd") >= "20160901")
- {
- 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");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|