1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720 |
- <?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" style="align:center 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" style="align:center 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 10 127 59 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 10 151 59 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 689 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_na" 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" style="align:center middle;"/>
- <Edit id="opt_age" taborder="18" readonly="true" autoselect="true" position="absolute 484 22 531 45" anchor="left top" style="align:center 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:center 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"/>
- <Radio id="Radio00" taborder="21" columncount="-1" rowcount="-1" position="absolute 166 180 464 200" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="div_detl_Radio00_onitemchanged" style="itempadding:0 5 0 0;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">LIST</Col>
- <Col id="datacolumn">리스트형</Col>
- </Row>
- <Row>
- <Col id="codecolumn">GRAPH</Col>
- <Col id="datacolumn">그래프(통합)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">GRAPHBYFEAT</Col>
- <Col id="datacolumn">그래프(개별)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_save" taborder="2" text="저장" class="btn3" position="absolute 1150 4 1207 26" onclick="btn_save_onclick" anchor="top right"/>
- <Static id="caption01" text="분석이력" class="tit_2" position="absolute 0 138 183 155" anchor="left top"/>
- <Shape id="line02" class="line_10" position="absolute 0 154 488 160"/>
- <Div id="group1" taborder="3" class="div_SA2" position="absolute 0 26 488 130" onkeydown="group1_onkeydown">
- <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 195 74 398 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" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">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" 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" text="요청일" value="A">
- <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>
- </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" class="icon_search" position="absolute 169 29 194 49" anchor="default" onclick="group1_btn_pat_onclick"/>
- <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" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 84 51 219 71" anchor="default" onitemchanged="group1_cmb_orddeptcd_onitemchanged"/>
- <Static id="caption9" text="진료의 : " class="search_name" position="absolute 239 52 312 72" anchor="default"/>
- <Combo id="cmb_orddrid" taborder="31" innerdataset="@ds_init_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_gubun_AI002" 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 159 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;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");" text="bind:gubun" combodataset="ds_init_gubun_AI002" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="normal" style="align:center;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");" text="bind:pid"/>
- <Cell col="2" displaytype="normal" style="align:center;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");" text="bind:pnm"/>
- <Cell col="3" displaytype="date" style="align:center;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");" text="bind:reqdd"/>
- <Cell col="4" displaytype="normal" style="align:center;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");" text="bind:filecnt"/>
- <Cell col="5" displaytype="combo" style="align:center;background:EXPR(status == "P" ? "gold" : "");background2:EXPR(status == "P" ? "gold" : "");color:EXPR(status == "E" ? "blue" : status == "P" ? "red" : "");color2:EXPR(status == "E" ? "blue" : status == "P" ? "red" : "");" 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" anchor="top right"/>
- <Div id="div_patinfo" anchor="top right" taborder="7" visible="false" position="absolute 1181 17 2002 493">
- <Layouts>
- <Layout>
- <Div id="div_patinfo_back" taborder="60" style="shadow:outer -5,5 10 gray;" position="absolute 34 0 807 464"/>
- <Button id="btn_close_light" taborder="61" text="확대보기(F2)" onclick="div_patinfo_btn_close_light_onclick" class="btn2" position="absolute 646 11 733 31" tooltiptext="환자리스트를 반만 닫습니다" hotkey="F2"/>
- <Button id="btn_close" taborder="62" text="닫기(F1)" onclick="div_patinfo_btn_close_onclick" class="btn2" position="absolute 735 11 799 31" tooltiptext="환자리스트 닫기" hotkey="F1"/>
- <Button id="btn_patinfo" taborder="63" 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];"/>
- <Div id="div_patlist" taborder="64" style="background:white;border:1 solid green ;" position="absolute 34 0 807 464">
- <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;">
- <Tabpages>
- <Tabpage id="tab_out" text="외래">
- <Layouts>
- <Layout>
- <Div id="div_search_out" taborder="26" class="div_SA2" position="absolute 0 0 755 66">
- <Layouts>
- <Layout>
- <Static id="Static00" text="진료일자 :" class="search_name" position="absolute 10 10 83 30"/>
- <Calendar id="cal_orddd" taborder="79" autoselect="true" position="absolute 87 10 188 30"/>
- <Static id="Static01" text="진료과 :" class="search_name" position="absolute 249 10 309 30"/>
- <Combo id="cmb_dept" taborder="80" 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"/>
- <Static id="Static02" text="진료의사 :" class="search_name" position="absolute 10 36 82 56"/>
- <Combo id="cmb_orddr" taborder="81" 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 267 56"/>
- <Radio id="Radio00" taborder="82" 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 545 57" style="textpadding:0 5 0 3;">
- <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="83" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" position="absolute 551 37 684 57" style="textpadding:0 2 0 3;">
- <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="84" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick" class="btn1" position="absolute 694 22 746 42"/>
- <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="27" 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">
- <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="36" class="div_SA2" position="absolute 0 0 755 66">
- <Layouts>
- <Layout>
- <Calendar id="cal_workdd" taborder="82" autoselect="true" position="absolute 87 10 188 30"/>
- <Static id="Static00" text="업무일자 :" class="search_name" position="absolute 10 10 83 30"/>
- <Static id="Static01" text="병동 :" class="search_name" position="absolute 254 10 301 30"/>
- <Combo id="cmb_ward" taborder="83" 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"/>
- <Static id="Static02" text="진료과 :" class="search_name" position="absolute 10 36 70 56"/>
- <Combo id="cmd_dept" taborder="84" 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"/>
- <Static id="Static03" text="전문의 :" class="search_name" position="absolute 254 36 314 56"/>
- <Combo id="cmd_orddr" taborder="85" innerdataset="ds_init_orddr" codecolumn="userid" datacolumn="usernm" position="absolute 317 36 393 56"/>
- <Button id="btn_search" taborder="86" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick" class="btn1" position="absolute 682 22 734 42"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 22 672 42" anchor="top right"/>
- <CheckBox id="chk_in_schedule" taborder="87" 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"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patlist_in" taborder="37" 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">
- <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="38" 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">
- <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="16" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_onkeydown" class="div_SA2" position="absolute 0 0 755 38">
- <Layouts>
- <Layout>
- <Static id="Static00" text="검색조건" class="search_name" position="absolute 12 9 76 29"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 8 672 28" anchor="top right"/>
- <Button id="btn_search" taborder="48" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick" class="btn1" position="absolute 682 8 734 28"/>
- <Edit id="edt_hngnm" taborder="49" imemode="hangul" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_hngnm_onkeydown" visible="false" position="absolute 292 8 376 28"/>
- <Edit id="edt_rrgstno1" taborder="50" inputtype="number,digit" maxlength="6" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno1_onkeydown" visible="false" position="absolute 380 8 480 28"/>
- <Edit id="edt_rrgstno2" taborder="51" maxlength="7" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno2_onkeydown" visible="false" position="absolute 482 8 582 28"/>
- <Edit id="edt_pid" taborder="52" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_pid_onkeydown" position="absolute 292 8 376 28"/>
- <Radio id="rdo_searchcond" taborder="53" 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;itempadding:0 0 0 0;margin:0 0 0 0;">
- <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="17" 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">
- <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="hngnm" 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"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="status" 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="sex" 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="true" 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"/>
- <Column id="filekey" 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="scrncd" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="targetid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_etc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="viewflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="viewflag">LIST</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_doct" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_doctor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_doctlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init_doctlist_medispcl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="doctid" type="STRING" size="256"/>
- <Column id="doctnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="doctid"/>
- <Col id="doctnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_pidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_attfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filepath" type="STRING" size="256"/>
- <Column id="fullpath" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilecnts" type="STRING" size="256" sumtext="첨부파일내용"/>
- <Column id="fullpath" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_gubun_AI002_na" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item9" compid="div_detl.output1" propid="value" datasetid="ds_detl" columnid="sex"/>
- <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="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"/>
- <BindItem id="item19" compid="div_detl.Radio00" propid="value" datasetid="ds_etc" columnid="viewflag"/>
- <BindItem id="item0" compid="group1.Calendar01" propid="value" datasetid="ds_send_list" columnid="todd"/>
- <BindItem id="item1" compid="group1.Calendar00" propid="value" datasetid="ds_send_list" columnid="fromdd"/>
- <BindItem id="item2" compid="group1.ipt_pid" propid="value" datasetid="ds_send_list" columnid="pid"/>
- <BindItem id="item4" compid="group1.ipt_hngnm" propid="value" datasetid="ds_send_list" columnid="hngnm"/>
- <BindItem id="item5" compid="group1.cmb_orddeptcd" propid="value" datasetid="ds_send_list" columnid="orddeptcd"/>
- <BindItem id="item6" compid="group1.cmb_orddrid" propid="value" datasetid="ds_send_list" columnid="orddrid"/>
- <BindItem id="item11" compid="group1.cmb_formcd" propid="value" datasetid="ds_send_list" columnid="gubun"/>
- <BindItem id="item12" compid="group1.Radio00" propid="value" datasetid="ds_send_list" columnid="status"/>
- <BindItem id="item13" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cal_orddd" propid="value" datasetid="ds_send_out" columnid="orddd"/>
- <BindItem id="item14" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_dept" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
- <BindItem id="item15" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr" propid="value" datasetid="ds_send_out" columnid="orddrid"/>
- <BindItem id="item16" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio00" propid="value" datasetid="ds_send_out" columnid="prcpspecflag"/>
- <BindItem id="item17" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio01" propid="value" datasetid="ds_send_out" columnid="ampmflag"/>
- <BindItem id="item20" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cal_workdd" propid="value" datasetid="ds_send_in" columnid="orddd"/>
- <BindItem id="item21" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmb_ward" propid="value" datasetid="ds_send_in" columnid="wardcd"/>
- <BindItem id="item22" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_dept" propid="value" datasetid="ds_send_in" columnid="orddeptcd"/>
- <BindItem id="item23" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr" propid="value" datasetid="ds_send_in" columnid="orddrid"/>
- <BindItem id="item24" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid" propid="value" datasetid="ds_send_search" columnid="pid"/>
- <BindItem id="item25" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno1" propid="value" datasetid="ds_send_search" columnid="rrgstno1"/>
- <BindItem id="item26" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno2" propid="value" datasetid="ds_send_search" columnid="rrgstno2"/>
- <BindItem id="item27" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_hngnm" propid="value" datasetid="ds_send_search" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_medirecxp::MMRCommon.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)
- {
-
- fInit();
-
-
- }
- function fInit()
- {
- div_patinfo.div_patlist.tabPatList.tabindex = 2;
-
- 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);
-
- dsf_copyDs(ds_init_gubun_AI002_na, ds_init_gubun_AI002);
-
- dsf_addDsItem(ds_init_dept, "deptcd", "depthngnm", "- 전 체 -", "", "above");
- dsf_addDsItem(ds_init_status_AI001, "cdid", "cdnm", "- 전 체 -", "", "above");
- dsf_addDsItem(ds_init_gubun_AI002, "cdid", "cdnm", "- 전 체 -", "", "above");
-
- // 오늘 날짜로 세팅
- var CurrentDate = utlf_getCurrentDate();
- var fromdd = CurrentDate.toDate().getAddDate(-12,"M").getDateFormat();
-
- ds_send_list.setColumn(0, "fromdd", fromdd);
- ds_send_list.setColumn(0, "todd", CurrentDate);
- ds_send_list.setColumn(0, "orddeptcd", "");
- ds_send_list.setColumn(0, "gubun", "");
- ds_send_list.setColumn(0, "status", "");
-
-
- div_patinfo.visible = true;
-
-
- }
- 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_file.clearData();
-
- ds_detl.setColumn(0, "m", "i");
-
- fClearTableau();
-
- }
- 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)
- {
- var viewflag = ds_etc.getColumn(0, "viewflag");
- if(viewflag == "LIST"){
- ds_send_tableau.setColumn(0, "scrncd", "TBLAI00002");
- }else if(viewflag == "GRAPH"){
- ds_send_tableau.setColumn(0, "scrncd", "TBLAI00001");
- }else if(viewflag == "GRAPHBYFEAT"){
- ds_send_tableau.setColumn(0, "scrncd", "TBLAI00003");
- }
- ds_send_tableau.setColumn(0, "userid", "AI01");
- ds_send_tableau.setColumn(0, "targetid", "AI");
-
- 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 fClearTableau()
- {
- //div_detl.web_tableau.url = "";
- div_detl.web_tableau.visible = false;
- }
- function cf_getUrl(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- var tableauURL = ds_tableauinfo.getColumn(0, "tableauURL");
-
- var gubun = ds_detl.getColumn(0, "gubun");
- var pid = ds_detl.getColumn(0, "pid");
-
- tableauURL += "&gubun="+gubun+"&pid="+pid;
-
- div_detl.web_tableau.visible = true;
- 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";
-
- div_detl.web_tableau.visible = false;
- } 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";
-
- if(ds_detl.getColumn(0, "m") == "u")
- div_detl.web_tableau.visible = true;
- }
- }
- 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"));
- ds_detl.setColumn(0, "age", ds_patinfolist.getColumn(row, "age"));
- ds_detl.setColumn(0, "sex", ds_patinfolist.getColumn(row, "sex"));
-
- 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);
- //ds_temp_file.setColumn(nRow, "filedata", objFileinfo.filedata);
- }
- }
-
- 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"));
- ds_send_detl.setColumn(0, "filekey", ds_list.getColumn(row, "filekey"));
-
- 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();
- }
- function div_detl_Radio00_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fViewTableau();
- }
- function group1_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var orddd = ds_send_list.getColumn(0, "fromdd");
- var orddeptcd = ds_send_list.getColumn(0, "orddeptcd");
- fDoctSearch(ds_init_doct, orddd, orddeptcd);
- }
- function fDoctSearch(dsObj, orddd, orddeptcd)
- {
- // 진료의사
- //ds_init_doctlist.clearData(); ds_init_doctlist.addRow();
- ds_send_doctor.clearData();
- dsf_makeValue( ds_send_doctor, "orddd", "string", orddd );
- dsf_makeValue( ds_send_doctor, "orddeptcd", "string", orddeptcd);
- var oParam = {};
- oParam.id = "TRARC01302";
- oParam.service = "healcarecoopapp.ReqAgnMngt";
- oParam.method = "reqGetDoctList";
- oParam.inds = "req=ds_send_doctor";
- oParam.outds = "ds_init_doctlist_medispcl=medispcl";
- oParam.async = false;
- //oParam.callback = "cf_TRARC01302";
- tranf_submit(oParam);
-
- dsf_copyDs(dsObj, ds_init_doctlist_medispcl);
- }
- function group1_btn_pat_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_send_list.getColumn(0, "pid");
- if(fPatPopUp(pid)){
- ds_send_list.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_list.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
- }
- }
- function fPatPopUp(pid)
- {
- if(!utlf_isNull(pid))
- {
- ds_temp_pidinfo.setColumn(0, "pid", pid);
- ds_temp_pidinfo.setColumn(0, "srchcond", "1");
- }
- else
- {
- ds_temp_pidinfo.setColumn(0, "pid", pid);
- ds_temp_pidinfo.setColumn(0, "srchcond", "2");
- }
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_temp_pidinfo;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if (frmf_getParameter("SPPMC02500_popupendflag") == "ok")
- {
- //model.setValue("/root/send/search/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- //model.setValue("/root/send/search/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- return true;
-
- }
-
- return false;
- }
- function group1_onkeydown(obj:Div, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- group1.btn_search.setFocus();
- frmf_inputEnterKey('group1.btn_search', 'onclick', new ClickEventInfo);
- }
- }
- function fPreview(filenm, filepath) {
- if(utlf_isNull(filepath)) return;
-
- var temp_path = "C:\\temp2";
-
- var objActiveX = new ActiveX();
- var FSO = objActiveX.createObject("Scripting.FileSystemObject");
-
- objActiveX.destroy();
- objActiveX = null;
-
- // 객체 생성 실패하면 리턴
- if (FSO == null) return;
- // 시스템 드라이브가 없다면..
- if (FSO.DriveExists("C") == false) return;
- // 임시디렉토리가 없으면 생성
- if (FSO.FolderExists(temp_path) == false)
- folder = FSO.CreateFolder(temp_path);
-
- ds_attfile.setColumn(0, "filepath", filepath);
- ds_attfile.setColumn(0, "fullpath", temp_path + "\\" + filenm);
- //키값을 가지고 DB에 저장된 데이타를 조회하러 간다
-
- var oParam = {};
- oParam.id = "TRAIM00105";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetAttachFile";
- oParam.inds = "req=ds_attfile";
- oParam.outds = "ds_filelist=file";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00105";
- tranf_submit(oParam);
- }
- function cf_TRAIM00105(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
-
- if(ds_filelist.rowcount > 0) {
- var fullpath = ds_filelist.getColumn(0, "fullpath");
-
- dsf_readFileFromDs(fullpath, ds_filelist, 0, "filecnts"); // 파일저장
-
- system.execShell("\"" + fullpath + "\"");
- }
- }
- function fFileDown(filenm, filepath) {
- if(utlf_isNull(filepath)) return;
-
- //파일을 다운로드 하기 위해 저장할 창을 띄움
- var fd = new FileDialog;
- var objVFileList = fd.open("다운 받을 위치를 선택하여 주십시오.", FileDialog.SAVE, "", filenm);
-
- if (objVFileList != null) {
- ds_attfile.setColumn(0, "filepath", filepath);
- ds_attfile.setColumn(0, "fullpath", objVFileList.fullpath);
- var oParam = {};
- oParam.id = "TRAIM00106";
- oParam.service = "aiapp.AIMngt";
- oParam.method = "reqGetAttachFile";
- oParam.inds = "req=ds_attfile";
- oParam.outds = "ds_filelist=file";
- oParam.async = true;
- oParam.callback = "cf_TRAIM00106";
- tranf_submit(oParam);
- }
- }
- function cf_TRAIM00106(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
-
- if(ds_filelist.rowcount > 0) {
- var fullpath = ds_filelist.getColumn(0, "fullpath");
-
- dsf_readFileFromDs(fullpath, ds_filelist, 0, "filecnts"); // 파일저장
-
- if(sysf_messageBox("파일을", "Q004") == "6")
- system.execShell("\"" + fullpath + "\"");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|