123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE02301" position="absolute 0 0 1210 790" titletext="심폐소생술 및 파랑새발령 보고조회" oninit="SMMNE02301_oninit" onload="SMMNE02301_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1200 90" align="align:center top;" id="group3" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 1132 22 1188 44" id="btn_search" class="btn1" text="조회" onclick="group3_btn_search_onclick"/>
- <Static text="발생일자 :" position="absolute 8 11 89 28" id="caption3" class="search_name"/>
- <Static text="대상자구분 :" position="absolute 326 11 421 28" id="caption4" class="search_name"/>
- <Combo position="absolute 86 35 295 54" align="align:left middle;" id="cmb_orddeptcd" innerdataset="@ds_init_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Calendar position="absolute 86 10 174 29" align="align:center middle;" id="ipt_cardarrgenrfromdd" mask="yyyy-mm-dd" autoselect="true"/>
- <Static text="진 료 과 :" position="absolute 8 36 88 53" id="caption1" class="search_name"/>
- <Shape position="absolute 1115 11 1121 57" linetype="vertical" id="line30" class="line_4"/>
- <Static text="병 동 :" position="absolute 325 36 420 53" id="caption5" class="search_name"/>
- <Static text="심정지 여부 :" position="absolute 588 36 683 53" id="caption7" class="search_name"/>
- <Static text="파랑새 발령 호출여부 :" position="absolute 828 36 983 53" id="caption8" class="search_name"/>
- <Combo position="absolute 418 35 558 54" align="align:left middle;" id="cmb_wardcd" innerdataset="@ds_init_ward" datacolumn="wardnm" codecolumn="wardcd"/>
- <Radio position="absolute 680 35 800 55" align="align:left middle;" id="rdo_cardarryn" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" style="textpadding:0 5 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 979 35 1103 55" align="align:left middle;" id="rdo_bluebirdalarmyn" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" style="textpadding:0 5 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar position="absolute 193 10 281 29" align="align:center middle;" id="ipt_cardarrgenrtodd" mask="yyyy-mm-dd" autoselect="true"/>
- <Static text="~" position="absolute 179 8 194 33" id="caption2"/>
- <Combo position="absolute 418 10 558 29" align="align:left middle;" id="rdo_patinfoflag" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">입원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">외래 내원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">응급실 내원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">보호자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">방문객</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="등 록 번 호 :" position="absolute 588 11 678 28" id="caption10" class="search_name"/>
- <Edit position="absolute 680 10 795 29" id="ipt_pid" class="input_default" taborder="1" autoselect="true"/>
- <Edit position="absolute 902 10 1015 29" id="int_patnm" class="input_default" taborder="2" autoselect="true"/>
- <Static text="환 자 명 :" position="absolute 828 11 903 28" id="caption11" class="search_name"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 105 1200 782" id="grd_resusreclist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_resusrec_resusreclist" oncelldblclick="grd_resusreclist_oncelldblclick" cellsizingtype="col" cellsizebandtype="allband" scrollpixel="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="130" band="left"/>
- <Column size="85" band="left"/>
- <Column size="76" band="left"/>
- <Column size="84" band="left"/>
- <Column size="36" band="left"/>
- <Column size="37"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="150"/>
- <Column size="120"/>
- <Column size="52"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="120"/>
- <Column size="156"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="135"/>
- <Column size="121"/>
- <Column size="81"/>
- <Column size="79"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="발생일자"/>
- <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="목격여부"/>
- <Cell col="20" text="발견자"/>
- <Cell col="21" text="발견장소"/>
- <Cell col="22" text="담당의 호출시간"/>
- <Cell col="23" text="담당의 도착시간"/>
- <Cell col="24" text="소생술 시작시간"/>
- <Cell col="25" text="소생술 종료시간"/>
- <Cell col="26" text="소생술 결과"/>
- <Cell col="27" text="보고일"/>
- <Cell col="28" text="보고부서"/>
- <Cell col="29" text="보고자"/>
- <Cell col="30" text="부서장확인"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:cardarrgenrdt" mask="expr:utlf_isNull(cardarrgenrdt) ? '' : '####-##-## ##:##'"/>
- <Cell col="2" text="bind:patinfoflagtext"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:pidtext"/>
- <Cell col="5" text="bind:gender"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" text="bind:indd" mask="yyyy-mm-dd"/>
- <Cell col="8" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:atdoctnm"/>
- <Cell col="10" text="bind:medispclnm"/>
- <Cell col="11" style="align:left;" text="bind:diagnm"/>
- <Cell col="12" text="bind:patstatus"/>
- <Cell col="13" text="bind:cardarryn"/>
- <Cell col="14" text="bind:cardarrfinddd" mask="expr:utlf_isNull(cardarrfinddd) ? '' : '####-##-## ##:##'"/>
- <Cell col="15" text="bind:cardarrestmdd" mask="expr:utlf_isNull(cardarrestmdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="16" text="bind:bluebirdalarmyn"/>
- <Cell col="17" text="bind:bluebirdalarmdd" mask="expr:utlf_isNull(bluebirdalarmdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="18" text="bind:resusteamarvdd" mask="expr:utlf_isNull(resusteamarvdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="19" style="align:left;" text="bind:cardarrgoalyn"/>
- <Cell col="20" style="align:left;" text="bind:cardarrdiscvpsn"/>
- <Cell col="21" style="align:left;" text="bind:cardarrgenrplce"/>
- <Cell col="22" text="bind:atdoctcalldd" mask="expr:utlf_isNull(atdoctcalldd) ? '' : '####-##-## ##:##'"/>
- <Cell col="23" text="bind:atdoctarrdd" mask="expr:utlf_isNull(atdoctarrdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="24" text="bind:resusfromdd" mask="expr:utlf_isNull(resusfromdd) ? '' : '####-##-## ##:##'"/>
- <Cell col="25" text="bind:resustodd" mask="expr:utlf_isNull(resustodd) ? '' : '####-##-## ##:##'"/>
- <Cell col="26" displaytype="combo" text="bind:cardarrrslt" combodataset="ds_cardarrrslt" combocodecol="code" combodatacol="value"/>
- <Cell col="27" text="bind:reportdate" mask="expr:utlf_isNull(reportdate) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="28" text="bind:reportdeptnm"/>
- <Cell col="29" text="bind:reporternm"/>
- <Cell col="30" text="bind:lastupdnm"/>
- <Cell col="31" text="bind:instcd"/>
- <Cell col="32" text="bind:pid"/>
- <Cell col="33" text="bind:patinfoflag"/>
- <Cell col="34" text="bind:reportdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 100 1200 106" linetype="horizontal" id="line1" class="line_10"/>
- <Div position="absolute 0 0 1200 25" id="grp_buttons">
- <Layouts>
- <Layout>
- <Static text="심폐소생술 및 파랑새발령 보고조회" position="absolute 0 0 245 25" id="caption6" class="tit_1"/>
- <Button position="absolute 1141 2 1197 24" id="btn_excel" class="btn7" text="엑셀" onclick="grp_buttons_btn_excel_onclick"/>
- <Static position="absolute 945 3 1130 23" align="align:right middle;" id="cpt_text" style="color:#0000ffff;align:right middle;font:Dotum,9,bold;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnid" type="STRING" size="256" sumtext="세팅간호사ID"/>
- <Column id="settingrnnm" type="STRING" size="256" sumtext="세팅간호사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="원외원내분류"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="patinfoflag" type="STRING" size="256" sumtext="대상자구분"/>
- <Column id="cardarryn" type="STRING" size="256" sumtext="심정지여부"/>
- <Column id="bluebirdalarmyn" type="STRING" size="256" sumtext="파랑새호출여부"/>
- <Column id="cardarrgenrfromdd" type="STRING" size="256" sumtext="발생일시"/>
- <Column id="cardarrgenrtodd" type="STRING" size="256" sumtext="발생일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_resusrec_resusreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="pidtext" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="gender" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="진료의"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의id"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="wardcdnm" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="입원구분"/>
- <Column id="cardarrgenrdt" type="STRING" size="256" sumtext="심정지 발생일시"/>
- <Column id="patinfoflag" type="STRING" size="256" sumtext="대상자구분"/>
- <Column id="patinfoflagtext" type="STRING" size="256" sumtext="대상자구분"/>
- <Column id="patinfoflagetc" type="STRING" size="256" sumtext="대상자구분기타"/>
- <Column id="resusteamorddept" type="STRING" size="256" sumtext="심폐소생팀/응급처치 진료과"/>
- <Column id="resusteamorddr" type="STRING" size="256" sumtext="심폐소생팀/응급처치 진료의"/>
- <Column id="patstatus" type="STRING" size="256" sumtext="환자상태"/>
- <Column id="patstatusetc" type="STRING" size="256" sumtext="환자상태기타"/>
- <Column id="cardarryn" type="STRING" size="256" sumtext="심정지 여부"/>
- <Column id="cardarrfinddd" type="STRING" size="256" sumtext="심정지 발견일자"/>
- <Column id="cardarrfindtm" type="STRING" size="256" sumtext="심정지 발견시간"/>
- <Column id="cardarrestmdd" type="STRING" size="256" sumtext="심정지 추정일자"/>
- <Column id="cardarrestmtm" type="STRING" size="256" sumtext="심정지 추정시간"/>
- <Column id="bluebirdalarmyn" type="STRING" size="256" sumtext="파랑새 발령 호출여부"/>
- <Column id="bluebirdalarmdd" type="STRING" size="256" sumtext="파랑새 발령 호출일자"/>
- <Column id="bluebirdalarmtm" type="STRING" size="256" sumtext="파랑새 발령 호출시간"/>
- <Column id="resusteamarvdd" type="STRING" size="256" sumtext="소생팀 도착일자"/>
- <Column id="resusteamarvtm" type="STRING" size="256" sumtext="소생팀 도착시간"/>
- <Column id="cardarrgoalyn" type="STRING" size="256" sumtext="심정지목격여부"/>
- <Column id="cardarrdiscvpsn" type="STRING" size="256" sumtext="심정지발견자"/>
- <Column id="cardarrdiscvpsnetc" type="STRING" size="256" sumtext="심정지발견자-기타"/>
- <Column id="cardarrgenrplce" type="STRING" size="256" sumtext="심정지발생장소"/>
- <Column id="cardarrgenrplcedept" type="STRING" size="256" sumtext="심정지발생장소부서"/>
- <Column id="cardarrgenrplceetc" type="STRING" size="256" sumtext="심정지발생장소기타"/>
- <Column id="cardarrgenrplceflag" type="STRING" size="256" sumtext="심정지발생장소구분"/>
- <Column id="cardarrgenrplcehosin" type="STRING" size="256" sumtext="심정지발생장소 외래/센터진료실"/>
- <Column id="cardarrgenrplcehosout" type="STRING" size="256" sumtext="심정지발생장소 원외"/>
- <Column id="cardarrgenrplcetestroom" type="STRING" size="256" sumtext="심정지발생장소 검사실"/>
- <Column id="cardarrgenrplceward" type="STRING" size="256" sumtext="심정지발생장소 병동"/>
- <Column id="cardarrgenrplcewardflag" type="STRING" size="256" sumtext="심정지발생장소 병동구분"/>
- <Column id="atdoctcalldd" type="STRING" size="256" sumtext="담당의(주치의) 호출일자"/>
- <Column id="atdoctcalltm" type="STRING" size="256" sumtext="담당의(주치의) 호출시간"/>
- <Column id="atdoctarrdd" type="STRING" size="256" sumtext="담당의(주치의) 도착일자"/>
- <Column id="atdoctarrtm" type="STRING" size="256" sumtext="담당의(주치의) 도착시간"/>
- <Column id="resusfromdd" type="STRING" size="256" sumtext="소생술 시작일자"/>
- <Column id="resusfromtm" type="STRING" size="256" sumtext="소생술 시작시간"/>
- <Column id="resustodd" type="STRING" size="256" sumtext="소생술 종료일자"/>
- <Column id="reporterid" type="STRING" size="256" sumtext="보고자ID"/>
- <Column id="reporternm" type="STRING" size="256" sumtext="보고자명"/>
- <Column id="reportdate" type="STRING" size="256" sumtext="보고일자"/>
- <Column id="reportdeptcd" type="STRING" size="256" sumtext="보고부서코드"/>
- <Column id="reportdeptnm" type="STRING" size="256" sumtext="보고부서명"/>
- <Column id="cardarrrslt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cardarrrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">05</Col>
- <Col id="value">자발순환회복</Col>
- </Row>
- <Row>
- <Col id="value">자발순환회복못함(사망)</Col>
- <Col id="code">01</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.ipt_cardarrgenrfromdd" propid="value" datasetid="ds_send_reqdata" columnid="cardarrgenrfromdd"/>
- <BindItem id="item1" compid="group3.ipt_cardarrgenrtodd" propid="value" datasetid="ds_send_reqdata" columnid="cardarrgenrtodd"/>
- <BindItem id="item2" compid="group3.cmb_orddeptcd" propid="value" datasetid="ds_send_reqdata" columnid="orddeptcd"/>
- <BindItem id="item3" compid="group3.rdo_patinfoflag" propid="value" datasetid="ds_send_reqdata" columnid="patinfoflag"/>
- <BindItem id="item4" compid="group3.cmb_wardcd" propid="value" datasetid="ds_send_reqdata" columnid="wardcd"/>
- <BindItem id="item5" compid="group3.ipt_pid" propid="value" datasetid="ds_send_reqdata" columnid="pid"/>
- <BindItem id="item6" compid="group3.rdo_cardarryn" propid="value" datasetid="ds_send_reqdata" columnid="cardarryn"/>
- <BindItem id="item7" compid="group3.int_patnm" propid="value" datasetid="ds_send_reqdata" columnid="patnm"/>
- <BindItem id="item8" compid="group3.rdo_bluebirdalarmyn" propid="value" datasetid="ds_send_reqdata" columnid="bluebirdalarmyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_ercarexp -> SMMNE02301
- * Creator : yjh
- * Make Date : 2017-01-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-01-20 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fIni(){
- ds_send_srch.setColumn(0, "wardcd", sysf_getUserInfo("dutplcecd"));
- ds_send_reqdata.setColumn(0, "cardarrgenrfromdd" , utlf_getCurrentDate());
- ds_send_reqdata.setColumn(0, "cardarrgenrtodd" , utlf_getCurrentDate());
-
- var oParam = {};
- oParam.id = "TRMNW00101";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetWMInitData";
- oParam.inds = "reqcond=ds_send_srch";
- oParam.outds = "ds_init_ward=ward ds_init_dept=dept ds_init_settingrn=settingrn";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00101";
- tranf_submit(oParam);
-
- }
- function fSearch(){
- //fSrchCondition();
-
- var oParam = {};
- oParam.id = "TRMNE02309";
- oParam.service = "ercareapp.ERRec";
- oParam.method = "reqGetBlueResusRecList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_resusrec_resusreclist=resusreclist";
- oParam.async = false;
- oParam.callback = "cf_TRMNE02309";
- tranf_submit(oParam);
-
- ds_main_resusrec_resusreclist.rowposition = -1;
-
- if(arErrorCode.pop("TRMNE02309") > -1){
- var cnt = ds_main_resusrec_resusreclist.rowcount;
- if( cnt > 0 ){
- grp_buttons.cpt_text.text = "( " + cnt + " 건 )";
- }else{
- grp_buttons.cpt_text.text = "";
- }
- }
- }
- function cf_TRMNE02309(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fSrchCondition(){
- // 조회 조건이 하나도 없을 경우 ( 전체이거나 ) Check
- if( model.getValue("/root/send/reqdata/cardarrgenrdd") == "" &&
- model.getValue("/root/send/reqdata/orddeptcd") == "" &&
- model.getValue("/root/send/reqdata/wardcd") == "" &&
- model.getValue("/root/send/reqdata/patinfoflag") == "" &&
- model.getValue("/root/send/reqdata/cardarryn") == "" &&
- model.getValue("/root/send/reqdata/pid") == "" &&
- model.getValue("/root/send/reqdata/patnm") == "" &&
- model.getValue("/root/send/reqdata/bluebirdalarmyn") == "" ) {
-
- messageBox("조회조건을 하나이상 입력해주세요.","E999");
- return;
- }
-
- }
- // 파랑새발령/심폐소생술 보고서 화면 연동
- function fDetail() {
- var selectedRow = grd_resusreclist.currentrow;
-
- if (selectedRow < 0) {
- return;
- }else{
- var pid = ds_main_resusrec_resusreclist.getColumn(selectedRow, "pid");
- var patnm = ds_main_resusrec_resusreclist.getColumn(selectedRow, "patnm");
- var patinfoflag = ds_main_resusrec_resusreclist.getColumn(selectedRow, "patinfoflag");
- var cardarrgenrdt = ds_main_resusrec_resusreclist.getColumn(selectedRow, "cardarrgenrdt");
-
- frmf_setParameter("SMMNE02301_openerid" , "SMMNE02301" );
- frmf_setParameter("SMMNE02301_pid" , pid );
- frmf_setParameter("SMMNE02301_patnm" , patnm );
- frmf_setParameter("SMMNE02301_patinfoflag" , patinfoflag );
- frmf_setParameter("SMMNE02301_cardarrgenrdt" , cardarrgenrdt );
-
- frmf_modal("SMMNE02302","SMMNE02302",null,"","","","","","","","","","M");
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNE02301
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNE02301_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNE02301
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNE02301_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_resusreclist);
-
- ds_send_reqdata.setColumn(0, "patinfoflag", "");
- ds_send_reqdata.setColumn(0, "cardarryn", "");
- ds_send_reqdata.setColumn(0, "bluebirdalarmyn", "");
-
- fIni();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_resusreclist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function grd_resusreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fDetail();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function grp_buttons_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_resusrec_resusreclist.rowcount > 0 ){
- grdf_exportExcel(grd_resusreclist, "과제리스트", "과제리스트1", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|