123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMASI02300" position="absolute 0 0 1204 786" titletext="수술환자조회" oninit="SMASI02300_oninit" onload="SMASI02300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1194 91" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Shape position="absolute 1116 23 1122 45" linetype="vertical" id="line5" class="line_4" anchor="default"/>
- <Static text="~" position="absolute 185 7 197 24" id="caption19" class="search_no_b" anchor="default"/>
- <Static text="진료과 :" position="absolute 303 9 367 26" id="caption7" class="search_name" anchor="default"/>
- <Static text="집도의 :" position="absolute 548 9 610 26" id="caption5" class="search_name" anchor="default"/>
- <Static text="수술명 :" position="absolute 689 8 754 25" id="caption8" class="search_name" anchor="default"/>
- <Static text="등록번호 :" position="absolute 5 40 83 57" id="caption2" class="search_name" anchor="default"/>
- <Edit position="absolute 91 39 179 58" id="ipt_pid" class="input_default" onkeydown="grp_sea_ipt_pid_onkeydown" taborder="6" anchor="default"/>
- <Edit position="absolute 754 7 915 26" id="ipt_opnm" class="input_default" onkeydown="grp_sea_ipt_opnm_onkeydown" taborder="4" anchor="default"/>
- <Calendar position="absolute 91 8 180 27" id="ipt_fromdd" class="input_s_essential" taborder="0" anchor="default"/>
- <Calendar position="absolute 199 8 288 27" id="ipt_todd" class="input_s_essential" taborder="1" anchor="default"/>
- <Combo position="absolute 370 7 533 26" id="cmb_orddeptcd" class="combo_search" datacolumn="depthngnm" codecolumn="deptcd" innerdataset="@ds_init_dept" taborder="2" anchor="default"/>
- <Edit position="absolute 614 8 674 27" id="ipt_perfdrnm" class="input_default" onkeydown="grp_sea_ipt_perfdrnm_onkeydown" taborder="3" anchor="default"/>
- <Button position="absolute 919 9 935 25" id="btn_opnm" class="icon_search" text="" onclick="grp_sea_btn_opnm_onclick" taborder="5" anchor="default"/>
- <Static text="기간선택 :" position="absolute 5 9 91 26" id="cap_fromdd" class="search_name" anchor="default"/>
- <Button position="absolute 1129 23 1185 45" id="btn_search" class="btn1" text="조회" onclick="grp_sea_btn_search_onclick" taborder="9" anchor="default"/>
- <Radio position="absolute 255 36 391 59" id="radio1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" taborder="7" anchor="default" onitemchanged="grp_sea_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">OPCD</Col>
- <Col id="datacolumn">감염코드존재</Col>
- </Row>
- <Row>
- <Col id="codecolumn">ALL</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption00" text="구분 :" class="search_name" position="absolute 201 40 255 57" anchor="default"/>
- <Static id="caption01" text="감염코드 :" class="search_name" position="absolute 406 39 484 56"/>
- <Combo id="cmb_etccdarr" taborder="8" innerdataset="@ds_main_detlcodelst_item" codecolumn="etccd" datacolumn="etcdetlnm" class="combo_search" position="absolute 487 37 650 56" index="-1"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 111 1194 117" linetype="horizontal" id="line1" class="line_10"/>
- <Shape position="absolute 1 539 1195 545" linetype="vertical" id="line6" class="line_3"/>
- <Static text="개인 수술 이력" position="absolute 0 575 140 592" align="align:center middle;" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 591 1194 597" linetype="horizontal" id="line2" class="line_10"/>
- <Grid position="absolute 0 116 1195 554" id="grd_oppatreflist" class="datagrid2" binddataset="ds_main_oppatrefinfo_oppatreflist" oncelldblclick="grd_oppatreflist_oncelldblclick" onrbuttondown="grd_oppatreflist_onrbuttondown" onrbuttonup="grd_oppatreflist_onrbuttonup" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="25" band="left"/>
- <Column size="32" band="left"/>
- <Column size="58" band="left"/>
- <Column size="64" band="left"/>
- <Column size="73"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="95"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="81"/>
- <Column size="59"/>
- <Column size="50"/>
- <Column size="129"/>
- <Column size="125"/>
- <Column size="184"/>
- <Column size="148"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="192"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="43"/>
- <Column size="42"/>
- <Column size="59"/>
- <Column size="71"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="28" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="감염 여부"/>
- <Cell col="3" text="환자이름"/>
- <Cell col="4" text="등록번호"/>
- <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="수술일"/>
- <Cell col="12" text="수술구분"/>
- <Cell col="13" text="재수술"/>
- <Cell col="14" text="수술전 진단명"/>
- <Cell col="15" text="수술후 진단명"/>
- <Cell col="16" text="수술전 수술명"/>
- <Cell col="17" text="수술후 수술명"/>
- <Cell col="18" text="수술코드 (수가)"/>
- <Cell col="19" text="수술코드 (EDI)"/>
- <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="ASA score"/>
- <Cell col="28" text="T hours"/>
- <Cell col="29" text="내시경 사용유무"/>
- <Cell col="30" text="마취종류"/>
- <Cell col="31" text="예방적 항생제1"/>
- <Cell col="32" text="예방적 항생제2"/>
- <Cell col="33" text="예방적 항생제3"/>
- <Cell col="34" text="Risk index"/>
- <Cell col="35" text="수술코드"/>
- <Cell col="36" text="수술진단코드"/>
- <Cell col="37" text="주/부"/>
- <Cell col="38" text="수술구분"/>
- <Cell col="39" text="수술진행상태"/>
- <Cell col="40" text="기관코드"/>
- <Cell col="41" text="집도과코드"/>
- <Cell col="42" text="집도과"/>
- <Cell col="43" text="수술예약번호"/>
- <Cell col="44" text="수술이력번호"/>
- <Cell col="45" text="general anesthesia 유무"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" celltype="head" text="expr:currow+1"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:infcyn" combodataset="ds_cbo_YN" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:rrgstno1"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" style="align:top;padding:5 2 1 2;" text="bind:orddeptcd" wordwrap="word" enable="false"/>
- <Cell col="8" style="align:left top;padding:5 2 1 2;" text="bind:roomcd" wordwrap="word"/>
- <Cell col="9" text="bind:indd" maskchar="_"/>
- <Cell col="10" text="bind:dschdd" maskchar="_"/>
- <Cell col="11" text="bind:opdd" maskchar="_"/>
- <Cell col="12" text="bind:opflagnm"/>
- <Cell col="13" text="bind:reopflag"/>
- <Cell col="14" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:afopdiagnm" wordwrap="word"/>
- <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:opnm" wordwrap="word"/>
- <Cell col="17" style="align:left top;padding:5 2 1 2;" wordwrap="word"/>
- <Cell col="18" text="bind:prcpcd"/>
- <Cell col="19" text="bind:edicd"/>
- <Cell col="20" text="bind:nnopcd"/>
- <Cell col="21" text="bind:perfdrcd"/>
- <Cell col="22" text="bind:perfdrnm"/>
- <Cell col="23" displaytype="combo" edittype="combo" style="align:left top;padding:5 2 1 2;" text="bind:opwundkind" wordwrap="word" combodataset="ds_init_M0341list_M0341" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="24" text="bind:opstarttm" mask="##:##" maskchar=" "/>
- <Cell col="25" text="bind:opendtm" mask="##:##" maskchar=" "/>
- <Cell col="26" text="bind:opusetm"/>
- <Cell col="27" text="bind:asascore" enable="false"/>
- <Cell col="28" text="bind:thours"/>
- <Cell col="29" text="bind:escopeeqmtuseyn"/>
- <Cell col="30" displaytype="combo" edittype="combo" style="align:center;" text="bind:anstkind" combodataset="ds_init_M0017list_M0017" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="31" text="bind:prvnantibiodrug0"/>
- <Cell col="32" text="bind:prvnantibiodrug1"/>
- <Cell col="33" text="bind:prvnantibiodrug2"/>
- <Cell col="34" text="bind:riskindex"/>
- <Cell col="35" text="bind:opcd"/>
- <Cell col="36" text="bind:opdiagcd"/>
- <Cell col="37" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
- <Cell col="38" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
- <Cell col="39" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
- <Cell col="40" text="bind:instcd"/>
- <Cell col="41" text="bind:orddeptcd"/>
- <Cell col="42" text="bind:perfdeptnm"/>
- <Cell col="43" text="bind:oprsrvno"/>
- <Cell col="44" text="bind:ophistno"/>
- <Cell col="45" text="bind:gnrlanst"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 695 130 958 215" id="grd_op" visible="false" binddataset="ds_main_oplist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="145"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="수술코드"/>
- <Cell col="2" text="수술명"/>
- <Cell col="3" text="caption1"/>
- <Cell col="4" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:termcd"/>
- <Cell col="2" text="bind:termhngnm"/>
- <Cell col="3" text="bind:termengnm"/>
- <Cell col="4" text="bind:termflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1125 566 1189 585" id="button1" class="btn2" text="엑셀저장" onclick="button1_onclick"/>
- <Grid position="absolute 0 596 1195 756" id="grd_indoplist" class="datagrid2" binddataset="ds_main_indopinfo_indoplist" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="25"/>
- <Column size="32"/>
- <Column size="58"/>
- <Column size="64"/>
- <Column size="73"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="95"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="58"/>
- <Column size="50"/>
- <Column size="146"/>
- <Column size="130"/>
- <Column size="184"/>
- <Column size="173"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="192"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="43"/>
- <Column size="42"/>
- <Column size="59"/>
- <Column size="71"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="28" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="감염 여부"/>
- <Cell col="3" text="환자이름"/>
- <Cell col="4" text="등록번호"/>
- <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="수술일"/>
- <Cell col="12" text="수술구분"/>
- <Cell col="13" text="재수술"/>
- <Cell col="14" text="수술전 진단명"/>
- <Cell col="15" text="수술후 진단명"/>
- <Cell col="16" text="수술전 수술명"/>
- <Cell col="17" text="수술후 수술명"/>
- <Cell col="18" text="수술코드 (수가)"/>
- <Cell col="19" text="수술코드 (EDI)"/>
- <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="ASA score"/>
- <Cell col="28" text="T hours"/>
- <Cell col="29" text="내시경 사용유무"/>
- <Cell col="30" text="마취종류"/>
- <Cell col="31" text="예방적 항생제1"/>
- <Cell col="32" text="예방적 항생제2"/>
- <Cell col="33" text="예방적 항생제3"/>
- <Cell col="34" text="Risk index"/>
- <Cell col="35" text="수술코드"/>
- <Cell col="36" text="수술진단코드"/>
- <Cell col="37" text="주/부"/>
- <Cell col="38" text="수술구분"/>
- <Cell col="39" text="수술진행상태"/>
- <Cell col="40" text="기관코드"/>
- <Cell col="41" text="집도과코드"/>
- <Cell col="42" text="집도과"/>
- <Cell col="43" text="수술예약번호"/>
- <Cell col="44" text="수술이력번호"/>
- <Cell col="45" text="general anesthesia 유무"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="expr:currow+1"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:infcyn" combodataset="ds_cbo_YN" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:rrgstno1"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:orddeptcd" wordwrap="word" enable="false"/>
- <Cell col="8" style="align:left middle;" text="bind:roomcd" enable="false"/>
- <Cell col="9" text="bind:indd" mask=" " calendardisplaynulltype="none"/>
- <Cell col="10" text="bind:dschdd" mask=" " calendardisplaynulltype="none"/>
- <Cell col="11" text="bind:opdd" mask=" " calendardisplaynulltype="none"/>
- <Cell col="12" text="bind:opflagnm"/>
- <Cell col="13" text="bind:reopflag"/>
- <Cell col="14" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:afopdiagnm" wordwrap="word"/>
- <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:opnm" wordwrap="word"/>
- <Cell col="17" style="align:left top;padding:5 2 1 2;" wordwrap="word"/>
- <Cell col="18" style="align:left top;padding:5 2 1 2;" text="bind:prcpcd" wordwrap="word"/>
- <Cell col="19" style="align:left top;padding:5 2 1 2;" text="bind:edicd" wordwrap="word"/>
- <Cell col="20" style="align:left top;padding:5 2 1 2;" text="bind:nnopcd" wordwrap="word"/>
- <Cell col="21" text="bind:perfdrcd"/>
- <Cell col="22" text="bind:perfdrnm"/>
- <Cell col="23" displaytype="combo" edittype="combo" style="align:left top;padding:5 2 1 2;" text="bind:opwundkind" wordwrap="word" combodataset="ds_init_M0341list_M0341" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="24" text="bind:opstarttm" mask="##:##" maskchar=" "/>
- <Cell col="25" text="bind:opendtm" mask="##:##" maskchar=" "/>
- <Cell col="26" text="bind:opusetm" maskchar="_"/>
- <Cell col="27" text="bind:asascore" enable="false"/>
- <Cell col="28" text="bind:thours"/>
- <Cell col="29" text="bind:escopeeqmtuseyn"/>
- <Cell col="30" displaytype="combo" edittype="combo" style="align:center;" text="bind:anstkind" combodataset="ds_init_M0017list_M0017" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="31" text="bind:prvnantibiodrug0"/>
- <Cell col="32" text="bind:prvnantibiodrug1"/>
- <Cell col="33" text="bind:prvnantibiodrug2"/>
- <Cell col="34" text="bind:riskindex"/>
- <Cell col="35" text="bind:opcd"/>
- <Cell col="36" text="bind:opdiagcd"/>
- <Cell col="37" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
- <Cell col="38" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
- <Cell col="39" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
- <Cell col="40" text="bind:instcd"/>
- <Cell col="41" text="bind:orddeptcd"/>
- <Cell col="42" text="bind:perfdeptnm"/>
- <Cell col="43" text="bind:oprsrvno"/>
- <Cell col="44" text="bind:ophistno"/>
- <Cell col="45" text="bind:gnrlanst"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="수술환자조회" class="tit_1" position="absolute 0 0 124 25"/>
- <Button id="btn_init" taborder="1" text="초기화" class="btn4" position="absolute 1126 759 1194 781" onclick="btn_init_onclick"/>
- <Button id="btn_print" taborder="2" text="출력" class="btn6" visible="false" position="absolute 5 759 61 781"/>
- <Button id="button2" taborder="3" text="업로드양식" class="btn2" position="absolute 1042 566 1119 585" onclick="button2_onclick"/>
- <Grid id="grd_oppatreflist_excel" taborder="4" binddataset="ds_main_oppatrefinfo_oppatreflist" useinputpanel="false" cellsizingtype="col" position="absolute 0 640 1195 754" class="datagrid2" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="64"/>
- <Column size="64"/>
- <Column size="81"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="54"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="59"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="28" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell style="background:yellow;background2:yellow;" text="병원코드"/>
- <Cell col="1" style="background:yellow;background2:yellow;" text="증례코드"/>
- <Cell col="2" style="background:yellow;background2:yellow;" text="환자이름"/>
- <Cell col="3" style="background:yellow;background2:yellow;" text="식별코드"/>
- <Cell col="4" style="background:yellow;background2:yellow;" text="수술일"/>
- <Cell col="5" style="background:yellow;background2:yellow;" text="입원일"/>
- <Cell col="6" style="background:yellow;background2:yellow;" text="퇴원일"/>
- <Cell col="7" style="background:yellow;background2:yellow;" text="생년월일"/>
- <Cell col="8" style="background:yellow;background2:yellow;" text="나이"/>
- <Cell col="9" style="background:yellow;background2:yellow;" text="성별"/>
- <Cell col="10" style="background:yellow;background2:yellow;" text="집도의"/>
- <Cell col="11" style="background:yellow;background2:yellow;" text="수술종류"/>
- <Cell col="12" style="background:yellow;background2:yellow;" text="창상분류"/>
- <Cell col="13" style="background:yellow;background2:yellow;" text="ASA score"/>
- <Cell col="14" style="background:yellow;background2:yellow;" text="수술시간"/>
- <Cell col="15" style="background:yellow;background2:yellow;" text="T시간 초과"/>
- <Cell col="16" style="background:yellow;background2:yellow;" text="위험지표분류"/>
- <Cell col="17" style="background:yellow;background2:yellow;" text="내시경수술"/>
- <Cell col="18" style="background:yellow;background2:yellow;" text="응급수술"/>
- <Cell col="19" style="background:yellow;background2:yellow;" text="외상"/>
- <Cell col="20" style="background:yellow;background2:yellow;" text="동시수술"/>
- <Cell col="21" style="background:yellow;background2:yellow;" text="전신마취"/>
- <Cell col="22" style="background:yellow;background2:yellow;" text="재수술"/>
- <Cell col="23" style="background:yellow;background2:yellow;" text="SSI추적"/>
- <Cell col="24" style="background:yellow;background2:yellow;" text="추적중단사유"/>
- <Cell col="25" style="background:yellow;background2:yellow;" text="마지막 추적일"/>
- <Cell col="26" style="background:yellow;background2:yellow;" text="추적감시기간"/>
- <Cell col="27" style="background:yellow;background2:yellow;" text="SSI발생"/>
- <Cell col="28" text="수술코드"/>
- <Cell col="29" text="수술진단코드"/>
- <Cell col="30" text="주/부"/>
- <Cell col="31" text="수술구분"/>
- <Cell col="32" text="수술진행상태"/>
- <Cell col="33" text="기관코드"/>
- <Cell col="34" text="집도과코드"/>
- <Cell col="35" text="집도과"/>
- <Cell col="36" text="수술예약번호"/>
- <Cell col="37" text="수술이력번호"/>
- <Cell col="38" text="general anesthesia 유무"/>
- </Band>
- <Band id="body">
- <Cell style="background:lightgrey;background2:lightgrey;"/>
- <Cell col="1" style="background:lightgrey;background2:lightgrey;"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:opdd" maskchar="_"/>
- <Cell col="5" text="bind:indd" maskchar="_"/>
- <Cell col="6" text="bind:dschdd" maskchar="_"/>
- <Cell col="7" text="bind:rrgstno1"/>
- <Cell col="8" style="background:lightgrey;background2:lightgrey;" text="bind:ageflag"/>
- <Cell col="9" text="bind:sexflag"/>
- <Cell col="10" text="bind:perfdrnm"/>
- <Cell col="11" text="bind:nnopcd"/>
- <Cell col="12" style="align:center;padding:5 2 1 2;" text="bind:opwundkind" enable="false"/>
- <Cell col="13" text="bind:asascore" enable="false"/>
- <Cell col="14" text="bind:opusetm"/>
- <Cell col="15" style="background:lightgrey;background2:lightgrey;"/>
- <Cell col="16" style="background:lightgrey;background2:lightgrey;"/>
- <Cell col="17" text="bind:escopeeqmtuseyntns"/>
- <Cell col="18" text="bind:opflagtns"/>
- <Cell col="19" text="0"/>
- <Cell col="20" text="0"/>
- <Cell col="21" style="align:center;" text="bind:anstkindtns" enable="false"/>
- <Cell col="22" text="bind:reopflagtns"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26" style="background:lightgrey;background2:lightgrey;"/>
- <Cell col="27"/>
- <Cell col="28" text="bind:opcd"/>
- <Cell col="29" text="bind:opdiagcd"/>
- <Cell col="30" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
- <Cell col="31" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
- <Cell col="32" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
- <Cell col="33" text="bind:instcd"/>
- <Cell col="34" text="bind:orddeptcd"/>
- <Cell col="35" text="bind:perfdeptnm"/>
- <Cell col="36" text="bind:oprsrvno"/>
- <Cell col="37" text="bind:ophistno"/>
- <Cell col="38" text="bind:gnrlanst"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="perfdrnm" type="STRING" size="256"/>
- <Column id="opcd" type="STRING" size="256"/>
- <Column id="opnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="opcdkind" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- <Column id="etccdarr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="orddeptcd"/>
- <Col id="perfdrnm"/>
- <Col id="opcd"/>
- <Col id="opnm"/>
- <Col id="pid"/>
- <Col id="opcdkind">ALL</Col>
- <Col id="etccd">Z2</Col>
- <Col id="etccdarr"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_oppatrefinfo_oppatreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="infcyn" type="STRING" size="256" sumtext="감염여부"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="sexflag" type="STRING" size="256" sumtext="성별"/>
- <Column id="ageflag" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="opdd" type="STRING" size="256" sumtext="수술일"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
- <Column id="perfdrcd" type="STRING" size="256" sumtext="집도의코드"/>
- <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의"/>
- <Column id="opwundkind" type="STRING" size="256" sumtext="수술창상종류"/>
- <Column id="opstarttm" type="STRING" size="256" sumtext="수술시작시간"/>
- <Column id="opendtm" type="STRING" size="256" sumtext="수술종료시간"/>
- <Column id="opusetm" type="STRING" size="256" sumtext="수술소요시간"/>
- <Column id="asascore" type="STRING" size="256" sumtext="ASAscore"/>
- <Column id="anstkind" type="STRING" size="256" sumtext="마취종류"/>
- <Column id="prvnantibiodrug0" type="STRING" size="256" sumtext="예방적항생제투여"/>
- <Column id="prvnantibiodrug1" type="STRING" size="256" sumtext="예방적항생제투여"/>
- <Column id="prvnantibiodrug2" type="STRING" size="256" sumtext="예방적항생제투여"/>
- <Column id="riskindex" type="STRING" size="256" sumtext="Riskindex"/>
- <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
- <Column id="opdiagcd" type="STRING" size="256" sumtext="수술진단코드"/>
- <Column id="opmskind" type="STRING" size="256" sumtext="주/부"/>
- <Column id="opflagcd" type="STRING" size="256" sumtext="수술구분"/>
- <Column id="opstatcd" type="STRING" size="256" sumtext="수술진행상태"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과코드"/>
- <Column id="perfdeptnm" type="STRING" size="256" sumtext="집도과"/>
- <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
- <Column id="ophistno" type="STRING" size="256" sumtext="수술이력번호"/>
- <Column id="gnrlanst" type="STRING" size="256" sumtext="GeneralAnesthesia유무"/>
- <Column id="nnopcd" type="STRING" size="256" sumtext="감염관리자체코드"/>
- <Column id="thours" type="STRING" size="256" sumtext="T_hours"/>
- <Column id="afopdiagnm" type="STRING" size="256" sumtext="수술후진단명"/>
- <Column id="escopeeqmtuseyn" type="STRING" size="256" sumtext="내시경장비사용여부"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="수술전진단명"/>
- <Column id="edicd" type="STRING" size="256" sumtext="edi코드"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="opflagnm" type="STRING" size="256" sumtext="수술구분"/>
- <Column id="reopflag" type="STRING" size="256" sumtext="재수술여부"/>
- <Column id="escopeeqmtuseyntns" type="STRING" size="256"/>
- <Column id="opflagtns" type="STRING" size="256"/>
- <Column id="anstkindtns" type="STRING" size="256"/>
- <Column id="reopflagtns" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_oplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_oplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_indopinfo_indoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_initdate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="today" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="today"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0064list_P0064" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0015list_M0015" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0013list_M0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0017list_M0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0341list_M0341" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lastrowcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lastrowcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_opinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cbo_YN" 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>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlcodelst_item_oncolumnchanged"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
- <BindItem id="item3" compid="grp_sea.ipt_perfdrnm" propid="value" datasetid="ds_main_cond" columnid="perfdrnm"/>
- <BindItem id="item4" compid="grp_sea.ipt_opnm" propid="value" datasetid="ds_main_cond" columnid="opnm"/>
- <BindItem id="item5" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item6" compid="grp_sea.radio1" propid="value" datasetid="ds_main_cond" columnid="opcdkind"/>
- <BindItem id="item7" compid="grp_sea.cmb_etccdarr" propid="value" datasetid="ds_main_cond" columnid="etccdarr"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SMASI02300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_setRowTypeIcon(grd_oppatreflist, 0);
- grdf_setRowTypeIcon(grd_indoplist, 0);
- grdf_setGridSort(grd_oppatreflist);
- grdf_setGridSort(grd_indoplist);
- }
- function SMASI02300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_createPopupMenu("pop_grd_itemlist"
- ,"fPopupMenudruglist2"
- ,[{id: "fSytsRecRefPopup" , level: "0", title: "통합기록조회"}
- ,{id: "fHospInfcReptPopup" , level: "0", title: "병원감염보고서등록"}
- ]
- );
-
- fInitialize();
- ds_main_oppatrefinfo_oppatreflist.clearData();
- ds_main_indopinfo_indoplist.clearData();
- }
- /****************************************************************************************
- * Function : fPopupMenudruglist2
- * Description :
- * Argument :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fPopupMenudruglist2(obj:PopupMenu, e:MenuClickEventInfo)
- {
- switch( e.id ){
- case "fSytsRecRefPopup" :
- fSytsRecRefPopup();
- break;
- case "fHospInfcReptPopup" :
- fHospInfcReptPopup();
- break;
- }
- }
- function fSytsRecRefPopup(){
- var sessionPID = appf_getPatientId();
- var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
- if(sessionPID != ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid")){
- fReqOpPatPamInfo();
- }
- frmf_setParameter("SMMRI00400_param_pid", sessionPID);
- frmf_modal("SMMRI00400", "SMMRI00400", null, null, 1, 10, 10, null, null, null, null, null, "M");
- }
- function fHospInfcReptPopup() {
- var sessionPID = appf_getPatientId();
- var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
- if(sessionPID != ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid")){
- fReqOpPatPamInfo();
- }
- var rtnmsg_header = "infcyn▦opcd▦opnm▦opmskind▦opflagcd▦opstatcd▦perfdrnm▦perfdrcd▦anstkind▦opdd▦opstarttm▦opendtm▦opusetm▦opwundkind▦asascore▦riskindex▦gnrlanst▦nnopcd▦escopeaproch▩";
- var rtnmsg_data = "";
- rtnmsg_data+= ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "infcyn")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opcd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opnm")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opmskind")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opflagcd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opstatcd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrnm")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrcd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "anstkind")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opdd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opstarttm")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opendtm")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opusetm")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opwundkind")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "asascore")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "riskindex")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "gnrlanst")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "nnopcd")+"▦"
- +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "escopeopyn")+"▩";
- frmf_setParameter("setVal1", rtnmsg_header+rtnmsg_data);
-
- frmf_setParameter("setVal2", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opwundkind"));
- frmf_setParameter("setVal3", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "asascore"));
- frmf_setParameter("setVal4", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "riskindex"));
- frmf_setParameter("setVal5", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "gnrlanst"));
- frmf_setParameter("setVal6", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "escopeopyn"));
- frmf_setParameter("setVal7", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "anstkind"));
-
- frmf_setParameter("setVal8", "S");
- //open("SMASI00100", 1,10,10, "SMASI00100");
- frmf_open("SMASI00100", "SMASI00100", "", null, null, null, null, null, null, null, null, null, "M");
- this.close();
- }
- function fInitialize() {
- //grd_oppatreflist.frozenCols = 3;
- //grd_indoplist.frozenCols = 3;
- // 공통코드를 조회한다.
- var arrParam = [{dsNm: "ds_init_P0064list_P0064", cdGrpId: "P0064"}, {dsNm: "ds_init_M0013list_M0013", cdGrpId: "M0013"}, //직업 //교육정도
- {dsNm: "ds_init_M0015list_M0015", cdGrpId: "M0015"}, {dsNm: "ds_init_M0017list_M0017", cdGrpId: "M0017"}, //종교 //결혼상태
- {dsNm: "ds_init_M0341list_M0341", cdGrpId: "M0341"}];
- appf_getCodeList(arrParam, true);
-
- // 진료과
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var sort_field = "depthngnm";
- var sort_method = "asc";
-
- appf_getDeptCodeList(instcd,standard_yn, ord_deptflag, sort_field,"","","","","ds_init_dept",false,"");
-
- frmf_addComboItem("grp_sea.cmb_orddeptcd","- 전체 -","","above");
-
- //병동
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- sort_field = "deptcd";
- sort_method = "asc";
- appf_getDeptCodeList(instcd,standard_yn, ord_deptflag, sort_field,"","","","","ds_init_warddeptlist",false,"");
-
- var today = utlf_getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(0, "M");
-
- ds_init_initdate.setColumn(0, "today", today);
- dsf_makeValue(ds_send_cond, "trgtmancnt", "string", "I");
- dsf_makeValue(ds_send_cond, "fromdd", "string", peveDate.getDateFormat());
- dsf_makeValue(ds_send_cond, "todd", "string", today);
- ds_main_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
- ds_main_cond.setColumn(0, "todd", today);
-
-
- //2020.05.06
- var oParam = {};
- oParam.id = "TRASB02202";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetEtcDetlCodeArrList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_detlcodelst_item=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- frmf_addComboItem("grp_sea.cmb_etccdarr", "전체", "", "above"); //부서콤보 Item "전체"추가
-
- frmf_inputEnterKey("grp_sea.radio1", "onitemchanged", new ItemChangeEventInfo);
-
- }
- function grp_sea_ipt_perfdrnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- grp_sea_btn_search_onclick();
- }
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var ddInterval = utlf_getDateInterval(grp_sea.ipt_fromdd.value, grp_sea.ipt_todd.value);
- var pid = grp_sea.ipt_pid.value;
- if(utlf_isNull(pid) && ddInterval > 7){
- sysf_messageBox("시스템 부하 원인으로 환자등록번호없이 7일까지만 조회", "I006");
- return;
- }
-
- fGetOprsList();
- }
- function fGetOprsList(){
- ds_main_oppatrefinfo_oppatreflist.clearData();
- ds_main_indopinfo_indoplist.clearData();
- if( !frmf_isRequiredControls("grp_sea.ipt_fromdd","grp_sea.ipt_todd") ){
- return;
- }
-
- ds_send_reqdata.clearData();
- ds_send_reqdata.copyData(ds_main_cond);
-
- var pnm = ds_main_cond.getColumn(0, "perfdrnm");
- if (!utlf_isNull(pnm)){
- ds_send_reqdata.setColumn(0, "perfdrnm", pnm);
- }
- var ocd = ds_send_reqdata.getColumn(0, "opcd");
- var onm = ds_send_reqdata.getColumn(0, "opnm");
- if (utlf_isNull(ocd) && !utlf_isNull(onm)){
- //onm = "%" + onm + "%";
- ds_send_reqdata.setColumn(0, "opnm", onm);
- }
- //openLoadingBar("수술환자정보 ") ;//처리중 화면을 오픈한다.
- frmf_openLoadingBar();
- var oParam = {};
- oParam.id = "TRASI02301";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetOpPatRefList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_oppatrefinfo_oppatreflist=oppatreflist";
- oParam.async = false;
- tranf_submit(oParam);
- frmf_closeLoadingBar();//처리중 화면을 close한다.
- }
- function grp_sea_ipt_opnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- grp_sea_btn_search_onclick();
- }
- }
- function grp_sea_btn_opnm_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowcnt = ds_main_oplist.rowcount;
- ds_temp.setColumn(0, "lastrowcnt", rowcnt);
-
- // 2008.07.17 pymi
- var objArg = new Object();
- objArg.lastrowcnt = rowcnt;
-
- frmf_open("SPMQP01700", "SPMQP01700", objArg, false, 1, 1, 1, null, null, null, null, null, "M");
- }
- function ds_main_oplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(ds_main_oplist.rowcount > 0){
- ds_main_cond.setColumn(0, "opnm", ds_main_oplist.getColumn(0, "termhngnm"));
- ds_main_cond.setColumn(0, "opcd", ds_main_oplist.getColumn(0, "termcd"));
- }
- }
- function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- grp_sea_btn_search_onclick();
- }
- }
- function grd_oppatreflist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetOprsHistList();
- }
- function fGetOprsHistList(){
- ds_main_indopinfo_indoplist.clearData();
-
- if(ds_main_oppatrefinfo_oppatreflist.rowposition >= 0) {
- fReqOpPatPamInfo();
- }
- var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
-
- if( iRow < 0) {
- return ;
- }
-
- dsf_makeValue(ds_send_reqdata, "pid", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid"));
- dsf_makeValue(ds_send_reqdata, "orddept", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "orddept"));
- dsf_makeValue(ds_send_reqdata, "perfdrcd", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrcd"));
- dsf_makeValue(ds_send_reqdata, "opcd", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opcd"));
- dsf_makeValue(ds_send_reqdata, "fromdd", "string", "");
- dsf_makeValue(ds_send_reqdata, "todd", "string", "");
- dsf_makeValue(ds_send_reqdata, "opcdkind", "string", ds_main_cond.getColumn(0, "opcdkind"));
-
- frmf_openLoadingBar();
- var oParam = {};
- oParam.id = "TRASI02301";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetOpPatRefList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_indopinfo_indoplist=oppatreflist";
- oParam.async = false;
- tranf_submit(oParam);
- frmf_closeLoadingBar() ;//처리중 화면을 close한다.
- }
- function fReqOpPatPamInfo(){
- var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
- var sOPPATLIST_PATH = ds_main_oppatrefinfo_oppatreflist;
- var ioflag = "T" // 수술일 경우 ioflag:T
- var pid = sOPPATLIST_PATH.getColumn(iRow, "pid");
- var opcnfmdd = sOPPATLIST_PATH.getColumn(iRow, "opdd");
- var cretno = "";
- var instcd = sOPPATLIST_PATH.getColumn(iRow, "instcd");
- var perfdeptcd = sOPPATLIST_PATH.getColumn(iRow, "perfdeptcd");
- var perfdrid = sOPPATLIST_PATH.getColumn(iRow, "perfdrnm");
- var patflag = "I";
- var procflag = "F"; // 최초조회:F , 재조회:R
- var oprsrvno = sOPPATLIST_PATH.getColumn(iRow, "oprsrvno");
- var ophistno = sOPPATLIST_PATH.getColumn(iRow, "ophistno");
- var srchdd = sOPPATLIST_PATH.getColumn(iRow, "opdd"); //조회일자
-
- var param = ioflag + "▦"
- + pid + "▦"
- + opcnfmdd + "▦"
- + cretno + "▦"
- + instcd + "▦"
- + perfdeptcd + "▦"
- + perfdrid + "▦"
- + patflag + "▦"
- + procflag + "▦"
- + oprsrvno + "▦"
- + ophistno + "▦"
- + srchdd;
-
- appf_initPatientInfo(param);
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_oppatrefinfo_oppatreflist.clearData();
- ds_main_indopinfo_indoplist.clearData();
- }
- function grd_oppatreflist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히
- }
- var screenX = 0;
- var screenY = 0;
- function grd_oppatreflist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- screenX = e.screenX;
- screenY = e.screenY;
- pop_grd_itemlist.trackPopup(screenX, screenY);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- //grdf_exportExcel(grd_oppatreflist, "수술환자조회" + utlf_getCurrentDate(), "sheetname1" , false, "" , "" , false);
- grdf_exportExcel(grd_oppatreflist, "수술환자조회 ", "수술환자조회", false, "", "user", false);
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_oppatreflist_excel, "수술부위감염감시 대상 리스트", "수술부위감염감시 대상 리스트", false, "", "user", false);
- }
- function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_main_cond.getColumn(0, "opcdkind") == "ALL" ){
- ds_main_cond.setColumn(0, "etccdarr", "");
- grp_sea.cmb_etccdarr.enable = false;
- }else{
- grp_sea.cmb_etccdarr.enable = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|