12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAIM00100_AI메인" classname="SMAIM00100_AI메인" inheritanceid="" position="absolute 0 0 1214 834" titletext="AI메인" oninit="SMAIM00100_AI메인_oninit" onload="SMAIM00100_AI메인_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="div_detl" taborder="0" position="absolute 496 28 1190 832" scrollbars="none" anchor="all">
- <Layouts>
- <Layout>
- <Static id="caption01" text="인공지능 분석대상" class="tit_2" position="absolute 0 1 183 18" anchor="left top"/>
- <Shape id="line02" class="line_10" position="absolute 0 17 688 23" anchor="left top right"/>
- <Static id="caption02" text="등록번호" class="cell_1" position="absolute 0 22 82 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
- <Edit id="opt_pid" taborder="8" readonly="true" autoselect="true" position="absolute 84 22 184 45" anchor="left top" style="align:left middle;"/>
- <Static id="caption04" text="성명" class="cell_1" position="absolute 190 22 260 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
- <Edit id="opt_hngnm" taborder="9" readonly="true" autoselect="true" position="absolute 262 22 330 45" anchor="left top" style="align:left middle;"/>
- <Static id="caption00" text="인공지능 분석파일" class="tit_2" position="absolute 0 81 183 98" anchor="left top"/>
- <Shape id="line00" class="line_10" position="absolute 0 97 688 103" anchor="left top right"/>
- <Grid id="grd_files" taborder="12" binddataset="ds_file" scrollpixel="all" useinputpanel="false" selecttype="multirow" autofittype="col" onmousewheel="grd_files_onmousewheel" position="absolute 72 103 688 177" anchor="left top right" oncellclick="div_detl_grd_files_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="531"/>
- <Column size="100"/>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="text" style="padding:0 8 0 8;" text="bind:filename"/>
- <Cell col="2" colspan="2" taborder="undefined">
- <Cell displaytype="number" style="align:right middle;padding:0 0 0 0;" text="bind:filesize" expr="expr:Math.ceil(filesize / 1024)"/>
- <Cell col="1" displaytype="text" style="align:left middle;padding:0 0 0 0;" text="KB"/>
- </Cell>
- <Cell col="4" displaytype="expr:utlf_isNull(filekey) ? "normal" : "button"" edittype="expr:utlf_isNull(filekey) ? "none" : "button"" text="expr:utlf_isNull(filekey) ? "" : "미리보기""/>
- <Cell col="5" displaytype="expr:utlf_isNull(filekey) ? "normal" : "button"" edittype="expr:utlf_isNull(filekey) ? "none" : "button"" text="expr:utlf_isNull(filekey) ? "" : "파일받기""/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static05" text="첨부파일" class="cell_1" position="absolute 0 102 69 177" style="padding:5 0 0 8;align:left top;" anchor="default"/>
- <Button id="btn_file_add" taborder="13" text="추가" class="btn5" position="absolute 5 127 54 147" anchor="default" onclick="div_detl_btn_file_add_onclick"/>
- <Button id="btn_file_del" taborder="14" text="삭제" onclick="btn_file_del_onclick" class="btn5" visible="true" position="absolute 5 151 54 171" anchor="default"/>
- <Static id="caption03" text="인공지능 분석결과" class="tit_2" position="absolute 0 182 183 199" anchor="left top"/>
- <Shape id="line01" class="line_10" position="absolute 0 198 688 204" anchor="left top right"/>
- <Static id="caption05" text="분석종류" class="cell_1" position="absolute 190 47 272 70" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
- <Combo id="cmb_formcd" taborder="16" innerdataset="@ds_init_gubun_AI002" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 276 47 432 70" anchor="default"/>
- <Shape id="line04" class="line_1" position="absolute 0 70 688 76" anchor="left top right"/>
- <Static id="caption06" text="신청일자" class="cell_1" position="absolute 0 47 82 70" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
- <Calendar id="Calendar01" taborder="17" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 84 47 184 70" anchor="default"/>
- <Edit id="opt_age" taborder="18" readonly="true" autoselect="true" position="absolute 484 22 531 45" anchor="left top" style="align:left middle; :disabled {align:center middle;}"/>
- <Edit id="output1" taborder="19" readonly="true" autoselect="true" position="absolute 434 22 482 45" anchor="left top" style="align:left middle; :disabled {align:center middle;}"/>
- <Static id="caption08" text="성별/나이" class="cell_1" position="absolute 353 22 432 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
- <WebBrowser id="web_tableau" position="absolute 0 203 690 801" anchor="all" taborder="20" url="about:blank" useautobitmapcache="1"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_save" taborder="2" text="저장" class="btn3" position="absolute 1150 4 1207 26" onclick="btn_save_onclick"/>
- <Static id="caption01" text="분석이력" class="tit_2" position="absolute 0 178 183 195" anchor="left top"/>
- <Shape id="line02" class="line_10" position="absolute 0 194 488 200"/>
- <Div id="group1" taborder="3" onkeydown="Tab00_tabpage_trans_group1_onkeydown" class="div_SA2" position="absolute 0 26 488 174">
- <Layouts>
- <Layout>
- <Calendar id="Calendar00" taborder="22" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" position="absolute 166 7 266 27" anchor="default"/>
- <Static id="Static00" text="~" position="absolute 272 7 286 27" anchor="default"/>
- <Calendar id="Calendar01" taborder="23" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 288 7 388 27" anchor="default"/>
- <Radio id="Radio00" taborder="24" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" onitemchanged="Tab00_tabpage_trans_group1_Radio00_onitemchanged" position="absolute 188 74 423 94" anchor="top right" style="buttonsize:15;textpadding:0 5 0 3;itempadding:0 0 0 0;margin:0 0 0 0;padding:1 0 0 0;" onitemclick="group1_Radio00_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">요청</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">진행중</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_search" taborder="25" text="조회" class="btn1" position="absolute 422 30 482 66" anchor="top right" onclick="group1_btn_search_onclick"/>
- <Static id="caption3" text="조회일자 :" class="search_name" position="absolute 5 8 92 28" anchor="default"/>
- <Combo id="combo5" taborder="26" value="A" text="작성일" codecolumn="codecolumn" datacolumn="datacolumn" index="0" onitemchanged="grp_sea_cmb_trgtmankind_onitemchanged" class="combo_search" position="absolute 84 7 164 27" style="align:center middle;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">작성일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">완료일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption5" text="등록번호 :" class="search_name" position="absolute 6 30 82 50" anchor="default"/>
- <Edit id="ipt_pid" taborder="27" autoselect="true" position="absolute 84 29 171 49" anchor="default"/>
- <Button id="btn_pat" taborder="28" onclick="Tab00_tabpage_trans_group1_btn_pat_onclick" class="icon_search" position="absolute 169 29 194 49" anchor="default"/>
- <Static id="caption2" text="환자명 : " class="search_name" position="absolute 239 30 310 50" anchor="default"/>
- <Edit id="ipt_hngnm" taborder="29" autoselect="true" position="absolute 300 29 387 49" anchor="default"/>
- <Static id="caption06" text="진료과 :" class="search_name" position="absolute 7 52 72 72" anchor="default"/>
- <Combo id="cmb_orddeptcd" taborder="30" innerdataset="ds_init_dept_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 84 51 219 71" anchor="default"/>
- <Static id="caption9" text="진료의 : " class="search_name" position="absolute 239 52 312 72" anchor="default"/>
- <Combo id="cmb_orddrid" taborder="31" innerdataset="ds_init_trans_doct" codecolumn="doctid" datacolumn="doctnm" class="combo_search" position="absolute 300 51 387 71" anchor="default"/>
- <Shape id="line8" linetype="vertical" class="line_4" position="absolute 413 12 419 99" anchor="top right"/>
- <Static id="caption00" text="구분 : " class="search_name" position="absolute 7 74 76 94" anchor="default"/>
- <Combo id="cmb_formcd" taborder="32" innerdataset="ds_init_srcformcd_all" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 84 73 188 93" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="AI" class="tit_1" position="absolute 0 0 144 25"/>
- <Grid id="grd_list" taborder="4" useinputpanel="false" position="absolute 0 199 489 828" binddataset="ds_list" autofittype="col" oncellclick="grd_list_oncellclick" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="139"/>
- <Column size="80"/>
- <Column size="68"/>
- <Column size="80"/>
- <Column size="55"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" displaytype="normal" text="환자번호"/>
- <Cell col="2" displaytype="normal" text="환자명"/>
- <Cell col="3" displaytype="normal" text="신청일자"/>
- <Cell col="4" displaytype="normal" text="파일수"/>
- <Cell col="5" displaytype="normal" text="상태"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" style="align:center;" text="bind:gubun" combodataset="ds_init_gubun_AI002" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="normal" style="align:center;" text="bind:pid"/>
- <Cell col="2" displaytype="normal" style="align:center;" text="bind:pnm"/>
- <Cell col="3" displaytype="date" style="align:center;" text="bind:reqdd"/>
- <Cell col="4" displaytype="normal" style="align:center;" text="bind:filecnt"/>
- <Cell col="5" displaytype="combo" style="align:center;" text="bind:status" combodataset="ds_init_status_AI001" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_new" taborder="6" text="새요청" class="btn3" position="absolute 1082 4 1147 26" onclick="btn_new_onclick"/>
- <Div id="div_patinfo" taborder="7" position="absolute 1181 17 2002 493" anchor="top right" visible="false">
- <Layouts>
- <Layout>
- <Div id="div_patinfo_back" taborder="48" style="shadow:outer -5,5 10 gray;" position="absolute 34 0 807 464" anchor="default">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Button id="btn_close_light" taborder="51" text="확대보기(F2)" onclick="div_patinfo_btn_close_light_onclick" class="btn2" position="absolute 646 11 733 31" tooltiptext="환자리스트를 반만 닫습니다" hotkey="F2" anchor="default"/>
- <Button id="btn_close" taborder="52" text="닫기(F1)" onclick="div_patinfo_btn_close_onclick" class="btn2" position="absolute 735 11 799 31" tooltiptext="환자리스트 닫기" hotkey="F1" anchor="default"/>
- <Button id="btn_patinfo" taborder="53" text="환자입력 (F1, F2)" onclick="div_patinfo_btn_patinfo_onclick" class="btn_tab" position="absolute 11 151 146 175" tooltiptext="환자리스트 열고 닫기" hotkey="F1" style="glow:10 hotpink;transformation:0,0 [rotate -90];" anchor="default"/>
- <Div id="div_patlist" taborder="54" style="background:white;border:1 solid green ;" position="absolute 34 0 807 464" visible="true" anchor="default">
- <Layouts>
- <Layout>
- <Tab id="tabPatList" taborder="0" onchanged="div_patinfo_div_patlist_tabPatList_onchanged" tabindex="0" scrollbars="autoboth" position="absolute 8 8 763 454" style="buttonpadding:4 12 4 12;background:URL('theme://images/bg_tab_BodyTop.png') stretch 10,26;" anchor="default">
- <Tabpages>
- <Tabpage id="tab_out" text="외래">
- <Layouts>
- <Layout>
- <Div id="div_search_out" taborder="22" class="div_SA2" position="absolute 0 0 755 66" anchor="default">
- <Layouts>
- <Layout>
- <Static id="Static00" text="진료일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
- <Calendar id="cal_orddd" taborder="67" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
- <Static id="Static01" text="진료과 :" class="search_name" position="absolute 249 10 309 30" anchor="default"/>
- <Combo id="cmb_dept" taborder="68" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_dept_onitemchanged" position="absolute 314 10 470 30" anchor="default"/>
- <Static id="Static02" text="진료의사 :" class="search_name" position="absolute 10 36 82 56" anchor="default"/>
- <Combo id="cmb_orddr" taborder="69" innerdataset="ds_init_cmb_orddr" codecolumn="userid" datacolumn="userdepthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_orddr_onitemchanged" position="absolute 87 36 283 56" anchor="default"/>
- <Radio id="Radio00" taborder="70" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_Radio00_onitemchanged" position="absolute 288 37 537 57" style="textpadding:0 5 0 3;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">진료일정의사</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">진료의전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">퇴직의사</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="Radio01" taborder="71" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" position="absolute 551 37 684 57" style="textpadding:0 2 0 3;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">오전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">오후</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">전일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_search" taborder="72" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick" class="btn1" position="absolute 694 22 746 42" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 687 22 693 42" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patlist_out" taborder="23" binddataset="ds_grd_opatmngt" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" onlbuttonup="grd_patlist_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick" position="absolute 0 67 755 419" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="200"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="예약시간"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="초/재"/>
- <Cell col="6" text="수납"/>
- <Cell col="7" text="예약구분"/>
- <Cell col="8" text="Remark"/>
- <Cell col="9" text="휴대전화번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:ordtm" mask="##:##"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sexage"/>
- <Cell col="5" text="bind:fsexamflag"/>
- <Cell col="6" text="bind:calcyn"/>
- <Cell col="7" text="bind:rsrvflag"/>
- <Cell col="8" displaytype="text" style="padding:1 2 1 4;" text="bind:remfact"/>
- <Cell col="9" text="bind:mpphontel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_in" text="입원">
- <Layouts>
- <Layout>
- <Div id="div_search_in" taborder="30" class="div_SA2" position="absolute 0 0 755 66" anchor="default">
- <Layouts>
- <Layout>
- <Calendar id="cal_workdd" taborder="70" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
- <Static id="Static00" text="업무일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
- <Static id="Static01" text="병동 :" class="search_name" position="absolute 254 10 301 30" anchor="default"/>
- <Combo id="cmb_ward" taborder="71" innerdataset="ds_init_ward" codecolumn="wardcd" datacolumn="wardnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmb_ward_onitemchanged" position="absolute 317 10 417 30" anchor="default"/>
- <Static id="Static02" text="진료과 :" class="search_name" position="absolute 10 36 70 56" anchor="default"/>
- <Combo id="cmd_dept" taborder="72" innerdataset="ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmd_dept_onitemchanged" position="absolute 87 36 235 56" anchor="default"/>
- <Static id="Static03" text="전문의 :" class="search_name" position="absolute 254 36 314 56" anchor="default"/>
- <Combo id="cmd_orddr" taborder="73" innerdataset="ds_init_orddr" codecolumn="userid" datacolumn="usernm" position="absolute 317 36 393 56" anchor="default"/>
- <Button id="btn_search" taborder="74" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick" class="btn1" position="absolute 682 22 734 42" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 22 672 42" anchor="top right"/>
- <CheckBox id="chk_in_schedule" taborder="75" text="입원예정자조회" value="N" truevalue="Y" falsevalue="N" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_chk_in_schedule_onclick" position="absolute 551 23 659 43" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patlist_in" taborder="31" binddataset="ds_grd_ipatmngt" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" cellclickbound="cell" onlbuttonup="grd_patlist_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_in_oncelldblclick" position="absolute 0 67 755 419" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="24"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="26"/>
- <Column size="26"/>
- <Column size="92"/>
- <Column size="38"/>
- <Column size="140"/>
- <Column size="58"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="입원일자"/>
- <Cell col="5" colspan="2" text="재원상태" taborder="undefined"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="S/A"/>
- <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" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:roomcd"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" displaytype="date" text="bind:indd"/>
- <Cell col="5" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff,1 solid #b0b0b0ff,1 solid #b0b0b0ff;" text="bind:chngroomstat"/>
- <Cell col="6" text="bind:indschstat"/>
- <Cell col="7" text="bind:hngnm"/>
- <Cell col="8" text="bind:sexage"/>
- <Cell col="9" displaytype="text" style="padding:0 0 0 4;" text="bind:orddeptnm"/>
- <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:orddrid" combodataset="ds_init_orddr_all" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="11" text="bind:mpphontel" mask="expr:fGetPhoneNumMask(mpphontel)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_patlist_insche" taborder="32" binddataset="ds_grd_inreqhistlist" useinputpanel="false" selecttype="multirow" cellsizingtype="col" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick" visible="false" position="absolute 0 67 755 419" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="40" band="left"/>
- <Column size="50" band="left"/>
- <Column size="60" band="left"/>
- <Column size="50" band="left"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="24"/>
- <Column size="170"/>
- <Column size="70"/>
- <Column size="152"/>
- <Column size="160"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="종류"/>
- <Cell col="2" text="입원상태"/>
- <Cell col="3" text="환자번호"/>
- <Cell col="4" text="성명"/>
- <Cell col="5" text="S/A"/>
- <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="CP"/>
- <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="원무참고사항"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:inrsrvstat"/>
- <Cell col="2" text="bind:inflag"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:dispnm2"/>
- <Cell col="5" text="bind:sa"/>
- <Cell col="6" text="bind:assgdt" mask="expr:utlf_isNull(assgdt) ? "" : "####-##-## ##:##""/>
- <Cell col="7" displaytype="date" text="bind:inrsrvacptdd"/>
- <Cell col="8" text="bind:orddeptcd"/>
- <Cell col="9" text="bind:usernm"/>
- <Cell col="10" text="bind:mpphontel"/>
- <Cell col="11" text="bind:coopteam"/>
- <Cell col="12" text="bind:erreglyn"/>
- <Cell col="13" text="bind:cpyn"/>
- <Cell col="14" displaytype="text" text="bind:termengnm"/>
- <Cell col="15" text="bind:scheopdd"/>
- <Cell col="16" text="bind:opengnm"/>
- <Cell col="17" displaytype="text" text="bind:drrem"/>
- <Cell col="18" text="bind:assgwardnm"/>
- <Cell col="19" text="bind:assgroom"/>
- <Cell col="20" text="bind:assgbednm"/>
- <Cell col="21" displaytype="text" text="bind:inrsrvrem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_search" text="검색">
- <Layouts>
- <Layout>
- <Div id="div_search" taborder="12" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_onkeydown" class="div_SA2" position="absolute 0 0 755 38" anchor="default">
- <Layouts>
- <Layout>
- <Static id="Static00" text="검색조건" class="search_name" position="absolute 12 9 76 29" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 8 672 28" anchor="top right"/>
- <Button id="btn_search" taborder="36" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick" class="btn1" position="absolute 682 8 734 28" anchor="default"/>
- <Edit id="edt_hngnm" taborder="37" imemode="hangul" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_hngnm_onkeydown" visible="false" position="absolute 284 8 368 28" anchor="default"/>
- <Edit id="edt_rrgstno1" taborder="38" inputtype="number,digit" maxlength="6" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno1_onkeydown" visible="false" position="absolute 372 8 472 28" anchor="default"/>
- <Edit id="edt_rrgstno2" taborder="39" maxlength="7" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno2_onkeydown" visible="false" position="absolute 474 8 574 28" anchor="default"/>
- <Edit id="edt_pid" taborder="40" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_pid_onkeydown" position="absolute 284 8 368 28" anchor="default"/>
- <Radio id="rdo_searchcond" taborder="41" columncount="-1" rowcount="-1" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="1" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_search_div_search_rdo_searchcond_onitemchanged" position="absolute 84 9 278 29" style="textpadding:0 8 0 3;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">환자명/주민번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_pat_search" taborder="13" binddataset="ds_patinfolist" useinputpanel="false" cellsizingtype="col" autofittype="col" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick" position="absolute 0 39 755 419" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="24"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="167"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="성별" taborder="undefined"/>
- <Cell col="5" text="나이" taborder="undefined"/>
- <Cell col="6" text="생년월일"/>
- <Cell col="7" text="휴대전화번호"/>
- <Cell col="8" text="연락처"/>
- <Cell col="9" text="주소"/>
- <Cell col="10" text="상세주소"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" text="bind:rrgstno1"/>
- <Cell col="7" text="bind:mpphontel"/>
- <Cell col="8" text="bind:hometel"/>
- <Cell col="9" displaytype="text" text="bind:addr"/>
- <Cell col="10" displaytype="text" text="bind:detladdr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="filecnt" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <PropertyAnimation id="pa_patinfo_move" endingmode="to" repeat="1" repeattype="normal" duration="300" starttime="0" targetcomp="div_patinfo" targetprop="position.x" interpolation="Interpolation.curve4InOut"/>
- <Dataset id="ds_grd_opatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256" sumtext="접수구분"/>
- <Column id="prcsflag" type="STRING" size="256" sumtext="진행상태구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="S/A"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초/재"/>
- <Column id="calcyn" type="STRING" size="256" sumtext="수납"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="nryn" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="telrsrvrem" type="STRING" size="256" sumtext="Remark"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="fstacptdd" type="STRING" size="256" sumtext="최초접수일"/>
- <Column id="nursacptyn" type="STRING" size="256" sumtext="간호사접수여부"/>
- <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발행여부"/>
- <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태여부"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="외래/입원구분"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
- <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
- <Column id="smsyn" type="STRING" size="256" sumtext="전송여부"/>
- <Column id="cntctel" type="STRING" size="256" sumtext="부서전화번호"/>
- <Column id="remfact" type="STRING" size="256" sumtext="진료예약Remark"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사ID"/>
- <Column id="ampmflag" type="STRING" size="256" sumtext="오전오후"/>
- <Column id="ordclsdeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- <Column id="supdeptcd" type="STRING" size="256" sumtext="상위진료과코드"/>
- <Column id="prcpspecflag" type="STRING" size="256" sumtext="진료의구분"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ampmflag">D</Col>
- <Col id="prcpspecflag">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_in" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddd"/>
- <Col id="wardcd"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_ipatmngt" enableevent="true" updatecontrol="true">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="0"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="smsyn" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="chngroomstat" type="STRING" size="256"/>
- <Column id="indschstat" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="prcpdt" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_status_AI001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_gubun_AI002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="gender" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filekey" type="STRING" size="256"/>
- <Column id="fileseq" type="STRING" size="256"/>
- <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filekey" type="STRING" size="256"/>
- <Column id="fileseq" type="STRING" size="256"/>
- <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- </ColumnInfo>
- </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="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
- <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
- <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
- <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
- <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
- <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
- <Column id="nati" type="STRING" size="256" sumtext="국적"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
- <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
- <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
- <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
- <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
- <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
- <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
- <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
- <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
- <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
- <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
- <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
- <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
- <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
- <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
- <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
- <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
- <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
- <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
- <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
- <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
- <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_save_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filekey" type="STRING" size="256"/>
- <Column id="fileseq" type="STRING" size="256"/>
- <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_delete_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filekey" type="STRING" size="256"/>
- <Column id="fileseq" type="STRING" size="256"/>
- <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tableauinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tableauURL" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_tableau" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clientip" type="STRING" size="256"/>
- <Column id="scrncd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item9" compid="div_detl.output1" propid="value" datasetid="ds_detl" columnid="gender"/>
- <BindItem id="item10" compid="div_detl.opt_age" propid="value" datasetid="ds_detl" columnid="age"/>
- <BindItem id="item7" compid="div_detl.opt_pid" propid="value" datasetid="ds_detl" columnid="pid"/>
- <BindItem id="item8" compid="div_detl.opt_hngnm" propid="value" datasetid="ds_detl" columnid="pnm"/>
- <BindItem id="item14" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
- <BindItem id="item17" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_dept" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
- <BindItem id="item13" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_dept" propid="value" datasetid="ds_send_in" columnid="orddeptcd"/>
- <BindItem id="item6" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr" propid="value" datasetid="ds_send_in" columnid="orddrid"/>
- <BindItem id="item11" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cal_workdd" propid="value" datasetid="ds_send_in" columnid="orddd"/>
- <BindItem id="item4" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmb_ward" propid="value" datasetid="ds_send_in" columnid="wardcd"/>
- <BindItem id="item5" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cal_orddd" propid="value" datasetid="ds_send_out" columnid="orddd"/>
- <BindItem id="item12" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio00" propid="value" datasetid="ds_send_out" columnid="prcpspecflag"/>
- <BindItem id="item15" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio01" propid="value" datasetid="ds_send_out" columnid="ampmflag"/>
- <BindItem id="item16" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid" propid="value" datasetid="ds_send_search" columnid="pid"/>
- <BindItem id="item0" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno1" propid="value" datasetid="ds_send_search" columnid="rrgstno1"/>
- <BindItem id="item1" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno2" propid="value" datasetid="ds_send_search" columnid="rrgstno2"/>
- <BindItem id="item2" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_hngnm" propid="value" datasetid="ds_send_search" columnid="hngnm"/>
- <BindItem id="item3" compid="div_detl.cmb_formcd" propid="value" datasetid="ds_detl" columnid="gubun"/>
- <BindItem id="item18" compid="div_detl.Calendar01" propid="value" datasetid="ds_detl" columnid="reqdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- var gMaxSize = 10485760;
- function SMAIM00100_AI메인_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
-
- // Grid Initialization
- grdf_initGrid(grd_list);
- //grdf_initGrid(div_detl.grd_rsltlist);
-
- }
- function SMAIM00100_AI메인_onload(obj:Form, e:LoadEventInfo)
- {
- lf_mmbfGetDeptCodeComboList(ds_init_dept, "A");
- grdf_sortNodeList(ds_init_dept, "depthngnm", "asc"); // 가나다 순으로 정리되도록 수정.
-
- var arrParam = [
- { dsNm: "ds_init_status_AI001", cdGrpId: "AI001" },
- { dsNm: "ds_init_gubun_AI002", cdGrpId: "AI002" }
- //{dsNm: "ds_init_rsrvflag_P0341", cdGrpId: "P0341", sortField: "dispseq", sortMehotd: "asc", showValue:false} //rsrvflag
- ];
- appf_getCodeList(arrParam, false);
-
- div_patinfo.visible = true;
-
- fInit();
-
-
- }
- function fInit()
- {
- div_patinfo.div_patlist.tabPatList.tabindex = 2;
- //div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
- //fInit_outpat();
-
- }
- function fNew_detl()
- {
- div_patinfo.div_patlist.tabPatList.tabindex = 2;
- div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
- //fInit_outpat();
-
- ds_detl.clearData();
- ds_detl.addRow();
-
- ds_detl.setColumn(0, "m", "i");
-
- }
- function fInit_outpat()
- {
- var curDate = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- ds_send_out.setColumn(0, "orddd", curDate);
- ds_send_out.setColumn(0, "orddeptcd", dutplcecd);
-
-
-
- }
- function fInit_inpat()
- {
- var curDate = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- ds_send_in.setColumn(0, "orddd", curDate);
- ds_send_in.setColumn(0, "wardcd", dutplcecd);
- }
- // Search
- function fSearch()
- {
- var oParam = {};
- oParam.id = "TRAIM00101";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetAIReqList";
- oParam.inds = "req=ds_send_list";
- oParam.outds = "ds_list=list";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00101";
- tranf_submit(oParam);
-
-
- }
- function cf_TRAIM00101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("조회를", "E009");
- return;
- }
- }
- function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
-
- }
- function fViewTableau(obj:Form, e:LoadEventInfo)
- {
- ds_send_tableau.setColumn(0, "scrncd", "TBLAI00001");
-
- var oParam = {};
- oParam.id = "getUrl";
- oParam.service = "authinfoapp.TableauInfo";
- oParam.method = "reqGetTableauTicket";
- oParam.inds = "req=ds_send_tableau";
- oParam.outds = "ds_tableauinfo=tableauinfo";
- oParam.async = true;
- oParam.callback = "cf_getUrl";
- tranf_submit(oParam);
- }
- function cf_getUrl(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- var tableauURL = ds_tableauinfo.getColumn(0, "tableauURL");
-
- div_detl.web_tableau.url = tableauURL;
- }
- var sOpenState = "C"; // O : open, H : half open, C : close
- function div_patinfo_btn_patinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- var rightPos = this.position.right - 23;
-
- if(sOpenState == "C") {
- div_patinfo.visible = true;
-
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - 800;
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - 410;
-
- //this.parent.style.background = "white";
- //div_dim.position.x = 1024;
- //div_dim.visible = false;
-
- // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
- //fViewThumbnail();
-
- sOpenState = "H";
- } else if(sOpenState == "O" || sOpenState == "H") {
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - 20;
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
-
- //this.parent.style.background = "white";
- //div_dim.position.x = 1024;
- //div_dim.visible = false;
- //div_patinfo.visible = false;
- sOpenState = "C";
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_opatmngt.clearData();
-
- var oParam = {};
- oParam.id = "TRAIM00103";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetOutPatList";
- oParam.inds = "req=ds_send_out";
- oParam.outds = "ds_grd_opatmngt=list";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00103";
- tranf_submit(oParam);
- }
- function cf_TRAIM00103(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_ipatmngt.clearData();
-
- if(obj.parent.chk_in_schedule.value == "Y") {
- var curDate = utlf_getCurrentDate();
- var year = curDate.substr(0, 4);
- var month = curDate.substr(4, 2);
- var orddd = ds_send_in.getColumn(0, "orddd");
- var wardcd = ds_send_in.getColumn(0, "wardcd");
- var orddeptcd = ds_send_in.getColumn(0, "orddeptcd");
- var orddrid = ds_send_in.getColumn(0, "orddrid");
-
- if(utlf_isNull(orddeptcd)) orddeptcd = "-";
- if(utlf_isNull(orddrid)) orddrid = "-";
-
- ds_send_in_schedule.setColumn(0, "year", year);
- ds_send_in_schedule.setColumn(0, "month", month);
- ds_send_in_schedule.setColumn(0, "orddeptcd", orddeptcd);
- ds_send_in_schedule.setColumn(0, "orddrid", orddrid);
- ds_send_in_schedule.setColumn(0, "assgward", wardcd);
- ds_send_in_schedule.setColumn(0, "pid", "");
- ds_send_in_schedule.setColumn(0, "hngnm", "");
- ds_send_in_schedule.setColumn(0, "fromdd", orddd);
- ds_send_in_schedule.setColumn(0, "todd", orddd);
- ds_send_in_schedule.setColumn(0, "erreglyn", "I");
- ds_send_in_schedule.setColumn(0, "inflag", "G");
- ds_send_in_schedule.setColumn(0, "statflag", "A");
- ds_send_in_schedule.setColumn(0, "bedkind", "-");
-
- var oParam = {};
- oParam.id = "TRMMO09001";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetInReqHistInfoList";
- oParam.inds = "req=ds_send_in_schedule";
- oParam.outds = "ds_grd_inreqhistlist=inreqhistlist";
- oParam.async = true;
- oParam.callback = "cf_TRMMO09001";
- tranf_submit(oParam);
- } else {
- var oParam = {};
- oParam.id = "TRAIM00102";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetInPatList";
- oParam.inds = "req=ds_send_in";
- oParam.outds = "ds_grd_ipatmngt=list";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00102";
- tranf_submit(oParam);
- }
- }
- function cf_TRMMO09001(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_grd_inreqhistlist.addColumn("acptyn", "string");
- }
- function cf_TRAIM00102(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function div_patinfo_div_patlist_tabPatList_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var curDate = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- if(e.postindex == 0) {
- // 환자리스트 외래 초기화
- if(utlf_isNull(ds_send_out.getColumn(0, "orddd"))) {
- fInit_outpat();
- //fDeptChanged();
- }
- } else if(e.postindex == 1) {
- // 환자리스트 입원 초기화
- if(utlf_isNull(ds_send_in.getColumn(0, "orddd"))) {
- fInit_inpat();
-
- //fDeptList();
- }
- } else if(e.postindex == 2){
-
- div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_grd_opatmngt.rowposition;
-
- ds_detl.setColumn(0, "pid", ds_grd_opatmngt.getColumn(row, "pid"));
- ds_detl.setColumn(0, "pnm", ds_grd_opatmngt.getColumn(row, "hngnm"));
-
- div_patinfo.btn_patinfo.click();
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
-
- var row = ds_grd_ipatmngt.rowposition;
-
- ds_detl.setColumn(0, "pid", ds_grd_ipatmngt.getColumn(row, "pid"));
- ds_detl.setColumn(0, "pnm", ds_grd_ipatmngt.getColumn(row, "dispnm2"));
-
- div_patinfo.btn_patinfo.click();
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
-
- var row = ds_patinfolist.rowposition;
-
- ds_detl.setColumn(0, "pid", ds_patinfolist.getColumn(row, "pid"));
- ds_detl.setColumn(0, "pnm", ds_patinfolist.getColumn(row, "hngnm"));
-
- div_patinfo.btn_patinfo.click();
- }
- function div_patinfo_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- div_patinfo.btn_patinfo.click();
- }
- function div_detl_btn_file_add_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileAdd();
- }
- function fFileAdd(colName) {
- //******파일을 첨부하기 위해 파일열기가 open 되게 한다.
- var oDsSaveFile = ds_file;
-
-
- //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
- var fd = new FileDialog;
- var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.MULTILOAD);
-
- if(utlf_isNull(objVFileList)) return;
-
- ds_temp_file.clearData();
-
- for(var i = 0; i < objVFileList.length; i++) {
- var nRow = ds_temp_file.addRow();
-
- var objFileinfo = dsf_writeFileToDs(objVFileList[i], ds_temp_file, nRow, "filedata");
-
- if (!checkFileSize(objFileinfo.filesize)){
- sysf_messageBox(objFileinfo.filename + " 파일의 크기가 최대치(" + gMaxSize + "Byte)를 초과하여 첨부할 수 없습니다", "E");
- ds_temp_file.deleteRow(nRow);
- } else {
- ds_temp_file.setColumn(nRow, "filename", objFileinfo.filename);
- ds_temp_file.setColumn(nRow, "filesize", objFileinfo.filesize);
- ds_temp_file.setColumn(nRow, "filetype", objFileinfo.filetype);
- }
- }
-
- oDsSaveFile.appendData(ds_temp_file);
-
- div_detl.grd_files.vscrollbar.pos = div_detl.grd_files.vscrollbar.max;
-
- oDsSaveFile.rowposition = oDsSaveFile.rowcount - 1;
- }
- function checkFileSize(fileSize)
- {
- if (fileSize <= gMaxSize)
- return true;
- else
- return false;
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if (fInputValueCheck(obj.parent)) {
- // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
- ds_send_search.addColumn("functionyn", "string");
- ds_send_search.setColumn(0, "functionyn", "N");
- // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
-
- var oParam = {};
- oParam.id = "TRPMC02500";
- oParam.service = "patinfomngtapp.PatBaseInfo";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_patinfolist=patinfolist";
- oParam.async = true;
- oParam.callback = "cf_TRPMC02500";
-
- tranf_submit(oParam);
- }
- }
- function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_patinfolist.addColumn("acptyn", "string");
- }
- // 입력값의 유효범위 체크
- function fInputValueCheck(oDiv) {
-
- var cond = ds_send_search.getColumn(0, "srchcond");
-
- switch(cond) {
- case '1': // 환자번호 체크
- if (utlf_isNull(ds_send_search.getColumn(0, "pid"))) {
- sysf_messageBox("환자번호를 정확히", "C001");
- oDiv.edt_pid.setFocus();
- return false;
- } else {
- return true;
- }
- break;
- case '2':
- //환자이름 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length >= 2) {
- return true;
- } else {
- sysf_messageBox("환자이름을 2자리 이상", "C001");
- oDiv.edt_hngnm.setFocus();
- return false;
- }
- break;
- case '3':
- //환자 주민번호 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length >= 4 && utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length >=1) {
- return true;
- } else {
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
- sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length < 1) {
- sysf_messageBox("환자 주민번호 뒷자리를 1자리 이상", "C001");
- oDiv.edt_rrgstno2.setFocus();
- return false;
- }
- sysf_messageBox("환자 주민번호를", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- break;
- case '4': // 환자이름 유효성 체크. 환자 주민번호 체크
- // 환자이름 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length < 2) {
- sysf_messageBox("환자이름을 2자리 이상", "C001");
- oDiv.edt_hngnm.setFocus();
- return false;
- }
-
- // 환자 주민번호 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
- sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- return true;
- break;
- case '5': // 예약일자 유효성 체크
-
- if (utlf_isValidDateTime(ds_send_search.getColumn(0, "acptdd"), "YYYYMMDD")) {
- return true;
- } else {
- sysf_messageBox("예약일자를 정확히", "C001");
- return false;
- }
-
- break;
- default :
- sysf_messageBox("검색조건이 정확히 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
- oDiv.rdo_searchcond.setFocus();
- return false;
- break;
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_save_file.clearData();
-
- if(ds_file.rowcount <= 0) {
- ds_detl.setColumn(0, "filekey", "");
- } else {
- ds_file.filter("utlf_isNull(filekey) == true");
- ds_save_file.copyData(ds_file, true);
- ds_file.filter("");
- }
-
- var oParam = {};
- oParam.id = "TXAIM00101";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqExeSaveAIReq";
- oParam.inds = "req=ds_detl savefiles=ds_save_file deletefiles=ds_delete_file";
- oParam.outds = "ds_result=result ds_detl=detl ds_file=files";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function btn_new_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sOpenState=="C"){
- div_patinfo.btn_patinfo.click();
- }
-
- fNew_detl();
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_onkeydown(obj:Div, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- div_patinfo.div_patlist.tabPatList.tab_search.div_search.btn_search.setFocus();
- frmf_inputEnterKey('div_patinfo.div_patlist.tabPatList.tab_search.div_search.btn_search', 'onclick', new ClickEventInfo);
-
-
- }
- }
- function div_detl_grd_files_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == 4) {
- fPreview(ds_file.getColumn(e.row, "filename"), ds_file.getColumn(e.row, "filepath"));
- } else if(e.col == 5) {
- fFileDown(ds_file.getColumn(e.row, "filename"), ds_file.getColumn(e.row, "filepath"));
- }
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_list.rowposition;
-
- ds_send_detl.setColumn(0, "gubun", ds_list.getColumn(row, "gubun"));
- ds_send_detl.setColumn(0, "pid", ds_list.getColumn(row, "pid"));
- ds_send_detl.setColumn(0, "seqno", ds_list.getColumn(row, "seqno"));
-
- var oParam = {};
- oParam.id = "TRAIM00104";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetAIReqDetl";
- oParam.inds = "req=ds_send_detl";
- oParam.outds = "ds_detl=detl ds_file=files";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00104";
- tranf_submit(oParam);
- }
- function cf_TRAIM00104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fViewTableau();
- }]]></Script>
- </Form>
- </FDL>
|