1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRC01400" position="absolute 0 0 1180 755" titletext="챠트이력관리" oninit="SMMRC01400_oninit" onload="SMMRC01400_onload">
- <Layouts>
- <Layout>
- <Combo position="absolute 524 651 699 670" id="combo38" taborder="39" innerdataset="@ds_init_P0021" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="병실" position="absolute 449 674 519 697" align="align:center middle;" id="caption113" class="cell_1"/>
- <MaskEdit position="absolute 1019 625 1095 644" id="input82" taborder="51" mask="##:##" displaynulltext=" " type="string" onkeydown="input82_onkeydown" autoselect="true" autoskip="true"/>
- <Edit position="absolute 524 702 699 721" id="input71" taborder="41" onkeydown="input71_onkeydown"/>
- <Combo position="absolute 524 625 699 644" id="combo39" taborder="38" innerdataset="@ds_init_lendmastinfo_rendcdlist_filter" datacolumn="rendresn" codecolumn="rendcd"/>
- <Edit position="absolute 524 676 699 695" id="input83" taborder="40"/>
- <Shape position="absolute 449 721 1179 727" linetype="horizontal" id="line63" class="line_3"/>
- <Calendar position="absolute 909 573 1014 592" id="input72" taborder="45" class="input_search" autoselect="true" autoskip="true"/>
- <Static text="대출예약일" position="absolute 829 571 904 594" align="align:center middle;" id="caption93" class="cell_1"/>
- <Static text="대출자ID" position="absolute 449 571 519 594" align="align:center middle;" id="caption115" class="cell_1"/>
- <Calendar position="absolute 909 599 1014 618" id="input84" taborder="47" class="input_search" autoselect="true" autoskip="true"/>
- <Edit position="absolute 524 599 679 618" id="ipt_appmanid" taborder="35" onkeydown="ipt_appmanid_onkeydown" autoselect="true"/>
- <Button position="absolute 683 601 699 617" id="button28" taborder="36" class="icon_search" text="" onclick="button28_onclick"/>
- <Calendar position="absolute 909 651 1014 670" id="input85" taborder="53" class="input_search" autoselect="true" autoskip="true"/>
- <Shape position="absolute 449 593 1179 599" linetype="horizontal" id="line65" class="line_3"/>
- <Static text="비고" position="absolute 829 699 904 722" align="align:center middle;" id="caption105" class="cell_1"/>
- <MaskEdit position="absolute 1019 573 1095 592" id="input74" taborder="46" mask="##:##" type="string" onkeydown="input74_onkeydown" displaynulltext=" " autoselect="true" autoskip="true"/>
- <Static text="반납예정일" position="absolute 829 649 904 672" align="align:center middle;" id="caption95" class="cell_1"/>
- <Static text="대출과" position="absolute 449 546 519 569" align="align:center middle;" id="caption117" class="cell_1"/>
- <Calendar position="absolute 909 548 1014 567" id="input86" taborder="43" class="input_search" autoselect="true" autoskip="true"/>
- <Shape position="absolute 449 747 829 753" linetype="horizontal" id="line66" class="line_3"/>
- <Static text="초/재진" position="absolute 449 649 519 672" align="align:center middle;" id="caption106" class="cell_1"/>
- <Edit position="absolute 909 701 1179 720" id="input75" taborder="56"/>
- <Edit position="absolute 704 599 824 618" id="input64" taborder="37" enable="false"/>
- <Static text="신청자ID" position="absolute 449 597 519 620" align="align:center middle;" id="caption118" class="cell_1"/>
- <MaskEdit position="absolute 1019 599 1095 618" id="input87" taborder="48" mask="##:##" type="string" displaynulltext=" " onkeydown="input87_onkeydown" autoselect="true" autoskip="true"/>
- <Edit position="absolute 704 573 824 592" id="input65" taborder="34" enable="false"/>
- <Shape position="absolute 449 696 1179 702" linetype="horizontal" id="line56" class="line_3"/>
- <Shape position="absolute 449 567 1179 573" linetype="horizontal" id="line68" class="line_3"/>
- <Static text="반납일시" position="absolute 829 623 904 646" align="align:center middle;" id="caption108" class="cell_1"/>
- <Edit position="absolute 524 573 679 592" id="ipt_lendmanid" taborder="32" onkeydown="ipt_lendmanid_onkeydown" autoselect="true"/>
- <Grid position="absolute 445 60 1180 515" id="chrtlendlist" binddataset="ds_chrtlendlist" oncelldblclick="chrtlendlist_oncelldblclick" taborder="1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="대출과"/>
- <Cell col="2" text="대출자"/>
- <Cell col="3" text="신청자"/>
- <Cell col="4" text="대출용도"/>
- <Cell col="5" text="초/재진"/>
- <Cell col="6" text="대출일시"/>
- <Cell col="7" text="반납일시"/>
- <Cell col="8" text="대출메세지"/>
- <Cell col="9" text="반납예정일"/>
- <Cell col="10" text="병실"/>
- <Cell col="11" text="퇴원일"/>
- <Cell col="12" text="과보관사유"/>
- <Cell col="13" text="과보관사유"/>
- <Cell col="14" text="비고"/>
- <Cell col="15" text="연락처"/>
- <Cell col="16" text="진료일"/>
- <Cell col="17" text="진료과"/>
- <Cell col="18" text="예약구분"/>
- <Cell col="19" text="pid"/>
- <Cell col="20" text="medirecno"/>
- <Cell col="21" text="chrtseqno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:appdeptabbr" wordwrap="char"/>
- <Cell col="2" text="bind:lendman" wordwrap="char"/>
- <Cell col="3" text="bind:appman" wordwrap="char"/>
- <Cell col="4" style="align:left middle;" text="bind:rendresn" wordwrap="char"/>
- <Cell col="5" text="bind:fsexam"/>
- <Cell col="6" text="bind:renddt" mask="expr:utlf_isNull(renddt) ? "" : "####-##-## ##:##""/>
- <Cell col="7" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) ? "" : "####-##-## ##:##""/>
- <Cell col="8" style="align:left middle;" text="bind:msgcnts" wordwrap="char"/>
- <Cell col="9" text="bind:rtnschedd" mask="expr:utlf_isNull(rtnschedd) ? "" : "####-##-##""/>
- <Cell col="10" text="bind:roomcd" wordwrap="char"/>
- <Cell col="11" text="bind:dschdd" wordwrap="char"/>
- <Cell col="12" displaytype="combo" edittype="none" text="bind:deptkeepcd" wordwrap="char" combodataset="ds_init_M0412" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="13" style="align:left middle;" text="bind:deptkeepresn" wordwrap="char"/>
- <Cell col="14" style="align:left middle;" text="bind:unrtnresn" wordwrap="char"/>
- <Cell col="15" text="bind:cntctelno"/>
- <Cell col="16" text="bind:orddt" mask="expr:utlf_isNull(orddt) ? "" : "####-##-##""/>
- <Cell col="17" text="bind:orddeptabbr" wordwrap="char"/>
- <Cell col="18" text="bind:rsrvflag"/>
- <Cell col="19" text="bind:pid"/>
- <Cell col="20" text="bind:medirecno"/>
- <Cell col="21" text="bind:chrtseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 449 619 1179 625" linetype="horizontal" id="line69" class="line_3"/>
- <Static text="차트대출상세내역" position="absolute 450 525 597 542" id="caption109" class="tit_2"/>
- <Calendar position="absolute 909 625 1014 644" id="input78" taborder="50" class="input_search" autoselect="true" autoskip="true"/>
- <Static text="차트이력관리" position="absolute 0 0 112 23" id="caption104" class="tit_1"/>
- <Static text="과보관사유" position="absolute 829 674 904 697" align="align:center middle;" id="caption99" class="cell_1"/>
- <Combo position="absolute 524 548 699 567" id="combo40" taborder="31" innerdataset="@ds_init_lendmastinfo_lenddeptlist" datacolumn="lenddeptnm" codecolumn="lenddeptcd"/>
- <Edit position="absolute 524 727 825 746" id="input79" taborder="42"/>
- <Edit position="absolute 1019 676 1179 695" id="input68" taborder="55" onkeydown="input68_onkeydown"/>
- <Shape position="absolute 445 57 1180 63" linetype="horizontal" id="line59" class="line_1"/>
- <Combo position="absolute 909 676 1014 695" id="combo30" taborder="54" innerdataset="@ds_init_M0412" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 1124 728 1180 748" id="button30" taborder="57" class="btn3" text="저장" onclick="button30_onclick"/>
- <Combo position="absolute 1099 625 1175 644" id="combo31" taborder="52" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">-</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">바코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">메뉴얼</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 683 576 699 592" id="button31" taborder="33" class="icon_search" text="" onclick="button31_onclick"/>
- <Static text="연락처" position="absolute 449 700 519 723" align="align:center middle;" id="caption110" class="cell_1"/>
- <Button position="absolute 1124 521 1180 541" id="button35" taborder="58" class="btn7" text="엑셀" onclick="button35_onclick"/>
- <Shape position="absolute 449 645 1179 651" linetype="horizontal" id="line71" class="line_3"/>
- <Static text="대출용도" position="absolute 449 623 519 646" align="align:center middle;" id="caption111" class="cell_1"/>
- <Static text="대출일시" position="absolute 829 597 904 620" align="align:center middle;" id="caption100" class="cell_1"/>
- <Static text="대출메세지" position="absolute 449 725 519 748" align="align:center middle;" id="caption90" class="cell_1" style="padding:0 0 0 8;font:Dotum,8;"/>
- <Combo position="absolute 1099 599 1175 618" id="combo37" taborder="49" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">-</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">바코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">메뉴얼</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="대출신청일" position="absolute 829 546 904 569" align="align:center middle;" id="caption112" class="cell_1"/>
- <Shape position="absolute 449 541 1179 547" linetype="horizontal" id="line61" class="line_1" style="strokepen:2 solid #9ebed4ff;"/>
- <MaskEdit position="absolute 1019 548 1095 567" id="input70" taborder="44" mask="##:##" type="string" displaynulltext=" " onkeydown="input70_onkeydown" autoselect="true" autoskip="true"/>
- <Static text="차트대출이력조회" position="absolute 446 40 576 57" id="caption91" class="tit_2"/>
- <Tab position="absolute 0 25 440 755" id="switch1" onchanged="switch1_onchanged" style="buttonpadding:4 50 4 50;buttonmargin:0 1 0 0;" taborder="0">
- <Tabpages>
- <Tabpage text="외래" id="case_chrtlist">
- <Layouts>
- <Layout>
- <Static text="최근내원일" position="absolute 219 33 294 56" align="align:center middle;" id="caption92" class="cell_1"/>
- <Shape position="absolute 3 592 435 598" linetype="horizontal" id="line62" class="line_1"/>
- <Static text="비고" position="absolute 3 108 78 131" align="align:center middle;" id="caption102" class="cell_1"/>
- <Button position="absolute 377 141 433 161" id="button27" taborder="28" class="btn3" text="삭제" onclick="switch1_case_chrtlist_button27_onclick"/>
- <Static text="이름" position="absolute 219 8 294 31" align="align:center middle;" id="caption103" class="cell_1"/>
- <Static text="분실이력" position="absolute 3 576 125 593" id="caption114" class="tit_2"/>
- <Static text="분실상태" position="absolute 219 83 294 106" align="align:center middle;" id="caption94" class="cell_1"/>
- <Shape position="absolute 3 161 435 167" linetype="horizontal" id="line64" class="line_1"/>
- <Button position="absolute 317 141 373 161" id="button29" taborder="27" class="btn3" text="수정" onclick="switch1_case_chrtlist_button29_onclick"/>
- <Static text="차트생성일" position="absolute 3 83 78 106" align="align:center middle;" id="caption116" class="cell_1"/>
- <Shape position="absolute 3 80 435 86" linetype="horizontal" id="line55" class="line_3"/>
- <Static text="대출상태" position="absolute 219 58 294 81" align="align:center middle;" id="caption96" class="cell_1"/>
- <Grid position="absolute 3 595 435 701" id="datagrid7" binddataset="ds_main_chrtstatlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="차트과"/>
- <Cell col="2" text="차트과"/>
- <Cell col="3" text="분실상태"/>
- <Cell col="4" text="처리일시"/>
- <Cell col="5" text="처리자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:orddeptabbr" wordwrap="char"/>
- <Cell col="2" text="bind:orddeptnm" wordwrap="char"/>
- <Cell col="3" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" text="bind:chrtstatdt" wordwrap="char" mask="expr:utlf_isNull(chrtstatdt) ? "" : "####-##-## ##:##""/>
- <Cell col="5" text="bind:rgstrnm" wordwrap="char"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="챠트 (paper)" position="absolute 3 144 124 161" id="caption97" class="tit_2"/>
- <MaskEdit position="absolute 80 86 217 105" id="ipt_cretdt" taborder="24" enable="false" mask="####-##-## ##:##:##" type="string" displaynulltext=" "/>
- <Static text="바코드NO" position="absolute 3 58 78 81" align="align:center middle;" id="caption107" class="cell_1"/>
- <Shape position="absolute 3 105 435 111" linetype="horizontal" id="line57" class="line_3"/>
- <Edit position="absolute 297 10 434 29" id="ipt_pnm" taborder="19" class="input_essential" enable="false"/>
- <Static text="등록번호" position="absolute 3 8 78 31" align="align:center middle;" id="caption119" class="cell_1"/>
- <Shape position="absolute 3 55 435 61" linetype="horizontal" id="line58" class="line_3"/>
- <Edit position="absolute 80 111 435 130" id="ipt_chrtrem" taborder="26" lengthunit="ascii" maxlength="200"/>
- <Grid position="absolute 3 164 435 568" id="grd_chrtlist" binddataset="ds_main_chrtlist" oncellclick="switch1_case_chrtlist_grd_chrtlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="차트번호"/>
- <Cell col="2" colspan="2" text="챠트과"/>
- <Cell col="4" text="대출 여부"/>
- <Cell col="5" text="분실상태"/>
- <Cell col="6" text="바코드NO"/>
- <Cell col="7" text="비고"/>
- <Cell col="8" text="pid"/>
- <Cell col="9" text="pnm"/>
- <Cell col="10" text="orddeptcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:medirecno"/>
- <Cell col="2" text="bind:orddeptabbr" wordwrap="char"/>
- <Cell col="3" style="align:left middle;" text="bind:orddeptnm" wordwrap="char"/>
- <Cell col="4" text="bind:lendyn" wordwrap="char"/>
- <Cell col="5" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6" style="align:left middle;" text="bind:bcno" wordwrap="char"/>
- <Cell col="7" style="align:left middle;" text="bind:chrtrem" wordwrap="char"/>
- <Cell col="8" text="bind:pid"/>
- <Cell col="9" text="bind:pnm"/>
- <Cell col="10" text="bind:orddeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 80 60 217 79" id="ipt_bcno" taborder="22" class="input_essential"/>
- <Combo position="absolute 238 573 368 592" id="combo32" taborder="29" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
- <Combo position="absolute 80 36 217 55" id="cmb_chrtdeptcd" taborder="20" enable="false" innerdataset="ds_init_cmb_chrtdeptcd" datacolumn="chrtdeptnm" codecolumn="chrtdeptcd"/>
- <Button position="absolute 201 10 217 26" id="button32" taborder="18" class="icon_search" text="" onclick="switch1_case_chrtlist_button32_onclick"/>
- <Combo position="absolute 297 86 434 105" id="cmb_chrtstat" taborder="25" enable="false" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 371 573 435 592" id="button33" taborder="30" class="btn2" text="상태저장" onclick="switch1_case_chrtlist_button33_onclick"/>
- <Combo position="absolute 297 60 434 79" id="cmb_lendyn" taborder="23" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">대출</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape position="absolute 3 130 435 136" linetype="horizontal" id="line60" class="line_3"/>
- <Edit position="absolute 80 10 180 29" id="ipt_pid" taborder="16" class="input_essential" onkeydown="switch1_case_chrtlist_ipt_pid_onkeydown"/>
- <Static text="챠트과" position="absolute 3 33 78 56" align="align:center middle;" id="caption101" class="cell_1"/>
- <MaskEdit position="absolute 297 36 434 55" id="ipt_lastorddd" taborder="21" class="input_essential" enable="false" mask="####-##-##" type="string" displaynulltext=" "/>
- <Shape position="absolute 3 30 435 36" linetype="horizontal" id="line72" class="line_3"/>
- <Shape position="absolute 3 4 435 10" linetype="horizontal" id="line1" class="line_1"/>
- <CheckBox position="absolute 183 12 200 29" id="checkbox1" taborder="17" truevalue="Y" falsevalue="N"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="입원" id="case_inchrtlist">
- <Layouts>
- <Layout>
- <Static text="비고" position="absolute 3 108 78 131" align="align:center middle;" id="caption1" class="cell_1"/>
- <Shape position="absolute 3 592 435 598" linetype="horizontal" id="line2" class="line_1"/>
- <Static text="퇴원일" position="absolute 223 33 297 56" align="align:center middle;" id="caption2" class="cell_1"/>
- <Static text="분실이력" position="absolute 3 576 124 593" id="caption3" class="tit_2"/>
- <Static text="이름" position="absolute 223 8 297 31" align="align:center middle;" id="caption4" class="cell_1"/>
- <Button position="absolute 376 140 432 162" id="button1" taborder="13" class="btn3" text="삭제" onclick="switch1_case_inchrtlist_button1_onclick"/>
- <Shape position="absolute 3 162 435 168" linetype="horizontal" id="line3" class="line_1"/>
- <Static text="분실상태" position="absolute 223 83 297 106" align="align:center middle;" id="caption5" class="cell_1"/>
- <Static text="차트생성일" position="absolute 3 83 78 106" align="align:center middle;" id="caption6" class="cell_1"/>
- <Button position="absolute 316 140 372 162" id="button2" taborder="12" class="btn3" text="수정" onclick="switch1_case_inchrtlist_button2_onclick"/>
- <Static text="대출상태" position="absolute 223 58 297 81" align="align:center middle;" id="caption7" class="cell_1"/>
- <Shape position="absolute 3 80 435 86" linetype="horizontal" id="line4" class="line_3"/>
- <Static text="바코드NO" position="absolute 3 58 78 81" align="align:center middle;" id="caption8" class="cell_1"/>
- <MaskEdit position="absolute 80 86 220 105" id="input1" taborder="9" enable="false" mask="####-##-## ##:##:##" type="string" displaynulltext=" "/>
- <Static text="챠트 (paper)" position="absolute 3 143 128 160" id="caption9" class="tit_2"/>
- <Grid position="absolute 3 595 435 700" id="datagrid1" binddataset="ds_datagrid1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="퇴원일"/>
- <Cell col="2" text="퇴원과"/>
- <Cell col="3" text="퇴원과"/>
- <Cell col="4" text="분실상태"/>
- <Cell col="5" text="처리일시"/>
- <Cell col="6" text="처리자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:dschdd" wordwrap="char" mask="expr:utlf_isNull(dschdd) ? "" : "####-##-##""/>
- <Cell col="2" text="bind:orddeptabbr" wordwrap="char"/>
- <Cell col="3" text="bind:orddeptnm" wordwrap="char"/>
- <Cell col="4" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" text="bind:chrtstatdt" wordwrap="char" mask="expr:utlf_isNull(chrtstatdt) ? "" : "####-##-## ##:##""/>
- <Cell col="6" text="bind:rgstrnm" wordwrap="char"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="등록번호" position="absolute 3 8 78 31" align="align:center middle;" id="caption10" class="cell_1"/>
- <Edit position="absolute 299 10 434 29" id="input2" taborder="4" class="input_essential" enable="false"/>
- <Shape position="absolute 3 105 435 111" linetype="horizontal" id="line5" class="line_3"/>
- <Edit position="absolute 80 110 435 129" id="input3" taborder="11" lengthunit="ascii" maxlength="200"/>
- <Shape position="absolute 3 55 435 61" linetype="horizontal" id="line6" class="line_3"/>
- <Edit position="absolute 80 61 220 80" id="input4" taborder="7" class="input_essential"/>
- <Combo position="absolute 238 573 368 592" id="combo1" taborder="14" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 204 10 220 26" id="button3" taborder="3" class="icon_search" text="" onclick="switch1_case_inchrtlist_button3_onclick"/>
- <Combo position="absolute 80 35 220 54" id="combo2" taborder="5" enable="false" innerdataset="@ds_init_lendmastinfo_lenddeptlist_filter" datacolumn="lenddeptnm" codecolumn="lenddeptcd"/>
- <Button position="absolute 371 573 435 592" id="button4" taborder="15" class="btn2" text="상태저장" onclick="switch1_case_inchrtlist_button4_onclick"/>
- <Combo position="absolute 299 86 434 105" id="combo3" taborder="10" enable="false" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
- <Grid position="absolute 3 165 435 568" id="grd_inchrtlist" taborder="59" binddataset="ds_main_chrtlist" oncellclick="switch1_case_inchrtlist_grd_inchrtlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell celltype="none"/>
- <Cell col="1" text="차트번호"/>
- <Cell col="2" text="퇴원일"/>
- <Cell col="3" text="퇴원과"/>
- <Cell col="4" text="회차"/>
- <Cell col="5" text="대출 상태"/>
- <Cell col="6" text="퇴원 분석"/>
- <Cell col="7" text="Index상태"/>
- <Cell col="8" text="미비상태"/>
- <Cell col="9" text="분실상태"/>
- <Cell col="10" text="바코드NO"/>
- <Cell col="11" text="비고"/>
- <Cell col="12" text="pid"/>
- <Cell col="13" text="pnm"/>
- <Cell col="14" text="dschdeptcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:medirecno"/>
- <Cell col="2" text="bind:dschdd" wordwrap="char" mask="expr:utlf_isNull(dschdd) ? "" : "####-##-##""/>
- <Cell col="3" text="bind:dschdeptnm" wordwrap="char"/>
- <Cell col="4" text="bind:indg" wordwrap="char"/>
- <Cell col="5" text="bind:lendyn" wordwrap="char"/>
- <Cell col="6" text="bind:dschanalyyn" wordwrap="char"/>
- <Cell col="7" text="bind:indexyn" wordwrap="char"/>
- <Cell col="8" text="bind:unprepstat" wordwrap="char"/>
- <Cell col="9" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="10" style="align:left middle;" text="bind:bcno" wordwrap="char"/>
- <Cell col="11" style="align:left middle;" text="bind:chrtrem" wordwrap="char"/>
- <Cell col="12" text="bind:pid"/>
- <Cell col="13" text="bind:pnm"/>
- <Cell col="14" text="bind:dschdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo position="absolute 299 61 434 80" id="combo4" taborder="8" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">반납</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">대출</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 80 10 180 29" id="ipt_i_pid" taborder="1" class="input_essential" enable="true" onkeydown="switch1_case_inchrtlist_ipt_i_pid_onkeydown"/>
- <Shape position="absolute 3 130 435 136" linetype="horizontal" id="line7" class="line_3"/>
- <Shape position="absolute 3 30 435 36" linetype="horizontal" id="line8" class="line_3"/>
- <MaskEdit position="absolute 299 35 434 54" id="input6" taborder="6" class="input_essential" enable="false" mask="####-##-##" type="string" displaynulltext=" "/>
- <Static text="퇴원과" position="absolute 3 33 78 56" align="align:center middle;" id="caption11" class="cell_1"/>
- <Shape position="absolute 3 4 435 10" linetype="horizontal" id="line9" class="line_1"/>
- <CheckBox position="absolute 183 12 200 29" id="checkbox2" taborder="2" truevalue="Y" falsevalue="N"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div position="absolute 765 38 1085 58" id="grup_inchrtlist" visible="false" taborder="2">
- <Layouts>
- <Layout>
- <Static text="퇴원과:" position="absolute 5 0 60 20" id="caption13" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
- <Edit readonly="true" position="absolute 55 0 155 19" id="output1" class="output" style="border:1 solid #ffffffff ;" anchor="default"/>
- <Static text="퇴원일:" position="absolute 165 0 220 20" id="caption14" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
- <MaskEdit readonly="true" position="absolute 215 0 315 19" id="output2" class="output" mask="####-##-##" style="border:1 solid #ffffffff ;" type="string" displaynulltext=" " anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 610 38 765 58" id="grup_chrtlist" taborder="3">
- <Layouts>
- <Layout>
- <Static text="차트과:" position="absolute 0 0 55 20" id="cap_chrtdeptnm" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
- <Edit readonly="true" position="absolute 50 0 150 19" id="ipt_chrtdeptnm" class="output" style="border:1 solid #ffffffff ;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 449 671 1179 677" linetype="horizontal" id="line10" class="line_3"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0392" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0412" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0424" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" filterstr="rendcd != 'ALL'">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
- <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
- <Column id="rendresn" type="STRING" size="256" sumtext="대출용도"/>
- <Column id="defltrendterm" type="STRING" size="256" sumtext="대출기간"/>
- <Column id="defltrendtermunit" type="STRING" size="256" sumtext="대출기간단위"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_lenddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- <Column id="lenddeptcd" type="STRING" size="256" sumtext="대출과코드"/>
- <Column id="lenddeptnm" type="STRING" size="256" sumtext="대출자명"/>
- <Column id="lenddeptabbr" type="STRING" size="256" sumtext="대출자약어명"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="allwardyn" type="STRING" size="256" sumtext="병동유무"/>
- <Column id="orddeptkind" type="STRING" size="256" sumtext="센터구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_chrtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chrtdeptcd" type="STRING" size="256" sumtext="차트과코드"/>
- <Column id="chrtdeptnm" type="STRING" size="256" sumtext="차트과명"/>
- <Column id="chrtdeptabbr" type="STRING" size="256" sumtext="차트과약어명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_chrtchgrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chgruserid" type="STRING" size="256" sumtext="차트담당자ID"/>
- <Column id="chgrusernm" type="STRING" size="256" sumtext="차트담당자명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_keepplcelist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="keepno" type="STRING" size="256" sumtext="보관장소일련번호"/>
- <Column id="keepplce" type="STRING" size="256" sumtext="보관장소명"/>
- <Column id="frompid" type="STRING" size="256" sumtext="시작환자번호"/>
- <Column id="topid" type="STRING" size="256" sumtext="끝환자번호"/>
- </ColumnInfo>
- </Dataset>
- <FilteredDataset id="ds_init_lendmastinfo_rendcdlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_rendcdlist" filterstr="rendcd != 'ALL'"/>
- <FilteredDataset id="ds_init_lendmastinfo_lenddeptlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_lenddeptlist" filterstr="lenddeptcd != 'ALL'"/>
- <FilteredDataset id="ds_init_lendmastinfo_chrtdeptlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_chrtdeptlist" filterstr="chrtdeptcd != 'ALL'"/>
- <Dataset id="ds_chrtlendlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appdeptabbr" type="STRING" size="256" sumtext="신청과약어명"/>
- <Column id="lendman" type="STRING" size="256" sumtext="대출자명"/>
- <Column id="appman" type="STRING" size="256" sumtext="신청자명"/>
- <Column id="rendresn" type="STRING" size="256" sumtext="대출용도"/>
- <Column id="fsexam" type="STRING" size="256" sumtext="초/재진명칭"/>
- <Column id="renddt" type="STRING" size="256" sumtext="대출일시"/>
- <Column id="rtndt" type="STRING" size="256" sumtext="반납일시"/>
- <Column id="msgcnts" type="STRING" size="256" sumtext="비고"/>
- <Column id="rtnschedd" type="STRING" size="256" sumtext="반납예정일"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="병동-퇴원일"/>
- <Column id="deptkeepcd" type="STRING" size="256" sumtext="과보관사유코드 (공통코드 M0412)"/>
- <Column id="deptkeepresn" type="STRING" size="256" sumtext="과보관사유"/>
- <Column id="unrendresn" type="STRING" size="256" sumtext="미대출사유"/>
- <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
- <Column id="orddt" type="STRING"/>
- <Column id="orddeptabbr" type="STRING" size="256" sumtext="진료과약어명"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분 (공통코드 P0341) C.진료의뢰 D.과예약 I.인터넷 K.RC N.- T.전화 U.followup)"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트번호"/>
- <Column id="chrtseqno" type="BIGDECIMAL" size="256" sumtext="대출번호"/>
- <Column id="appdeptcd" type="STRING" size="256" sumtext="신청과"/>
- <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
- <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
- <Column id="appdt" type="STRING" size="256" sumtext="신청일시"/>
- <Column id="fstacptprndt" type="STRING" size="256" sumtext="접수증출력일시"/>
- <Column id="rendschedd" type="STRING" size="256" sumtext="대출예약일"/>
- <Column id="rendschedt" type="STRING" size="256" sumtext="대출예약일시"/>
- <Column id="delyn" type="STRING" size="256" sumtext="대출취소유무"/>
- <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
- <Column id="unrendcd" type="STRING" size="256" sumtext="미대출사유코드 (공통코드 M0392)"/>
- <Column id="unrtnresn" type="STRING" size="256" sumtext="미반납사유"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분코드"/>
- <Column id="rsrv" type="STRING" size="256" sumtext="예약구분명칭"/>
- <Column id="prnpid" type="STRING" size="256" sumtext="출력을 위한 환자등록번호"/>
- <Column id="pnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
- <Column id="allchrtyn" type="STRING" size="256" sumtext="전체/과별구분"/>
- <Column id="chrtdeptcd" type="STRING" size="256" sumtext="차트과코드"/>
- <Column id="chrtdeptnm" type="STRING" size="256" sumtext="차트과명"/>
- <Column id="chrtdeptabbr" type="STRING" size="256" sumtext="차트과약어명"/>
- <Column id="appdeptnm" type="STRING" size="256" sumtext="신청과명"/>
- <Column id="keepno" type="STRING" size="256" sumtext="보관장소코드"/>
- <Column id="keepplce" type="STRING" size="256" sumtext="보관장소"/>
- <Column id="chrtlendyn" type="STRING" size="256" sumtext="챠트대출유무"/>
- <Column id="activerend" type="STRING" size="256" sumtext="대출시-대출용도"/>
- <Column id="activerenddd" type="STRING" size="256" sumtext="대출시-대출일자"/>
- <Column id="activedept" type="STRING" size="256" sumtext="대출시-대출과/신청자"/>
- <Column id="rendbcflag" type="STRING" size="256" sumtext="바코드처리구분(B:바코드,M:메뉴얼,X:처리안함"/>
- <Column id="rtnbcflag" type="STRING" size="256" sumtext="바코드처리구분(B:바코드,M:메뉴얼,X:처리안함"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="부진료과코드"/>
- <Column id="fstacptprndt" type="STRING" size="256" sumtext="접수증출력일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtstatlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptabbr" type="STRING" size="256" sumtext="차트과/퇴원과 약어명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="차트과/퇴원과 명"/>
- <Column id="chrtstat" type="STRING" size="256" sumtext="차트상태코드"/>
- <Column id="chrtstatdt" type="STRING" size="256" sumtext="차트상태처리일시"/>
- <Column id="rgstrnm" type="STRING" size="256" sumtext="처리자"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="rgstrid" type="STRING" size="256" sumtext="처리자ID"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="차트과/퇴원과 코드"/>
- <Column id="orddd" type="STRING" size="256" sumtext="입원일"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트이력번호"/>
- <Column id="orddeptabbr" type="STRING" size="256" sumtext="차트과/퇴원과 약어명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="차트과/퇴원과 명"/>
- <Column id="lendyn" type="STRING" size="256" sumtext="대출여부"/>
- <Column id="chrtstat" type="STRING" size="256" sumtext="분실상태"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
- <Column id="chrtrem" type="STRING" size="256" sumtext="비고"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="pnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="차트과/퇴원과 코드"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
- <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="차트생성일"/>
- <Column id="dschdeptnm" type="STRING" size="256" sumtext="퇴원과 명"/>
- <Column id="indg" type="STRING" size="256" sumtext="입원회차"/>
- <Column id="dschanalyyn" type="STRING" size="256" sumtext="퇴원분석유무"/>
- <Column id="indexyn" type="STRING" size="256" sumtext="인덱스여부"/>
- <Column id="unprepstat" type="STRING" size="256" sumtext="미비상태"/>
- <Column id="dschdeptcd" type="STRING" size="256" sumtext="퇴원과 코드"/>
- <Column id="chkflag" type="STRING" size="256" sumtext="체크flag"/>
- <Column id="tmpcodeyn" type="STRING" size="256" sumtext="가코딩여부"/>
- <Column id="chrtstat" type="STRING" size="256" sumtext="분실상태"/>
- <Column id="chrtstatnm" type="STRING" size="256" sumtext="분실상태명"/>
- <Column id="disposstat" type="STRING" size="256" sumtext="퇴원분석상태"/>
- <Column id="orddd" type="STRING" size="256" sumtext="원무키-진료일"/>
- <Column id="cretno" type="BIGDECIMAL" size="256" sumtext="원무키-생성번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트이력번호"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="chrtrem" type="STRING" size="256"/>
- <Column id="lendyn" type="STRING" size="256"/>
- <Column id="lastorddd" type="STRING" size="256"/>
- <Column id="chrtstat" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="dschdeptcd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="orddeptabbr" type="STRING" size="256"/>
- <Column id="dschdeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chrtstat">00</Col>
- <Col id="ioflag">O</Col>
- <Col id="orddeptabbr"/>
- <Col id="dschdeptnm"/>
- <Col id="dschdeptcd"/>
- <Col id="lendyn"/>
- <Col id="chrtrem"/>
- <Col id="bcno"/>
- <Col id="orddeptcd"/>
- <Col id="medirecno"/>
- <Col id="pnm"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chrtlendinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chrtseqno" type="STRING" size="256" sumtext="대출이력번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="appdeptcd" type="STRING" size="256" sumtext="대출과"/>
- <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
- <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
- <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
- <Column id="appdt" type="STRING" size="256"/>
- <Column id="rendschedd" type="STRING" size="256" sumtext="대출예약일"/>
- <Column id="renddt" type="STRING" size="256"/>
- <Column id="rtndt" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256" sumtext="대출코드"/>
- <Column id="deptkeepcd" type="STRING" size="256" sumtext="과보관코드"/>
- <Column id="deptkeepresn" type="STRING" size="256" sumtext="과보관사유"/>
- <Column id="unrtnresn" type="STRING" size="256" sumtext="미반납사유"/>
- <Column id="msgcnts" type="STRING" size="256" sumtext="메세지"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초/재진"/>
- <Column id="chrtdeptcd" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="rendbcflag" type="STRING" size="256" sumtext="대출바코드"/>
- <Column id="rtnbcflag" type="STRING" size="256" sumtext="반납바코드"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="appdd" type="STRING" size="256" sumtext="신청일"/>
- <Column id="rtnschedd" type="STRING" size="256" sumtext="반납예정일"/>
- <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
- <Column id="rendschetm" type="STRING" size="256" sumtext="대출예약시간"/>
- <Column id="renddd" type="STRING" size="256" sumtext="대출일"/>
- <Column id="rendtm" type="STRING" size="256" sumtext="대출시간"/>
- <Column id="rtndd" type="STRING" size="256" sumtext="반납일"/>
- <Column id="rtntm" type="STRING" size="256" sumtext="반납시간"/>
- <Column id="fstacptprndt" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- <Column id="rendresn" type="STRING" size="256"/>
- <Column id="unrendcd" type="STRING" size="256"/>
- <Column id="unrendresn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chrtseqno"/>
- <Col id="pid"/>
- <Col id="appdeptcd"/>
- <Col id="lendmanid"/>
- <Col id="appmanid"/>
- <Col id="cntctelno"/>
- <Col id="appdt"/>
- <Col id="rendschedd"/>
- <Col id="renddt"/>
- <Col id="rtndt"/>
- <Col id="rendcd"/>
- <Col id="deptkeepcd"/>
- <Col id="deptkeepresn"/>
- <Col id="unrtnresn"/>
- <Col id="msgcnts"/>
- <Col id="roomcd"/>
- <Col id="fsexamflag"/>
- <Col id="chrtdeptcd"/>
- <Col id="lendman"/>
- <Col id="appman"/>
- <Col id="rendbcflag"/>
- <Col id="rtnbcflag"/>
- <Col id="usernm"/>
- <Col id="appdd"/>
- <Col id="rtnschedd"/>
- <Col id="renddd"/>
- <Col id="rtndd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn1" type="STRING" size="256"/>
- <Column id="chkyn2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chkyn1">Y</Col>
- <Col id="chkyn2">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="useyn" type="STRING" size="256" sumtext="타과인경우 - 대출용도/대출과"/>
- <Column id="allwardyn" type="STRING" size="256" sumtext="타과인경우 - 대출과에 병동 제외"/>
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="useyn" type="STRING" size="256" sumtext="타과인경우 - 대출용도/대출과"/>
- <Column id="allwardyn" type="STRING" size="256" sumtext="타과인경우 - 대출과에 병동 제외"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
- <Column id="dept" type="STRING" size="256" sumtext="진료과"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ioflag"/>
- <Col id="useyn"/>
- <Col id="allwardyn"/>
- <Col id="instcd"/>
- <Col id="pid"/>
- <Col id="medirecno"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="dept"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_rendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rendcd" type="STRING" size="256" sumtext="대출코드"/>
- <Column id="rendresn" type="STRING" size="256" sumtext="대출사유"/>
- <Column id="defltrendterm" type="STRING" size="256" sumtext="기본대출기간"/>
- <Column id="defltrendtermunit" type="STRING" size="256" sumtext="기간단위"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstruser" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtruser" type="STRING" size="256" sumtext="최종수정자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_req_chartlend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lendmen" type="STRING" size="256"/>
- <Column id="appmen" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lendmen"/>
- <Col id="appmen"/>
- <Col id="appmanid"/>
- <Col id="appdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_tempuserinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="param"/>
- <Col id="flag"/>
- <Col id="searchitem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="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_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="popupendflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dschdd" type="STRING"/>
- <Column id="orddeptabbr" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="chrtstat" type="STRING"/>
- <Column id="chrtstatdt" type="STRING"/>
- <Column id="rgstrnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="INT" size="256" sumtext="검색조건"/>
- <Column id="checkfnexam" type="INT" size="256" sumtext="구환신환구분"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="hngnm" 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="acptdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="instcd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
- <Column id="acptid" type="STRING" size="256" sumtext="처리자ID"/>
- <Column id="renddd" type="STRING" size="256" sumtext="대출일자"/>
- <Column id="resettm" type="STRING" size="256" sumtext="조회시간"/>
- <Column id="bcno" type="STRING" size="256" sumtext="바코드 번호"/>
- <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
- <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
- <Column id="appdeptcd" type="STRING" size="256" sumtext="대출신청부서"/>
- <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
- <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
- <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
- <Column id="msgcnts" type="STRING" size="256" sumtext="메세지"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터과"/>
- <Column id="flag" type="STRING" size="256" sumtext="종이차트이력만"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"/>
- <Col id="checkfnexam"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="acptdd"/>
- <Col id="instcd"/>
- <Col id="insukind"/>
- <Col id="inhospyn"/>
- <Col id="sex"/>
- <Col id="ioflag"/>
- <Col id="acptid"/>
- <Col id="renddd"/>
- <Col id="resettm"/>
- <Col id="bcno"/>
- <Col id="medirecno"/>
- <Col id="rendcd"/>
- <Col id="appdeptcd"/>
- <Col id="lendmanid"/>
- <Col id="appmanid"/>
- <Col id="cntctelno"/>
- <Col id="msgcnts"/>
- <Col id="orddeptcd"/>
- <Col id="centcd"/>
- <Col id="flag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_result_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <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>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="combo38" propid="value" datasetid="ds_main_chrtlendinfo" columnid="fsexamflag"/>
- <BindItem id="item1" compid="input82" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtntm"/>
- <BindItem id="item2" compid="input71" propid="value" datasetid="ds_main_chrtlendinfo" columnid="cntctelno"/>
- <BindItem id="item3" compid="combo39" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendcd"/>
- <BindItem id="item4" compid="input83" propid="value" datasetid="ds_main_chrtlendinfo" columnid="roomcd"/>
- <BindItem id="item5" compid="input72" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendschedd"/>
- <BindItem id="item6" compid="input84" propid="value" datasetid="ds_main_chrtlendinfo" columnid="renddd"/>
- <BindItem id="item7" compid="ipt_appmanid" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appmanid"/>
- <BindItem id="item8" compid="input85" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtnschedd"/>
- <BindItem id="item9" compid="input74" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendschetm"/>
- <BindItem id="item10" compid="input86" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appdd"/>
- <BindItem id="item11" compid="input75" propid="value" datasetid="ds_main_chrtlendinfo" columnid="unrtnresn"/>
- <BindItem id="item12" compid="input64" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appman"/>
- <BindItem id="item13" compid="input87" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendtm"/>
- <BindItem id="item14" compid="input65" propid="value" datasetid="ds_main_chrtlendinfo" columnid="lendman"/>
- <BindItem id="item15" compid="ipt_lendmanid" propid="value" datasetid="ds_main_chrtlendinfo" columnid="lendmanid"/>
- <BindItem id="item16" compid="input78" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtndd"/>
- <BindItem id="item17" compid="combo40" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appdeptcd"/>
- <BindItem id="item18" compid="input79" propid="value" datasetid="ds_main_chrtlendinfo" columnid="msgcnts"/>
- <BindItem id="item19" compid="input68" propid="value" datasetid="ds_main_chrtlendinfo" columnid="deptkeepresn"/>
- <BindItem id="item20" compid="combo30" propid="value" datasetid="ds_main_chrtlendinfo" columnid="deptkeepcd"/>
- <BindItem id="item21" compid="combo31" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtnbcflag"/>
- <BindItem id="item22" compid="combo37" propid="value" datasetid="ds_main_chrtlendinfo" columnid=""/>
- <BindItem id="item23" compid="input70" propid="value" datasetid="ds_main_chrtlendinfo" columnid="apptm"/>
- <BindItem id="item24" compid="switch1.case_chrtlist.ipt_cretdt" propid="value" datasetid="ds_main_chrtinfo" columnid="fstrgstdt"/>
- <BindItem id="item25" compid="switch1.case_chrtlist.ipt_pnm" propid="value" datasetid="ds_main_chrtinfo" columnid="pnm"/>
- <BindItem id="item26" compid="switch1.case_chrtlist.ipt_chrtrem" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtrem"/>
- <BindItem id="item27" compid="switch1.case_chrtlist.ipt_bcno" propid="value" datasetid="ds_main_chrtinfo" columnid="bcno"/>
- <BindItem id="item28" compid="switch1.case_chrtlist.combo32" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
- <BindItem id="item29" compid="switch1.case_chrtlist.cmb_chrtdeptcd" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
- <BindItem id="item30" compid="switch1.case_chrtlist.cmb_chrtstat" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
- <BindItem id="item31" compid="switch1.case_chrtlist.cmb_lendyn" propid="value" datasetid="ds_main_chrtinfo" columnid="lendyn"/>
- <BindItem id="item32" compid="switch1.case_chrtlist.ipt_pid" propid="value" datasetid="ds_main_chrtinfo" columnid="pid"/>
- <BindItem id="item33" compid="switch1.case_chrtlist.ipt_lastorddd" propid="value" datasetid="ds_main_chrtinfo" columnid="lastorddd"/>
- <BindItem id="item34" compid="switch1.case_chrtlist.checkbox1" propid="value" datasetid="ds_hidden" columnid="chkyn1"/>
- <BindItem id="item35" compid="switch1.case_inchrtlist.input1" propid="value" datasetid="ds_main_chrtinfo" columnid="fstrgstdt"/>
- <BindItem id="item36" compid="switch1.case_inchrtlist.input2" propid="value" datasetid="ds_main_chrtinfo" columnid="pnm"/>
- <BindItem id="item37" compid="switch1.case_inchrtlist.input3" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtrem"/>
- <BindItem id="item38" compid="switch1.case_inchrtlist.input4" propid="value" datasetid="ds_main_chrtinfo" columnid="bcno"/>
- <BindItem id="item39" compid="switch1.case_inchrtlist.combo1" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
- <BindItem id="item40" compid="switch1.case_inchrtlist.combo2" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdeptcd"/>
- <BindItem id="item41" compid="switch1.case_inchrtlist.combo3" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
- <BindItem id="item42" compid="switch1.case_inchrtlist.combo4" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
- <BindItem id="item43" compid="switch1.case_inchrtlist.ipt_i_pid" propid="value" datasetid="ds_main_chrtinfo" columnid="pid"/>
- <BindItem id="item44" compid="switch1.case_inchrtlist.input6" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdd"/>
- <BindItem id="item45" compid="switch1.case_inchrtlist.checkbox2" propid="value" datasetid="ds_hidden" columnid="chkyn2"/>
- <BindItem id="item46" compid="grup_inchrtlist.output1" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdeptnm"/>
- <BindItem id="item47" compid="grup_inchrtlist.output2" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdd"/>
- <BindItem id="item48" compid="grup_chrtlist.ipt_chrtdeptnm" propid="value" datasetid="ds_main_chrtinfo" columnid="orddeptabbr"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-11-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-11-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_commonxp::EMRCommon.xjs"
- //include "emr_chrtmngtxp::SMMRC01400.xjs"
- include "emr_prcpmngtxp::MMOCommon.xjs" // lf_getHardCDList
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- // var arErrorMsg = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01. :
- * : 02. :
- * Description : 화면 초기화
- ****************************************************************************************/
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- function cf_TRMRC01305(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC01305 *****");
- }
- function cf_TRMRC00100(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC00100 *****");
- }
- function cf_TXMRC01404(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TXMRC01404 *****");
- }
- function cf_TRMRC00170(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC00170 *****");
-
- dsf_setDefaultVal(ds_chrtlendlist, "all");
- ds_chrtlendlist.rowposition = -1;
- }
- function cf_TRMRC02702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC02702 *****");
-
- dsf_setDefaultVal(ds_chrtlendlist, "all");
- ds_chrtlendlist.rowposition = -1;
- }
-
- function cf_TXMRC01402(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TXMRC01402 *****");
-
- ds_main_chrtlist.rowposition = -1;
- }
-
- function cf_TXMRC01401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TXMRC01401 *****");
-
- ds_main_chrtlist.rowposition = -1;
- }
-
- function cf_TXMRC01403(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TXMRC01403 *****");
-
- ds_main_chrtlist.rowposition = -1;
- ds_main_chrtstatlist.rowposition = -1;
- }
-
- function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- //sysf_trace("***** cf_TRPMC02500 *****");
- }
- function cf_TRMRC00300(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC00300 *****");
-
- // 첫번째 차트 선택해주기..
- var rows = ds_main_chrtlist.rowcount;
- if(rows > 0){
- ds_main_chrtlist.rowposition = 0;
- fDisplayChrtInfo(switch1.case_chrtlist.grd_chrtlist);
- // var e = new GridClickEventInfo;
- // frmf_inputEnterKey("switch1.case_chrtlist.grd_chrtlist", "oncellclick", e);
-
- }
- }
- function cf_TRMRC01401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC01401 *****");
-
- ds_main_chrtstatlist.rowposition = -1
- }
- function cf_TRMRC02700(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- sysf_trace("***** cf_TRMRC02700 *****");
-
- // 첫번째 차트 선택해주기..
- var rows = ds_main_chrtlist.rowcount;
- if(rows > 0){
- ds_main_chrtlist.rowposition = 0;
- fDisplayChrtInfoI(switch1.case_inchrtlist.grd_inchrtlist);
- // var e = new GridClickEventInfo;
- // frmf_inputEnterKey("switch1.case_inchrtlist.grd_inchrtlist", "oncellclick", e);
- }
- }
-
-
-
-
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMMRC01400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMRC01400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(switch1.case_chrtlist.datagrid7);
- grdf_setToolTipBind(switch1.case_inchrtlist.datagrid1);
- grdf_setToolTipBind(chrtlendlist);
- grdf_setGridSort(switch1.case_chrtlist.grd_chrtlist);
- grdf_setGridSort(switch1.case_inchrtlist.grd_inchrtlist);
-
- fFormInit();
- }
- function input82_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function input71_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function ipt_appmanid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_appmanid);
- }
- }
- function button28_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetUserid(ds_main_chrtlendinfo, "appmanid", "appman");
- }
- function input74_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function input87_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function ipt_lendmanid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- }
- }
- function chrtlendlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fDisplayLendList(chrtlendlist, e);
-
- }
- function input68_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function button30_onclick(obj:Button, e:ClickEventInfo)
- {
- var renddd = ds_main_chrtlendinfo.getColumn(0, "renddd");
- if (utlf_isNull(renddd)) {
- ds_main_chrtlendinfo.setColumn(0, "renddd", "99991231");
- ds_main_chrtlendinfo.setColumn(0, "rendtm", "000000");
- }
- var rtndd = ds_main_chrtlendinfo.getColumn(0, "rtndd");
- if (utlf_isNull(rtndd)) {
- ds_main_chrtlendinfo.setColumn(0, "rtndd", "99991231");
- ds_main_chrtlendinfo.setColumn(0, "rtntm", "000000");
- }
- var rtnschedd = ds_main_chrtlendinfo.getColumn(0, "rtnschedd");
- if (utlf_isNull(rtnschedd)) {
- ds_main_chrtlendinfo.setColumn(0, "rtnschedd", "99991231");
- }
-
- var oParam = {};
- oParam.id = "TXMRC01404";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqSetChrtKeepList";
- oParam.inds = "req=ds_main_chrtlendinfo";
- oParam.outds = "ds_main_chrtlendinfo=chrtlendlist";
- oParam.async = false;
- oParam.callback = "cf_TXMRC01404";
- tranf_submit(oParam);
-
- var renddd = ds_main_chrtlendinfo.getColumn(0, "renddd");
- if (renddd == "99991231") {
- ds_main_chrtlendinfo.setColumn(0, "renddd", "");
- ds_main_chrtlendinfo.setColumn(0, "rendtm", null);
- }
- var rtndd = ds_main_chrtlendinfo.getColumn(0, "rtndd");
- if (rtndd == "99991231") {
- ds_main_chrtlendinfo.setColumn(0, "rtndd", "");
- ds_main_chrtlendinfo.setColumn(0, "rtntm", null);
- }
- var rtnschedd = ds_main_chrtlendinfo.getColumn(0, "rtnschedd");
- if (rtnschedd == "99991231") {
- ds_main_chrtlendinfo.setColumn(0, "rtnschedd", "");
- }
- var aaa = ds_chrtlendlist.getColumn(0, "ioflag");
- if(aaa=="O"){
- var oParam = {};
- oParam.id = "TRMRC00170";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC00170";
- tranf_submit(oParam);
- }
- else{
- var oParam = {};
- oParam.id = "TRMRC02702";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetInChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC02702";
- tranf_submit(oParam);
- }
- }
- function button31_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetUserid(ds_main_chrtlendinfo, "lendmanid", "lendman" );
- }
- function button35_onclick(obj:Button, e:ClickEventInfo)
- {
- // var fileName = window.fileDialog("save", ",", false, "차트대출이력", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //
- // if (fileName != "")
- // {
- // chrtlendlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- // }
-
- grdf_exportExcel(chrtlendlist, "차트대출이력", "SheetName");
- }
- function input70_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- var userdeptcd = fCheckUserid(ipt_lendmanid);
- if (!utlf_isNull(userdeptcd)) {
- ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
- ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
- }
- }
- }
- function switch1_case_chrtlist_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- fDeleteChrtInfo("O");
- }
- function switch1_case_chrtlist_button29_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdateChrtInfo();
- }
- function switch1_case_chrtlist_grd_chrtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fDisplayChrtInfo(switch1.case_chrtlist.grd_chrtlist);
- }
- function switch1_case_chrtlist_button32_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPid(ds_main_chrtinfo, "pid", "pnm");
- }
- function switch1_case_chrtlist_button33_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdateChrtStat();
- }
- function switch1_case_chrtlist_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13"){
- switch1.case_chrtlist.ipt_pid.updateToDataset();
- fGetPidNo(switch1.case_chrtlist.ipt_pid, ds_hidden.getColumn(0, "chkyn1"));
- fCheckPid(switch1.case_chrtlist.ipt_pid, ds_main_chrtinfo, "pnm");
- ds_send_reqdata.setColumn(0, "pid", ds_main_chrtinfo.getColumn(0, "pid"));
- ds_send_reqdata.setColumn(0, "ioflag", "O");
- ds_main_chrtinfo.setColumn(0, "ioflag", "O");
- var oParam = {};
- oParam.id = "TRMRC00300";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_chrtlist=chrtlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC00300";
- tranf_submit(oParam);
- }
- }
- function switch1_case_inchrtlist_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fDeleteChrtInfo("I");
- }
- function switch1_case_inchrtlist_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdateChrtInfo();
- }
- function switch1_case_inchrtlist_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPid(ds_main_chrtinfo, "pid", "pnm");
- }
- function switch1_case_inchrtlist_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdateChrtStat();
- }
- function switch1_case_inchrtlist_grd_inchrtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // 선택로우의 챠트 정보를 디스플레이 해 주자..
- fDisplayChrtInfoI(switch1.case_inchrtlist.grd_inchrtlist);
- }
- function switch1_case_inchrtlist_ipt_i_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13"){
- switch1.case_inchrtlist.ipt_i_pid.updateToDataset();
- fGetPidNo(switch1.case_inchrtlist.ipt_i_pid, ds_hidden.getColumn(0, "chkyn2"));
- fCheckPid(switch1.case_inchrtlist.ipt_i_pid, ds_main_chrtinfo, "pnm");
- ds_send_reqdata.setColumn(0, "pid", ds_main_chrtinfo.getColumn(0, "pid"));
- ds_send_reqdata.setColumn(0, "ioflag", "I");
- ds_main_chrtinfo.setColumn(0, "ioflag", "I");
-
- var oParam = {};
- oParam.id = "TRMRC02700";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetInChrtList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_chrtlist=chrtlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC02700";
- tranf_submit(oParam);
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if( e.postindex == 0 ){
- grup_chrtlist.visible = true;
- grup_inchrtlist.visible = false;
- ds_send_reqdata.setColumn(0, "ioflag", "O");
-
- var oParam = {};
- oParam.id = "TRMRC01305";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetRendCDList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC01305";
- tranf_submit(oParam);
- fClearChrtInfo();
- ds_main_chrtlist.clearData();
- ds_main_chrtstatlist.clearData();
- ds_chrtlendlist.clearData();
- //model.toggle("case_chrtlist");
- }else if( e.postindex == 1 ){
- grup_chrtlist.visible = false;
- grup_inchrtlist.visible = true;
- ds_send_reqdata.setColumn(0, "ioflag", "I");
- var oParam = {};
- oParam.id = "TRMRC01305";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetRendCDList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC01305";
- tranf_submit(oParam);
- fClearChrtInfo();
- ds_main_chrtlist.clearData();
- ds_main_chrtstatlist.clearData();
- ds_chrtlendlist.clearData();
- //model.toggle("case_inchrtlist");
- }
-
-
- }
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- /**
- * @desc : Source Node의 갯수를 구한다.
- * @
- * @param : path - node path
- * @return :
- * @authur : 김선태 2007. 5. 8
- * @---------------------------------------------------
- */
- /*
- function getNodeSetCnt(path)
- {
- var insXml = model.instances(0);
- var nodeList = insXml.selectNodes(path);
- return nodeList.length;
- }
- */
- /**
- * @desc : Source Node의 child nodelist를 Destination의 nodelist로 append한다.
- *
- * @param : strDest - 도착node path
- * : strSrc - 출발node path
- * @return :
- * @authur : 이상현 2007. 3. 27
- * @---------------------------------------------------
- */
- /*
- function addCopyNodeset(strDest, strSrc, mode, destModel, srcModel) {
- if( destModel == null || destModel =="" )
- destModel = document.models.item(0);
-
- if( srcModel == null || srcModel =="" )
- srcModel = document.models.item(0);
-
- var srcNodeList = srcModel.instances(0).selectNodes(strSrc);
- var srcNode;
-
- var pDestNode = destModel.instances.item(0).selectSingleNode(strDest).parentNode;
-
- if( mode == "replace" || mode == null ) {
- destModel.removeNodeset(strDest);
- while( srcNode = srcNodeList.nextNode() ) {
- pDestNode.appendChild(srcNode.cloneNode(true));
- }
- }
-
- else if( mode == "after" ) {
- while( srcNode = srcNodeList.nextNode() ) {
- pDestNode.appendChild(srcNode.cloneNode(true));
- }
- }
-
- else if( mode == "before" ) {
- var destNode;
- for( var i = srcNodeList.length - 1; i >= 0; i-- ) {
- destNode = destModel.instances.item(0).selectSingleNode(strDest + "[1]");
- pDestNode.insertBefore(srcNodeList.item(i).cloneNode(true), destNode);
- }
- }
- }
- */
- /**
- * @desc : 사용자의 권한을 체크하여 버튼셋팅.
- * btn_r 조회버튼, btn_x 저장 및 수정 버튼, btn_p : 출력버튼
- * @
- * @param :
- * @return :
- * @authur : 김선태 2007. 5. 8
- * @---------------------------------------------------
- */
- /*
- function fchkAuth()
- {
-
- for(var i=0; i<= document.controls.length-1 ; i++){
- if(document.controls.item(i).elementName == "xforms:button"){
- if(document.controls.item(i).attribute("id").substr(0,6) == "btn_r_"){
- document.controls.item(i).disabled = !checkAuth("R");
- }
-
- if(document.controls.item(i).attribute("id").substr(0,6) == "btn_x_"){
- document.controls.item(i).disabled = !checkAuth("X");
- }
-
- if(document.controls.item(i).attribute("id").substr(0,6) == "btn_p_"){
- document.controls.item(i).disabled = !checkAuth("P");
- }
-
- }
- }
- }
- */
- /**
- * @desc : 폼초기화
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fFormInit()
- {
- switch1.tabindex = 0;
- //공통코드 가져오기...
- //P0021:초재진구분코드, F:병원초진, R:재진, D:과초진, S:상병초진, 4:타과경유(초진인데 재진료수납)
- //M0392:챠트미대출사유코드
- //M0412:과보관사유코드
- //M0424:챠트상태코드
- appf_getCodeList([{dsNm: "ds_init_P0021", cdGrpId: "P0021"},
- {dsNm: "ds_init_M0392", cdGrpId: "M0392"},
- {dsNm: "ds_init_M0412", cdGrpId: "M0412"},
- {dsNm: "ds_init_M0424", cdGrpId: "M0424"}], true);
-
- //대출코드 불러오기
- ds_send_reqdata.setColumn(0, "ioflag", "O");
- var oParam = {};
- oParam.id = "TRMRC01305";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetRendCDList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_rendcd_rendcdlist=rendcdlist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC01305";
- tranf_submit(oParam);
-
- // 대출용도, 대출과, 차트과, 차트담당자, 보관장소
- ds_send_reqdata.setColumn(0, "ioflag" , "O");
- ds_send_reqdata.setColumn(0, "useyn" , "");
- ds_send_reqdata.setColumn(0, "allwardyn", "");
- var oParam = {};
- oParam.id = "TRMRC00100";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetLendMastInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist ds_init_lendmastinfo_lenddeptlist=lenddeptlist ds_init_lendmastinfo_chrtdeptlist=chrtdeptlist ds_init_lendmastinfo_chrtchgrlist=chrtchgrlist ds_init_lendmastinfo_keepplcelist=keepplcelist";
- oParam.async = true;
- oParam.callback = "cf_TRMRC00100";
- tranf_submit(oParam);
- }
- /**
- * @desc : 선택된 챠트정보를 상위에 디스플레이 한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fDisplayChrtInfo(gridObj){
- oDs = this.objects[gridObj.binddataset];
- if( gridObj.currentrow < 0 || gridObj.currentcol < 0 ){
- return;
- }
- if (oDs.rowposition < 0){
- return;
- }
-
- var row = oDs.rowposition;
-
- var pid = oDs.getColumn(row, "pid");
- var pnm = oDs.getColumn(row, "pnm");
- var orddeptcd = oDs.getColumn(row, "orddeptcd");
- var lastorddd = oDs.getColumn(row, "lastorddd");
- var bcno = oDs.getColumn(row, "bcno");
- var chrtrem = oDs.getColumn(row, "chrtrem");
- var fstrgstdt = oDs.getColumn(row, "fstrgstdt");
- var chrtstat = oDs.getColumn(row, "chrtstat");
- var lendyn = oDs.getColumn(row, "lendyn");
- var ioflag = oDs.getColumn(row, "ioflag");
- var medirecno = oDs.getColumn(row, "medirecno");
- var orddeptabbr = oDs.getColumn(row, "orddeptabbr");
-
- ds_main_chrtinfo.setColumn(0, "pid" , pid);
- ds_main_chrtinfo.setColumn(0, "pnm" , pnm);
- ds_main_chrtinfo.setColumn(0, "orddeptcd" , orddeptcd);
- ds_main_chrtinfo.setColumn(0, "lastorddd" , lastorddd);
- ds_main_chrtinfo.setColumn(0, "bcno" , bcno);
- ds_main_chrtinfo.setColumn(0, "chrtrem" , chrtrem);
- ds_main_chrtinfo.setColumn(0, "fstrgstdt" , fstrgstdt);
- ds_main_chrtinfo.setColumn(0, "chrtstat" , chrtstat);
- ds_main_chrtinfo.setColumn(0, "lendyn" , lendyn);
- ds_main_chrtinfo.setColumn(0, "ioflag" , ioflag);
- ds_main_chrtinfo.setColumn(0, "medirecno" , medirecno);
- ds_main_chrtinfo.setColumn(0, "orddeptabbr", orddeptabbr);
-
- ds_send_reqdata.setColumn(0, "medirecno", medirecno);
- ds_send_reqdata.setColumn(0, "pid" , pid);
- // 챠트분실이력조회
- var oParam = {};
- oParam.id = "TRMRC01401";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtStatLog";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_chrtstatlist=chrtstatlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC01401";
- tranf_submit(oParam);
-
- // 챠트대출이력조회
- var oParam = {};
- oParam.id = "TRMRC00170";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC00170";
- tranf_submit(oParam);
- }
- function fDisplayChrtInfoI(gridObj){
-
- oDs = this.objects[gridObj.binddataset];
- if( gridObj.currentrow < 0 || gridObj.currentcol < 0 ){
- return;
- }
- if (oDs.rowposition < 0){
- return;
- }
-
- var row = oDs.rowposition;
-
- var pid = oDs.getColumn(row, "pid");
- var pnm = oDs.getColumn(row, "pnm");
- var dschdeptcd = oDs.getColumn(row, "dschdeptcd");
- var dschdd = oDs.getColumn(row, "dschdd");
- var bcno = oDs.getColumn(row, "bcno");
- var chrtrem = oDs.getColumn(row, "chrtrem");
- var fstrgstdt = oDs.getColumn(row, "fstrgstdt");
- var lendyn = oDs.getColumn(row, "lendyn");
- var chrtstat = oDs.getColumn(row, "chrtstat");
- var ioflag = oDs.getColumn(row, "ioflag");
- var medirecno = oDs.getColumn(row, "medirecno");
- var dschdeptnm = oDs.getColumn(row, "dschdeptnm");
-
- ds_main_chrtinfo.setColumn(0, "pid" , pid);
- ds_main_chrtinfo.setColumn(0, "pnm" , pnm);
- ds_main_chrtinfo.setColumn(0, "dschdeptcd", dschdeptcd);
- ds_main_chrtinfo.setColumn(0, "dschdd" , dschdd);
- ds_main_chrtinfo.setColumn(0, "bcno" , bcno);
- ds_main_chrtinfo.setColumn(0, "chrtrem" , chrtrem);
- ds_main_chrtinfo.setColumn(0, "fstrgstdt" , fstrgstdt);
- ds_main_chrtinfo.setColumn(0, "lendyn" , lendyn);
- ds_main_chrtinfo.setColumn(0, "chrtstat" , chrtstat);
- ds_main_chrtinfo.setColumn(0, "ioflag" , ioflag);
- ds_main_chrtinfo.setColumn(0, "medirecno" , medirecno);
- ds_main_chrtinfo.setColumn(0, "dschdeptnm", dschdeptnm);
-
-
- ds_send_reqdata.setColumn(0, "medirecno", medirecno);
- ds_send_reqdata.setColumn(0, "pid" , pid);
- // 챠트분실이력조회
- var oParam = {};
- oParam.id = "TRMRC01401";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtStatLog";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_chrtstatlist=chrtstatlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC01401";
- tranf_submit(oParam);
-
- // 챠트대출이력조회
- var oParam = {};
- oParam.id = "TRMRC02702";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetInChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC02702";
- tranf_submit(oParam);
- }
- /**
- * @desc : 챠트정보를 초기화한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fClearChrtInfo(){
- ds_main_chrtinfo.setColumn(0, "pid" , "");
- ds_main_chrtinfo.setColumn(0, "pnm" , "");
- ds_main_chrtinfo.setColumn(0, "medirecno" , "");
- ds_main_chrtinfo.setColumn(0, "orddeptcd" , "");
- ds_main_chrtinfo.setColumn(0, "bcno" , "");
- ds_main_chrtinfo.setColumn(0, "chrtrem" , "");
- ds_main_chrtinfo.setColumn(0, "chrtstat" , "");
- ds_main_chrtinfo.setColumn(0, "lendyn" , "");
- ds_main_chrtinfo.setColumn(0, "lastorddd" , null);
- ds_main_chrtinfo.setColumn(0, "fstrgstdt" , null);
- ds_main_chrtinfo.setColumn(0, "dschdeptcd" , "");
- ds_main_chrtinfo.setColumn(0, "dschdd" , null);
- ds_main_chrtinfo.setColumn(0, "orddeptabbr", "");
- ds_main_chrtinfo.setColumn(0, "dschdeptnm" , "");
-
- }
- /**
- * @desc : 챠트정보를 등록한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fSaveChrtInfo(){
-
- var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
- if(!utlf_isNull(medirecno)){
- sysf_messageBox("차트이력이 선택되어있습니다.\n신규버튼을 눌러 다시 작성 해 주십시요" , "I999")
- return;
- }
- var orddeptcd =ds_main_chrtinfo.getColumn(0, "orddeptcd");
- var medirecno = ds_main_chrtlist.lookup("orddeptcd", orddeptcd, "orddeptcd");
- if (!utlf_isNull(medirecno)){
- sysf_messageBox("이미 등록된 차트과입니다.\n신규버튼을 눌러 다시 작성 해 주십시요" , "I999")
- return;
- }
-
- var oParam = {};
- oParam.id = "TXMRC01401";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "setChrtList";
- oParam.inds = "req=ds_main_chrtinfo";
- oParam.outds = "ds_main_chrtlist=chrtlist";
- oParam.async = true;
- oParam.callback = "cf_TXMRC01401";
- tranf_submit(oParam);
- }
- /**
- * @desc : 챠트정보를 수정한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fUpdateChrtInfo(){
-
- var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
- if(utlf_isNull(medirecno)){
- sysf_messageBox("선택된 차트이력이 ", "I004")
- return;
- }
- var oParam = {};
- oParam.id = "TXMRC01401";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "setChrtList";
- oParam.inds = "req=ds_main_chrtinfo";
- oParam.outds = "ds_main_chrtlist=chrtlist";
- oParam.async = true;
- oParam.callback = "cf_TXMRC01401";
- tranf_submit(oParam);
- }
- /**
- * @desc : 챠트정보를 삭제한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fDeleteChrtInfo(ioflag){
- var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
- if(utlf_isNull(medirecno)){
- sysf_messageBox("선택된 차트이력이 ", "I004")
- return;
- } else {
- if(sysf_messageBox("선택된 차트이력을 ", "Q001") == "7"){
- return;
- }
- }
-
- // 차트대출이력을 조회한다. 카운트가 0 인 경우만 삭제한다.
- if (ioflag == "O") {
- var oParam = {};
- oParam.id = "TRMRC00170";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC00170";
- tranf_submit(oParam);
- } else {
- var oParam = {};
- oParam.id = "TRMRC02702";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetInChrtLendList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_chrtlendlist=chrtlendlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRC02702";
- tranf_submit(oParam);
- }
- var cnt = ds_chrtlendlist.rowcount;
- if (cnt == 0) {
- var oParam = {};
- oParam.id = "TXMRC01402";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "delChrtList";
- oParam.inds = "req=ds_main_chrtinfo";
- oParam.outds = "ds_main_chrtlist=chrtlist";
- oParam.async = false;
- oParam.callback = "cf_TXMRC01402";
- tranf_submit(oParam);
- // 삭제후 챠트정보 초기화한다.
- fClearChrtInfo();
- } else {
- sysf_messageBox("선택된 차트이력의 대출이력이 있어서 삭제 ", "E001")
- return;
- }
- }
- /**
- * @desc : 환자등록번호 조회 팝업
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fGetPid(refoDs:Dataset, refPid, refPnm)
- {
- //조회건수가 1건일 경우 팝업창을 바로 닫는다.
- var objColInfo = new Array();
- objColInfo.push({col: "pid", type:"string", size:256, val:""});
- objColInfo.push({col: "hngnm", type:"string", size:256, val:""});
- objColInfo.push({col: "srchcond", type:"string", size:256, val:"2"});
- objColInfo.push({col: "autoflag", type:"string", size:256, val:"N"});
- objColInfo.push({col: "rrgstno1", type:"string", size:256, val:""});
- objColInfo.push({col: "rrgstno2", type:"string", size:256, val:""});
- objColInfo.push({col: "checkfnexam", type:"string", size:256, val:""});
- dsf_createDsRow("ds_hidden_tmp_pidpopupinfo", objColInfo);
-
-
- var objArgs = new Object();
- objArgs.ds_SPPMC02500 = ds_hidden_tmp_pidpopupinfo;
- frmf_modal("SPPMC02500", "SPPMC02500", objArgs, null, "1", "150", "150", null, null, null, null, null, "M");
- //modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/tmp/pidpopupinfo", "/root/send");
-
- //model.resetInstanceNode("/root/source");
- //환자번호 copy
- ds_main.setColumn(0, "popupendflag", frmf_getParameter("SPPMC02500_popupendflag"));
- var popupendflag = ds_main.getColumn(0, "popupendflag");
-
- if (popupendflag == "ok")
- {
- refoDs.setColumn(0, refPid, ds_patinfolist.getColumn(0, "pid"));
- if (!utlf_isNull(refPnm)) {
- refoDs.setColumn(0, refPnm, ds_patinfolist.getColumn(0, "hngnm"));
- }
- }
- }
- /**
- * @desc : 선택된 챠트정보를 상위에 디스플레이 한다.
- * @
- * @param : gridObj - 그리드 컨트롤
- * @return :
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fDisplayLendList(gridObj, e){
-
- var oDs = this.objects[gridObj.binddataset];
-
- if ( e.row < 0 || e.col < 0 ){
- return;
- }
-
- if (oDs.rowposition < 0){
- return;
- }
-
- var row = oDs.rowposition;
-
- var pid = oDs.getColumn(row, "pid");
- var chrtseqno = oDs.getColumn(row, "chrtseqno");
- var appdeptcd = oDs.getColumn(row, "appdeptcd");
- var lendmanid = oDs.getColumn(row, "lendmanid");
- var appmanid = oDs.getColumn(row, "appmanid");
- var cntctelno = oDs.getColumn(row, "cntctelno");
- var appdt = oDs.getColumn(row, "appdt");
- var fstacptprndt = oDs.getColumn(row, "fstacptprndt");
- var rendschedt = oDs.getColumn(row, "rendschedt");
- var renddt = oDs.getColumn(row, "renddt");
- var rtndt = oDs.getColumn(row, "rtndt");
- var delyn = oDs.getColumn(row, "delyn");
- var rendcd = oDs.getColumn(row, "rendcd");
- var rendresn = oDs.getColumn(row, "rendresn");
- var unrendcd = oDs.getColumn(row, "unrendcd");
- var unrendresn = oDs.getColumn(row, "unrendresn");
- var deptkeepcd = oDs.getColumn(row, "deptkeepcd");
- var deptkeepresn = oDs.getColumn(row, "deptkeepresn");
- var unrtnresn = oDs.getColumn(row, "unrtnresn");
- var msgcnts = oDs.getColumn(row, "msgcnts");
- var roomcd = oDs.getColumn(row, "roomcd");
- var fsexamflag = oDs.getColumn(row, "fsexamflag");
- var chrtdeptcd = oDs.getColumn(row, "chrtdeptcd");
- var lendman = oDs.getColumn(row, "lendman");
- var appman = oDs.getColumn(row, "appman");
- var rtnschedd = oDs.getColumn(row, "rtnschedd");
- var rendbcflag = oDs.getColumn(row, "rendbcflag");
- var rtnbcflag = oDs.getColumn(row, "rtnbcflag");
-
- ds_main_chrtlendinfo.setColumn(0, "pid" , pid);
- ds_main_chrtlendinfo.setColumn(0, "chrtseqno" , chrtseqno);
- ds_main_chrtlendinfo.setColumn(0, "appdeptcd" , appdeptcd);
- ds_main_chrtlendinfo.setColumn(0, "lendmanid" , lendmanid);
- ds_main_chrtlendinfo.setColumn(0, "appmanid" , appmanid);
- ds_main_chrtlendinfo.setColumn(0, "cntctelno" , cntctelno);
- ds_main_chrtlendinfo.setColumn(0, "appdt" , appdt);
- ds_main_chrtlendinfo.setColumn(0, "appdd" , appdt.substring(0,8));
- ds_main_chrtlendinfo.setColumn(0, "apptm" , utlf_transEmptyToNull(appdt.substring(8,14)));
- ds_main_chrtlendinfo.setColumn(0, "fstacptprndt" , fstacptprndt);
- ds_main_chrtlendinfo.setColumn(0, "rendschedd" , rendschedt.substring(0,8));
- ds_main_chrtlendinfo.setColumn(0, "rendschetm" , utlf_transEmptyToNull(rendschedt.substring(8,12)));
- ds_main_chrtlendinfo.setColumn(0, "renddt" , renddt);
- ds_main_chrtlendinfo.setColumn(0, "renddd" , renddt.substring(0,8));
- ds_main_chrtlendinfo.setColumn(0, "rendtm" , utlf_transEmptyToNull(renddt.substring(8,14)));
- ds_main_chrtlendinfo.setColumn(0, "rtndt" , rtndt);
- ds_main_chrtlendinfo.setColumn(0, "rtndd" , rtndt.substring(0,8));
- ds_main_chrtlendinfo.setColumn(0, "rtntm" , utlf_transEmptyToNull(rtndt.substring(8,14)));
- ds_main_chrtlendinfo.setColumn(0, "delyn" , delyn);
- ds_main_chrtlendinfo.setColumn(0, "rendcd" , rendcd);
- ds_main_chrtlendinfo.setColumn(0, "rendresn" , rendresn);
- ds_main_chrtlendinfo.setColumn(0, "unrendcd" , unrendcd);
- ds_main_chrtlendinfo.setColumn(0, "unrendresn" , unrendresn);
- ds_main_chrtlendinfo.setColumn(0, "deptkeepcd" , deptkeepcd);
- ds_main_chrtlendinfo.setColumn(0, "deptkeepresn" , deptkeepresn);
- ds_main_chrtlendinfo.setColumn(0, "unrtnresn" , unrtnresn);
- ds_main_chrtlendinfo.setColumn(0, "msgcnts" , msgcnts);
- ds_main_chrtlendinfo.setColumn(0, "roomcd" , roomcd);
- ds_main_chrtlendinfo.setColumn(0, "fsexamflag" , fsexamflag);
- ds_main_chrtlendinfo.setColumn(0, "chrtdeptcd" , chrtdeptcd);
- ds_main_chrtlendinfo.setColumn(0, "lendman" , lendman);
- ds_main_chrtlendinfo.setColumn(0, "appman" , appman);
- ds_main_chrtlendinfo.setColumn(0, "rtnschedd" , rtnschedd);
- ds_main_chrtlendinfo.setColumn(0, "rendbcflag" , rendbcflag);
- ds_main_chrtlendinfo.setColumn(0, "rtnbcflag" , rtnbcflag);
- }
- /**
- * @desc : 챠트상태를 수정한다.
- * @
- * @param :
- * @return :
- * @authur : 이은영 2008.06.11
- * @---------------------------------------------------
- */
- function fUpdateChrtStat(){
-
- var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
- if(utlf_isNull(medirecno)){
- sysf_messageBox("선택된 차트이력이 ", "I004")
- return;
- }
- ds_main_chrtstatlist.clearData();
-
- var oParam = {};
- oParam.id = "TXMRC01403";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqExeChrtStatLog";
- oParam.inds = "req=ds_main_chrtinfo";
- oParam.outds = "ds_main_chrtlist=chrtlist ds_main_chrtstatlist=chrtstatlist";
- oParam.async = true;
- oParam.callback = "cf_TXMRC01403";
- tranf_submit(oParam);
- }
- /**
- * @desc : 대출자/반납자 조회
- * @
- * @param : refUserid - 대출자 ID, refUserNm - 대출자명
- * @return :
- * @authur : 이윤정 2008.07.21
- * @---------------------------------------------------
- */
- function fGetUserid(refoDs:Dataset, refUserid, refUserNm)
- {
- ds_hidden_tmp_tempuserinfo.clearData();
- var user = refoDs.getColumn(0, refUserid);
- var flag = "userid";
-
- if(isNaN(user)){
- flag = "usernm";
- }
-
- ds_hidden_tmp_userpopupinfo.setColumn(0, "param", "_OneS");
- ds_hidden_tmp_userpopupinfo.setColumn(0, "flag", flag);
- ds_hidden_tmp_userpopupinfo.setColumn(0, "searchitem", user);
-
- var objArgs = new Object();
- objArgs.param = ds_hidden_tmp_userpopupinfo.getColumn(0, "param");
- objArgs.flag = ds_hidden_tmp_userpopupinfo.getColumn(0, "flag");
- objArgs.searchitem = ds_hidden_tmp_userpopupinfo.getColumn(0, "searchitem");
- var rtn = frmf_modal("SPZSU10103", "SPZSU10103", objArgs, null, "1", "10", "10", null, null, null, null, null, "M");
- //modal("SPZSU10103", "", "200", "200", "SPZSU10103","/root/hidden/tmp/userpopupinfo","/root/main/temp");
- // var iParam = frmf_getParameter("SPZSU10103_");
- //
- // dsf_setCSVToDs("ds_hidden_tmp_tempuserinfo", iParam);
- // frmf_clearParameter("SPZSU10103_");
- ds_hidden_tmp_tempuserinfo.copyData(rtn);
-
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( ds_hidden_tmp_tempuserinfo.rowcount > 0 ){
-
- var userid = ds_hidden_tmp_tempuserinfo.getColumn(0, "userid");
- var usernm = ds_hidden_tmp_tempuserinfo.getColumn(0, "usernm");
- refoDs.setColumn(0, refUserid, userid);
-
- if (refUserNm != null)
- {
- refoDs.setColumn(0, refUserNm, usernm);
- }
- }
- }
- /**
- * @desc : 등록된 사용자 번호인지 체킹한다..
- * @
- * @param : iptObj - 사용자 ID 입력 컨트롤 (userid)
- * @return : posdeptcd - 사용자 부서코드
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fCheckUserid(iptObj)
- {
- //setInputNodeCurText();
- iptObj.updateToDataset();
- // 사용자 번호 체크
- if(iptObj.text.length > 0 ){
- // 사용자 조회
- ds_hidden_tmp_tempuserinfo.clearData();
-
- ds_hidden_tmp_userpopupinfo.setColumn(0, "param", "_OneS");
- ds_hidden_tmp_userpopupinfo.setColumn(0, "flag", "userid");
- ds_hidden_tmp_userpopupinfo.setColumn(0, "searchitem", iptObj.text);
-
- var objArgs = new Object();
- objArgs.param = ds_hidden_tmp_userpopupinfo.getColumn(0, "param");
- objArgs.flag = ds_hidden_tmp_userpopupinfo.getColumn(0, "flag");
- objArgs.searchitem = ds_hidden_tmp_userpopupinfo.getColumn(0, "searchitem");
- var rtn = frmf_modal("SPZSU10103", "SPZSU10103", objArgs, null, "1", "10", "10", null, null, null, null, null, "M");
- //modal("SPZSU10103", "", "200", "200", "SPZSU10103","/root/hidden/tmp/userpopupinfo","/root/main/temp");
-
- // var iParam = frmf_getParameter("SPZSU10103_");
- //
- // dsf_setCSVToDs("ds_hidden_tmp_tempuserinfo", iParam);
- // frmf_clearParameter("SPZSU10103_");
- ds_hidden_tmp_tempuserinfo.copyData(rtn);
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( ds_hidden_tmp_tempuserinfo.rowcount > 0 ){
-
- var userid = ds_hidden_tmp_tempuserinfo.getColumn(0, "userid");
- var posdeptcd = ds_hidden_tmp_tempuserinfo.getColumn(0, "posdeptcd");
- iptObj.value = userid;
- return posdeptcd;
-
- //fSearch();
- }else{
- ds_hidden_tmp_tempuserinfo.clearData();
- sysf_messageBox("없는 사용자 번호 입니다.", "E999", "");
- }
-
- }else{
- sysf_messageBox("사용자 번호를 정확히", "C001");
- }
- return "";
- }
- /**
- * @desc : 등록된 환자번호인지 체킹한다..
- * @
- * @param : iptObj - 환자번호 입력 컨트롤 (pid)
- * @return :
- * @authur : 이은영 2008.09.17
- * @---------------------------------------------------
- */
- function fGetPidNo(iptObj, refVal)
- {
- var chkyn = refVal;
- if (chkyn == "Y") {
- if (iptObj.text.length > 0) {
- var pid = iptObj.text;
- pid = getCretCheckNo(pid, sysf_getUserInfo("dutplceinstcd"));
- iptObj.value = pid;
- iptObj.updateToDataset();
- //ds_main_chrtinfo.setColumn(0, "pid", pid);
- }
- }
- }
- /**
- * @desc : 등록된 환자번호인지 체킹한다..
- * @
- * @param : iptObj - 환자번호 입력 컨트롤 (pid)
- * @return : pnm - 환자명
- * @authur : 이은영 2008.03.18
- * @---------------------------------------------------
- */
- function fCheckPid(iptObj, refoDs:Dataset, refPnm)
- {
- ds_send_req.setColumn(0, "srchcond", "1");
- ds_send_req.setColumn(0, "pid", iptObj.text);
-
- //환자등록번호 체크
- if(iptObj.text.length > 0 ){
-
- ds_main_result_patinfo_patinfolist.clearData();
-
- var oParam = {};
- oParam.id = "TRPMC02500";
- oParam.service = "patinfomngtapp.PatBaseInfo";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_result_patinfo_patinfolist=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRPMC02500";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRPMC02500") > -1){
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( ds_main_result_patinfo_patinfolist.rowcount > 0 ){
- ds_patinfolist.copyData(ds_main_result_patinfo_patinfolist);
- //* 2009.04.07. 이중번호 메세지 ( 14257937 박용석 -> 13275912 신옥순 )
- var sBindPid = ds_main_result_patinfo_patinfolist.getColumn(0, "bindpid");
- if( sBindPid != '-' && !utlf_isNull(sBindPid) && sBindPid != ' ' ){
- //합번된 등록번호 메세지 처리
- var sPid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
- var retValue = sysf_messageBox(sPid + " (" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다. 합번된 등록번호로 재조회 하시겠습니까?", "Q999", "");
- if( retValue == '6' ){
- iptObj.value = sBindPid;
- iptObj.updateToDataset();
- fCheckPid(iptObj, refoDs, refPnm);
- return "";
- }
- }
- //*/
- var pid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
- var pnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
- if (refPnm != null)
- {
- refoDs.setColumn(0, refPnm, pnm);
- }
- return pnm;
- }else{
- ds_patinfolist.clearData();
- sysf_messageBox("없는 환자 번호 입니다.", "E999", "");
- return "";
- }
- }
-
- }else{
- sysf_messageBox("환자등록번호를 정확히", "C001");
- return "";
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|