123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA02700" position="absolute 0 0 1219 831" titletext="환자별Comment관리" oninit="model1_oninit" onload="SMAEA02700_onload">
- <Layouts>
- <Layout>
- <Static id="caption2" text="일자별메모" class="tit_2" position="absolute 0 346 147 366"/>
- <Grid id="grdAeahMemoList" taborder="3" binddataset="ds_grid_grdAeahMemoList" useinputpanel="false" position="absolute 0 363 1218 804" anchor="left top bottom" onclick="grdAeahMemoList_onclick" oncellclick="grdAeahMemoList_oncellclick" cellsizingtype="col" autosizingtype="none" extendsizetype="none" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="114"/>
- <Column size="101"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="362"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="메모일자"/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3"/>
- <Cell col="4" text="검사/치료실"/>
- <Cell col="5" text="메모내용"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:memorgstdd"/>
- <Cell col="1" style="align:center middle;" text="bind:pid"/>
- <Cell col="2" style="align:center middle;" text="bind:pnm"/>
- <Cell col="3" style="align:left middle;" text="bind:excuroomcd"/>
- <Cell col="4" style="align:center middle;" text="bind:excuroomnm"/>
- <Cell col="5" style="align:left middle;" text="bind:memodesc" wordwrap="word"/>
- <Cell col="6" style="align:center middle;"/>
- <Cell col="7" style="align:center middle;"/>
- <Cell col="8"/>
- <Cell col="9" style="align:center middle;"/>
- <Cell col="10"/>
- <Cell col="11"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="메모" class="tit_2" position="absolute 530 80 579 100"/>
- <Static id="caption14" text="일별현황" class="tit_2" position="absolute 0 81 72 101"/>
- <Div id="CalDiv" taborder="10" position="absolute 0 97 536 337">
- <Layouts>
- <Layout>
- <Grid id="grd_calendar" class="gridcalendar" taborder="24" binddataset="ds_grid_grd_calendar" useinputpanel="false" selecttype="cell" autofittype="col" position="absolute 0 31 527 236" onclick="grd_calendar_onclick" oncelldblclick="CalDiv_grd_calendar_oncelldblclick" oncellclick="CalDiv_grd_calendar_oncellclick" scrollbars="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="18"/>
- <Row size="18"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" style="color:crimson;color2:crimson;" class="color_sun" text="bind:sun" taborder="undefined"/>
- <Cell col="1" rowspan="2" style="color:EXPR(mon_holi==1?'crimson':'black');color2:EXPR(mon_holi==1?'crimson':'black');" text="bind:mon" taborder="undefined"/>
- <Cell col="2" rowspan="2" style="color:EXPR(tue_holi==1?'crimson':'black');color2:EXPR(tue_holi==1?'crimson':'black');" text="bind:tue" taborder="undefined"/>
- <Cell col="3" rowspan="2" style="color:EXPR(wed_holi==1?'crimson':'black');color2:EXPR(wed_holi==1?'crimson':'black');" text="bind:wed" taborder="undefined"/>
- <Cell col="4" rowspan="2" style="color:EXPR(thu_holi==1?'crimson':'black');color2:EXPR(thu_holi==1?'crimson':'black');" text="bind:thu" taborder="undefined"/>
- <Cell col="5" rowspan="2" style="color:EXPR(fri_holi==1?'crimson':'black');color2:EXPR(fri_holi==1?'crimson':'black');" text="bind:fri" taborder="undefined"/>
- <Cell col="6" rowspan="2" style="color:EXPR(sat_holi==1?'crimson':'blue');color2:EXPR(sat_holi==1?'crimson':'blue');" class="color_sat" text="bind:sat" taborder="undefined"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_calendar" taborder="25" class="div_SA" position="absolute 0 1 527 31"/>
- <Button id="btn_nextyear" taborder="26" onclick="clickCalButton" onlbuttonup="btn_nextyear_onlbuttonup" class="icon_next_year" position="absolute 339 8 355 28"/>
- <Button id="btn_nextmonth" taborder="27" onclick="clickCalButton" class="icon_next_month" position="absolute 321 8 337 28"/>
- <Static id="caption18" text="월" class="calendar_output" position="absolute 302 6 322 26" style="color:black;"/>
- <Edit id="opt_month" taborder="28" readonly="true" class="calendar_output" position="absolute 269 6 299 26" ontextchange="CalDiv_opt_month_ontextchange"/>
- <Static id="caption15" text="년" class="calendar_output" position="absolute 250 6 270 26" style="color:black;"/>
- <Edit id="opt_year" taborder="29" readonly="true" class="calendar_output" position="absolute 213 6 247 26"/>
- <Button id="btn_premonth" taborder="30" onclick="clickCalButton" onlbuttonup="btn_premonth_onlbuttonup" class="icon_pre_month" position="absolute 189 8 205 28"/>
- <Button id="btn_preyear" taborder="31" onclick="clickCalButton" class="icon_pre_year" position="absolute 171 8 187 28"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="roundrect1" anchor="left top right" taborder="11" applystyletype="apply" style="align:center top;transformation:0,0 ;" scrollbars="none" class="div_SA" position="absolute 0 25 1218 65">
- <Layouts>
- <Layout>
- <Static id="caption1" text="등록번호" class="search_name" position="absolute 10 259 84 279" anchor="default"/>
- <Edit id="ipt_pid" taborder="62" imemode="hangul" maxlength="10" class="input_search" position="absolute 739 9 847 29" onmouseleave="ipt_pid_onmouseleave" anchor="default"/>
- <Edit id="opt_pathngnm" taborder="63" readonly="true" class="output_fix" position="absolute 209 259 309 279" anchor="default"/>
- <Button id="button61" taborder="64" onclick="button61_onclick" onlbuttonup=""button61_onlbuttonup"" class="icon_search" position="absolute 184 259 204 279" anchor="default"/>
- <Static id="caption5" text="적용일자" class="search_name" position="absolute 333 259 407 279" anchor="default"/>
- <Calendar id="ipt_startrsrvdd" taborder="65" class="input_default" position="absolute 406 259 506 279" style="align:center middle;" anchor="default"/>
- <Combo id="cmbExcuRoom" taborder="66" innerdataset="@ds_init_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 391 10 577 30" onitemchanged="roundrect1_cmbExcuRoom_onitemchanged" anchor="default"/>
- <Static id="caption02" text="검사/치료실" class="search_name" position="absolute 298 10 410 30" anchor="default"/>
- <Button id="btnSearch" taborder="67" text="조회" onclick="btnSearch_onclick" class="btn1" position="absolute 1153 10 1209 30" anchor="top right"/>
- <Static id="caption4" text="~" position="absolute 157 10 177 30" style="align:center middle;" anchor="default"/>
- <Static id="caption3" text="일자" class="search_name" position="absolute 8 10 50 30" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="71" dateformat="yyyy-MM-dd" class="input_default" position="absolute 58 10 158 30" style="align:center middle;" anchor="default" autoselect="true" autoskip="true"/>
- <Calendar id="ipt_todd" taborder="72" dateformat="yyyy-MM-dd " class="input_default" position="absolute 174 10 274 30" style="align:center middle;" anchor="default" autoselect="true" autoskip="true"/>
- <Static id="caption00" text="등록번호" class="search_name" position="absolute 671 10 745 30" anchor="default"/>
- <Button id="btn_pidsearch" taborder="74" class="icon_search" position="absolute 850 9 870 29" anchor="default" onclick="roundrect1_btn_pidsearch_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="환자별Comment관리" class="tit_1" position="absolute 0 0 160 25"/>
- <Static id="Static07" onclick="Static07_onclick" class="sta_DA_box" position="absolute 528 97 1218 333" anchor="left top right"/>
- <Static id="caption11" text="메모내용" class="cell_1" position="absolute 530 200 630 332" style="align:center middle;"/>
- <TextArea id="tarMemo" taborder="12" imemode="hangul" position="absolute 633 200 1209 330"/>
- <Static id="caption12" text="메모등록일" class="cell_1" position="absolute 530 150 630 174" style="align:center middle;"/>
- <Static id="caption10" text="검사/치료실" class="cell_1" position="absolute 530 125 630 149" style="align:center middle;"/>
- <Static id="caption66" text="등록번호" class="cell_1" position="absolute 530 100 630 124" style="align:center middle;"/>
- <Combo id="cmbExcuRoom2" taborder="17" class="combo_search" position="absolute 633 127 802 147" innerdataset="@ds_init_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc"/>
- <MaskEdit id="outMemodd" taborder="19" position="absolute 634 152 802 172" enable="false" mask="@@@@-@@-@@" type="string" style=":disabled {align:center middle;}"/>
- <Button id="btn_save" taborder="0" text="저장" onclick="btn_save_onclick" class="btn4" position="absolute 1160 808 1216 828" anchor="right bottom"/>
- <Button id="btnClear" taborder="1" text="초기화" onclick="btnClear_onclick" class="btn4" position="absolute 1088 808 1157 828" anchor="right bottom"/>
- <Static id="caption00" text="메모유효기간" class="cell_1" position="absolute 530 175 630 199" style="align:center middle;"/>
- <Calendar id="showstartdd" taborder="20" position="absolute 634 177 734 196"/>
- <Calendar id="showenddd" taborder="21" position="absolute 751 177 851 196"/>
- <Static id="Static00" text="~" position="absolute 738 182 754 196"/>
- <Edit id="iptPid" taborder="22" oneditdblclick="group2_opt_excucd1_oneditdblclick" class="input_essential" position="absolute 633 103 737 123"/>
- <Button id="btn_pidsearch" taborder="23" class="icon_search" position="absolute 738 103 758 123" onclick="btn_pidsearch_onclick"/>
- <Edit id="ipt_patnm" taborder="24" readonly="true" oneditdblclick="group2_opt_excucd1_oneditdblclick" class="output" position="absolute 760 103 864 123"/>
- <Grid id="grd_calendar" class="gridcalendar" taborder="25" binddataset="ds_grid_grd_calendar" scrollbars="none" useinputpanel="false" selecttype="cell" autofittype="col" oncellclick="CalDiv_grd_calendar_oncellclick" oncelldblclick="CalDiv_grd_calendar_oncelldblclick" position="absolute 0 431 527 636" onclick="grd_calendar_onclick" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="18"/>
- <Row size="18"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2">
- <Cell style="color:crimson;color2:crimson;" class="color_sun" text="bind:sun"/>
- <Cell row="1" text="bind:sun_memo"/>
- </Cell>
- <Cell col="1" rowspan="2">
- <Cell style="color:EXPR(mon_holi==1?'crimson':'black');color2:EXPR(mon_holi==1?'crimson':'black');" text="bind:mon"/>
- <Cell row="1" text="bind:mon_memo"/>
- </Cell>
- <Cell col="2" rowspan="2">
- <Cell style="color:EXPR(tue_holi==1?'crimson':'black');color2:EXPR(tue_holi==1?'crimson':'black');" text="bind:tue"/>
- <Cell row="1" text="bind:tue_memo"/>
- </Cell>
- <Cell col="3" rowspan="2">
- <Cell style="color:EXPR(wed_holi==1?'crimson':'black');color2:EXPR(wed_holi==1?'crimson':'black');" text="bind:wed"/>
- <Cell row="1" text="bind:wed_memo"/>
- </Cell>
- <Cell col="4" rowspan="2">
- <Cell style="color:EXPR(thu_holi==1?'crimson':'black');color2:EXPR(thu_holi==1?'crimson':'black');" text="bind:thu"/>
- <Cell row="1" text="bind:thu_memo"/>
- </Cell>
- <Cell col="5" rowspan="2">
- <Cell style="color:EXPR(fri_holi==1?'crimson':'black');color2:EXPR(fri_holi==1?'crimson':'black');" text="bind:fri"/>
- <Cell row="1" text="bind:fri_memo"/>
- </Cell>
- <Cell col="6" rowspan="2">
- <Cell style="color:EXPR(sat_holi==1?'crimson':'blue');color2:EXPR(sat_holi==1?'crimson':'blue');" class="color_sat" text="bind:sat"/>
- <Cell row="1" text="bind:sat_memo"/>
- </Cell>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grdAeahMemoList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memorgstdd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="pnm" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="excuroomnm" type="STRING"/>
- <Column id="memodesc" type="STRING"/>
- <Column id="lastupdtrid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sun" type="STRING" size="0"/>
- <Column id="mon" type="STRING" size="0"/>
- <Column id="tue" type="STRING" size="0"/>
- <Column id="wed" type="STRING" size="0"/>
- <Column id="thu" type="STRING" size="0"/>
- <Column id="fri" type="STRING" size="0"/>
- <Column id="sat" type="STRING" size="0"/>
- <Column id="sun_memo" type="STRING" size="0"/>
- <Column id="mon_memo" type="STRING" size="0"/>
- <Column id="tue_memo" type="STRING" size="0"/>
- <Column id="wed_memo" type="STRING" size="0"/>
- <Column id="thu_memo" type="STRING" size="0"/>
- <Column id="fri_memo" type="STRING" size="0"/>
- <Column id="sat_memo" type="STRING" size="0"/>
- <Column id="sun_dut" type="STRING" size="256"/>
- <Column id="mon_dut" type="STRING" size="256"/>
- <Column id="tue_dut" type="STRING" size="256"/>
- <Column id="wed_dut" type="STRING" size="256"/>
- <Column id="thu_dut" type="STRING" size="256"/>
- <Column id="fri_dut" type="STRING" size="256"/>
- <Column id="sat_dut" type="STRING" size="256"/>
- <Column id="sun_holi" type="STRING" size="256"/>
- <Column id="mon_holi" type="STRING" size="256"/>
- <Column id="tue_holi" type="STRING" size="256"/>
- <Column id="wed_holi" type="STRING" size="256"/>
- <Column id="thu_holi" type="STRING" size="256"/>
- <Column id="fri_holi" type="STRING" size="256"/>
- <Column id="sat_holi" type="STRING" size="256"/>
- <Column id="sun_bgc" type="STRING" size="256"/>
- <Column id="mon_bgc" type="STRING" size="256"/>
- <Column id="tue_bgc" type="STRING" size="256"/>
- <Column id="wed_bgc" type="STRING" size="256"/>
- <Column id="thu_bgc" type="STRING" size="256"/>
- <Column id="fri_bgc" type="STRING" size="256"/>
- <Column id="sat_bgc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="rbasecdflag" type="STRING" size="256"/>
- <Column id="ebasecdflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="initflag" type="STRING" size="256"/>
- <Column id="alladdyn" type="STRING" size="256"/>
- <Column id="grupcdid" type="STRING" size="256"/>
- <Column id="screenflag" type="STRING" size="256"/>
- <Column id="memodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="searchPid" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchSDate" type="STRING" size="256"/>
- <Column id="searchEDate" type="STRING" size="256"/>
- <Column id="searchRoom" type="STRING" size="256"/>
- <Column id="searchDate" type="STRING" size="256"/>
- <Column id="searchSelDate" type="STRING" size="256"/>
- <Column id="basedeptcd" type="STRING" size="256"/>
- <Column id="searchmm" type="STRING" size="256"/>
- <Column id="searchroom2" type="STRING" size="256"/>
- <Column id="fixpid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd"/>
- <Column id="basecdflagdesc"/>
- <Column id="excuposseqcd"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data" 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="memodd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="memodesc" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="basedeptcd" type="STRING" size="256"/>
- <Column id="showenddd" type="STRING" size="256"/>
- <Column id="showstartdd" type="STRING" size="256"/>
- <Column id="fixmemodd" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_memocnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memorgstdd" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_fix" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_fixmemo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="memodesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_delrem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="memorgstdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_paminfocsv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="outMemodd" propid="value" datasetid="ds_send_search" columnid="searchSelDate"/>
- <BindItem id="item0" compid="showstartdd" propid="value" datasetid="ds_send_data" columnid="showstartdd"/>
- <BindItem id="item2" compid="showenddd" propid="value" datasetid="ds_send_data" columnid="showenddd"/>
- <BindItem id="item3" compid="iptPid" propid="value" datasetid="ds_send_data" columnid="pid"/>
- <BindItem id="item4" compid="cmbExcuRoom2" propid="value" datasetid="ds_send_data" columnid="excuroomcd"/>
- <BindItem id="item5" compid="ipt_patnm" propid="value" datasetid="ds_send_data" columnid="patnm"/>
- <BindItem id="item6" compid="tarMemo" propid="value" datasetid="ds_send_data" columnid="memodesc"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SMAEA02700_환자별COMMENT관리.xfdl
- * Creator :
- * Make Date : 2014-04-18
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-04-18 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "ast_examcurexp::combolist.xjs";
- var suppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function funcInputDataCheck(chk)
- {
- ds_grd_fixmemo.clearData();
- var flag = ds_send_search.getColumn(0,"flag");
- var sDate = roundrect1.ipt_fromdd.value //시작날짜
- var eDate = roundrect1.ipt_todd.value //종료날짜
- var room = roundrect1.cmbExcuRoom.value //검사실코드
- var Id = roundrect1.ipt_pid.value //등록환자
- ds_send_search.setColumn(0,"basedeptcd",suppdeptcd);
-
- if(chk =='save'){ // 저장버튼을 클릭시
- flag = ds_send_search.setColumn(0,"flag","A");
-
- var yyyymmdd = getSelectCalDate();
-
- ds_send_search.setColumn(0,"searchDate",yyyymmdd);
- selDate = ds_send_search.setColumn(0,"searchSelDate",yyyymmdd);
-
- } else if(chk =='cal') { //달력날짜를 더블클릭시
- flag = ds_send_search.setColumn(0,"flag","A");
-
- var yyyymmdd = getSelectCalDate();
-
- selDate = ds_send_search.setColumn(0,"searchSelDate",yyyymmdd);
- ds_send_search.setColumn(0,"searchDate",yyyymmdd);
-
-
- } else { // 조회 버튼 클릭시
- flag = ds_send_search.setColumn(0,"flag", "B");
- ds_send_search.setColumn(0,"searchDate","");
-
- }
- if(utlf_isNull(yyyymmdd) && utlf_isNull(sDate) && utlf_isNull(eDate) && utlf_isNull(room) && utlf_isNull(Id))
- {
- sysf_messageBox("[조회필수항목]일자/검사.치료실 또는 등록번호를 입력하십시오.","I999");
- return true;
- }
- else
- {
- gab =utlf_diffDate(sDate, eDate);
- if(gab<0){
- sysf_messageBox("[시작일자선택]조회기간을 확인하십시오.","I999");
- return true;
- }
- else{
- ds_grd_fixmemo.clearData();
- submit_TRAEA02701(); // 검사메모내역 가져오기
- }
- }
- }
- //검사치료실 가져오기(조회부분)
- function submit_TRAEA01301(){
- ds_send.setColumn(0,"basesuppdeptcd", suppdeptcd);
- ds_send.setColumn(0,"rbasecdflag", "R");
- ds_send.setColumn(0,"ebasecdflag", "E");
- ds_send.setColumn(0,"initflag", "1");
-
- var objParam = new Object();
- objParam.id = "TRAEA01301";
- objParam.service = "examcureacptexecapp.ExamCureAcpt";
- objParam.method = "reqGetInitExamCureRoomGrpCodeList";
- objParam.inds = "reqparam=ds_send";
- objParam.outds ="ds_init_initexecroom=initexcuroom";
-
- tranf_submit(objParam);
- }
- //조회
- function submit_TRAEA02701(){
-
- ds_send_search.setColumn(0,"basedeptcd", suppdeptcd);
- ds_send_search.setColumn(0,"searchSDate",roundrect1.ipt_fromdd.value);
- ds_send_search.setColumn(0,"searchEDate",roundrect1.ipt_todd.value);
- ds_send_search.setColumn(0,"searchPid",roundrect1.ipt_pid.value);
- ds_send_search.setColumn(0,"searchRoom",roundrect1.cmbExcuRoom.value);
- ds_send_search.setColumn(0,"searchmm",CalDiv.opt_year.value+""+CalDiv.opt_month.value);
- ds_send_search.setColumn(0,"searchroom2",roundrect1.cmbExcuRoom.value);
-
- var objParam = new Object();
- objParam.id = "TRAEA02701";
- objParam.service = "examcureacptexecapp.PatRem";
- objParam.method = "reqGetPatRemList";
- objParam.inds = "reqparam=ds_send_search";
- objParam.outds ="ds_grid_grdAeahMemoList=grdAeahMemoList ds_grid_memocnt=memocnt";
- objParam.callback = "cbf_TRAEA02701";
-
- tranf_submit(objParam);
- }
- function cbf_TRAEA02701(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- //ds_grid_grdAeahMemoList.filter("showenddd == undefined");
- if(ds_grid_grdAeahMemoList.rowcount>0){
- grdAeahMemoList_oncellclick();
- }
-
- if(!utlf_isNull(outMemodd.value)){
- var idx = ds_grid_grdAeahMemoList.findRowExpr("memorgstdd == '" + outMemodd.value + "' && pid == '" + iptPid.value + "' && excuroomcd == '" + cmbExcuRoom2.value + "'");
- if(idx != -1){
- tarMemo.value = ds_grid_grdAeahMemoList.getColumn(idx, "memodesc");
- }
- }
- if(lv_chk =='cal'){
- _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
- _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
- ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
- return;
- }
- for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
- ds_grid_calendarAST.setColumn(j,"memo1","");
- ds_grid_calendarAST.setColumn(j,"memo2","");
- }
- if(ds_grid_memocnt.rowcount!=0){
- for(var i=0; i<ds_grid_memocnt.rowcount; i++){
- for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
- if(ds_grid_memocnt.getColumn(i,"memorgstdd")==ds_grid_calendarAST.getColumn(j,"basedd")){
- ds_grid_calendarAST.setColumn(j,"memo1",ds_grid_memocnt.getColumn(i,"cnt"));
- ds_grid_calendarAST.setColumn(j,"memo2","");
- }
- }
- }
- }else{
- for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
- ds_grid_calendarAST.setColumn(j,"memo1",0);
- ds_grid_calendarAST.setColumn(j,"memo2","");
- }
- }
-
- for(var j=0; j<ds_grid_calendarAST.rowcount; j++){
- if(utlf_isNull(ds_grid_calendarAST.getColumn(j,"memo1"))){
- ds_grid_calendarAST.setColumn(j,"memo1",0);
- ds_grid_calendarAST.setColumn(j,"memo2","");
- }
- }
- setCalMemo("ds_grid_calendarAST","memo1","","memo2");
-
- }else{
- }
- }
- function ChangeDateFormat() {
- var _frdt = ds_grid_grdAeahMemoList.getColumn(0,"showstartdd");
- var _todt = ds_grid_grdAeahMemoList.getColumn(0,"showenddd");
- var _date = "";
-
- // 메모내역-메모일자 란에 메모 유효기간을 출력 (방사선 종양)
- if ( !utlf_isNull(_frdt) && !utlf_isNull(_todt) ) {
- for (var i = 0; i <ds_grid_grdAeahMemoList.rowcount; i++) {
- _frdt = ds_grid_grdAeahMemoList.getColumn(i,"showstartdd");
- _todt = ds_grid_grdAeahMemoList.getColumn(i,"showenddd");
-
- //2009-10-26 메모유효기간 등록안되는 경우가 있음 (1899/11/30 으로 조회되는경우가 있음)-메모등록일자 조회되도록처리
- if (!utlf_isNull(_frdt) ) {
- _frdt = _frdt.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
- _todt = _todt.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
- _date = _frdt + " ~ " + _todt;
-
- ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
- }else{
- _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
- _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
- ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
- }
- }
- }
-
- // 메모내역-메모일자 란에 메모 등록일자를 출력 (기능검사)
- else {
- for (var i = 0; i <ds_grid_grdAeahMemoList.rowcount; i++) {
- _date = ds_grid_grdAeahMemoList.getColumn(i,"memorgstdd");
- _date = _date.toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
- ds_grid_grdAeahMemoList.setColumn(i,"memorgstdd", _date);
- }
- }
- }
-
- //저장
- function submit_TXAEA02701(){
- var yyyymmdd = outMemodd.value; //getSelectCalDate();
- ds_send_data.setColumn(0,"basesuppdeptcd", suppdeptcd);
- ds_send_data.setColumn(0,"excuroomcd", cmbExcuRoom2.value);
- ds_send_data.setColumn(0,"pid", iptPid.value);
- ds_send_data.setColumn(0,"memodd", yyyymmdd);
- ds_send_data.setColumn(0,"memodesc", tarMemo.value);
- ds_send_data.setColumn(0,"showstartdd", yyyymmdd);
- ds_send_data.setColumn(0,"showenddd", yyyymmdd);
- ds_send_data.setColumn(0,"fixmemodd", '');
-
- // if (utlf_isNull(ds_send_data.getColumn(0,"showenddd"))){
- // ds_send_data.setColumn(0,"showenddd", "00000000");
- // }memorgstddprcpdd `
-
- var objParam = new Object();
- objParam.id = "TXAEA02701";
- objParam.service = "examcureacptexecapp.PatRem";
- objParam.method = "reqInsPatRem";
- objParam.inds = "reqparam=ds_send_data";
- tranf_submit(objParam);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAEA02700
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAEA02700_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_aezfSetSuppDeptcd();
- var sdate = new String(utlf_getCurrentDate());
- CalDiv.opt_year.value = sdate.substr(0,4);
- CalDiv.opt_month.value = sdate.substr(4,2) ;
- aezGetCalendar();//달력
-
- //부서정보 가져오기
-
-
- //초기날짜 세팅
- var sdate = utlf_getCurrentDate();
- roundrect1.ipt_fromdd.value = sdate;
- roundrect1.ipt_todd.value = sdate;
-
- var gv_pid = sysf_getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
- if(!utlf_isNull(gv_pid)) { //글로벌변수(등록번호)가 있는경우
-
- ds_send_search.setColumn(0,"searchPid", gv_pid);
- }
- switch (suppdeptcd) {
- // 방사선종양학과
- case "2170":
- roundrect1.cmbExcuRoom.enable = false;
- cmbExcuRoom2.enable = false;
- break;
- // 방종을 제외한 나머지 학과
- default:
- submit_TRAEA01301(); // 검사치료실 가져오기
- showstartdd.enable = false;
- showenddd.enable = false;
- break;
- }
-
- grdf_setGridSort(grdAeahMemoList);
- }
- /****************************************************************************************
- * Components :
- * Components ID : btnSearch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btnSearch_onclick(obj:Button, e:ClickEventInfo)
- {
- lv_chk = "";
- funcInputDataCheck();
- ChangeDateFormat();
- }
- /****************************************************************************************
- * Components :
- * Components ID : grdAeahMemoList
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grdAeahMemoList_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var i = grdAeahMemoList.currentrow;
-
- //메모등록일
- outMemodd.value = ds_grid_grdAeahMemoList.getColumn(ds_grid_grdAeahMemoList.rowposition, "memodd");
-
- //등록번호
- ds_send_data.setColumn(0,"pid",ds_grid_grdAeahMemoList.getColumn(i,"pid"));
-
- //환자명
- ipt_patnm.value = ds_grid_grdAeahMemoList.getColumn(i,"pnm");
-
- //등록일자
- ds_send_data.setColumn(0,"memodd",ds_grid_grdAeahMemoList.getColumn(i,"memodd"));
-
- //치료실 (기능검사실에만 해당)
- ds_send_data.setColumn(0,"excuroomcd", ds_grid_grdAeahMemoList.getColumn(i,"excuroomcd"));
- cmbExcuRoom2.value = ds_grid_grdAeahMemoList.getColumn(i,"excuroomcd");
-
- //메모내용
- ds_send_data.setColumn(0,"memodesc",ds_grid_grdAeahMemoList.getColumn(i,"memodesc"));
- tarMemo.value = ds_grid_grdAeahMemoList.getColumn(i,"memodesc");
-
- //부서
- ds_send_data.setColumn(0,"basedeptcd",suppdeptcd);
- //메모유효기간 (방사선 종양학과에만 해당)
- showstartdd.value = ds_grid_grdAeahMemoList.getColumn(i,"showstartdd");
- showenddd.value = ds_grid_grdAeahMemoList.getColumn(i,"showenddd");
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_calendar
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function CalDiv_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var yyyymmdd = getSelectCalDate();
- ds_send_data.setColumn(0,"memodd",yyyymmdd);
-
- tarMemo.value = "cal";
- lv_chk = "cal"
-
- // iptPid.value = "";
- // cp_patientInfo00.edt_patnm.value = "";
- // cmbExcuRoom2.index=0;
- ds_send_search.setColumn(0,"searchSelDate","");
- tarMemo.value="";
-
- funcInputDataCheck("cal");
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_calendar
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- //달력 dbclick시 메모 조회
- var lv_chk="";
- function CalDiv_grd_calendar_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var yyyymmdd = getSelectCalDate();
- ds_send_data.setColumn(0,"memodd",yyyymmdd);
-
- lv_chk = "cal"
- funcInputDataCheck('cal');
- }
- /****************************************************************************************
- * Components :
- * Components ID : btnClear
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- //초기화
- function btnClear_onclick(obj:Button, e:ClickEventInfo)
- {
- form.reload();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- //저장
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var yyyymmdd = outMemodd.value; //getSelectCalDate();
- ds_send_data.setColumn(0,"memodd",yyyymmdd);
-
- //필수입력 사항 체크 - 메모등록일자/등록번호/메모내용/검사치료실
- var _memo = tarMemo.value;
- var _pid = iptPid.value;
- ds_send_data.setColumn(0,"basedeptcd",suppdeptcd);
- var _message ="";
- var _sc = suppdeptcd.substring(0, 4);
-
- switch (_sc) {
- case "2170":
- ds_send_data.setColumn(0,"memodd",utlf_getCurrentDate());
-
- ds_send_data.setColumn(0,"excuroomcd", _sc);
- break;
- default:
- break;
- }
- var _memodd = yyyymmdd;
- var _room = cmbExcuRoom2.value
-
- if(utlf_isNull(_memodd) || _memodd.length<8){_message +="메모일자/"}
- if(utlf_isNull(_memo)|| _memo.length <1){_message +="메모내용 / "}
- if(utlf_isNull(_pid)|| _pid.length <5 ){_message +="등록번호 / "}
- if(utlf_isNull(_room)){_message +="검사치료실"}
-
-
- if(!utlf_isNull(_message)){
- sysf_messageBox("[필수입력항목] "+_message+"를(을) 확인하십시오","I999");
- return true;
- }
-
- submit_TXAEA02701();
- //outMemodd.value = getSelectCalDate();
- lv_chk = "save";
- funcInputDataCheck("save");
- ChangeDateFormat();
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_delrem.setColumn(0,"basesuppdeptcd", suppdeptcd);
- ds_send_delrem.setColumn(0,"excuroomcd", cmbExcuRoom2.value);
- ds_send_delrem.setColumn(0,"memorgstdd", outMemodd.value);
- ds_send_delrem.setColumn(0,"pid", iptPid.value);
-
- var objParam = new Object();
- objParam.id = "TXAEA02701";
- objParam.service = "examcureacptexecapp.PatRem";
- objParam.method = "reqDelPatRem";
- objParam.inds = "reqparam=ds_send_delrem";
- objParam.callback = "cbf_TXAEA02701";
- tranf_submit(objParam);
- }
- function cbf_TXAEA02701(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- tarMemo.value="";
- ds_grd_fixmemo.clearData();
- roundrect1.btnSearch.click();
- }else{
- }
- }
- function clickCalButton(obj:Button, e:ClickEventInfo)
- {
- var button = obj.class;
-
- if(button=="icon_pre_year"){
- eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)-1;
- aezGetCalendar(null,"Y");
-
-
- }else if(button=="icon_pre_month"){
- if(eval(aezCalpath).opt_month.value=="01"){
- eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)-1;
- eval(aezCalpath).opt_month.value = "12";
- }else{
- var getMonth = eval(eval(aezCalpath).opt_month.value)-1;
- var month = getMonth>9? getMonth:"0"+getMonth;
- eval(aezCalpath).opt_month.value = month;
- }
- aezGetCalendar(null,"Y");
-
-
- }else if(button=="icon_next_month"){
- if(eval(aezCalpath).opt_month.value=="12"){
- eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)+1;
- eval(aezCalpath).opt_month.value = "01";
- }else{
- var getMonth = eval(eval(aezCalpath).opt_month.value)+1;
- var month = getMonth>9? getMonth:"0"+getMonth;
- eval(aezCalpath).opt_month.value = month;
- }
- aezGetCalendar(null,"Y");
-
- }else{
- eval(aezCalpath).opt_year.value = eval(eval(aezCalpath).opt_year.value)+1;
- aezGetCalendar(null,"Y");
-
- }
-
- roundrect1.ipt_fromdd.value = ds_grid_calendarAST.getColumn(0, "basedd");
- roundrect1.ipt_todd.value = ds_grid_calendarAST.getColumn(ds_grid_calendarAST.rowcount -1, "basedd");
- // ds_send_search.setColumn(0, "searchSDate", ds_grid_calendarAST.getColumn(0, "basedd"));
- // ds_send_search.setColumn(0, "searchEDate", ds_grid_calendarAST.getColumn(ds_grid_calendarAST.rowcount -1, "basedd"));
-
- btnSearch_onclick();
- }
- function roundrect1_cmbExcuRoom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- btnSearch_onclick();
- }
- function roundrect1_btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
-
- roundrect1.ipt_pid.value = ds_patinfolist.getColumn(0,"pid");
- }
- function btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- // 환자조회화면 호출
- frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
-
- ds_send_data.setColumn(0,"pid" , ds_patinfolist.getColumn(0,"pid"));
- ds_send_data.setColumn(0,"patnm", ds_patinfolist.getColumn(0,"hngnm"));
- }
- ]]></Script>
- </Form>
- </FDL>
|