123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMC01300" position="absolute 0 0 1196 800" titletext="특이환자관리" oninit="SMPMC01300_oninit" onload="SMPMC01300_onload">
- <Layouts>
- <Layout>
- <Div id="group3" taborder="0" position="absolute 0 27 1195 771">
- <Layouts>
- <Layout>
- <Shape id="line5" linetype="vertical" class="line_2" position="absolute 0 146 1194 152" visible="false" anchor="default"/>
- <Shape id="line4" linetype="vertical" class="line_2" position="absolute 0 122 1194 128" visible="false" anchor="default"/>
- <Shape id="line3" linetype="vertical" class="line_2" position="absolute 0 98 1194 104" visible="false" anchor="default"/>
- <Shape id="line2" linetype="vertical" class="line_2" position="absolute 0 74 1194 80" visible="false" anchor="default"/>
- <Shape id="line6" linetype="vertical" class="line_2" position="absolute 0 50 1194 56" visible="false" anchor="default"/>
- <Static id="caption1" text="전표등록" class="tit_2" position="absolute 5 5 100 21" visible="false" anchor="default"/>
- <Shape id="line1" linetype="vertical" class="line_1" position="absolute 0 17 1194 23" visible="false" anchor="default"/>
- <Static id="caption7" text="약품코드" class="cell_1" position="absolute 0 25 100 48" visible="false" anchor="default"/>
- <Static id="caption8" text="전표종류" class="cell_1" position="absolute 428 25 528 48" visible="false" anchor="default"/>
- <Button id="button12" taborder="1" text="임시저장" class="btn2" position="absolute 1085 0 1149 22" visible="false" anchor="default"/>
- <Button id="button13" taborder="2" text="삭제" class="btn2" position="absolute 1152 0 1194 22" visible="false" anchor="default"/>
- <Radio id="radio1" taborder="3" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 103 28 147 44" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">radio1</Col>
- <Col id="datacolumn">대체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radio2" taborder="4" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 203 28 247 44" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">radio1</Col>
- <Col id="datacolumn">입금</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radio3" taborder="5" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 303 28 347 44" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">radio1</Col>
- <Col id="datacolumn">출금</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="combo1" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 531 26 853 45" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">combo1</Col>
- <Col id="datacolumn">combo1</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption3" text="사용부서" class="cell_1" position="absolute 0 49 100 72" visible="false" anchor="default"/>
- <Static id="caption5" text="작성자" class="cell_1" position="absolute 428 49 528 72" visible="false" anchor="default"/>
- <Edit id="input1" taborder="7" class="input_essential" position="absolute 103 50 203 69" visible="false" anchor="default"/>
- <Button id="button2" taborder="8" class="icon_search" position="absolute 206 51 222 67" visible="false" anchor="default"/>
- <Edit id="input2" taborder="9" class="input_default" position="absolute 225 50 425 69" visible="false" anchor="default"/>
- <Button id="button3" taborder="10" class="icon_search" position="absolute 634 51 650 67" visible="false" anchor="default"/>
- <Edit id="input3" taborder="11" class="input_essential" position="absolute 531 50 631 69" visible="false" anchor="default"/>
- <Edit id="input4" taborder="12" class="input_default" position="absolute 653 50 853 69" visible="false" anchor="default"/>
- <Radio id="radio4" taborder="13" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 103 76 147 92" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">radio1</Col>
- <Col id="datacolumn">차변</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radio5" taborder="14" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 203 76 247 92" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">radio1</Col>
- <Col id="datacolumn">대변</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption9" text="차대구분" class="cell_1" position="absolute 0 73 100 96" visible="false" anchor="default"/>
- <Static id="caption10" text="계정코드" class="cell_1" position="absolute 428 73 528 96" visible="false" anchor="default"/>
- <Button id="button6" taborder="15" class="icon_search" position="absolute 634 75 650 91" visible="false" anchor="default"/>
- <Edit id="input5" taborder="16" class="input_essential" position="absolute 531 74 631 93" visible="false" anchor="default"/>
- <Edit id="input6" taborder="17" class="input_default" position="absolute 653 74 853 93" visible="false" anchor="default"/>
- <Button id="button7" taborder="18" class="icon_search" position="absolute 408 99 424 115" visible="false" anchor="default"/>
- <Static id="caption11" text="상대처구분" class="cell_1" position="absolute 0 97 100 120" visible="false" anchor="default"/>
- <Edit id="input7" taborder="19" class="input_essential" position="absolute 256 98 405 117" visible="false" anchor="default"/>
- <Edit id="input8" taborder="20" class="input_default" position="absolute 427 98 853 117" visible="false" anchor="default"/>
- <Static id="caption12" class="cell_1" position="absolute 856 73 956 96" visible="false" anchor="default"/>
- <Static id="caption13" class="cell_1" position="absolute 856 49 956 72" visible="false" anchor="default"/>
- <Static id="caption14" text="금액" class="cell_1" position="absolute 856 25 956 48" visible="false" anchor="default"/>
- <Edit id="input9" taborder="21" class="input_default" position="absolute 959 50 1194 69" visible="false" anchor="default"/>
- <Edit id="input10" taborder="22" class="input_default" position="absolute 959 26 1194 45" visible="false" anchor="default"/>
- <Edit id="input11" taborder="23" class="input_default" position="absolute 959 74 1194 93" visible="false" anchor="default"/>
- <Combo id="combo2" taborder="24" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 103 98 253 117" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">combo1</Col>
- <Col id="datacolumn">combo1</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption15" class="cell_1" position="absolute 856 97 956 120" visible="false" anchor="default"/>
- <Edit id="input12" taborder="25" class="input_default" position="absolute 103 122 424 141" visible="false" anchor="default"/>
- <Static id="caption16" text="적요" class="cell_1" position="absolute 0 121 100 144" visible="false" anchor="default"/>
- <Static id="caption17" text="증빙구분" class="cell_1" position="absolute 856 121 956 144" visible="false" anchor="default"/>
- <Edit id="input13" taborder="26" class="input_default" position="absolute 959 98 1194 117" visible="false" anchor="default"/>
- <Button id="button15" taborder="27" class="icon_search" position="absolute 634 123 650 139" visible="false" anchor="default"/>
- <Static id="caption18" text="계좌번호" class="cell_1" position="absolute 428 121 528 144" visible="false" anchor="default"/>
- <Edit id="input15" taborder="28" class="input_default" position="absolute 531 122 631 141" visible="false" anchor="default"/>
- <Edit id="input16" taborder="29" class="input_default" position="absolute 653 122 853 141" visible="false" anchor="default"/>
- <Static id="caption19" text="기재사항" class="cell_1" position="absolute 0 145 100 192" visible="false" anchor="default"/>
- <TextArea id="textarea1" taborder="30" position="absolute 103 146 853 189" visible="false" anchor="default"/>
- <Static id="caption20" text="전표 등록내역" class="tit_2" position="absolute 5 3 109 19" visible="false" anchor="default"/>
- <Shape id="line8" linetype="vertical" class="line_1" position="absolute 0 191 1194 197" visible="false" anchor="default"/>
- <Calendar id="output3" taborder="31" class="input_default" position="absolute 959 170 1194 189" visible="false" anchor="default"/>
- <Grid id="datagrid1" taborder="32" useinputpanel="false" position="absolute 0 258 1194 683" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="48"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="154"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="연번"/>
- <Cell col="2" text="계정명"/>
- <Cell col="3" text="상대처"/>
- <Cell col="4" text="기재사항1"/>
- <Cell col="5" text="기재사항2"/>
- <Cell col="6" text="기재사항3"/>
- <Cell col="7" text="기재사항4"/>
- <Cell col="8" text="적요"/>
- <Cell col="9" text="증빙"/>
- <Cell col="10" text="차변금액"/>
- <Cell col="11" text="대변금액"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo id="combo3" taborder="33" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 959 122 1194 141" visible="false" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">combo1</Col>
- <Col id="datacolumn">combo1</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="input14" taborder="34" class="input_default" position="absolute 958 689 1074 708" anchor="default"/>
- <Static id="caption24" text="금액합계" class="cell_1" position="absolute 855 688 955 711" anchor="default"/>
- <Shape id="line9" class="line_3" position="absolute 855 707 1194 713" anchor="default"/>
- <Shape id="line10" class="line_3" position="absolute 855 685 1194 691" anchor="default"/>
- <Edit id="input17" taborder="35" readonly="true" position="absolute 1077 689 1194 708" anchor="default"/>
- <Shape id="roundrect2" type="roundrectangle" position="absolute 0 686 305 716" anchor="default"/>
- <Static id="caption25" text="범 례" class="cell_2" position="absolute 5 691 75 711" anchor="default"/>
- <Static id="caption26" class="color_1" position="absolute 95 693 110 708" anchor="default"/>
- <Static id="caption27" text="차대구분" position="absolute 113 694 163 708" anchor="default"/>
- <Static id="caption30" class="color_3" position="absolute 180 692 195 707" anchor="default"/>
- <Static id="caption31" text="차변" position="absolute 198 693 224 707" anchor="default"/>
- <Static id="caption32" class="color_4" position="absolute 245 692 260 707" anchor="default"/>
- <Static id="caption33" text="대변" position="absolute 263 693 289 707" anchor="default"/>
- <Shape id="line11" linetype="vertical" class="line_2" position="absolute 856 170 1194 176" visible="false" anchor="default"/>
- <Static id="caption29" text="전표승인일자" class="cell_1" position="absolute 856 169 956 192" visible="false" anchor="default"/>
- <Shape id="line7" linetype="vertical" class="line_3" position="absolute 0 188 1194 194" visible="false" anchor="default"/>
- <Static id="caption28" text="승인정보" class="cell_1" position="absolute 856 145 956 168" visible="false" anchor="default"/>
- <Edit id="output4" taborder="36" readonly="true" position="absolute 959 146 1194 165" visible="false" anchor="default"/>
- <Static id="caption2" position="absolute 165 218 181 233" style="background:#ff00ffff;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="특이환자관리" class="tit_1" position="absolute 0 0 120 25"/>
- <Static id="caption4" class="patient_text_black" position="absolute 8 11 8 11"/>
- <Grid id="datagrid2" taborder="2" binddataset="ds_main_spcfpat_spcfpatlist" useinputpanel="false" cellsizingtype="both" position="absolute 0 265 1194 765" autosizingtype="row" extendsizetype="row" autoenter="select" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="86"/>
- <Column size="90"/>
- <Column size="119"/>
- <Column size="708"/>
- <Column size="64"/>
- <Column size="80"/>
- <Column size="105"/>
- <Column size="80"/>
- <Column size="103"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="25"/>
- </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="진료(Y/N)"/>
- <Cell col="8" text="최초등록자"/>
- <Cell col="9" text="최초등록일자"/>
- <Cell col="10" text="최종수정자"/>
- <Cell col="11" text="최종수정일시"/>
- <Cell col="12" text="seqno"/>
- <Cell col="13" text="환자번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:workflag" combodataset="ds_workflag" combocodecol="workflagcode" combodatacol="workflagdata"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:left top;padding:5 2 0 2;" text="bind:opengrde" wordwrap="char" combodataset="ds_init_P0314list_P0314" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="date" edittype="date" style="align:center middle;" text="bind:fromdd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="date" edittype="date" style="align:center middle;" text="bind:todd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="5" displaytype="text" edittype="textarea" style="align:left top;padding:5 2 0 2;" text="bind:endresn" wordwrap="char" editimemode="hangul" editautoselect="true" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" edittype="textarea" style="align:left top;padding:5 2 0 2;" text="bind:acptresn" wordwrap="char" editimemode="hangul" editautoselect="true"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:ordpossyn" editimemode="none" combodataset="ds_ordpossyn" combocodecol="ordpossyncode" combodatacol="ordpossyndata"/>
- <Cell col="8" style="align:center middle;" text="bind:fstrgstrid"/>
- <Cell col="9" style="align:center middle;" text="bind:fstrgstdt" mask="expr:!utlf_isNull(fstrgstdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="10" style="align:center middle;" text="bind:lastupdtrid"/>
- <Cell col="11" text="bind:lastupdtdt" mask="expr:!utlf_isNull(lastupdtdt) ? '####-##-## ##:##' : ''"/>
- <Cell col="12" text="bind:seqno"/>
- <Cell col="13" text="bind:pid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption46" text="환자특이내역 리스트" class="tit_2" position="absolute 0 244 143 260"/>
- <Shape id="rectangle1" type="rectangle" position="absolute 169 201 186 218" style="fillbrush:solid #ff00ffff true;background:#ff00ffff;border:0 none #ffffffff ;color:#262626ff;" visible="false"/>
- <Static id="caption2" text="※ 메르스 접촉자입니다." position="absolute 187 243 513 263"/>
- <Shape id="line18" class="line_10" position="absolute 0 260 1194 266" anchor="left top right"/>
- <Button id="button8" taborder="3" text="행추가" onclick="group2_group6_button8_onclick" class="btn2" position="absolute 1037 238 1090 260" visible="true" anchor="top right"/>
- <Button id="button14" taborder="4" text="행삭제" onclick="group2_group6_button14_onclick" class="btn2" position="absolute 1093 238 1146 260" visible="true" anchor="top right"/>
- <Button id="button4" taborder="5" text="저장" onclick="group2_group6_button4_onclick" class="btn5" position="absolute 1149 238 1194 260" visible="true" anchor="top right"/>
- <Button id="button10" taborder="6" text="초기화" onclick="group4_button10_onclick" class="btn4" position="absolute 1126 771 1194 793" anchor="right bottom"/>
- <Shape id="line32" class="line_6" position="absolute 0 764 1194 770" anchor="left right bottom"/>
- <Div id="import1" taborder="7" url="pam_patinfomngtxp::SSPMC00100_인적사항.xfdl" style="background:transparent;" position="absolute 0 29 1195 240" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_spcfpat_spcfpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="result" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <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"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_updatedata_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0314list_P0314" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_workflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workflagcode" type="STRING" size="256"/>
- <Column id="workflagdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="workflagcode">1</Col>
- <Col id="workflagdata">특이사항</Col>
- </Row>
- <Row>
- <Col id="workflagcode">2</Col>
- <Col id="workflagdata">메르스</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_ordpossyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordpossyncode" type="STRING" size="256"/>
- <Column id="ordpossyndata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ordpossyndata">진료가능</Col>
- <Col id="ordpossyncode">Y</Col>
- </Row>
- <Row>
- <Col id="ordpossyndata">진료불가</Col>
- <Col id="ordpossyncode">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function cf_TXPMC01300(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- utlf_addLog("***** cf_TXPMC01300 *****");
- }
- /*SMPMC01300_oninit*/
- function SMPMC01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /*SMPMC01300 ad*/
- function SMPMC01300_onload(obj:Form, e:LoadEventInfo)
- {
- try{
- import1.ds_source.copyData(arg_ds_source);
-
- }catch(e){
- sysf_catchTrace(e);
- }
- grdf_setRowTypeIcon(datagrid2, 0);
- var arrParam = [{dsNm: "ds_init_P0314list_P0314", cdGrpId: "P0314"}]
- appf_getCodeList(arrParam, true);
-
- //초기화 및 날자 입력 항목에 오늘 날자 세팅
- fInitialize();
-
- //2008-09-04 LEEDS
- //원목팀에서 화면을 호출할경우 조회만 가능하도록 저장/삭제 버튼 비활성화
- var parm = frmf_getMenuParam();
- if( parm == '4050400000' ){
- button8.visible = false;
- button14.visible = false;
- button4.visible = false;
- }
-
- // 인적사항 호출을 위한 수정 부분 kimdo3, 2016-08-11
- // 하위의 import1에서 호출되는 Form의 Dataset으로 값을 처리하는 것이 load event에있는 경우 잘 안됨.
- // 그래서 import1의 하위 컨트롤에 값을 부여하고, import1의 Function을 호출하여 해결함.
- // var pid = opener.frmf_getParameter("pid");
- // if( !utlf_isNull(pid) ){
- // import1.group5.ipt_pid.value = pid;
- // import1.fSearchPatInfo();
- // }
-
- var pid = "";
-
- try {
- pid = utlf_transNullToEmpty(arg_ds_source.getColumn(0, 'pid'));
- } catch(e) { }
-
- if (pid != "") {
- import1.ds_main_patinfo_patinfolist.setColumn(0, 'pid', pid);
- }
-
- import1.group5.ipt_pid.setFocus();
- }
- //특이내역 내역 검색
- function fSearch(){
-
- if( import1.ds_main.getColumn(0, "popupendflag")== "ok" ){
- var pid = import1.ds_main_patinfo_patinfolist.getColumn(0, "pid");
- if( utlf_isNull(pid) ){
- sysf_messageBox("환자번호가 정확히 입력되지", "E007");
- return false;
- }
- ds_send.setColumn(0, "pid", pid);
-
- dsf_createDs("ds_main_spcfpat_spcfpatlist");
-
- var oParam = {};
- oParam.id = "TRPMC01300";
- oParam.service = "patinfomngtapp.SpcfPat";
- oParam.method = "reqGetSpcfPat";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_spcfpat_spcfpatlist=spcfpatlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- if( !utlf_isNull(ds_main_spcfpat_spcfpatlist.getColumnInfo("seqno")) ){
- dsf_setTypeFormat(ds_main_spcfpat_spcfpatlist, "seqno:INT");
- }
-
- ds_main_spcfpat_spcfpatlist.rowposition = -1;
-
- grdf_initGridStyle(datagrid2)
-
- // 메르스 환자 배경표시
- var sExprColor = "EXPR(";
- for(var i = 0 ; i < ds_main_spcfpat_spcfpatlist.rowcount; i++) {
- if(datagrid2.getCellValue(i, datagrid2.getBindCellIndex("body","workflag") ) == "2") {
- sExprColor += "currow == "+i+" ? '#ff00ff' : "; //빨강
- }
- }
- sExprColor += "'')";
-
- for(var expnum = 1; expnum < datagrid2.getCellCount("Body"); expnum++){
- datagrid2.setCellProperty("Body", expnum, "background", sExprColor);
- datagrid2.setCellProperty("Body", expnum, "background2", sExprColor);
- }
-
- if(ds_main_spcfpat_spcfpatlist.rowcount < 1){
- fAddRow();
- }
- }
- }
- //특이내역 테이블에 한 행을 추가하고 숨긴 컬럼 값을 세팅한다.
- function fAddRow(){
-
- var pid = import1.ds_main_patinfo_patinfolist.getColumn(0, "pid");
- if( !utlf_isNull(pid) ){
- ds_main_spcfpat_spcfpatlist.addRow();
- ds_main_spcfpat_spcfpatlist.setColumn(ds_main_spcfpat_spcfpatlist.rowcount - 1, "pid", pid);
-
- var curDate = utlf_getCurrentDate();
- ds_main_spcfpat_spcfpatlist.setColumn(ds_main_spcfpat_spcfpatlist.rowcount - 1, "fromdd", curDate);
- ds_main_spcfpat_spcfpatlist.setColumn(ds_main_spcfpat_spcfpatlist.rowcount - 1, "todd", "99991231");
-
- return true;
- }else{
- sysf_messageBox("환자번호가 정확이 입력되지", "E007");
- return false;
- }
- }
- /*fInitialize*/
- function fInitialize() {
- ds_send.clearData();
- ds_send.addRow();
- //ds_main_spcfpat_spcfpatlist.clearData();
- }
- /*fAddRow*/
- function group2_group6_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow();
- }
- /*group2_group6_button14_onclick*/
- function group2_group6_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("선택된 행의 특이환자 내역를", "Q001") != 6) return;
-
- var cur_row = ds_main_spcfpat_spcfpatlist.rowposition;
- if( cur_row > -1 ){
- //디비에 저장되지 않은 데이타는 그냥 삭제한다.
- if (ds_main_spcfpat_spcfpatlist.getRowType(cur_row) == 2 ){
- ds_main_spcfpat_spcfpatlist.deleteRow(cur_row);
- return;
- }
- ds_main_spcfpat_spcfpatlist.updatecontrol = false;
- ds_main_spcfpat_spcfpatlist.enableevent = false;
- ds_main_spcfpat_spcfpatlist.setRowType(cur_row, 8);
- ds_main_spcfpat_spcfpatlist.enableevent = true;
- ds_main_spcfpat_spcfpatlist.updatecontrol = true;
-
- var updateData = grdf_getGridUpdateData(datagrid2);
- grdf_setStatusColumn(updateData, "status");
- dsf_createDs("ds_send_updatedata_datalist");
- ds_send_updatedata_datalist.copyData(updateData, true);
- var oParam = {};
- oParam.id = "TXPMC01300";
- oParam.service = "patinfomngtapp.SpcfPat";
- oParam.method = "reqExeSpcfPat";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.outds = "ds_main_spcfpat_spcfpatlist=spcfpatlist";
- oParam.async = false;
- oParam.callback = "cf_TXPMC01300";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXPMC01300") > -1){
- }else{
- if( ds_main_spcfpat_spcfpatlist.getRowType(cur_row) == 8 ){
- ds_main_spcfpat_spcfpatlist.updatecontrol = false;
- ds_main_spcfpat_spcfpatlist.enableevent = false;
-
- ds_main_spcfpat_spcfpatlist.setRowType(cur_row, 1);
-
- ds_main_spcfpat_spcfpatlist.enableevent = true;
- ds_main_spcfpat_spcfpatlist.updatecontrol = true;
- }
- }
- }
- }
- /*group2_group6_button4_onclick*/
- function group2_group6_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var updateData = grdf_getGridUpdateData(datagrid2);
- grdf_setStatusColumn(updateData, "status");
- dsf_createDs("ds_send_updatedata_datalist");
- ds_send_updatedata_datalist.copyData(updateData, true);
-
- if( utlf_isNull(import1.ds_main_patinfo_patinfolist.getColumn(0, "pid")) ){
- sysf_messageBox("환자번호를 ", "C001");
- return ;
- }else if( utlf_isNull(ds_main_spcfpat_spcfpatlist.getColumn(0, "opengrde")) ){
- sysf_messageBox("특이구분을 ", "C001");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXPMC01300";
- oParam.service = "patinfomngtapp.SpcfPat";
- oParam.method = "reqExeSpcfPat";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.outds = "ds_main_spcfpat_spcfpatlist=spcfpatlist";
- oParam.async = false;
- oParam.callback = "cf_TXPMC01300";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPMC01300") > -1){
- grdf_setStatus(datagrid2,""); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
-
- }
- /*group4_button10_onclick*/
- function group4_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- ds_send.clearData();
- ds_send.addRow();
- //model.resetInstanceNode("/root/main/desc"); -- 어디서 ? ?
- import1.ds_main_patinfo_patinfolist.clearData();
- import1.ds_main_patinfo_patinfolist.addRow();
- ds_main_spcfpat_spcfpatlist.clearData();
- ds_main_spcfpat_spcfpatlist.addRow;
- }]]></Script>
- </Form>
- </FDL>
|