123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMQR05000" classname="SMMQR05000_RRT스크리닝" inheritanceid="" position="absolute 0 0 1205 787" titletext="RRT 스크리닝" oninit="SMMQR05000_oninit" onload="SMMQR05000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="RRT 스크리닝" class="tit_1" position="absolute 0 0 170 24"/>
- <Button id="btn_testrsltref" taborder="5" text="검사결과조회" position="absolute 0 754 103 776" class="btn3" anchor="left bottom" onclick="btn_testrsltref_onclick"/>
- <Button id="btn_recsrch" taborder="6" text="통합기록조회" class="btn3" position="absolute 104 754 207 776" anchor="left bottom" onclick="btn_recsrch_onclick"/>
- <Button id="button5" taborder="7" text="임상관찰기록지" class="btn3" position="absolute 208 754 327 776" anchor="left bottom" onclick="button5_onclick"/>
- <Button id="button6" taborder="8" text="간호일지" class="btn3" position="absolute 328 754 407 776" anchor="left bottom" onclick="button6_onclick"/>
- <PopupMenu id="pmn_menu1" position="absolute 1206 171 1302 234" innerdataset="@ds_popupmenu" levelcolumn="level" idcolumn="func" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave"/>
- <Div id="grp_sea" anchor="left top right" taborder="9" class="div_SA" position="absolute 0 24 1195 150">
- <Layouts>
- <Layout>
- <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="9" scrollbars="autovert" position="absolute 168 1 1120 83" style="background:transparent;font:arial,9;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default" dragscrolltype="both" layoutselecttype="inner,width"/>
- <Static id="caption3" text="MEWS 점 이상 검색" class="search_name" position="absolute 808 102 989 116" anchor="default"/>
- <Calendar id="ipt_todd" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 669 98 756 118" anchor="default"/>
- <Edit id="ipt_mews" taborder="4" autoselect="true" class="input_search" position="absolute 864 98 897 118" style="align:center middle;" anchor="default"/>
- <Static id="caption2" text="병 동 :" class="search_name" position="absolute 113 10 164 24" anchor="default"/>
- <MaskEdit id="ipt_toddtm" taborder="3" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" class="input_search" position="absolute 759 98 802 118" style=":disabled {padding:0 2 0 2;}" anchor="default"/>
- <MaskEdit id="ipt_rgstfromtm" taborder="1" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" autoskip="true" class="input_search" position="absolute 604 98 647 118" style=":disabled {padding:0 2 0 2;}" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="0" autoselect="true" autoskip="true" class="input_search" position="absolute 514 99 601 118" anchor="default"/>
- <Static id="caption8" text="~" position="absolute 653 101 664 115" anchor="default"/>
- <Static id="caption7" text="기록일시 :" class="search_name" position="absolute 435 97 513 117" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1124 22 1128 57" anchor="top right"/>
- <Button id="btn_srchrrt" taborder="5" text="조회" onclick="grp_sea_btn_srchrrt_onclick" class="btn1" position="absolute 1131 26 1187 48" anchor="top right"/>
- <Radio id="rdo_case" taborder="6" index="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_case1_grp_sea_rdo_case_onitemchanged" position="absolute 88 103 320 118" anchor="default" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">sbp</Col>
- <Col id="datacolumn">SBP</Col>
- </Row>
- <Row>
- <Col id="codecolumn">hr</Col>
- <Col id="datacolumn">HR</Col>
- </Row>
- <Row>
- <Col id="codecolumn">rr</Col>
- <Col id="datacolumn">RR</Col>
- </Row>
- <Row>
- <Col id="codecolumn">bt</Col>
- <Col id="datacolumn">BT</Col>
- </Row>
- <Row>
- <Col id="codecolumn">page</Col>
- <Col id="datacolumn">연령</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_case" taborder="7" autoselect="true" class="input_search" position="absolute 368 98 416 119" style="align:center middle;" anchor="default"/>
- <Static id="caption4" text="조 건 :" class="search_name" position="absolute 24 103 75 115" anchor="default"/>
- <Static id="caption00" text="등록번호 :" class="search_name" position="absolute 991 102 1066 116" anchor="default"/>
- <Edit id="ipt_pid" taborder="8" position="absolute 1071 99 1150 118" anchor="default" autoselect="true" onkeyup="grp_sea_ipt_pid_onkeyup"/>
- <CheckBox id="chk_all" taborder="10" text="전체" position="absolute 120 34 169 57" style="color:red;" truevalue="Y" falsevalue="N" onclick="grp_sea_chk_all_onclick" anchor="default"/>
- <Button id="btn_pid" taborder="11" class="icon_search" position="absolute 1154 100 1170 116" onclick="grp_sea_btn_pid_onclick" anchor="default"/>
- <Radio id="rdo_updown" taborder="12" columncount="0" rowcount="0" position="absolute 321 91 368 122" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="0" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">이상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">이하</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <GroupBox id="GroupBox00" text="스크리닝구분" position="absolute 4 11 112 66" anchor="default"/>
- <Radio id="rdo_gubun" taborder="13" columncount="-1" rowcount="-1" position="absolute 14 33 100 57" codecolumn="codecolumn" datacolumn="datacolumn" index="1" value="A" onitemchanged="grp_sea_rdo_gubun_onitemchanged" style="align:center middle;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">성인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">소아</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button4" taborder="10" text="저장" onclick="button4_onclick" class="btn5" position="absolute 1153 158 1195 178" anchor="top right"/>
- <Shape id="line1" class="line_10" position="absolute 0 178 1195 184" anchor="left top right" onclick="line1_onclick"/>
- <Grid id="grd_mrrtlist" class="datagrid2" taborder="11" binddataset="ds_main_mrrtlist" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" onrbuttonup="switch1_case1_grd_mrrtlist_onrbuttonup" oncelldblclick="grd_dialhdmpglist_oncelldblclick" position="absolute 0 184 1195 745" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23" band="left"/>
- <Column size="30" band="left"/>
- <Column size="28" band="left"/>
- <Column size="46" band="left"/>
- <Column size="0" band="left"/>
- <Column size="0" band="left"/>
- <Column size="62" band="left"/>
- <Column size="56" band="left"/>
- <Column size="44"/>
- <Column size="96"/>
- <Column size="48"/>
- <Column size="49"/>
- <Column size="66"/>
- <Column size="33"/>
- <Column size="185"/>
- <Column size="126"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="35"/>
- <Column size="86"/>
- <Column size="58"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="99"/>
- <Column size="50"/>
- <Column size="47"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="282"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="44" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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="S/A"/>
- <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="SBP" taborder="undefined"/>
- <Cell col="17" text="HR" taborder="undefined"/>
- <Cell col="18" text="RR" taborder="undefined"/>
- <Cell col="19" text="BT" taborder="undefined"/>
- <Cell col="20" text="의식수준" taborder="undefined"/>
- <Cell col="21" text="MEWS score"/>
- <Cell col="22" text="SpO2"/>
- <Cell col="23" text="FiO2"/>
- <Cell col="24" text="양"/>
- <Cell col="25" text="장치"/>
- <Cell col="26" text="RESP"/>
- <Cell col="27" text="연명 의료 여부" taborder="undefined"/>
- <Cell col="28" text="hisstat"/>
- <Cell col="29" text="olddialflag"/>
- <Cell col="30" text="사유"/>
- <Cell col="31" text="나이"/>
- <Cell col="32" text="단계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;padding:0 0 0 3;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:pathgbn" combodataset="ds_init_pathgbn" combocodecol="value" combodatacol="label"/>
- <Cell col="3" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:roomcd"/>
- <Cell col="4" text="bind:roomcd"/>
- <Cell col="5" displaytype="combo" style="align:center middle;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:wardcd" combodataset="ds_init_ward" combocodecol="wardcd" combodatacol="wardnm"/>
- <Cell col="6" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');font:EXPR(memocount > 0 ? 'arial,9,bold' : '');" text="bind:pid"/>
- <Cell col="7" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');font:EXPR(memocount > 0 ? 'arial,9,bold' : '');" text="bind:patnm"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 5;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:sexage"/>
- <Cell col="9" style="align:left top;padding:5 2 3 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:orddeptnm" wordwrap="word" enable="false"/>
- <Cell col="10" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:medispclnm"/>
- <Cell col="11" style="align:center middle;padding:2 2 2 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:atdoctnm"/>
- <Cell col="12" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:pdano" calendardisplaynulltype="nulltext"/>
- <Cell col="13" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(consult_yn == 'Y' ? 'red' : 'black');color2:EXPR(consult_yn == 'Y' ? 'red' : 'black');" text="bind:consult_yn" calendardisplaynulltype="nulltext"/>
- <Cell col="14" style="align:left top;padding:5 2 2 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:diagnm" wordwrap="word" calendardisplaynulltype="nulltext"/>
- <Cell col="15" displaytype="date" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:sbpdt" mask="yyyy-MM-dd HH:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="16" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(sbp_score == 1 ? 'green' : sbp_score == 2 ? 'blue' : sbp_score == 3 ? 'red' : 'black');color2:EXPR(sbp_score == 1 ? 'green' : sbp_score == 2 ? 'blue' : sbp_score == 3 ? 'red' : 'black');" text="bind:sbp" calendardisplaynulltype="nulltext"/>
- <Cell col="17" style="align:center middle;padding:2 2 2 2;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');color:EXPR(hr_score == 1 ? 'green' : hr_score == 2 ? 'blue' : hr_score == 3 ? 'red' : 'black');color2:EXPR(hr_score == 1 ? 'green' : hr_score == 2 ? 'blue' : hr_score == 3 ? 'red' : 'black');" text="bind:hr" enable="false"/>
- <Cell col="18" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(rr_score == 1 ? 'green' : rr_score == 2 ? 'blue' : rr_score == 3 ? 'red' : 'black');color2:EXPR(rr_score == 1 ? 'green' : rr_score == 2 ? 'blue' : rr_score == 3 ? 'red' : 'black');" text="bind:rr"/>
- <Cell col="19" style="align:center middle;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');color:EXPR(bt_score == 1 ? 'green' : bt_score == 2 ? 'blue' : bt_score == 3 ? 'red' : 'black');color2:EXPR(bt_score == 1 ? 'green' : bt_score == 2 ? 'blue' : bt_score == 3 ? 'red' : 'black');" text="bind:bt"/>
- <Cell col="20" style="align:left top;padding:5 2 3 2;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:avpu" wordwrap="word"/>
- <Cell col="21" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:mews_score" expr="expr:mews_score == '999' ? '기록오류' : mews_score"/>
- <Cell col="22" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:spo2"/>
- <Cell col="23" style="background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:fio2"/>
- <Cell col="24" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:volume"/>
- <Cell col="25" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:device"/>
- <Cell col="26" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:resp_score"/>
- <Cell col="27" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:cassick" expr="expr:cassick != 'Y' ? 'N' : 'Y'"/>
- <Cell col="28" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:histstat"/>
- <Cell col="29" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:olddialflag"/>
- <Cell col="30" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:memo"/>
- <Cell col="31" text="bind:page"/>
- <Cell col="32" text="bind:plevel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption5" text="RRT스크리닝 리스트" class="tit_2" position="absolute 0 162 143 183"/>
- <Button id="btn_excel" taborder="12" text="엑셀저장" class="btn7" position="absolute 1069 158 1151 178" anchor="top right" onclick="btn_excel_onclick"/>
- <Button id="button7" taborder="13" text="컨설트관리" class="btn3" position="absolute 408 754 503 776" anchor="left bottom" onclick="button7_onclick"/>
- <Div id="grp_memo" taborder="14" style="background:white;border:1 solid #808080ff ;" visible="false" position="absolute 550 284 986 533">
- <Layouts>
- <Layout>
- <Shape id="line13" class="line_10" position="absolute 2 18 432 29" anchor="default"/>
- <Static id="caption22" text="사유작성" class="tit_2" position="absolute 2 4 135 21" anchor="default"/>
- <Button id="btn_memosave" taborder="4" text="확인" class="btn4" position="absolute 312 220 368 242" anchor="default" onclick="grp_memo_btn_memosave_onclick"/>
- <Button id="button8" taborder="5" text="취소" class="btn4" position="absolute 370 220 426 242" anchor="default" onclick="grp_memo_button8_onclick"/>
- <TextArea id="tar_memo" taborder="6" autoselect="true" position="absolute 2 25 432 215" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_memolist" taborder="16" position="absolute 363 240 1114 568" style="background:white;border:1 solid #808080ff ;" visible="false">
- <Layouts>
- <Layout>
- <Grid id="grd_memo" taborder="0" binddataset="ds_hidden_memo" autoenter="select" useinputpanel="false" extendsizetype="row" cellsizingtype="row" autosizingtype="row" position="absolute 3 31 744 321" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="59"/>
- <Column size="47"/>
- <Column size="84"/>
- <Column size="495"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="등록일시"/>
- <Cell col="3" text="사유"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:pid"/>
- <Cell col="1" style="align:center middle;" text="bind:patnm"/>
- <Cell col="2" displaytype="date" style="align:center middle;" text="bind:acptdd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" style="align:left top;padding:5 2 3 2;" text="bind:reamrk" wordwrap="word" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_close" taborder="1" position="absolute 715 4 746 29" class="btn_POP_cls" anchor="default" onclick="grp_memolist_btn_close_onclick" style="background:#009393ff;"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static00" text="과거 사유가 있는 환자는 등록번호와 환자명에 진하게 표시함." position="absolute 228 157 595 178" style="color:brown;font:Dotum,9,bold;"/>
- <CheckBox id="chk_resp" taborder="17" text="호흡기기록오류제외" position="absolute 920 159 1059 176" onchanged="chk_resp_onchanged"/>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item0" compid="grp_sea.rdo_case" propid="value" datasetid="ds_hidden" columnid="condition"/>
- <BindItem id="item1" compid="grp_sea.ipt_case" propid="value" datasetid="ds_hidden" columnid="inputcondition"/>
- <BindItem id="item2" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item3" compid="grp_sea.ipt_rgstfromtm" propid="value" datasetid="ds_send" columnid="fromtm"/>
- <BindItem id="item4" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item5" compid="grp_sea.ipt_toddtm" propid="value" datasetid="ds_send" columnid="totm"/>
- <BindItem id="item6" compid="grp_sea.ipt_mews" propid="value" datasetid="ds_send" columnid="mews"/>
- <BindItem id="item7" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item8" compid="grp_sea.rdo_updown" propid="value" datasetid="ds_hidden" columnid="updown"/>
- <BindItem id="item9" compid="grp_sea.chk_all" propid="value" datasetid="ds_hidden" columnid="chkall"/>
- <BindItem id="item10" compid="grp_memo.tar_memo" propid="value" datasetid="ds_memo" columnid="memo"/>
- <BindItem id="item11" compid="chk_resp" propid="value" datasetid="ds_send" columnid="chkresp"/>
- </Bind>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="mews" type="INT" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="case" type="STRING" size="256"/>
- <Column id="inputcase" type="INT" size="256"/>
- <Column id="updown" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="mewspiece" type="STRING" size="256"/>
- <Column id="chkresp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardcd"/>
- <Col id="case"/>
- <Col id="srchcond"/>
- <Col id="mews"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mrrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_mrrtlist_oncolumnchanged"/>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_popupmenu" 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="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">사유입력</Col>
- <Col id="func">fmemo</Col>
- <Col id="level"/>
- </Row>
- <Row>
- <Col id="label">과거사유조회</Col>
- <Col id="func">fprememo</Col>
- </Row>
- <Row>
- <Col id="label">저장</Col>
- <Col id="func">fsave</Col>
- <Col id="level"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkall" type="STRING" size="256"/>
- <Column id="condition" type="STRING" size="256"/>
- <Column id="updown" type="STRING" size="256"/>
- <Column id="inputcondition" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chkall">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_pathgbn" 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">S</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">C</Col>
- <Col id="value">C</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : SMMQR05000_RRT스크리닝
- * Job Name :
- * Creator :
- * Make Date : 2018-10-11
- * Description : 신속대응팀 환자 스크리닝
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- var gInstcd = sysf_getUserInfo("dutplceinstcd");
- function SMMQR05000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMQR05000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_mrrtlist);
- grdf_setToolTipBind(grd_mrrtlist);
-
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
-
- var oParam = {};
- oParam.id = "TRMNW00101";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetWMInitData";
- oParam.inds = "reqcond=ds_send";
- oParam.outds = "ds_init_ward=ward";
- oParam.async = false;
- tranf_submit(oParam);
-
- var sProp="col=9,row=5,cellspacing=6,vcellspacing=0,itemWidth=0,itemHeight=-1,overflow='visible'";
- grp_sea.chk_ward.setInitComp(sProp, ds_init_ward,"wardcd","wardnm","fn_cmpEvent");
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_send.clearData();
- ds_send.addRow();
-
- var defWard = "";
- var ewstotal ="0";
- var ewspiece = "0";
-
- // //20190215 본원/칠곡 구분하여 초기화 추가
- // if (gInstcd == '031') { //본원
- // if (grp_sea.rdo_gubun.index == 0 ) { //성인
- // defWard = "3050305000,3050310000,3050404000,3050311000,3050406000,3050312000,3050408000,3050313000,3050410000,3050412000,3050170000";
- // } else{
- // defWard = "3050315000,3050314000,3062300000,2280200000"; //25,45,PICU, 응급실
- // }
- //
- // } else { //칠곡
- // if (grp_sea.rdo_gubun.index == 0 ) { //성인
- // defWard = "3050305000,3050310000,3050404000,3050311000,3050406000,3050312000,3050408000,3050313000,3050410000,3050412000,3050170000";
- // } else{
- // defWard = "3050315000,3050314000,3062300000,2280200000"; //25,45,PICU, 응급실
- // }
- // }
-
- dsf_createDs("ds_hardcdno", []);
- dsf_createDs("ds_ewstotal", []);
- dsf_createDs("ds_ewspiece", []);
- ds_hardcdno.clearData();
- ds_ewstotal.clearData();
- ds_ewspiece.clearData();
-
- if (grp_sea.rdo_gubun.index == 0 ) { //성인
- ds_send.setColumn(0,"gubun","A");
- lf_gethardcdArrayList(new Array("hardcdno|10014", "ewstotal|10016", "ewspiece|10018"), new Array( "ds_hardcdno","ds_ewstotal", "ds_ewspiece"));
- grd_mrrtlist.setCellProperty("Head",21, "text","MEWS score");
-
- } else { //소아
- ds_send.setColumn(0,"gubun","P");
- lf_gethardcdArrayList(new Array("hardcdno|10015", "ewstotal|10017"), new Array( "ds_hardcdno","ds_ewstotal"));
- grd_mrrtlist.setCellProperty("Head",21, "text","PEWS score");
- }
-
- defWard = "";
- for(var i = 0; i < ds_hardcdno.rowcount; i++){
- if (i == 0 ) {
- defWard = ds_hardcdno.getColumn(i,"hardcd") ;
- } else {
- defWard = defWard + "," + ds_hardcdno.getColumn(i,"hardcd") ;
- }
- }
-
- defWards = defWard.split(",");
- grp_sea.chk_ward.setData(defWards, "",false);
-
- //mews 전체항목
- ewstotal = ds_ewstotal.getColumn(0,"hardcd") ;
-
- //trace(defWard);
- ds_send.setColumn(0, "wardcd", defWard);
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
- ds_send.setColumn(0, "fromtm", "000000");
- ds_send.setColumn(0, "totm", "235959");
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "srchcond", "1");
- ds_hidden.setColumn(0, "updown", "0");
-
- grp_sea.rdo_case.index = 0;
- if ( grp_sea.rdo_gubun.index == 0 ) { //성인
- grp_sea.caption3.text = "MEWS 점 이상 검색";
- ds_send.setColumn(0, "mews", ewstotal);
- } else {
- grp_sea.caption3.text = "PEWS 점 이상 검색";
- ds_send.setColumn(0, "mews", ewstotal);
- }
-
- //mews 단일항목
- ewspiece = utlf_transNullToEmpty(ds_ewspiece.getColumn(0,"hardcd")) ;
- if ( ewspiece == "") ewspiece ="0";
-
- ds_send.setColumn(0, "mewspiece", ewspiece);
-
- if ( defWard == "" ) {
- sysf_messageBox("병동을 선택하세요.", "");
- return;
- }
-
- ds_main_mrrtlist.clearData();
-
- }
- function fn_cmpEvent()
- {
- var rtn = grp_sea.chk_ward.getData();
- ds_send.setColumn(0, "wardcd", rtn);
-
- ds_hidden.setColumn(0, "chkall", "N");
- }
- function grp_sea_chk_all_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- grp_sea.chk_ward.setCheckAll(true);
- ds_send.setColumn(0, "wardcd", "%");
- }
- else
- {
- grp_sea.chk_ward.setCheckAll(false);
- }
- }
- function grp_sea_btn_srchrrt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_mrrtlist.filter("");
-
- //ds_send.setColumn(0, "fromdd", ds_send.getColumn(0, "from")+ds_send.getColumn(0, "fromtm"));
- //ds_send.setColumn(0, "todd", ds_send.getColumn(0, "to")+ds_send.getColumn(0, "totm"));
- ds_send.setColumn(0, "gubun", grp_sea.rdo_gubun.value);
-
- dsf_setDefaultVal(ds_send, "wardcd:%");
-
- var oParam = {};
- oParam.id = "TRRTW00001";
- oParam.service = "rrtapp.RrtMngt";
- oParam.method = "reqGetRRTInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_mrrtlist=rrtinfo";
- oParam.async = false;
- oParam.callback = "cf_TRRTW00001";
- tranf_submit(oParam);
-
- if (obj.value == true ) {
- ds_main_mrrtlist.filter("resp_score != '888'");
- } else {
- ds_main_mrrtlist.filter("");
- }
-
- }
- function cf_TRRTW00001(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
-
- ds_main_mrrtlist.addColumn("chk", "string");
- ds_main_mrrtlist.addColumn("memo", "string");
- ds_main_mrrtlist.addColumn("pathgbn", "string");
- dsf_setTypeFormat(ds_main_mrrtlist, "sbp:INT^hr:INT^rr:INT^bt:STRING^avpu:STRING^memocount:INT");
- dsf_setDefaultVal(ds_main_mrrtlist, "pathgbn:S");
-
- var condition = ds_hidden.getColumn(0, "condition");
- var inputcondition = ds_hidden.getColumn(0, "inputcondition");
-
- if(!utlf_isNull(condition) || condition != "")
- {
- if(ds_hidden.getColumn(0, "updown") == "0")
- {
- ds_main_mrrtlist.filter(condition+">="+inputcondition);
- }
- else
- {
- ds_main_mrrtlist.filter(condition+"<="+inputcondition);
- }
- }
- }
- function ds_main_mrrtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
- {
- obj.closePopup();
- }
- function switch1_case1_grd_mrrtlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- ds_main_mrrtlist.clearSelect();
- ds_main_mrrtlist.selectRow(e.row);
- ds_main_mrrtlist.rowposition = e.row;
-
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function fsave()
- {
- ds_main_mrrtlist.setColumn(ds_main_mrrtlist.rowposition, "chk", "Y");
- button4.click();
- }
- function switch1_case1_grp_sea_rdo_case_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(utlf_isNull(obj.value))
- {
- ds_hidden.setColumn(0, "inputcondition", "");
- }
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkcount = ds_main_mrrtlist.getCaseCount("chk == 'Y'");
-
-
- if(chkcount > 0)
- {
- ds_send_save.clearData();
- dsf_copyColInfo(ds_send_save,ds_main_mrrtlist);
-
- for(var i = 0; i < ds_main_mrrtlist.rowcount; i++)
- {
- if(ds_main_mrrtlist.getColumn(i, "chk") == "Y")
- {
- var addRow = ds_send_save.addRow();
- ds_send_save.copyRow(addRow,ds_main_mrrtlist,i);
-
- trace(addRow+ " - rows - " + ds_send_save.rowcount);
-
- dsf_makeValue(ds_send_save, "acptdd", "string", utlf_getCurrentDate(), addRow);
- dsf_makeValue(ds_send_save, "acpttm", "string", utlf_getCurrentTime(), addRow);
- dsf_makeValue(ds_send_save, "userid", "string", sysf_getUserInfo("userid"), addRow);
- dsf_makeValue(ds_send_save, "status", "string", "i", addRow);
-
- }
- }
-
- var oParam = {};
- oParam.id = "TXRTW00001";
- oParam.service = "rrtapp.RrtMngt";
- oParam.method = "reqSetRRTInfo";
- oParam.inds = "req=ds_send_save";
- oParam.async = false;
- oParam.callback = "cf_TXRTW00001";
- tranf_submit(oParam);
- }
- else
- {
- sysf_messageBox("저장 할 데이터가 없습니다.", "I");
- }
- }
- function cf_TXRTW00001(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
-
- grp_sea.btn_srchrrt.click();
- }
- function grp_sea_btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_send = ds_send;
- frmf_modal("SPPMC02500", "SPPMC02500",objArg, "", 1, 150,150,"","","","","","M" );
-
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_mrrtlist, "excel", "Sheet1", "true", "", "");
- }
- function btn_testrsltref_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
- }
- function btn_recsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNR00900", "SMMNR00900","", null, null, null, null, null, null, null, null, null, "M");
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNR00700", "SMMNR00700",null, null, null, null, null, null, null, null, null, null, "M");
- }
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMMR05000", "SMMMR05000", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function grd_dialhdmpglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_mrrtlist.rowposition;
- var param = "I▦" + ds_main_mrrtlist.getColumn(row, "pid")
- + "▦" + ds_main_mrrtlist.getColumn(row, "indd")
- + "▦" + ds_main_mrrtlist.getColumn(row, "cretno")
- + "▦" + ds_main_mrrtlist.getColumn(row, "instcd")
- + "▦" ;
- appf_initPatientInfo(param); //상단정보 올리기
-
- var consult_yn = ds_main_mrrtlist.getColumn(row, "consult_yn")
- if ( e.col == obj.getBindCellIndex("body", "consult_yn") && consult_yn == 'Y') { //컨설트
- frmf_modal("SMMMR05000", "SMMMR05000", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_srchrrt.click();
- }
- }
- var m_Row = 0;
- function fmemo()
- {
- grd_mrrtlist.setCellPos(grd_mrrtlist.getBindCellIndex("body", "memo"));
- grd_mrrtlist.showEditor(true);
-
- m_Row = ds_main_mrrtlist.rowposition;
- ds_memo.setColumn(0, "memo", utlf_transNullToEmpty(ds_main_mrrtlist.getColumn(m_Row, "memo")));
-
- grp_memo.visible = true;
- grp_memo.tar_memo.setFocus();
- }
- function grp_memo_btn_memosave_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_mrrtlist.setColumn(m_Row, "memo", grp_memo.tar_memo.text);
- grp_memo.visible = false;
- }
- function grp_memo_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_memo.visible = false;
- }
- function fprememo()
- {
- ds_req.setColumn(0, "instcd", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "instcd"));
- ds_req.setColumn(0, "pid", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "pid"));
- ds_req.setColumn(0, "patnm", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "patnm"));
-
- var oParam = {};
- oParam.id = "TXRTW00002";
- oParam.service = "rrtapp.RrtMngt";
- oParam.method = "reqGetRRTMemo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_memo=rrtmemo";
- oParam.async = false;
- //oParam.callback = "cf_TXRTW00001";
- tranf_submit(oParam);
-
- grp_memolist.visible = true;
- }
- function grp_memolist_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_memolist.visible = false;
- }
- function grp_sea_rdo_gubun_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- grp_sea.chk_ward.setCheckAll(false);
- fInitialize();
- }
- function chk_resp_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if (obj.value == true ) {
- ds_main_mrrtlist.filter("resp_score != '888'");
- } else {
- ds_main_mrrtlist.filter("");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|