123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI00301" position="absolute 0 0 1210 805" titletext="병실배정관리" onload="SMPMI00301_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="공용병상배정관리" class="tit_1" position="absolute 0 0 140 25"/>
- <Edit id="ipt_pid1" taborder="33" class="input_essential" position="absolute 99 55 210 74" onkeydown="ipt_pid1_onkeydown"/>
- <Static id="caption38" text="환자번호" class="cell_1" position="absolute 0 53 97 76" style="padding:0 0 0 3;"/>
- <Button id="btn_ptbspid" taborder="34" class="icon_search" position="absolute 213 58 227 71" onclick="btn_ptbspid_onclick"/>
- <Static id="caption40" text="성별/나이" class="cell_1" position="absolute 232 53 301 76" style="padding:0 0 0 3;"/>
- <Edit id="ipt_age" taborder="35" class="input_default" enable="false" position="absolute 347 55 387 74"/>
- <Edit id="ipt_sex" taborder="36" class="input_default" enable="false" position="absolute 304 55 344 74"/>
- <Button id="button1" taborder="37" text="환자인적" class="btn2" position="absolute 323 28 387 47" onclick="button1_onclick"/>
- <Shape id="line27" linetype="horizontal" class="line_1" position="absolute 0 47 387 53" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="btn_patspcfyn" taborder="38" position="absolute 89 27 108 46" onclick="btn_patspcfyn_onclick" style="background:#c0c0c0ff;"/>
- <Static id="caption20" text="인적사항" class="tit_2" position="absolute 0 31 79 47"/>
- <Shape id="line1" linetype="horizontal" class="line_6" position="absolute 0 755 1194 761"/>
- <Button id="btn_can" taborder="39" text="취소" class="btn4" position="absolute 1067 763 1123 785" onclick="btn_can_onclick"/>
- <Button id="btn_clear" taborder="40" text="초기화" class="btn4" position="absolute 1126 763 1194 785" onclick="btn_clear_onclick"/>
- <Button id="btn_update" taborder="41" text="저장" class="btn4" position="absolute 1008 763 1064 785" onclick="btn_update_onclick"/>
- <Static id="caption14" text="※ 병상 배정 후 저장 시 '입원담당자 연락처'로 SMS가 발송됩니다." position="absolute 628 767 997 780" style="color:red;"/>
- <Edit id="input2" taborder="42" position="absolute 5 764 98 783"/>
- <Static id="caption15" text="병상배정 SMS 회신번호" class="cell_1" position="absolute 380 764 530 784" style="background:#ecf7fcff;padding:0 0 0 3;"/>
- <Button id="button2" taborder="43" text="준공용병상 가용현황" class="btn3" position="absolute 5 763 157 785" onclick="button2_onclick"/>
- <Static id="caption44" text="병상내역" class="tit_2" position="absolute 396 66 471 83"/>
- <Div id="div_srch" taborder="45" position="absolute 395 24 1194 59" class="div_SA2">
- <Layouts>
- <Layout width="799" height="35">
- <Static id="caption43" text="병상검색조건 :" class="search_name" position="absolute 18 9 136 26"/>
- <Radio id="radio1" taborder="11" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 554 8 689 28" style="textpadding:0 3 0 3;" onitemchanged="div_srch_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">공용</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">전용</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line32" linetype="vertical" class="line_4" position="absolute 710 7 716 29"/>
- <Combo id="cmb_rmsrch" taborder="12" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 125 8 225 27" onitemchanged="div_srch_cmb_rmsrch_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">P1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P2</Col>
- <Col id="datacolumn">진료과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P3</Col>
- <Col id="datacolumn">병동</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P4</Col>
- <Col id="datacolumn">병실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P5</Col>
- <Col id="datacolumn">빈병상</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="ipt_room" taborder="13" class="input_search" visible="false" position="absolute 228 8 353 27" onkeydown="div_srch_ipt_room_onkeydown"/>
- <Combo id="cmb_grde" taborder="14" innerdataset="@ds_init_P0025list" codecolumn="cdid" datacolumn="cdnm" class="combo_search" visible="false" position="absolute 228 8 353 27" onitemchanged="div_srch_cmb_grde_onitemchanged"/>
- <Combo id="cmb_sex" taborder="15" innerdataset="@ds_init_P0391list" codecolumn="cdid" datacolumn="cdnm" class="combo_search" visible="false" position="absolute 228 8 353 27" onitemchanged="div_srch_cmb_sex_onitemchanged"/>
- <Combo id="cmb_orddept" taborder="16" innerdataset="@ds_cmb_orddept" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 228 8 353 27" onitemchanged="div_srch_cmb_orddept_onitemchanged"/>
- <Combo id="cmb_ward" taborder="17" innerdataset="@ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 228 8 353 27" onitemchanged="div_srch_cmb_ward_onitemchanged"/>
- <Button id="btn_search1" taborder="18" text="조회" class="btn1" position="absolute 728 7 784 29" onclick="div_srch_btn_search1_onclick"/>
- <Combo id="cmb_type" taborder="19" innerdataset="@ds_init_P0026list" codecolumn="cdid" datacolumn="cdnm" class="combo_search" visible="false" position="absolute 228 8 353 27" onitemchanged="div_srch_cmb_type_onitemchanged"/>
- <Combo id="cmb_search" taborder="20" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 228 8 446 27">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">특수병상(PK117) 제외</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">특수병상(PK074) 제외</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption9" text="병상구분 :" class="search_name" position="absolute 475 9 565 26"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption10" text="※ 전용병상 조회 시 검색조건 추가필요(속도저하)" position="absolute 741 62 1068 82" style="color:red;"/>
- <Button id="btn_left" taborder="46" class="icon_left" position="absolute 1138 63 1164 82" onclick="btn_left_onclick"/>
- <Button id="btn_right" taborder="47" class="icon_right" position="absolute 1168 63 1194 82" onclick="btn_right_onclick"/>
- <Static id="caption11" text="공용" position="absolute 508 62 538 82"/>
- <Shape id="rectangle2" type="rectangle" position="absolute 540 64 555 79" style="fillbrush:solid #b9e5fbff true;"/>
- <Static id="caption12" text="전용" position="absolute 558 62 588 82"/>
- <Shape id="rectangle3" type="rectangle" position="absolute 590 64 605 79" style="fillbrush:solid #f7a08bff true;"/>
- <Static id="caption13" text="부도(2일 이상 연속부도)" position="absolute 608 62 742 82"/>
- <Static id="caption46" text="범 례" class="cell_2" visible="false" position="absolute 815 405 885 425"/>
- <Div id="div_srch2" taborder="48" class="div_SA2" position="absolute 0 362 1194 397">
- <Layouts>
- <Layout width="1194" height="35">
- <Static id="caption45" text="조회조건 :" class="search_name" position="absolute 10 9 84 26" anchor="default"/>
- <Shape id="line34" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="default"/>
- <Combo id="cmb_rssrch" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 84 8 208 27" onitemchanged="div_srch2_cmb_rssrch_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">희망일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">배정일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">입원일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">환자성명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">진료과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="ipt_hopedd" taborder="10" class="input_search" visible="false" position="absolute 221 8 335 27" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null" anchor="default" style="align:center middle;"/>
- <Edit id="ipt_pid" taborder="11" class="input_search" visible="false" position="absolute 221 8 335 27" onkeydown="div_srch2_ipt_pid_onkeydown" anchor="default"/>
- <Edit id="ipt_pidnm" taborder="12" class="input_search" visible="false" position="absolute 221 8 335 27" onkeydown="div_srch2_ipt_pidnm_onkeydown" anchor="default"/>
- <Combo id="cmb_ordept" taborder="13" innerdataset="@ds_cmb_ordept" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 221 8 402 27" onitemchanged="div_srch2_cmb_ordept_onitemchanged" anchor="default"/>
- <Button id="btn_search2" taborder="14" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="default" onclick="div_srch2_btn_search2_onclick"/>
- <Calendar id="ipt_hopetodd" taborder="15" class="input_search" visible="false" position="absolute 359 8 473 27" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" anchor="default" onkillfocus="div_srch2_ipt_hopetodd_onkillfocus" style="align:center middle;"/>
- <CheckBox id="bol_ckeckdd1" taborder="16" visible="false" position="absolute 479 9 494 26" anchor="default" onclick="div_srch2_bol_ckeckdd1_onclick" falsevalue="false" truevalue="true"/>
- <Static id="caption4" text="~" visible="false" position="absolute 342 5 352 30" anchor="default"/>
- <Static id="caption21" text="입원경로 :" class="search_name" position="absolute 538 9 612 26" anchor="default"/>
- <Radio id="radio2" taborder="17" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 617 8 864 28" style="textpadding:0 3 0 3;" anchor="default" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">DSC/특수주사실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption00" text="병상구분 :" class="search_name" position="absolute 879 9 953 26" anchor="default"/>
- <Radio id="radio3" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 958 8 1093 28" style="textpadding:0 3 0 3;" anchor="default" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">공용</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">전용</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption5" class="color_6" visible="false" position="absolute 981 407 996 422"/>
- <Static id="caption47" class="color_5" visible="false" position="absolute 895 407 910 422"/>
- <Shape id="line18" linetype="horizontal" class="line_1" position="absolute 0 425 1194 431" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption7" text="예약환자" visible="false" position="absolute 999 408 1055 422"/>
- <Static id="caption16" text="공용병상 배정 대기 환자리스트" class="tit_2" position="absolute -1 409 208 425"/>
- <Static id="caption8" text="결정서환자" visible="false" position="absolute 913 408 975 422"/>
- <Grid id="grd_inrsv" class="datagrid2" taborder="49" binddataset="ds_main_adrvlist" useinputpanel="false" position="absolute 0 430 1194 755" oncelldblclick="grd_inrsv_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="48" band="left"/>
- <Column size="40" band="left"/>
- <Column size="45" band="left"/>
- <Column size="68" band="left"/>
- <Column size="40" band="left"/>
- <Column size="0" band="left"/>
- <Column size="61" band="left"/>
- <Column size="50" band="left"/>
- <Column size="40" band="left"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="50"/>
- <Column size="150"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="90"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="53"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="93"/>
- <Column size="106"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="우선 순위"/>
- <Cell col="2" text="배정 순위"/>
- <Cell col="3" text="입원 여부"/>
- <Cell col="4" colspan="2" text="결정일시/결정자" taborder="undefined"/>
- <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" displaytype="normal" text="수술예정일자"/>
- <Cell col="15" text="경로"/>
- <Cell col="16" text="희망 병실"/>
- <Cell col="17" text="희망병동"/>
- <Cell col="18" colspan="2" text="희망병실등급FROM/TO" taborder="undefined"/>
- <Cell col="20" text="배정병동"/>
- <Cell col="21" colspan="2" text="배정병실/병상" taborder="undefined"/>
- <Cell col="23" colspan="2" text="배정병실등급/형태" taborder="undefined"/>
- <Cell col="25" text="배정병상 공용구분"/>
- <Cell col="26" text="원무 참고사항"/>
- <Cell col="27" text="진료과 입원 담당자 연락처"/>
- <Cell col="28" text="진료 참고사항"/>
- <Cell col="29" colspan="2" text="공용병상 배정자/일시" taborder="undefined"/>
- <Cell col="31" displaytype="normal" text="입원일자"/>
- <Cell col="32" text="임상시험접수"/>
- <Cell col="33" text="임상시험과제번호"/>
- <Cell col="34" text="진료과코드"/>
- <Cell col="35" text="진료의코드"/>
- <Cell col="36" text="공용병상여부"/>
- <Cell col="37" text="caption19"/>
- <Cell col="38" text="caption20"/>
- <Cell col="39" text="caption3"/>
- <Cell col="40" text="caption4"/>
- <Cell col="41" text="caption5"/>
- <Cell col="42" text="caption6"/>
- <Cell col="43" text="caption7"/>
- <Cell col="44" text="caption1"/>
- <Cell col="45" text="caption8"/>
- <Cell col="46" text="caption9"/>
- <Cell col="47" text="caption10"/>
- <Cell col="48" text="caption11"/>
- <Cell col="49" text="caption12"/>
- <Cell col="50" text="응급여부"/>
- <Cell col="51" text="caption14"/>
- <Cell col="52" text="caption15"/>
- <Cell col="53" text="caption16"/>
- <Cell col="54" text="caption17"/>
- <Cell col="55" text="caption2"/>
- <Cell col="56" text="caption13"/>
- <Cell col="57" text="caption21"/>
- <Cell col="58" text="caption22"/>
- <Cell col="59" text="caption23"/>
- <Cell col="60" text="caption24"/>
- <Cell col="61" text="caption25"/>
- <Cell col="62" text="caption26"/>
- <Cell col="63" text="caption27"/>
- <Cell col="64" text="caption28"/>
- <Cell col="65" text="caption29"/>
- <Cell col="66" text="caption30"/>
- <Cell col="67" text="caption31"/>
- <Cell col="68" text="caption32"/>
- <Cell col="69" text="caption33"/>
- <Cell col="70"/>
- <Cell col="71"/>
- <Cell col="72"/>
- <Cell col="73"/>
- <Cell col="74"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:patgrade" combodataset="ds_init_pam_PK092list" combocodecol="cdid" combodatacol="cdid"/>
- <Cell col="2" style="align:center middle;" text="bind:sortno"/>
- <Cell col="3" displaytype="combo" style="align:center middle;" text="bind:inflag" combodataset="ds_init_P0039list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" displaytype="date" style="align:center middle;" text="bind:inrsrvacptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="5" displaytype="expr:utlf_isNull(inrsrvacpttm) ? 'none' : 'normal'" style="align:center middle;" text="bind:inrsrvacpttm" mask="##:##" maskchar=" " enable="false"/>
- <Cell col="6" style="align:center middle;" text="bind:inrsrvacptseqno" enable="false"/>
- <Cell col="7" style="align:center middle;" text="bind:pid" enable="false"/>
- <Cell col="8" style="align:center middle;" text="bind:hngnm" enable="false"/>
- <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:sex" combodataset="ds_init_P0391list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="10" displaytype="expr:utlf_isNull(rrgstno) ? 'none' : 'normal'" style="align:center middle;" text="bind:rrgstno" mask="99/99/99" maskchar=" " enable="false"/>
- <Cell col="11" displaytype="date" style="align:center middle;" text="bind:patinhopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="12" style="align:center middle;" text="bind:orddrid_nm"/>
- <Cell col="13" style="align:left middle;" text="bind:orddeptcd_nm"/>
- <Cell col="14" displaytype="date" text="bind:opschedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="15" displaytype="combo" style="align:center middle;" text="bind:erreglyn" combodataset="ds_static_erreglyn" combocodecol="value" combodatacol="label"/>
- <Cell col="16" displaytype="combo" style="align:center middle;" text="bind:publicroomtype" combodataset="ds_init_P0552list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="17" displaytype="combo" text="bind:inhopeward" enable="false"/>
- <Cell col="18" displaytype="combo" text="bind:inhoperoomgrdefrom" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="19" displaytype="combo" text="bind:inhoperoomgrdeto" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="20" displaytype="combo" class="gridinput" text="bind:assgward" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="21" displaytype="combo" class="gridinput" text="bind:assgroom" combodataset="ds_hidden_init_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="22" displaytype="combo" text="bind:assgbed" combodataset="ds_hidden_init_bedcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="23" displaytype="combo" text="bind:assgroomgrde" combodataset="ds_init_P0025list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="24" displaytype="combo" text="bind:assgroomtype" combodataset="ds_init_P0026list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="25" style="align:center middle;" text="bind:bedorddeptnm"/>
- <Cell col="26" displaytype="normal" edittype="none" style="align:left middle;" text="bind:inrsrvrem"/>
- <Cell col="27" style="align:center middle;" text="bind:inmgrtelno" mask="###-####-####" maskchar=" "/>
- <Cell col="28" displaytype="normal" edittype="none" text="bind:drrem"/>
- <Cell col="29" style="align:center middle;" text="bind:nurcnfnm"/>
- <Cell col="30" displaytype="expr:nurcnfdt == '-' ? 'normal' : 'date'" style="align:center middle;" text="bind:nurcnfdt" mask="expr:nurcnfdt == '-' ? '' : 'yyyy-MM-dd hh:mm'" calendardisplaynulltype="none"/>
- <Cell col="31" displaytype="date" style="align:center middle;" text="bind:indd" calendardisplaynulltype="none"/>
- <Cell col="32" displaytype="combo" text="bind:clincstdyacptflag" combodataset="ds_static_clincstdyacptflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="33" style="align:left middle;" text="bind:clincstdyno"/>
- <Cell col="34" displaytype="none" edittype="none" text="bind:orddeptcd" enable="false"/>
- <Cell col="35" text="bind:orddrid" enable="false"/>
- <Cell col="36" text="bind:publicbedyn"/>
- <Cell col="37" text="bind:inrsrvprcpno"/>
- <Cell col="38" text="bind:insukind"/>
- <Cell col="39" text="bind:suppkind"/>
- <Cell col="40" text="bind:suppkindresn"/>
- <Cell col="41" text="bind:insuno"/>
- <Cell col="42" text="bind:indirecdrid"/>
- <Cell col="43" text="bind:indirecdd"/>
- <Cell col="44" text="bind:patinhopedd"/>
- <Cell col="45" text="bind:drgyn"/>
- <Cell col="46" text="bind:bmtyn"/>
- <Cell col="47" text="bind:cpyn"/>
- <Cell col="48" text="bind:cpcd"/>
- <Cell col="49" text="bind:fcstinterm"/>
- <Cell col="50" text="bind:erreglyn"/>
- <Cell col="51" text="bind:isolroomyn"/>
- <Cell col="52" text="bind:oxyyn"/>
- <Cell col="53" text="bind:suctyn"/>
- <Cell col="54" text="bind:specroomyn"/>
- <Cell col="55" text="bind:scheopdd"/>
- <Cell col="56" text="bind:inrsrvstat"/>
- <Cell col="57" text="bind:inrsrvgrad"/>
- <Cell col="58" text="bind:inrsrvcnclresn"/>
- <Cell col="59" text="bind:incncldd"/>
- <Cell col="60" text="bind:incncltm"/>
- <Cell col="61" text="bind:nblsyn"/>
- <Cell col="62" text="bind:inrsrvprcpno"/>
- <Cell col="63" text="bind:clincstdyacptflag"/>
- <Cell col="64" text="bind:clincstdyno"/>
- <Cell col="65" text="bind:centcd"/>
- <Cell col="66" text="bind:subdeptcd"/>
- <Cell col="67" text="bind:coopteamcd"/>
- <Cell col="68" text="bind:wardtypecd"/>
- <Cell col="69" text="bind:specwardcd"/>
- <Cell col="70" text="bind:ampmflag"/>
- <Cell col="71" text="bind:rsrvprcsstat"/>
- <Cell col="72" text="bind:specordtype"/>
- <Cell col="73" text="bind:ocrtag"/>
- <Cell col="74" text="bind:sex"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="rectangle1" type="rectangle" position="absolute 490 64 505 79" style="fillbrush:solid #ffe79dff true;"/>
- <Button id="button5" taborder="50" class="btn7" position="absolute 1061 63 1135 82" text="엑셀저장" onclick="button5_onclick"/>
- <Button id="button4" taborder="51" text="엑셀저장" class="btn7" position="absolute 1117 406 1191 425" onclick="button4_onclick"/>
- <Button id="button3" taborder="52" text="출력" class="btn6" position="absolute 1066 406 1116 425" onclick="button3_onclick"/>
- <Div id="group4" taborder="54" position="absolute 0 77 387 341" visible="false">
- <Layouts>
- <Layout width="375" height="237">
- <Shape id="line11" class="line_3" position="absolute 0 250 387 264" anchor="default"/>
- <Shape id="line2" class="line_2" position="absolute 0 128 387 134" anchor="default"/>
- <Button id="btn_ptbsrrgstno" taborder="1" onclick="btn_ptbsrrgstno_onclick" class="icon_search" position="absolute 213 33 226 46" anchor="default"/>
- <Button id="btn_ptbshngnm" taborder="2" onclick="btn_ptbshngnm_onclick" class="icon_search" position="absolute 213 7 226 20" anchor="default"/>
- <Edit id="input1" taborder="3" position="absolute 165 82 187 101" anchor="default"/>
- <Combo id="combo2" taborder="4" innerdataset="@ds_init_P0327list" codecolumn="cdid" datacolumn="cdnm" position="absolute 288 160 387 179" anchor="default"/>
- <Edit id="ipt_rrgstno2" taborder="5" maxlength="7" onkillfocus="ipt_rrgstno2_onkillfocus" onkeydown="ipt_rrgstno2_onkeydown" class="input_essential" position="absolute 152 30 210 49" anchor="default"/>
- <Edit id="ipt_rrgstno1" taborder="6" maxlength="6" onkillfocus="ipt_rrgstno1_onkillfocus" onkeydown="ipt_rrgstno1_onkeydown" class="input_essential" position="absolute 99 30 149 49" anchor="default"/>
- <Combo id="combo1" taborder="7" innerdataset="@ds_hidden_init_disccd" codecolumn="cd" datacolumn="nm" enable="false" position="absolute 99 134 387 153" anchor="default"/>
- <Static id="caption3" text="감면" class="cell_1" position="absolute 0 132 97 155" anchor="default" style="padding:0 0 0 3;"/>
- <TextArea id="tar_remfact" taborder="8" position="absolute 99 185 387 254" anchor="default" wordwrap="char" scrollbars="fixedvert"/>
- <Edit id="ipt_detladdr" taborder="9" class="input_default" position="absolute 99 108 387 127" anchor="default"/>
- <Edit id="ipt_zipnm" taborder="10" class="input_default" position="absolute 209 82 387 101" anchor="default"/>
- <Edit id="ipt_zipcd2" taborder="11" class="input_default" position="absolute 132 82 162 101" anchor="default"/>
- <Edit id="ipt_zipcd1" taborder="12" class="input_default" position="absolute 99 82 129 101" anchor="default"/>
- <Edit id="ipt_mpphontel" taborder="13" class="input_default" position="absolute 233 56 387 75" anchor="default"/>
- <Edit id="ipt_hometel" taborder="14" class="input_default" position="absolute 99 56 227 75" anchor="default"/>
- <MaskEdit id="ipt_brthdd" taborder="15" type="string" mask="####-##-##" maskchar=" " class="input_default" position="absolute 304 30 387 49" style="align:center middle;" anchor="default" ontextchange="group4_ipt_brthdd_ontextchange"/>
- <CheckBox id="ipt_vipyn" taborder="16" text="VIP" value="N" truevalue="Y" falsevalue="N" position="absolute 304 6 346 21" anchor="default"/>
- <Edit id="ipt_hngnm" taborder="17" onkeydown="ipt_hngnm_onkeydown" class="input_essential" position="absolute 99 4 210 23" anchor="default"/>
- <Static id="caption19" text="우편번호" class="cell_1" position="absolute 0 80 97 103" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption49" text="연락처/휴대폰" class="cell_1" position="absolute 0 54 97 77" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption26" text="성명" class="cell_1" position="absolute 0 2 97 25" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption48" text="참고사항" class="cell_1" position="absolute 0 184 97 254" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption35" text="주민번호" class="cell_1" position="absolute 0 28 97 51" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption1" text="직원소개/추천인" class="cell_1" position="absolute 0 158 97 181" anchor="default" style="padding:0 0 0 3;"/>
- <Static id="caption31" text="하위주소" class="cell_1" position="absolute 0 106 97 129" anchor="default" style="padding:0 0 0 3;"/>
- <Edit id="output24" taborder="18" readonly="true" enable="false" position="absolute 172 160 266 179" style="background:URL('theme://images/bg_edit_D.png') stretch 5,5;" anchor="default"/>
- <Static id="caption2" text="VIP" class="cell_1" position="absolute 232 2 301 25" anchor="default"/>
- <Shape id="line15" class="line_2" position="absolute 0 180 387 186" anchor="default"/>
- <Button id="button20" taborder="19" onclick="button20_onclick" class="icon_search" position="absolute 269 163 282 176" anchor="default"/>
- <Shape id="line40" class="line_2" position="absolute 0 76 387 82" anchor="default"/>
- <Shape id="line39" class="line_2" position="absolute 0 50 387 56" anchor="default"/>
- <Static id="caption39" text="생년월일" class="cell_1" position="absolute 232 28 301 51" anchor="default"/>
- <Shape id="line38" class="line_2" position="absolute 0 24 387 30" anchor="default"/>
- <Shape id="line36" class="line_2" position="absolute 0 -2 387 4" anchor="default"/>
- <Shape id="line35" class="line_2" position="absolute 0 154 387 160" anchor="default"/>
- <Shape id="line16" class="line_2" position="absolute 0 102 387 108" anchor="default"/>
- <Button id="button6" taborder="20" onclick="button6_onclick" class="icon_search" position="absolute 191 85 204 98" anchor="default"/>
- <CheckBox id="checkbox4" taborder="21" text="직원소개" truevalue="checkbox1" position="absolute 99 162 169 177" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit id="ipt_pid00" taborder="53" position="absolute 532 764 625 783"/>
- <Div id="group6" taborder="55" position="absolute 0 83 1194 360">
- <Layouts>
- <Layout>
- <Shape id="line33" class="line_1" position="absolute 0 -1 1194 5" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Grid id="grd_bedspec" class="datagrid2" taborder="0" binddataset="ds_main_bedlist" useinputpanel="false" position="absolute 0 4 1194 275" anchor="default" oncelldblclick="group6_grd_bedspec_oncelldblclick" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0" band="left"/>
- <Column size="110" band="left"/>
- <Column size="60" band="left"/>
- <Column size="60" band="left"/>
- <Column size="40"/>
- <Column size="109"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="100"/>
- <Column size="131"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="건물"/>
- <Cell col="2" text="병동"/>
- <Cell col="3" text="병실"/>
- <Cell col="4" text="병상"/>
- <Cell col="5" text="성별"/>
- <Cell col="6" text="등급"/>
- <Cell col="7" text="형태"/>
- <Cell col="8" text="빈병상"/>
- <Cell col="9" text="병상상태"/>
- <Cell col="10" text="환자정보"/>
- <Cell col="11" text="HOLD"/>
- <Cell col="12" text="진료과"/>
- <Cell col="13" text="부진료과1"/>
- <Cell col="14" text="부진료과2"/>
- <Cell col="15" text="부진료과3"/>
- <Cell col="16" text="부진료과4"/>
- <Cell col="17" text="부도여부"/>
- <Cell col="18" text="비고"/>
- <Cell col="19" text="sidebed"/>
- <Cell col="20" text="O2"/>
- <Cell col="21" text="Suction"/>
- <Cell col="22" text="시작일자"/>
- <Cell col="23" text="종료일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:building" enable="false"/>
- <Cell col="2" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:wardcd" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm" tooltiptext="bind:wardcd" enable="false"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:roomcd" tooltiptext="bind:roomcd" enable="false"/>
- <Cell col="4" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:bedcd" combodataset="ds_hidden_init_bedcd" combocodecol="cd" combodatacol="nm" tooltiptext="bind:bedcd" enable="false"/>
- <Cell col="5" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:sex" combodataset="ds_init_P0391list" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:sex" enable="false"/>
- <Cell col="6" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:roomgrdecd" combodataset="ds_init_P0025list" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:roomgrdecd" enable="false"/>
- <Cell col="7" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:roomtypecd" combodataset="ds_init_P0026list" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:roomtypecd" enable="false"/>
- <Cell col="8" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:emptycheck" tooltiptext="bind:emptycheck"/>
- <Cell col="9" style="align:center top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:emptykind" wordwrap="word" tooltiptext="bind:emptykind"/>
- <Cell col="10" style="align:center top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:patinfo" wordwrap="char" tooltiptext="bind:patinfo"/>
- <Cell col="11" displaytype="text" edittype="text" style="align:center top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:holdmsg" wordwrap="char" tooltiptext="bind:holdmsg"/>
- <Cell col="12" style="background:BIND(orddeptcdBg);background2:BIND(orddeptcdBg);" text="bind:orddeptcd" tooltiptext="bind:orddeptcd" enable="false"/>
- <Cell col="13" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suborddeptcd1" tooltiptext="bind:suborddeptcd1" enable="false"/>
- <Cell col="14" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suborddeptcd2" tooltiptext="bind:suborddeptcd2" enable="false"/>
- <Cell col="15" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suborddeptcd3" tooltiptext="bind:suborddeptcd3" enable="false"/>
- <Cell col="16" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suborddeptcd4" tooltiptext="bind:suborddeptcd4" enable="false"/>
- <Cell col="17" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:budogubun" combodataset="ds_static_budogubun" combocodecol="value" combodatacol="label" tooltiptext="bind:budogubun"/>
- <Cell col="18" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:bedrem" tooltiptext="bind:bedrem" enable="false"/>
- <Cell col="19" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suborddeptcd5" tooltiptext="bind:suborddeptcd5" enable="false"/>
- <Cell col="20" displaytype="combo" edittype="combo" text="bind:oxyyn"/>
- <Cell col="21" displaytype="combo" edittype="combo" text="bind:suctyn"/>
- <Cell col="22" displaytype="date" edittype="date" text="bind:fromdd" enable="false"/>
- <Cell col="23" displaytype="date" edittype="date" text="bind:todd" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Edit id="caption17" taborder="56" position="absolute 216 406 335 426" style="background:stretch 5,5; :disabled {color:black;}" value="※입원배정 우선순위" oneditdblclick="caption17_oneditdblclick" enable="false"/>
- <Div id="grp" taborder="57" position="absolute 224 423 392 536" class="div_SA2" style="padding:8 8 8 8;" visible="false">
- <Layouts>
- <Layout>
- <Static id="caption18" text="[입원배정 우선순위] 1. 응급수술을 요하는 환자 2. 수술예약환자 3. 응급실에 대기 중인 환자 4. 외래환자 중 중증환자 5. 접수 순서에 의한 환자" position="absolute 0 4 162 102" anchor="default" style="padding:8 8 8 8;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0006list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0010list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0016list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0026list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0032list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0149list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0039list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0327list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0391list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0019list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0552list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_ordept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_pam_PK092list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="up" type="STRING" size="256"/>
- <Column id="io" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="dp" type="STRING" size="256"/>
- <Column id="sp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prestdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="of" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="wd" type="STRING" size="256"/>
- <Column id="gr" type="STRING" size="256"/>
- <Column id="ty" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inrsrvcond" type="STRING" size="256"/>
- <Column id="inrsrvcondnm" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- <Column id="prestdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="inrsrvtodd" type="STRING" size="256"/>
- <Column id="r_checkflag" type="STRING" size="256"/>
- <Column id="erreglyn" type="STRING" size="256"/>
- <Column id="publicflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="inrsrvcond">1</Col>
- <Col id="inrsrvcondnm"/>
- <Col id="sendflag"/>
- <Col id="prestdd"/>
- <Col id="pid"/>
- <Col id="inrsrvtodd"/>
- <Col id="r_checkflag"/>
- <Col id="erreglyn">A</Col>
- <Col id="publicflag">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_comnbedsmsmsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="msgfrmtid" type="STRING" size="256"/>
- <Column id="replytelno" type="STRING" size="256"/>
- <Column id="orgmsgfrmtcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="msgfrmtid"/>
- <Col id="replytelno"/>
- <Col id="orgmsgfrmtcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rmspecref" type="STRING" size="256"/>
- <Column id="rmspecrefnm" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- <Column id="prestdd" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="bedflag" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="bedtype" type="STRING" size="256"/>
- <Column id="search" type="STRING" size="256"/>
- <Column id="budogubunyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rmspecref"/>
- <Col id="rmspecrefnm"/>
- <Col id="sendflag"/>
- <Col id="prestdd"/>
- <Col id="sex"/>
- <Col id="bedflag"/>
- <Col id="orddeptcd"/>
- <Col id="bedtype">C</Col>
- <Col id="search">S</Col>
- <Col id="budogubunyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bedlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onvaluechanged="ds_main_bedlist_onvaluechanged">
- <ColumnInfo>
- <Column id="building" type="STRING" size="256" sumtext="건물"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="bedcnt" type="STRING" size="256" sumtext="인실"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상"/>
- <Column id="bednm" type="STRING" size="256" sumtext="병상"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="등급"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="형태"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="suborddeptcd1" type="STRING" size="256" sumtext="진료과"/>
- <Column id="suborddeptcd2" type="STRING" size="256" sumtext="진료과"/>
- <Column id="suborddeptcd3" type="STRING" size="256" sumtext="진료과"/>
- <Column id="suborddeptcd4" type="STRING" size="256" sumtext="진료과"/>
- <Column id="suborddeptcd5" type="STRING" size="256" sumtext="진료과"/>
- <Column id="holdmsg" type="STRING" size="256" sumtext="HOLD메세지"/>
- <Column id="bedrem" type="STRING" size="256" sumtext="병실참고사항"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="O2여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="Suction여부"/>
- <Column id="emptycheck" type="STRING" size="256" sumtext="빈병상체크"/>
- <Column id="overbedyn" type="STRING" size="256" sumtext="오버베드여부"/>
- <Column id="emptykind" type="STRING" size="256" sumtext="병상상태"/>
- <Column id="patinfo" type="STRING" size="256" sumtext="환자정보"/>
- <Column id="patorddeptnm" type="STRING" size="256" sumtext="재원진료과"/>
- <Column id="budogubun" type="STRING" size="256" sumtext="부도여부"/>
- <Column id="bgColor" type="STRING" size="256"/>
- <Column id="orddeptcdBg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_ptbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptbs_status" type="STRING" size="256"/>
- <Column id="ptbs_pid" type="STRING" size="256"/>
- <Column id="ptbs_hngnm" type="STRING" size="256"/>
- <Column id="ptbs_engnm" type="STRING" size="256"/>
- <Column id="ptbs_rrgstno1" type="STRING" size="256"/>
- <Column id="ptbs_rrgstno2" type="STRING" size="256"/>
- <Column id="ptbs_brthdd" type="STRING" size="256"/>
- <Column id="ptbs_sex" type="STRING" size="256"/>
- <Column id="ptbs_age" type="STRING" size="256"/>
- <Column id="ptbs_hometel" type="STRING" size="256"/>
- <Column id="ptbs_mpphontel" type="STRING" size="256"/>
- <Column id="ptbs_zipcd1" type="STRING" size="256"/>
- <Column id="ptbs_zipcd2" type="STRING" size="256"/>
- <Column id="ptbs_zipcdseq" type="STRING" size="256"/>
- <Column id="ptbs_zipcdaddr" type="STRING" size="256"/>
- <Column id="ptbs_detladdr" type="STRING" size="256"/>
- <Column id="ptbs_forgeryn" type="STRING" size="256"/>
- <Column id="ptbs_recmyn" type="STRING" size="256"/>
- <Column id="ptbs_recmerid" type="STRING" size="256"/>
- <Column id="ptbs_recmerrela" type="STRING" size="256"/>
- <Column id="ptbs_vipyn" type="STRING" size="256"/>
- <Column id="ptbs_religncd" type="STRING" size="256"/>
- <Column id="ptbs_remfact" type="STRING" size="256"/>
- <Column id="ptbs_inhospyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ptbs_status"/>
- <Col id="ptbs_pid"/>
- <Col id="ptbs_hngnm"/>
- <Col id="ptbs_engnm"/>
- <Col id="ptbs_rrgstno1"/>
- <Col id="ptbs_rrgstno2"/>
- <Col id="ptbs_brthdd"/>
- <Col id="ptbs_sex"/>
- <Col id="ptbs_age"/>
- <Col id="ptbs_hometel"/>
- <Col id="ptbs_mpphontel"/>
- <Col id="ptbs_zipcd1"/>
- <Col id="ptbs_zipcd2"/>
- <Col id="ptbs_zipcdseq"/>
- <Col id="ptbs_zipcdaddr"/>
- <Col id="ptbs_detladdr"/>
- <Col id="ptbs_forgeryn"/>
- <Col id="ptbs_recmyn"/>
- <Col id="ptbs_recmerid"/>
- <Col id="ptbs_recmerrela"/>
- <Col id="ptbs_vipyn"/>
- <Col id="ptbs_religncd"/>
- <Col id="ptbs_remfact"/>
- <Col id="ptbs_inhospyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data9" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="autoflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data11" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="mode" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hngnm"/>
- <Col id="mode"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="pid"/>
- <Col id="indd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_check_ptbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="mode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="insukind"/>
- <Col id="mode"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_adrvlist" 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="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="status" type="STRING" size="256" sumtext="상태값"/>
- <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptcd_nm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="inrsrvacptseqno" type="STRING" size="256" sumtext="예약접수번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="inrsrvacpttm" type="STRING" size="256" sumtext="접수시간"/>
- <Column id="inrsrvstat" type="STRING" size="256" sumtext="입원예약flag"/>
- <Column id="inrsrvprcpno" type="STRING" size="256" sumtext="예약처방번호"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindresn" type="STRING" size="256" sumtext="유형사유"/>
- <Column id="insuno" type="STRING" size="256" sumtext="보험자코드"/>
- <Column id="indirecdrid" type="STRING" size="256" sumtext="지시의사"/>
- <Column id="indirecdd" type="STRING" size="256" sumtext="지시일자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="전문의"/>
- <Column id="orddrid_nm" type="STRING" size="256" sumtext="전문의"/>
- <Column id="inhopedd" type="STRING" size="256" sumtext="희망입원일자"/>
- <Column id="patinhopedd" type="STRING" size="256" sumtext="환자희망입원일자"/>
- <Column id="inhopeward" type="STRING" size="256" sumtext="희망병동"/>
- <Column id="inhoperoomgrdefrom" type="STRING" size="256" sumtext="희망병실등급from"/>
- <Column id="inhoperoomgrdeto" type="STRING" size="256" sumtext="희망병실등급to"/>
- <Column id="assgward" type="STRING" size="256" sumtext="배정병동"/>
- <Column id="assgroom" type="STRING" size="256" sumtext="배정병실"/>
- <Column id="assgbed" type="STRING" size="256" sumtext="배정병실"/>
- <Column id="assgroomgrde" type="STRING" size="256" sumtext="배정병실등급"/>
- <Column id="assgroomtype" type="STRING" size="256" sumtext="배정병실형태"/>
- <Column id="inflag" type="STRING" size="256" sumtext="입원상태"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="drg여부"/>
- <Column id="bmtyn" type="STRING" size="256" sumtext="bmt여부"/>
- <Column id="cpyn" type="STRING" size="256" sumtext="cp여부"/>
- <Column id="cpcd" type="STRING" size="256" sumtext="cp종류"/>
- <Column id="fcstinterm" type="STRING" size="256" sumtext="예상입원기간"/>
- <Column id="erreglyn" type="STRING" size="256" sumtext="응급여부"/>
- <Column id="isolroomyn" type="STRING" size="256" sumtext="격리실여부"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="o2사용여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="suction사용여부"/>
- <Column id="specroomyn" type="STRING" size="256" sumtext="입원예약병실형태"/>
- <Column id="scheopdd" type="STRING" size="256" sumtext="수술예정일"/>
- <Column id="opschedd" type="STRING" size="256" sumtext="수술예정일"/>
- <Column id="inrsrvgrad" type="STRING" size="256" sumtext="입원우선순위"/>
- <Column id="inrsrvrem" type="STRING" size="256" sumtext="입원예약참고사항"/>
- <Column id="drrem" type="STRING" size="256" sumtext="의사참고사항"/>
- <Column id="inrsrvcnclresn" type="STRING" size="256" sumtext="입원예약취소사유"/>
- <Column id="incncldd" type="STRING" size="256" sumtext="입원취소일자"/>
- <Column id="incncltm" type="STRING" size="256" sumtext="입원취소시간"/>
- <Column id="nblsyn" type="STRING" size="256" sumtext="노블레스여부"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수상태"/>
- <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험과제번호"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTag"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- <Column id="coopteamcd" type="STRING" size="256" sumtext="협력팀코드"/>
- <Column id="wardtypecd" type="STRING" size="256" sumtext="병동형태"/>
- <Column id="specwardcd" type="STRING" size="256" sumtext="세부병동"/>
- <Column id="ampmflag" type="STRING" size="256" sumtext="DCC오전오후구분"/>
- <Column id="rsrvprcsstat" type="STRING" size="256" sumtext="입원예약진행상태"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="선택진료형태"/>
- <Column id="publicbedyn" type="STRING" size="256" sumtext="공용병상사용여부"/>
- <Column id="sortno" type="STRING" size="256" sumtext="우선순위"/>
- <Column id="inmgrtelno" type="STRING" size="256" sumtext="입원담당자연락처"/>
- <Column id="publicroomtype" type="STRING" size="256" sumtext="희망병실"/>
- <Column id="nurcnfid" type="STRING" size="256" sumtext="공용병상 배정자ID"/>
- <Column id="nurcnfnm" type="STRING" size="256" sumtext="공용병상 배정자명"/>
- <Column id="nurcnfdt" type="STRING" size="256" sumtext="공용병상 배정일시"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
- <Column id="assgdt" type="STRING" size="256" sumtext="입원결정일시"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의"/>
- <Column id="patgrade" type="STRING" size="256" sumtext="환자등급"/>
- <Column id="bedorddeptnm" type="STRING" size="256" sumtext="배정병상 공용구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_init_bedcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_static_budogubun" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">부도</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">정상</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_static_erreglyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">DSC/특수주사실</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_static_clincstdyacptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">-</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">임상(전액청구)</Col>
- <Col id="value">P</Col>
- </Row>
- <Row>
- <Col id="label">임상(진찰료제외)</Col>
- <Col id="value">Q</Col>
- </Row>
- <Row>
- <Col id="label">동물임상</Col>
- <Col id="value">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_original_adrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_original_ptbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_otptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cvrtflag" type="STRING" size="256" sumtext="외래전환"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="calcflag" type="STRING" size="256" sumtext="수납Flag"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindresn" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="insucd" type="STRING" size="256" sumtext="보험자기호"/>
- <Column id="medamtestmyn" type="STRING" size="256" sumtext="진찰료여부"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="형태"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="이력일련번호"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="ordreqformflag" type="STRING" size="256" sumtext="수급절차"/>
- <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀난치대상여부"/>
- <Column id="disccd" type="STRING" size="256" sumtext="할인계정"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_buffer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_adrv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppkind" type="STRING" size="256"/>
- <Column id="suppkindresn" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppkind"/>
- <Col id="suppkindresn"/>
- <Col id="insukind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ptin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptin_status" type="STRING" size="256" sumtext="상태"/>
- <Column id="ptin_pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="ptin_insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="ptin_todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="ptin_seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="ptin_histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="ptin_fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="ptin_insucd" type="STRING" size="256" sumtext="보험자코드"/>
- <Column id="ptin_insucdnm" type="STRING" size="256" sumtext="보험자코드"/>
- <Column id="ptin_insuno" type="STRING" size="256" sumtext="보험증번호"/>
- <Column id="ptin_insdnm" type="STRING" size="256" sumtext="피보험자성명"/>
- <Column id="ptin_insdrrgstno1" type="STRING" size="256" sumtext="피보험자주민번호앞자리"/>
- <Column id="ptin_insdrrgstno2" type="STRING" size="256" sumtext="피보험자주민번호뒷자리"/>
- <Column id="ptin_insdrela" type="STRING" size="256" sumtext="피보험자관계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insuflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insuflag"/>
- <Col id="pid"/>
- <Col id="srchcond"/>
- <Col id="srchcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagkindcdflag" type="STRING" size="256" sumtext="주상병여부"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="상병코드"/>
- <Column id="termhngnm" type="STRING" size="256" sumtext="한글상병명"/>
- <Column id="termengnm" type="STRING" size="256" sumtext="영문상병명"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_h_cnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnst_pid" type="STRING" size="256"/>
- <Column id="cnst_orddeptcd" type="STRING" size="256"/>
- <Column id="cnst_insuflag" type="STRING" size="256"/>
- <Column id="cnst_ordreqkind" type="STRING" size="256"/>
- <Column id="cnst_todd" type="STRING" size="256"/>
- <Column id="cnst_seqno" type="STRING" size="256"/>
- <Column id="cnst_instcd" type="STRING" size="256"/>
- <Column id="cnst_histstat" type="STRING" size="256"/>
- <Column id="cnst_fromdd" type="STRING" size="256"/>
- <Column id="cnst_fstrgstrid" type="STRING" size="256"/>
- <Column id="cnst_fstrgstdt" type="STRING" size="256"/>
- <Column id="cnst_lastupdtrid" type="STRING" size="256"/>
- <Column id="cnst_lastupdtdt" type="STRING" size="256"/>
- <Column id="cnst_orddeptcd_before" type="STRING" size="256"/>
- <Column id="cnst_insuflag_before" type="STRING" size="256"/>
- <Column id="cnst_ordreqkind_before" type="STRING" size="256"/>
- <Column id="cnst_todd_before" type="STRING" size="256"/>
- <Column id="cnst_seqno_before" type="STRING" size="256"/>
- <Column id="cnst_stat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnst_pid"/>
- <Col id="cnst_orddeptcd"/>
- <Col id="cnst_insuflag"/>
- <Col id="cnst_ordreqkind"/>
- <Col id="cnst_todd"/>
- <Col id="cnst_seqno"/>
- <Col id="cnst_instcd"/>
- <Col id="cnst_histstat"/>
- <Col id="cnst_fromdd"/>
- <Col id="cnst_fstrgstrid"/>
- <Col id="cnst_fstrgstdt"/>
- <Col id="cnst_lastupdtrid"/>
- <Col id="cnst_lastupdtdt"/>
- <Col id="cnst_orddeptcd_before"/>
- <Col id="cnst_insuflag_before"/>
- <Col id="cnst_ordreqkind_before"/>
- <Col id="cnst_todd_before"/>
- <Col id="cnst_seqno_before"/>
- <Col id="cnst_stat"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_srdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srdg_pid" type="STRING" size="256"/>
- <Column id="srdg_insuflag" type="STRING" size="256"/>
- <Column id="srdg_suppkind" type="STRING" size="256"/>
- <Column id="srdg_todd" type="STRING" size="256"/>
- <Column id="srdg_seqno" type="STRING" size="256"/>
- <Column id="srdg_instcd" type="STRING" size="256"/>
- <Column id="srdg_histstat" type="STRING" size="256"/>
- <Column id="srdg_fromdd" type="STRING" size="256"/>
- <Column id="srdg_seridiagno" type="STRING" size="256"/>
- <Column id="srdg_apppsnnm" type="STRING" size="256"/>
- <Column id="srdg_rela" type="STRING" size="256"/>
- <Column id="srdg_acptdd" type="STRING" size="256"/>
- <Column id="srdg_acpttm" type="STRING" size="256"/>
- <Column id="srdg_acptid" type="STRING" size="256"/>
- <Column id="srdg_remfact" type="STRING" size="256"/>
- <Column id="srdg_fstrgstrid" type="STRING" size="256"/>
- <Column id="srdg_fstrgstdt" type="STRING" size="256"/>
- <Column id="srdg_lastupdtrid" type="STRING" size="256"/>
- <Column id="srdg_lastupdtdt" type="STRING" size="256"/>
- <Column id="srdg_insuflag_before" type="STRING" size="256"/>
- <Column id="srdg_suppkind_before" type="STRING" size="256"/>
- <Column id="srdg_todd_before" type="STRING" size="256"/>
- <Column id="srdg_seqno_before" type="STRING" size="256"/>
- <Column id="srdg_stat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srdg_pid"/>
- <Col id="srdg_insuflag"/>
- <Col id="srdg_suppkind"/>
- <Col id="srdg_todd"/>
- <Col id="srdg_seqno"/>
- <Col id="srdg_instcd"/>
- <Col id="srdg_histstat"/>
- <Col id="srdg_fromdd"/>
- <Col id="srdg_seridiagno"/>
- <Col id="srdg_apppsnnm"/>
- <Col id="srdg_rela"/>
- <Col id="srdg_acptdd"/>
- <Col id="srdg_acpttm"/>
- <Col id="srdg_acptid"/>
- <Col id="srdg_remfact"/>
- <Col id="srdg_fstrgstrid"/>
- <Col id="srdg_fstrgstdt"/>
- <Col id="srdg_lastupdtrid"/>
- <Col id="srdg_lastupdtdt"/>
- <Col id="srdg_insuflag_before"/>
- <Col id="srdg_suppkind_before"/>
- <Col id="srdg_todd_before"/>
- <Col id="srdg_seqno_before"/>
- <Col id="srdg_stat"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_aipm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="aipm_insucmpycd" type="STRING" size="256"/>
- <Column id="aipm_insucdnm" type="STRING" size="256"/>
- <Column id="aipm_paylimamt" type="STRING" size="256"/>
- <Column id="aipm_aprvfromdd" type="STRING" size="256"/>
- <Column id="aipm_aprvtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="aipm_insucmpycd"/>
- <Col id="aipm_insucdnm"/>
- <Col id="aipm_paylimamt"/>
- <Col id="aipm_aprvfromdd"/>
- <Col id="aipm_aprvtodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_icpm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="icpm_mngtno" type="STRING" size="256"/>
- <Column id="icpm_bizplcenm" type="STRING" size="256"/>
- <Column id="icpm_inducsbrchcd" type="STRING" size="256"/>
- <Column id="icpm_insucdnm" type="STRING" size="256"/>
- <Column id="icpm_acddd" type="STRING" size="256"/>
- <Column id="icpm_ordopendd" type="STRING" size="256"/>
- <Column id="icpm_aprvfromdd" type="STRING" size="256"/>
- <Column id="icpm_aprvtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="icpm_mngtno"/>
- <Col id="icpm_bizplcenm"/>
- <Col id="icpm_inducsbrchcd"/>
- <Col id="icpm_insucdnm"/>
- <Col id="icpm_acddd"/>
- <Col id="icpm_ordopendd"/>
- <Col id="icpm_aprvfromdd"/>
- <Col id="icpm_aprvtodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_rcv_ptin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_rcv_ptbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_original_ptin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_check_ptsp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_pid1" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_pid"/>
- <BindItem id="item1" compid="ipt_sex" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_sex"/>
- <BindItem id="item2" compid="ipt_age" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_age"/>
- <BindItem id="item3" compid="div_srch.cmb_rmsrch" propid="value" datasetid="ds_send_data1" columnid="rmspecref"/>
- <BindItem id="item4" compid="div_srch.ipt_room" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item5" compid="div_srch.cmb_grde" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item6" compid="div_srch.cmb_sex" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item7" compid="div_srch.cmb_orddept" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item8" compid="div_srch.cmb_ward" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item9" compid="div_srch.cmb_type" propid="value" datasetid="ds_send_data1" columnid="rmspecrefnm"/>
- <BindItem id="item10" compid="div_srch.cmb_search" propid="value" datasetid="ds_send_data1" columnid="search"/>
- <BindItem id="item11" compid="div_srch.radio1" propid="value" datasetid="ds_send_data1" columnid="bedtype"/>
- <BindItem id="item12" compid="group4.input1" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_zipcdseq"/>
- <BindItem id="item17" compid="group4.combo2" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_recmerrela"/>
- <BindItem id="item13" compid="group4.ipt_rrgstno2" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_rrgstno2"/>
- <BindItem id="item14" compid="group4.ipt_rrgstno1" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_rrgstno1"/>
- <BindItem id="item18" compid="group4.tar_remfact" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_remfact"/>
- <BindItem id="item15" compid="group4.ipt_detladdr" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_detladdr"/>
- <BindItem id="item16" compid="group4.ipt_zipnm" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_zipcdaddr"/>
- <BindItem id="item19" compid="group4.ipt_zipcd2" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_zipcd2"/>
- <BindItem id="item20" compid="group4.ipt_zipcd1" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_zipcd1"/>
- <BindItem id="item21" compid="group4.ipt_mpphontel" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_mpphontel"/>
- <BindItem id="item22" compid="group4.ipt_hometel" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_hometel"/>
- <BindItem id="item23" compid="group4.ipt_brthdd" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_brthdd"/>
- <BindItem id="item24" compid="group4.ipt_vipyn" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_vipyn"/>
- <BindItem id="item25" compid="group4.ipt_hngnm" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_hngnm"/>
- <BindItem id="item26" compid="group4.output24" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_recmerid"/>
- <BindItem id="item27" compid="group4.checkbox4" propid="value" datasetid="ds_main_ptbs" columnid="ptbs_recmyn"/>
- <BindItem id="item28" compid="div_srch2.ipt_hopedd" propid="value" datasetid="ds_send_data2" columnid="inrsrvcondnm"/>
- <BindItem id="item29" compid="div_srch2.cmb_rssrch" propid="value" datasetid="ds_send_data2" columnid="inrsrvcond"/>
- <BindItem id="item30" compid="div_srch2.ipt_pid" propid="value" datasetid="ds_send_data2" columnid="inrsrvcondnm"/>
- <BindItem id="item31" compid="div_srch2.ipt_pidnm" propid="value" datasetid="ds_send_data2" columnid="inrsrvcondnm"/>
- <BindItem id="item32" compid="div_srch2.cmb_ordept" propid="value" datasetid="ds_send_data2" columnid="inrsrvcondnm"/>
- <BindItem id="item33" compid="div_srch2.ipt_hopetodd" propid="value" datasetid="ds_send_data2" columnid="inrsrvtodd"/>
- <BindItem id="item34" compid="div_srch2.bol_ckeckdd1" propid="value" datasetid="ds_send_data2" columnid="r_checkflag"/>
- <BindItem id="item35" compid="div_srch2.radio2" propid="value" datasetid="ds_send_data2" columnid="erreglyn"/>
- <BindItem id="item36" compid="div_srch2.radio3" propid="value" datasetid="ds_send_data2" columnid="publicflag"/>
- <BindItem id="item37" compid="ipt_pid00" propid="value" datasetid="ds_main_comnbedsmsmsg" columnid="replytelno"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'ast_examcurexp::AEZ0001.xjs'
- include 'pam_pamcomnxp::PAM.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- var srch_flag = "";
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * MaskEdit 에서 입력한 데이터가 format 에 맞는 형식인지 검사 한다
- * ontextchange 이벤트에서만 사용 할 것
- * @param {[type]} obj:MaskEdit [description]
- * @param {[type]} e:TextChangeEventInfo [description]
- * @param {[type]} format [description]
- * @return {[type]} [description]
- */
- /**
- * [fChoice description]
- * @param {[type]} rmchoi [description]
- * @return {[type]} [description]
- */
- function fChoice(rmchoi) {
- // 검색조건 초기화
- ds_send_data1.setColumn(0, "rmspecrefnm", "");
- // P1:전체, P2:진료과, P3:병동, P4:병실, P5:빈병상
- if (rmchoi == 'P1') {
- div_srch.ipt_room.visible = false;
- div_srch.cmb_ward.visible = false;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = false;
- div_srch.cmb_search.visible = false;
- }
- else if (rmchoi == 'P2') {
- // div_srch.cmb_orddept.attribute("top") = "8px";
- // div_srch.cmb_orddept.attribute("left") = "228px";
- div_srch.cmb_orddept.setFocus();
- div_srch.ipt_room.visible = false;
- div_srch.cmb_ward.visible = false;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = true;
- div_srch.cmb_search.visible = false;
- ds_send_data1.setColumn(0, "bedtype", "D");
- }
- else if (rmchoi == 'P3') {
- // cmb_ward.attribute("top") = "8px";
- // cmb_ward.attribute("left") = "228px";
- div_srch.cmb_ward.setFocus();
- div_srch.ipt_room.visible = false;
- div_srch.cmb_ward.visible = true;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = false;
- div_srch.cmb_search.visible = false;
- }
- else if (rmchoi == 'P4') {
- // ipt_room.attribute("top") = "8px";
- // ipt_room.attribute("left") = "228px";
- div_srch.ipt_room.setFocus();
- div_srch.ipt_room.visible = true;
- div_srch.cmb_ward.visible = false;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = false;
- div_srch.cmb_search.visible = false;
- }
- else if (rmchoi == 'P5') {
- // cmb_search.attribute("top") = "8px";
- // cmb_search.attribute("left") = "228px";
- div_srch.cmb_search.setFocus();
- div_srch.ipt_room.visible = false;
- div_srch.cmb_ward.visible = false;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = false;
- div_srch.cmb_search.visible = true;
- }
- }
- /**
- * 병동병실 조회
- * @return {[type]} [description]
- */
- function fQueryRoomRef(){
- // 조회조건별 제어구문 추가 by 조중래 20141013
- var rmspecref = ds_send_data1.getColumn(0, "rmspecref");
- var bedtype = ds_send_data1.getColumn(0, "bedtype");
- var rmspecrefnm = utlf_transNullToEmpty(ds_send_data1.getColumn(0, "rmspecrefnm"));
- // 진료과 선택 시 "전용"만 선택가능
- if (rmspecref == "P2" && bedtype != "D") {
- sysf_messageBox("진료과를 선택한 경우, 전용 이외의 구분은 선택불가능합니다.", "C000");
- return false;
- }
- else if (rmspecref == "P2" && (rmspecrefnm == "" || rmspecrefnm == "-")) {
- sysf_messageBox("진료과를 선택해주십시오.", "C000");
- return false;
- }
- else if (rmspecref == "P3" && (rmspecrefnm == "" || rmspecrefnm == "-")) {
- sysf_messageBox("병동을 선택해주십시오.", "C000");
- return false;
- }
- else if (rmspecref == "P4" && (rmspecrefnm == "" || rmspecrefnm == "-")) {
- sysf_messageBox("병실을 입력해주십시오.", "C000");
- return false;
- }
- ds_send_data1.setColumn(0, "bedflag", "Y"); //가동병실만 조회되도록 조건추가
- ds_send_data1.setColumn(0, "sendflag", "R"); //병실검색 조회 구분자
- ds_send_data1.setColumn(0, "prestdd", utlf_getCurrentDate());
- ds_send_data1.setColumn(0, "orddeptcd", "0000000000"); //진료과코드가 '000000000' 일때는 공용병상으로 취급
- ds_send_data1.setColumn(0, "budogubunyn", "Y"); // 부도병상 표시여부
- dsf_createDsRow('ds_TRPMI02001', [
- { col: 'rmspecref', type: 'string', size: 256, val: '' },
- { col: 'rmspecrefnm', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' },
- { col: 'wardcd', type: 'string', size: 256, val: '' },
- { col: 'orduseyn', type: 'string', size: 256, val: '' },
- { col: 'search', type: 'string', size: 256, val: '' },
- { col: 'bedtype', type: 'string', size: 256, val: '' },
- { col: 'budogubunyn', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI02001.copyRow(0, ds_send_data1, 0);
- ds_main_bedlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI02001";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetBedSpecList";
- oParam.inds = "req=ds_TRPMI02001";
- oParam.outds = "ds_main_bedlist=grdbedspec";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_bedlist.addColumn('bgColor', 'string');
- ds_main_bedlist.addColumn('orddeptcdBg', 'string');
- fSetRowStyle();
- }
- /**
- * [fSetRowStyle description]
- * @return {[type]} [description]
- */
- function fSetRowStyle() {
- //group6.grd_bedspec.allStyle("all", "background-color") = "#ffffff"; // 배경색을 초기화 한다.
- ds_main_bedlist.enableevent = false;
- ds_main_bedlist.updatecontrol = false;
- for (var i = 0; i < ds_main_bedlist.rowcount; i++) {
- // 공용병상 처리
- if (ds_main_bedlist.getColumn(i, "orddeptcd") == "공용병상") {
- if (ds_main_bedlist.getColumn(i, "emptycheck") == "N") {
- ds_main_bedlist.setColumn(i, 'bgColor', '#FFE79D');
- ds_main_bedlist.setColumn(i, 'orddeptcdBg', '#FFDB6F');
- }
- else {
- ds_main_bedlist.setColumn(i, 'orddeptcdBg', '#FFDB6F');
- }
- }
- // 전용병상 처리
- else {
- if (ds_main_bedlist.getColumn(i, "emptycheck") == "N") {
- ds_main_bedlist.setColumn(i, 'bgColor', '#FFE79D');
- ds_main_bedlist.setColumn(i, 'orddeptcdBg', '#93D7F8');
- }
- else {
- ds_main_bedlist.setColumn(i, 'orddeptcdBg', '#93D7F8');
- }
- }
- }
- ds_main_bedlist.updatecontrol = true;
- ds_main_bedlist.enableevent = true;
- // 부도병상 처리(N:부도)
- //lf_aezfSetRowStyle(group6.grd_bedspec, '5', 'N', 'budogubun', 'equal');
- }
- /**
- * [sendinit description]
- * @return {[type]} [description]
- */
- function sendinit() {
- // 추후 없는 데이터 셋은 삭제 바람
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- //ds_send_data5.clearData();
- //ds_send_data5.addRow();
- // ds_send_data6.clearData();
- // ds_send_data6.addRow();
- // ds_send_data7.clearData();
- // ds_send_data7.addRow();
- // ds_send_data8.clearData();
- // ds_send_data8.addRow();
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- // ds_send_data10.clearData();
- // ds_send_data10.addRow();
- ds_send_data11.clearData();
- ds_send_data11.addRow();
- //ds_send_data12.clearData();
- //ds_send_data12.addRow();
- // ds_send_data13.clearData();
- // ds_send_data13.addRow();
- // ds_send_data14.clearData();
- // ds_send_data14.addRow();
- // ds_send_data15.clearData();
- // ds_send_data15.addRow();
- // ds_send_data16.clearData();
- // ds_send_data16.addRow();
- // ds_send_data17.clearData();
- // ds_send_data17.addRow();
- // ds_send_data18.clearData();
- // ds_send_data18.addRow();
- }
- /**
- * [fQueryRsrvRef description]
- * @param {[type]} srchflag [description]
- * @return {[type]} [description]
- */
- function fQueryRsrvRef(srchflag) {
- if (srchflag == "1") {
- if (ds_send_data2.getColumn(0, "inrsrvcond") == "1" ||
- ds_send_data2.getColumn(0, "inrsrvcond") == "5" ||
- ds_send_data2.getColumn(0, "inrsrvcond") == "6") {
- var fromdd = ds_send_data2.getColumn(0, "inrsrvcondnm");
- var todd = ds_send_data2.getColumn(0, "inrsrvtodd");
- if (utlf_isNull(fromdd) || utlf_isNull(todd)) {
- sysf_messageBox("시작일자와 종료일자는 반드시 입력하십시오.", "E");
- return;
- }
- if (utlf_getDateInterval(fromdd, todd) > 31) {
- sysf_messageBox("조회기간은 최대 1달(31일)입니다.", "E");
- return;
- }
- }
- if ((ds_send_data2.getColumn(0, "inrsrvcond") == "2" ||
- ds_send_data2.getColumn(0, "inrsrvcond") == "3") &&
- utlf_isNull(ds_send_data2.getColumn(0, "inrsrvcondnm"))) {
- sysf_messageBox("등록번호 또는 환자성명을 입력하십시오.", "E");
- return;
- }
- // 조회구분이 배정일자 / 입원일자일때만 병상구분 선택가능
- if (ds_send_data2.getColumn(0, "publicflag") != "A" &&
- ds_send_data2.getColumn(0, "inrsrvcond") != "5" &&
- ds_send_data2.getColumn(0, "inrsrvcond") != "6") {
- sysf_messageBox("병상구분은 배정일자 및 입원일자 조회시에만 선택 가능합니다.", "E");
- return;
- }
- srch_flag = "N";
- ds_send_data2.setColumn(0, "pid", "");
- ds_send_data2.setColumn(0, "sendflag", "A");
- ds_send_data2.setColumn(0, "prestdd", utlf_getCurrentDate());
- dsf_createDsRow('ds_TRPMI00306', [
- { col: 'inrsrvcond', type: 'string', size: 256, val: '' },
- { col: 'inrsrvcondnm', type: 'string', size: 256, val: '' },
- { col: 'inrsrvtodd', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' },
- { col: 'prestdd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'r_checkflag', type: 'string', size: 256, val: '' },
- { col: 'erreglyn', type: 'string', size: 256, val: '' },
- { col: 'publicflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00306.copyRow(0, ds_send_data2, 0);
- ds_main_adrvlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI00306";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetComnBedInRsrvRefList";
- oParam.inds = "req=ds_TRPMI00306";
- oParam.outds = "ds_main_adrvlist=grdinrsrvlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else if (srchflag == "2") {
- srch_flag = "Y";
- ds_send_data2.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data2.setColumn(0, "sendflag", "A");
- ds_send_data2.setColumn(0, "prestdd", utlf_getCurrentDate());
- //환자번호로 조회시 입원예약환자 그리드 조회의 항목을 그대로 두어야한다.
- var inrsrvcondnm = ds_send_data2.getColumn(0, "inrsrvcondnm");
- var inrsrvcond = ds_send_data2.getColumn(0, "inrsrvcond");
- ds_send_data2.setColumn(0, "inrsrvcond", "");
- ds_send_data2.setColumn(0, "inrsrvcondnm", "");
- dsf_createDsRow('ds_TRPMI00306', [
- { col: 'inrsrvcond', type: 'string', size: 256, val: '' },
- { col: 'inrsrvcondnm', type: 'string', size: 256, val: '' },
- { col: 'inrsrvtodd', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' },
- { col: 'prestdd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'r_checkflag', type: 'string', size: 256, val: '' },
- { col: 'erreglyn', type: 'string', size: 256, val: '' },
- { col: 'publicflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00306.copyRow(0, ds_send_data2, 0);
- ds_main_adrvlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI00306";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetComnBedInRsrvRefList";
- oParam.inds = "req=ds_TRPMI00306";
- oParam.outds = "ds_main_adrvlist=grdinrsrvlist";
- oParam.async = false;
- tranf_submit(oParam);
- ds_send_data2.setColumn(0, "inrsrvcondnm", inrsrvcondnm);
- ds_send_data2.setColumn(0, "inrsrvcond", inrsrvcond);
- ds_main_adrvlist.rowposition = 1;
- }
- var adrvcnt = ds_main_adrvlist.rowcount;
- if (adrvcnt == 0) {
- sysf_messageBox("공용병상 배정대기/완료 환자가 ", "I004");
- return false;
- }
- }
- /**
- * [fHngNmVeri description]
- * @param {[type]} gubn [description]
- * @return {[type]} [description]
- */
- function fHngNmVeri(gubn) {
- var ptbs_hngnm;
- if (gubn == "xforms-next") {
- ptbs_hngnm = ds_main_ptbs.getColumn(0, "ptbs_hngnm");
- }
- else if (gubn == "onkeypress" || gubn == "onkeyup") {
- ptbs_hngnm = ds_main_ptbs.getColumn(0, "ptbs_hngnm");
- }
- //한글 한글자를 그냥 길이1로 계산
- if (String(ptbs_hngnm).length < 2) {
- sysf_messageBox("환자성명은 2글자 이상되어야 합니다!", "E999", "");
- ipt_hngnm.setFocus();
- return false;
- }
- }
- /**
- * 2008.0.29 특이환자체크
- * @return {[type]} [description]
- */
- function fCheckSpcfPat() {
-
- if (ds_hidden_check_ptsp.rowcount > 0) {
- btn_patspcfyn.style.backgroundColor = "#ff0000";
- // 2008.08.21 자동팝업하도록 추가
- btn_patspcfyn.click();
- }
- else {
- btn_patspcfyn.style.backgroundColor = "#c0c0c0";
- }
- }
- /**
- * [fOutCHosCheck description]
- * @return {[type]} [description]
- */
- function fOutCHosCheck() {
- ds_send_data3.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- dsf_createDsRow('ds_req', [
- { col: 'pid', type: 'string', size: 256, val: ds_main_ptbs.getColumn(0, "ptbs_pid") },
- { col: 'orddd', type: 'string', size: 256, val: '' }
- ], false);
- ds_main_otptlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI00104";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetOutChos";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_otptlist=grdoutchoshist";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMI00104") > -1) {
- var otpt_cnt = ds_main_otptlist.rowcount;
- if (otpt_cnt > 0) {
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- ds_main_otptlist.rowposition = 0;
- }
- else {
- ds_main_otptlist.clearData();
- }
- }
- }
- /**
- * [fRrgstNo1VeriCheck description]
- * @return {[type]} [description]
- */
- function fRrgstNo1VeriCheck() {
- var ptbs_rrgstno1 = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_rrgstno1"));
- if (ptbs_rrgstno1 != "" && ptbs_rrgstno1 != " " && ptbs_rrgstno1 != "-") {
- if (ptbs_rrgstno1.length != 6) {
- sysf_messageBox("주민번호1은 6자리여야 합니다!", "E999", "");
- group4.ipt_rrgstno1.setFocus();
- return false;
- }
- if (ptbs_rrgstno1.isNumber() != true) {
- sysf_messageBox("주민번호1은 숫자형태로 입력되어야 합니다!", "E999", "");
- group4.ipt_rrgstno1.setFocus();
- return false;
- }
- }
- else {
- sysf_messageBox("주민번호1은 6자리여야 합니다!", "E999", "");
- group4.ipt_rrgstno1.setFocus();
- return false;
- }
- }
- /**
- * [fRrgstNo2VeriCheck description]
- * @return {[type]} [description]
- */
- function fRrgstNo2VeriCheck() {
- var ptbs_brthdd;
- var ptbs_rrgstno1 = String(ds_main_ptbs.getColumn(0, "ptbs_rrgstno1"));
- var ptbs_rrgstno2 = String(ds_main_ptbs.getColumn(0, "ptbs_rrgstno2"));
- if (ptbs_rrgstno1.length != 6) {
- sysf_messageBox("환자주민번호1은 6자리입니다!", "E999", "");
- group4.ipt_rrgstno1.setFocus();
- return false;
- }
- if (ptbs_rrgstno2.length != 7) {
- sysf_messageBox("환자주민번호2은 7자리입니다!", "E999", "");
- ipt_rrgstno2.setFocus();
- return false;
- }
- var gubn = ptbs_rrgstno2.substr(0, 1);
- switch (gubn) {
- case '1':
- case '2':
- case '5':
- case '6':
- ptbs_brthdd = '19'.concat(ptbs_rrgstno1);
- break;
- case '3':
- case '4':
- case '7':
- case '8':
- ptbs_brthdd = '20'.concat(ptbs_rrgstno1);
- break;
- case '9':
- case '0':
- ptbs_brthdd = '18'.concat(ptbs_rrgstno1);
- break;
- default:
- ptbs_brthdd = '19'.concat(ptbs_rrgstno1);
- break;
- }
- ds_main_ptbs.setColumn(0, "ptbs_brthdd", ptbs_brthdd);
- if (utlf_isValidDateTime(ptbs_brthdd, "YYYYMMDD") == false) {
- sysf_messageBox("주민번호 앞6자리 형식오류입니다. 올바른 일자형태로 입력하십시요!", "E999", "");
- ds_main_ptbs.setColumn(0, "ptbs_rrgstno1", "");
- ds_main_ptbs.setColumn(0, "ptbs_rrgstno2", "");
- ds_main_ptbs.setColumn(0, "ptbs_brthdd", "");
- return false;
- }
- var rrgstno1 = ds_main_ptbs.getColumn(0, "ptbs_rrgstno1");
- var rrgstno2 = ds_main_ptbs.getColumn(0, "ptbs_rrgstno2");
- ds_main_ptbs.setColumn(0, "ptbs_sex", utlf_getSex(rrgstno1 + rrgstno2));
- var ptbs_age = ptbs_rrgstno1;
- ds_main_ptbs.setColumn(0, "ptbs_age", utlf_getFullAge(rrgstno1 + rrgstno2));
- if (!lf_isResidentNo(rrgstno1 + rrgstno2)) {
- if (sysf_messageBox("유효하지 않은 주민번호입니다! 계속 진행", "S001") == 6) {
- return true;
- }
- else {
- ds_main_ptbs.setColumn(0, "ptbs_rrgstno1", "");
- ds_main_ptbs.setColumn(0, "ptbs_rrgstno2", "");
- ds_main_ptbs.setColumn(0, "ptbs_brthdd", "");
- ds_main_ptbs.setColumn(0, "ptbs_sex", "");
- ds_main_ptbs.setColumn(0, "ptbs_age", "");
- group4.ipt_rrgstno1.setFocus();
- return false;
- }
- }
- }
- /**
- * [fQueryBaseInfo description]
- * @return {[type]} [description]
- */
- function fQueryBaseInfo() {
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_rcv_ptin.clearData();
- //환자인적와 보험정보를 조회한다.
- var oParam = {};
- oParam.id = "TRPMI00304";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_send_data3";
- oParam.outds = "ds_hidden_rcv_ptbs=ptbs ds_hidden_rcv_ptin=ptin";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptbs, 'ptbs_');
- ds_hidden_rcv_ptbs.copyData(ds_tmp, false);
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptin, 'ptin_');
- ds_hidden_rcv_ptin.copyData(ds_tmp, false);
- if (arErrorCode.pop("TRPMI00304") > -1) {
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- var iptbscnt = ds_hidden_rcv_ptbs.rowcount;
- var iptincnt = ds_hidden_rcv_ptin.rowcount;
- if (iptbscnt > 0) {
- ds_main_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- ds_hidden_original_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- }
- else {
- sysf_messageBox("환자인적이", "I004");
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_otptlist.clearData();
- ds_main_diaglist.clearData();
- return false;
- }
- if (iptincnt > 0) {
- ds_main_ptin.copyData(ds_hidden_rcv_ptin, false);
- ds_hidden_original_ptin.copyData(ds_hidden_rcv_ptin, false);
- }
- else {
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_hidden_original_ptin.clearData();
- }
- }
- }
- /**
- * MaskEdit 에서 입력한 데이터가 format 에 맞는 형식인지 검사 한다
- * ontextchange 이벤트에서만 사용 할 것
- * @param {[type]} obj:MaskEdit [description]
- * @param {[type]} e:TextChangeEventInfo [description]
- * @param {[type]} format [description]
- * @return {[type]} [description]
- */
- function checkValid(obj: MaskEdit, e: TextChangeEventInfo, format) {
- var dummyDay = '20170101';
- var postValue = utlf_trim(String(e.posttext).replace(':', '').replace('_', '').replace('-', '').replace(' ', ''));
- postValue = (postValue.length == dummyDay.length) ? postValue : postValue + dummyDay.substr(postValue.length, dummyDay.length);
- if (!utlf_isValidDateTime(postValue, format)) {
- return false;
- }
- return true;
- }
- function fRoomSexCheck(inpt_wardcd, inpt_roomcd, ptbs_sex, inpt_sex, ipt_rrgstno) {
- if (fRoomSexGubunCheck(ipt_rrgstno)) {
- if (ptbs_sex != inpt_sex) {
- if (inpt_sex != "" && inpt_sex != "A" && inpt_sex != " ") {
- if (sysf_messageBox("성별이 맞지 않지만 10세를 넘기지 않습니다. 성별이 다른 병실 등록을", "Q003") == '6') {
- return true;
- }
- }
- }
- }
- if (ptbs_sex != inpt_sex) {
- if (inpt_sex != "" && inpt_sex != "A" && inpt_sex != " ") {
- sysf_messageBox("환자 성별과 병실정보 성별이 다릅니다. 다른 병실을", "C002");
- //2008.07.09 노드를 찾지 못해 에러 발생 수정 한윤희
- if (ds_main_inpt.rowcount > 0) {
- ds_main_inpt.setColumn(0, "inpt_roomcd", "");
- ds_main_inpt.setColumn(0, "inpt_roomgrdecd", "");
- ds_main_inpt.setColumn(0, "inpt_roomtypecd", "");
- }
- return false;
- }
- }
- //분만실("2100300000")일 경우 남자 체크
- if (inpt_wardcd == "2100300000") {
- if (ptbs_sex == "M") {
- sysf_messageBox("성별이 남자입니다. 다른병동을", "C002");
- if (ds_main_inpt.rowcount > 0) {
- ds_main_inpt.setColumn(0, "inpt_wardcd", ds_hidden_original_inpt.getColumn(0, "inpt_wardcd"));
- ds_main_inpt.setColumn(0, "inpt_roomcd", "");
- ds_main_inpt.setColumn(0, "inpt_roomgrdecd", "");
- ds_main_inpt.setColumn(0, "inpt_roomtypecd", "");
- }
- return false;
- }
- }
- }
- /**
- * [Fselect description]
- * @param {[type]} srchflag 1.희망일자 2.환자번호 3.환자성명 4.진료과 5.입원일자, 6.배정일자
- */
- function Fselect(srchflag) {
- if (srchflag == '1' || srchflag == '5' || srchflag == '6') {
- div_srch2.ipt_pid.visible = false;
- div_srch2.ipt_pidnm.visible = false;
- div_srch2.cmb_ordept.visible = false;
- div_srch2.ipt_hopedd.value = utlf_getCurrentDate();
- div_srch2.ipt_hopetodd.value = utlf_getCurrentDate();
- div_srch2.ipt_hopedd.visible = true;
- div_srch2.ipt_hopetodd.visible = true;
- div_srch2.caption4.visible = true;
- ds_send_data2.setColumn(0, 'r_checkflag', 'true');
- }
- else if (srchflag == '2') {
- div_srch2.ipt_hopedd.visible = false;
- div_srch2.ipt_hopetodd.visible = false;
- div_srch2.caption4.visible = false;
- div_srch2.ipt_pidnm.visible = false;
- div_srch2.cmb_ordept.visible = false;
- div_srch2.ipt_hopetodd.value = utlf_getCurrentDate();
- div_srch2.ipt_hopedd.value = "";
- div_srch2.ipt_pid.visible = true;
- div_srch2.ipt_pid.setFocus();
- }
- else if (srchflag == '3') {
- div_srch2.ipt_hopedd.visible = false;
- div_srch2.ipt_hopetodd.visible = false;
- div_srch2.caption4.visible = false;
- div_srch2.ipt_pid.visible = false;
- div_srch2.cmb_ordept.visible = false;
- div_srch2.ipt_hopedd.value = "";
- div_srch2.ipt_pidnm.visible = true;
- div_srch2.ipt_pidnm.setFocus();
- }
- else if (srchflag == '4') {
- div_srch2.ipt_hopedd.visible = false;
- div_srch2.ipt_hopetodd.visible = false;
- div_srch2.caption4.visible = false;
- div_srch2.ipt_pid.visible = false;
- div_srch2.ipt_pidnm.visible = false;
- div_srch2.cmb_ordept.visible = true;
- }
- }
- /**
- * [fHopeRoomGrdeRef description]
- * @param {[type]} flag [description]
- * @return {[type]} [description]
- */
- function fHopeRoomGrdeRef(flag) {
- //2010-10-12 이동식 추가
- //해당 함수를 실행하지 않음.
- //추후 필요시에 활성화 예정
- return false;
- //2007.07.26 추가요구사항 적용
- //희망병실등급from~희망병실등급to사이의 병실내역 조회
- var grd_row = 0;
- if (flag == "1") {
- grd_row = 0;
- } else {
- grd_row = grd_inrsv.currentrow;
- }
- var grdecdfrom = utlf_transNullToEmpty(ds_main_adrvlist.getColumn(grd_row, "inhoperoomgrdefrom"));
- var grdecdto = utlf_transNullToEmpty(ds_main_adrvlist.getColumn(grd_row, "inhoperoomgrdeto"));
- var sex = ds_main_adrvlist.getColumn(grd_row, "sex");
- if (grdecdfrom != "" && grdecdfrom != " " && grdecdfrom != "-"
- && grdecdto != "" && grdecdto != " " && grdecdto != "-") {
- if (parseInt(grdecdfrom) > parseInt(grdecdto)) {
- grdecdfrom = ds_main_adrvlist.getColumn(grd_row, "inhoperoomgrdeto");
- grdecdto = ds_main_adrvlist.getColumn(grd_row, "inhoperoomgrdefrom");
- }
- dsf_createDsRow('ds_TRPMI00305', [
- { col: 'grdecdfrom', type: 'string', size: 256, val: grdecdfrom },
- { col: 'grdecdto', type: 'string', size: 256, val: grdecdto },
- { col: 'today', type: 'string', size: 256, val: sex },
- { col: 'sex', type: 'string', size: 256, val: utlf_getCurrentDate() }
- ], false);
- dsf_createDs('ds_hidden_grid_rcv_grdroomspec');
- var oParam = {};
- oParam.id = "TRPMI00305";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetRoomGrdeRef";
- oParam.inds = "req=ds_TRPMI00305";
- oParam.outds = "ds_hidden_grid_rcv_grdroomspec=grdroomspec";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMI00305") > -1) {
- ds_main_bedlist.copyData(ds_hidden_grid_rcv_grdroomspec, false);
- fSetRowStyle();
- }
- } else {
- //20080814 희망등급 없을땐, 성별과 관련된 빈병상 조회,
- ds_send_data1.setColumn(0, "sex", sex);
- fQueryRoomRef();
- ds_send_data1.setColumn(0, "sex", "");
- }
- }
- /**
- * [erasePrefix description]
- * @param {[type]} target: Dataset [description]
- * @param {[type]} prefix [description]
- * @return {[type]} [description]
- */
- function erasePrefix(target: Dataset, prefix) {
- if (target.rowcount < 1) {
- return;
- }
- for (var i = 0; i < target.colcount; i++) {
- var updatedId = target.getColID(i).replace(prefix, '');
- if (!utlf_isNull(updatedId)) {
- target.updateColID(i, updatedId);
- }
- }
- }
- /**
- * [fBaseDataInitPtbs description]
- * @return {[type]} [description]
- */
- function fBaseDataInitPtbs() {
- ds_main_ptbs.setColumn(0, "ptbs_engnm", "-");
- ds_main_ptbs.setColumn(0, "ptbs_hometel", "-");
- ds_main_ptbs.setColumn(0, "ptbs_mpphontel", "-");
- ds_main_ptbs.setColumn(0, "ptbs_zipcd1", "000");
- ds_main_ptbs.setColumn(0, "ptbs_zipcd2", "000");
- ds_main_ptbs.setColumn(0, "ptbs_zipcdseq", "1");
- ds_main_ptbs.setColumn(0, "ptbs_zipcdaddr", "-");
- ds_main_ptbs.setColumn(0, "ptbs_detladdr", "-");
- ds_main_ptbs.setColumn(0, "ptbs_recmerrela", "-");
- ds_main_ptbs.setColumn(0, "ptbs_inhospyn", "N");
- }
- /**
- * 보험정보 기본값 셋팅
- * @return {[type]} [description]
- */
- function fBaseDataInitPtin() {
- ds_main_adrv.setColumn(0, "insukind", "-");
- ds_main_adrv.setColumn(0, "suppkind", "00");
- ds_main_adrv.setColumn(0, "suppkindresn", "-");
-
- ds_main_ptin.setColumn(0, "ptin_insukind", "-");
- ds_main_ptin.setColumn(0, "ptin_insucd", "-");
- ds_main_ptin.setColumn(0, "ptin_insuno", "-");
- ds_main_ptin.setColumn(0, "ptin_insdnm", "-");
- ds_main_ptin.setColumn(0, "ptin_insdrrgstno1", "-");
- ds_main_ptin.setColumn(0, "ptin_insdrrgstno2", "-");
- ds_main_ptin.setColumn(0, "ptin_insdrela", "-");
- ds_main_ptin.setColumn(0, "ptin_fromdd", utlf_getCurrentDate());
- ds_main_ptin.setColumn(0, "ptin_todd", "99991231");
- fSuppkindSet();
- }
- /**
- * [fSuppkindSet description]
- * @return {[type]} [description]
- */
- function fSuppkindSet() {
- //2007.10.18 건강보험,의료급여2종일때 6세미만 유형보조 체크
- var ptbs_age = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_age"));
- var ptin_insukind = ds_main_adrv.getColumn(0, "insukind");
- if (ptin_insukind == "11" || ptin_insukind == "22") {
- if (ptbs_age == " " || ptbs_age == "") {
- ds_main_adrv.setColumn(0, "suppkind", "00");
- }
- else if (ptbs_age >= '0' && ptbs_age < '6') {
- ds_main_adrv.setColumn(0, "suppkind", "08");
- }
- else {
- ds_main_adrv.setColumn(0, "suppkind", "00");
- }
- }
- else {
- ds_main_adrv.setColumn(0, "suppkind", "00");
- }
- ds_hidden_init_suppkind.filter('up == "' + ptin_insukind + '" && (io == "A" || io == "I")');
- ds_cmb_suppkind.copyData(ds_hidden_init_suppkind, true);
- ds_hidden_init_suppkind.filter('');
- }
- /**
- * 기초데이터 셋팅
- * @return {[type]} [description]
- */
- function fBaseColumn() {
- ds_cmb_suppkind.copyData(ds_hidden_init_suppkind, false);
- dsf_createDsRow('ds_send_data4', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: ds_hidden_session.getColumn(0, 'posinstcd') },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'dridsorttype', type: 'string', size: 256, val: '' }
- ], false);
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send_data4";
- oParam.outds = "ds_hidden_init_disccd=disccd ds_hidden_init_insukind=insukind ds_hidden_init_suppkind=suppkind "
- + "ds_hidden_init_orddeptcd=orddeptcd ds_hidden_init_orddrid=orddrid ds_hidden_init_wardcd=wardcd "
- + "ds_hidden_init_roomcd=roomcd ds_hidden_init_flag=flag";
- oParam.async = false;
- tranf_submit(oParam);
- ds_hidden_init_orddeptcd.filter('orddeptflag == "D"');
- ds_cmb_orddept.copyData(ds_hidden_init_orddeptcd, true);
- ds_cmb_ordept.copyData(ds_hidden_init_orddeptcd, true);
- ds_hidden_init_orddeptcd.filter('');
- fBaseDataInitPtbs();
- fBaseDataInitPtin();
- }
- /**
- * 20070907 초기화 수정
- * @return {[type]} [description]
- */
- function fInitialize() {
- ds_main_otptlist.clearData();
- ds_main_otptlist.addRow();
- ds_main_diaglist.clearData();
- ds_main_diaglist.addRow();
- ds_main_h_cnst.clearData();
- ds_main_adrv.clearData();
- ds_main_srdg.clearData();
- ds_main_aipm.clearData();
- ds_main_icpm.clearData();
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
- ds_main_otptlist.clearData();
- ds_main_otptlist.addRow();
- ds_main_diaglist.clearData();
- ds_main_diaglist.addRow();
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_adrv.clearData();
- ds_main_bedlist.clearData();
- ds_main_adrvlist.clearData();
- ds_main_otptlist.clearData();
- ds_main_diaglist.clearData();
- ds_hidden_rcv_ptin.clearData();
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_check_ptbs.clearData();
- ds_hidden_userpopupinfo.clearData();
- ds_hidden_popup.clearData();
- ds_hidden_popup.addRow();
- // model.resetInstanceNode("/root/hidden/original");
- // model.resetInstanceNode("/root/hidden/rcv");
- // model.resetInstanceNode("/root/hidden/check");
- // model.resetInstanceNode("/root/hidden/userpopupinfo");
- // model.resetInstanceNode("/root/hidden/oneselect");
- // model.resetInstanceNode("/root/hidden/flag");
- // model.resetInstanceNode("/root/hidden/source");
- // model.resetInstanceNode("/root/hidden/grid_rcv");
- // model.resetInstanceNode("/root/hidden/popup");
- // model.resetInstanceNode("/root/hidden/h_rcv");
- // model.resetInstanceNode("/root/send");
- //초기화후 디폴트로 예약자검색조건 - 희망일자,현재일자를 넣어준다.
- ds_send_data2.setColumn(0, "inrsrvcond", "1");
- ds_send_data2.setColumn(0, "inrsrvcondnm", utlf_getCurrentDate());
- ds_send_data2.setColumn(0, "inrsrvtodd", utlf_getCurrentDate());
- ds_send_data1.setColumn(0, "rmspecref", "P1");
- ds_send_data1.setColumn(0, "bedtype", "C");
- ds_send_data2.setColumn(0, "erreglyn", "A"); // A:전체
- div_srch.ipt_room.visible = false;
- div_srch.cmb_ward.visible = false;
- div_srch.cmb_grde.visible = false;
- div_srch.cmb_type.visible = false;
- div_srch.cmb_sex.visible = false;
- div_srch.cmb_orddept.visible = false;
- div_srch.cmb_search.visible = false;
- div_srch2.bol_ckeckdd1.selected = true;
- ds_send_data2.setColumn(0, "r_checkflag", "true");
- btn_patspcfyn.style.background = "#c0c0c0";
- frmf_inputEnterKey('div_srch2.cmb_rssrch', 'onitemchanged', new ItemChangeEventInfo);
- fSuppkindSet();
- }
- /**
- * 세션정보
- * @return {[type]} [description]
- */
- function fGetUserInfosSampling() {
- var sUserInfosS = sysf_getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var userid = utlf_transNullToEmpty(UserInfosS_Array[0]); //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
- var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
- if (userid == "" || userid == " " || userid == "-") {
- userid = "pam";
- }
- dsf_makeValue(ds_hidden_session, "userid", 'string', userid);
- dsf_makeValue(ds_hidden_session, "usernm", 'string', usernm);
- dsf_makeValue(ds_hidden_session, "posinstcd", 'string', posinstcd);
- dsf_makeValue(ds_hidden_session, "posinstnm", 'string', posinstnm);
- dsf_makeValue(ds_hidden_session, "posdeptcd", 'string', posdeptcd);
- dsf_makeValue(ds_hidden_session, "posdeptnm", 'string', posdeptnm);
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SMPMI00301_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
-
- grdf_setGridSort(group6.grd_bedspec);
- var ptbs_updchk = null;
- var ptin_updchk = null;
- var adrv_updchk = null;
- //세션정보
- fGetUserInfosSampling();
- appf_getCodeList([
- { dsNm: 'ds_init_P0006list', cdGrpId: 'P0006' },
- { dsNm: 'ds_init_P0008list', cdGrpId: 'P0008' },
- { dsNm: 'ds_init_P0010list', cdGrpId: 'P0010' },
- { dsNm: 'ds_init_P0016list', cdGrpId: 'P0016' },
- { dsNm: 'ds_init_P0025list', cdGrpId: 'P0025' },
- { dsNm: 'ds_init_P0026list', cdGrpId: 'P0026' },
- { dsNm: 'ds_init_P0032list', cdGrpId: 'P0032' },
- { dsNm: 'ds_init_P0149list', cdGrpId: 'P0149' },
- { dsNm: 'ds_init_P0039list', cdGrpId: 'P0039' },
- { dsNm: 'ds_init_P0327list', cdGrpId: 'P0327' },
- { dsNm: 'ds_init_P0391list', cdGrpId: 'P0391' },
- { dsNm: 'ds_init_M0019list', cdGrpId: 'M0019' },
- { dsNm: 'ds_init_P0552list', cdGrpId: 'P0552' }
- ]);
-
- pamfGetCodeList([{ dsNm: "ds_init_pam_PK092list", cdGrpId: "PK092" }]);
- dsf_createDsRow('ds_send_data4', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: ds_hidden_session.getColumn(0, 'posinstcd') },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'dridsorttype', type: 'string', size: 256, val: '' }
- ], false);
-
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send_data4";
- oParam.outds = "ds_hidden_init_disccd=disccd ds_hidden_init_insukind=insukind ds_hidden_init_suppkind=suppkind "
- + "ds_hidden_init_orddeptcd=orddeptcd ds_hidden_init_orddrid=orddrid ds_hidden_init_wardcd=wardcd "
- + "ds_hidden_init_roomcd=roomcd ds_hidden_init_flag=flag ds_hidden_init_bedcd=bedcd";
- oParam.async = false;
- tranf_submit(oParam);
- ds_hidden_init_orddeptcd.filter('orddeptflag == "D"');
- ds_cmb_orddept.copyData(ds_hidden_init_orddeptcd, true);
- ds_cmb_ordept.copyData(ds_hidden_init_orddeptcd, true);
- ds_hidden_init_orddeptcd.filter('');
- //20090602 JHP 추가_ 등급을 공통코드로 가져오는데 이는 입원료 수가 매핑과 관련해서 종료된 입원료를 컨트롤 할수 있는 소지가 있기에
- // 실제 수가와 매핑코드를 조회하여 살아있는 입원료 등급 코드를 가져온다.
- // 해당 조회를 실행한다음에 병실등급에 해당하는 콤보박스를 이걸로 바꾼다. 기존은 P0025(/root/init/P0025list/P0025)였다.
- dsf_createDsRow('ds_send_data19', [
- { col: 'sess_posinstcd', type: 'string', size: 256, val: ds_hidden_session.getColumn(0, 'posinstcd') },
- { col: 'ioflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_hidden_roomgrdelist.clearData();
- oParam = {};
- oParam.id = "TRPMI00405";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetRoomGrdeInfoList";
- oParam.inds = "req=ds_send_data19";
- oParam.outds = "ds_hidden_roomgrdelist=roomgrdelist";
- oParam.async = false;
- tranf_submit(oParam);
- // 병상배정 시 SMS 전송용 기초정보 조회
- dsf_createDsRow('ds_TRPMI00307', [{ col: 'pid', type: 'string', size: 256, val: '' }], false);
- ds_TRPMI00307.copyRow(0, ds_send_data2, 0);
- ds_main_comnbedsmsmsg.clearData();
- var oParam = {};
- oParam.id = "TRPMI00306";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetComnBedInRsrvSmsInfo";
- oParam.inds = "req=ds_TRPMI00307";
- oParam.outds = "ds_main_comnbedsmsmsg=comnbedsmsmsg";
- oParam.async = false;
- tranf_submit(oParam);
- ds_main_comnbedsmsmsg.updateColID('msgfrmtcnts', 'orgmsgfrmtcnts');
- caption14.tooltiptext = ds_main_comnbedsmsmsg.getColumn(0, "orgmsgfrmtcnts");
- //공용병상환자조회 조회조건 세팅
- Fselect(ds_send_data2.getColumn(0, "inrsrvcond"));
- fBaseDataInitPtbs();
- fBaseDataInitPtin();
- //2010-12-30 이동식 추가
- //병상조회 시 조회조건에 전체로 기본 세팅
- ds_send_data1.setColumn(0, "rmspecref", "P1"); // 전체
- fChoice("P1");
- fQueryRoomRef();
- var adrv_pid = utlf_transNullToEmpty(ds_hidden_source.getColumn(0, "pid"));
- // var adrv_pid = sPid;
- ds_main_ptbs.setColumn(0, "ptbs_pid", adrv_pid);
- if (adrv_pid == "" || adrv_pid == " ") {
- // do nothing
- }
- else {
- //입원예약(입원결정서환자 조회)
- if (!fQueryRsrvRef(2)) {
- return false;
- }
- /*
- 환자번호 Enter 입력시 입원예약/결정서 환자인지 체크한다.
- 입원예약/결정서 환자 인경우 -
- 입원예약/결정서 미환자 인경우 -
- */
- ds_send_data3.clearData();
- //ds_send_data5.clearData();
- //2008.06.10 한윤희 수정 pid 셋팅 오류 수정
- ds_send_data3.setColumn(0, "pid", adrv_pid);
- ds_send_data3.setColumn(0, "mode", "4");
- //환자번호 조회팝업 띄울때 필요한 값을 넣는다.
- //2008.06.10 한윤희 수정 pid 셋팅 오류 수정
- ds_send_data9.setColumn(0, "pid", adrv_pid);
- ds_send_data9.setColumn(0, "srchcond", "1")
- //환자인적정보+보험정보
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_rcv_ptin.clearData();
- var oParam = {};
- oParam.id = "TRPMI00304";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_send_data3";
- oParam.outds = "ds_hidden_rcv_ptbs=ptbs ds_hidden_rcv_ptin=ptin";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMI00304") > -1) {
- ds_send_data3.clearData();
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptbs, 'ptbs_');
- ds_hidden_rcv_ptbs.copyData(ds_tmp, false);
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptin, 'ptin_');
- ds_hidden_rcv_ptin.copyData(ds_tmp, false);
- var iptbscnt = ds_hidden_rcv_ptbs.rowcount;
- var iptincnt = ds_hidden_rcv_ptin.rowcount;
- if (iptbscnt > 0) {
- ds_main_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- ds_hidden_original_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- }
- else {
- sysf_messageBox("환자인적이", "I004");
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_otptlist.clearData();
- ds_main_diaglist.clearData();
- return false;
- }
- if (iptincnt > 0) {
- ds_main_ptin.copyData(ds_hidden_rcv_ptin, false);
- ds_hidden_original_ptin.copyData(ds_hidden_rcv_ptin, false);
- ds_main_adrv.setColumn(0, "insukind", ds_main_ptin.getColumn(0, "ptin_insukind"));
- ds_main_adrv.setColumn(0, "suppkind", ds_main_adrvlist.getColumn(0, "suppkind"));
- ds_main_adrv.setColumn(0, "suppkindresn", ds_main_adrvlist.getColumn(0, "suppkindresn"));
- }
- else {
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- }
- }
- //외래내원조회
- ds_send_data3.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- dsf_createDsRow('ds_req', [
- { col: 'pid', type: 'string', size: 256, val: ds_main_ptbs.getColumn(0, "ptbs_pid") },
- { col: 'orddd', type: 'string', size: 256, val: '' }
- ], false);
- ds_main_otptlist.clearData();
- var oParam = {};
- oParam.id = "TRPMI00104";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetOutChos";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_otptlist=grdoutchoshist";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMI00104") > -1) {
- var otpt_cnt = ds_main_otptlist.rowcount;
- if (otpt_cnt > 0) {
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- ds_main_otptlist.rowposition = 0;
- }
- else {
- ds_main_otptlist.clearData();
- }
- }
- }
- }
- /**
- * btn_patspcfyn 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_patspcfyn_onclick(obj: Button, e: ClickEventInfo) {
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- ds_send_data9.setColumn(0, "srchcond", 1);
- ds_send_data9.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- frmf_modal("SMPMC01300", "SMPMC01300", { arg_ds_source: ds_send_data9 } , "", "", "", "", "", "", "", "", "", "M");
- }
- /**
- * 환자인적 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button1_onclick(obj: Button, e: ClickEventInfo) {
- var ptbs_pid = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_pid"));
- if (ptbs_pid == " " || ptbs_pid == "") {
- // do nothing
- }
- else {
- ds_hidden_popup.setColumn(0, "pid", ptbs_pid);
- ds_hidden_popup.setColumn(0, "srchcond", "1");
- }
- frmf_modal("SMPMC01400", "SMPMC01400", { arg_ds_source: ds_send_data9 } , "", "", "", "", "", "", "", "", "", "M");
- }
- /**
- * [인적사항] 환자번호 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_pid1_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- sendinit();
- ds_send_data9.setColumn(0, "autoflag", "Y");
- btn_ptbspid.click();
- }
- }
- /**
- * [인적사항] 환자번호 검색 아이콘 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_ptbspid_onclick(obj: Button, e: ClickEventInfo) {
- var ptbs_pid = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_pid"));
- if (ptbs_pid == "" || ptbs_pid == " ") {
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- }
- else {
- ds_send_data9.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data9.setColumn(0, "srchcond", "1");
- }
-
- frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_send_data9 } , "", "", "", "", "", "", "", "", "", "M");
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- if (frmf_getParameter('SPPMC02500_popupendflag') == "ok") {
- var ptbs_pid = utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "ptbs_pid"));
- if (ptbs_pid == "" || ptbs_pid == " ") {
- return false;
- }
- //2008.01.29 특이환자조회,증증환자여부조회
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data11.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data11.setColumn(0, "indd", utlf_getCurrentDate());
- ds_send_data11.setColumn(0, "mode", "11");
- dsf_createDsRow('ds_req', [
- { col: 'mode', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' }
- ], false);
- ds_req.copyRow(0, ds_send_data11, 0);
- ds_req.setColumn(0, 'orddd', ds_send_data11.getColumn(0, 'indd'));
- ds_hidden_check_ptbs.clearData();
- var oParam = {};
- oParam.id = "TRPMI00107";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_check_ptbs=ptbs ds_hidden_check_ptsp=ptsp";// ds_=ptsp ds_=srdg ds_=rooa ds_=adrv ds_=hndc ds_=cnst ds_=grdinrgstinfo ds_=inpt1 ds_=stdy ds_=disc ds_=bind ds_=tempdsch";
- oParam.async = false;
- tranf_submit(oParam);
-
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_check_ptbs, 'ptbs_');
- ds_hidden_check_ptbs.copyData(ds_tmp, false);
- fCheckSpcfPat();
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data3.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data3.setColumn(0, "mode", "4");
- //입원예약(입원결정서환자 조회)
- if (!fQueryRsrvRef(2)) {
- return false;
- }
- //차트번호로 조회시-> 1건 이상일 경우 마지막 예약Data에 보험유형.보조유형.보조사유를 Display해준다..
- var adrvcnt = ds_main_adrvlist.rowcount;
- if (adrvcnt > 0) {
- ds_send_data3.setColumn(0, "insukind", ds_main_adrvlist.getColumn(0, "insukind"));
- ds_main_adrv.setColumn(0, "insukind", ds_main_adrvlist.getColumn(0, "insukind"));
- ds_main_adrv.setColumn(0, "suppkind", ds_main_adrvlist.getColumn(0, "suppkind"));
- ds_main_adrv.setColumn(0, "suppkindresn", ds_main_adrvlist.getColumn(0, "suppkindresn"));
- ds_hidden_original_adrv.copyData(ds_main_adrv, false);
- }
- if (!fQueryBaseInfo()) {
- return false;
- }
- fSuppkindSet();
- fOutCHosCheck();
- fHopeRoomGrdeRef("1");
- }
- else {
- return false;
- }
- }
- /**
- * 병상검색조건 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_rmsrch_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fChoice(ds_send_data1.getColumn(0, "rmspecref"));
- }
- /**
- * 병상검색조건 ipt_room 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_ipt_room_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- div_srch.btn_search1.click();
- }
- }
- /**
- * 병상검색조건 cmb_grde 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_grde_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRoomRef();
- }
- /**
- * 병상검색조건 cmb_sex 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_sex_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRoomRef();
- }
- /**
- * 병상검색조건 cmb_orddept 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_orddept_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRoomRef();
- }
- /**
- * 병상검색조건 cmb_ward 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_ward_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRoomRef();
- }
- /**
- * [div_srch_cmb_type_onitemchanged description]
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_cmb_type_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRoomRef();
- }
- /**
- * radio1 라디오 아이템 변경 후 이벤트
- * @param {[type]} obj: Radio [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_radio1_onitemchanged(obj: Radio, e: ItemChangeEventInfo) {
- // 공용의 경우 조회조건 "전체"로 검색실시
- if (ds_send_data1.getColumn(0, "bedtype") == "C") {
- ds_send_data1.setColumn(0, "rmspecref", "P1");
- fChoice("P1");
- fQueryRoomRef();
- }
- else if (ds_send_data1.getColumn(0, "bedtype") == "D") {
- ds_send_data1.setColumn(0, "rmspecref", "P5");
- fChoice("P5");
- fQueryRoomRef();
- }
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch_btn_search1_onclick(obj: Button, e: ClickEventInfo) {
- fQueryRoomRef();
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button5_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(group6.grd_bedspec, "excel", "빈병상현황", true, "", 'user', true);
- }
- /**
- * btn_left 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_left_onclick(obj: Button, e: ClickEventInfo) {
- // 그룹전체
- group6.position.left = "0";
- group6.position.width = "1195";
- // 검색조건
- group4.visible = false;
- button5.visible = true;
- //group4.position.left = "395";
- // // 데이터그리드
- // grd_bedspec.position.left = "0";
- // grd_bedspec.position.width = "1194";
- // // 타이틀
- // caption44.position.left = "395";
- // // 범례
- // rectangle1.position.left = "485";
- // caption11.position.left = "503";
- // rectangle2.position.left = "535";
- // caption12.position.left = "553";
- // rectangle3.position.left = "585";
- // caption13.position.left = "603";
- // // 안내문구
- // caption10.position.left = "780";
- // // <<버튼, >>버튼
- // btn_left.position.left = "1133";
- // btn_right.position.left = "1163";
- // 구분선
- group6.line33.position.left = "0";
- group6.line33.position.width = "1194";
- }
- /**
- * btn_right 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_right_onclick(obj: Button, e: ClickEventInfo) {
- // 그룹전체
- group6.position.left = "395";
- group6.position.width = "800";
- // 검색조건
- group4.visible = true;
- button5.visible = false;
-
- group6.grd_bedspec.redraw();
- //group4.position.left = "0";
- // // 데이터그리드
- // grd_bedspec.position.left = "0";
- // grd_bedspec.position.width = "799";
- // // 타이틀
- // caption44.position.left = "0";
- // // 범례
- // rectangle1.position.left = "90";
- // caption11.position.left = "108";
- // rectangle2.position.left = "140";
- // caption12.position.left = "158";
- // // 안내문구
- // caption10.position.left = "385";
- // // <<버튼, >>버튼
- // btn_left.position.left = "738";
- // btn_right.position.left = "768";
- // // 부도관련
- // rectangle3.position.left = "190";
- // caption13.position.left = "208";
- // 구분선
- group6.line33.position.left = "0";
- group6.line33.position.width = "799";
- }
- /**
- * [인적사항] 성명 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_hngnm_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- if (fHngNmVeri("onkeypress") == false) {
- return;
- }
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- //ds_send_data5.clearData();
- //ds_send_data5.addRow();
- // ds_send_data7.clearData();
- // ds_send_data7.addRow();
- // ds_send_data8.clearData();
- // ds_send_data8.addRow();
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- // ds_send_data10.clearData();
- // ds_send_data10.addRow();
- ds_send_data11.clearData();
- ds_send_data11.addRow();
- // ds_send_data12.clearData();
- // ds_send_data12.addRow();
- ds_send_data9.setColumn(0, "autoflag", "Y");
- btn_ptbshngnm.click();
- }
- }
- /**
- * [인적사항] 성명 검색 아이콘 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_ptbshngnm_onclick(obj: Button, e: ClickEventInfo) {
- var ptbs_hngnm = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_hngnm"));
- if (ptbs_hngnm == "" || ptbs_hngnm == " ") {
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- }
- else {
- ds_send_data9.setColumn(0, "hngnm", ds_main_ptbs.getColumn(0, "ptbs_hngnm"));
- ds_send_data9.setColumn(0, "srchcond", "2");
- }
- frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_send_data9 } , "", "", "", "", "", "", "", "", "", "M");
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- if (frmf_getParameter('SPPMC02500_popupendflag') == "ok") {
- var ptbs_pid = utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "pid"));
- if (ptbs_pid == "" || ptbs_pid == " ") {
- return false;
- }
- //2008.01.29 특이환자조회,증증환자여부조회
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data11.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data11.setColumn(0, "mode", "11");
- dsf_createDsRow('ds_req', [
- { col: 'mode', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' }
- ], false);
- ds_req.copyRow(0, ds_send_data11, 0);
- ds_hidden_check_ptbs.clearData();
- var oParam = {};
- oParam.id = "TRPMI00107";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_check_ptbs=ptbs ds_hidden_check_ptsp=ptsp";// ds_=ptsp ds_=srdg ds_=rooa ds_=adrv ds_=hndc ds_=cnst ds_=grdinrgstinfo ds_=inpt1 ds_=stdy ds_=disc ds_=bind ds_=tempdsch";
- oParam.async = false;
- tranf_submit(oParam);
-
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_check_ptbs, 'ptbs_');
- ds_hidden_check_ptbs.copyData(ds_tmp, false);
- fCheckSpcfPat();
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data3.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data3.setColumn(0, "mode", "4");
- //입원예약(입원결정서환자 조회)
- if (!fQueryRsrvRef(2)) {
- return false;
- }
- var adrvcnt = ds_main_adrvlist.clearData();
- if (adrvcnt > 0) {
- ds_main_adrv.setColumn(0, "suppkind", ds_main_adrvlist.getColumn(0, "suppkind"));
- ds_main_adrv.setColumn(0, "suppkindresn", ds_main_adrvlist.getColumn(0, "suppkindresn"));
- }
- if (!fQueryBaseInfo()) {
- return false;
- }
- fOutCHosCheck();
- fHopeRoomGrdeRef("1");
- }
- else {
- var ptbs_pid = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_pid"));
- if (ptbs_pid != "") {
- ds_main_ptbs.setColumn(0, "ptbs_hngnm", ds_hidden_original_ptbs.getColumn(ds_hidden_original_ptbs.findRow("ptbs_pid", ptbs_pid), 'ptbs_hngnm'));
- }
- else {
- ds_main_ptbs.setColumn(0, "ptbs_hngnm", "");
- }
- }
- }
- /**
- * [인적사항] 주민번호 앞자리 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rrgstno1_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- if (!fRrgstNo1VeriCheck()) {
- return;
- }
- }
- }
- /**
- * [인적사항] 주민번호 앞자리 포커스 상실 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KillFocusEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rrgstno1_onkillfocus(obj: Edit, e: KillFocusEventInfo) {
- if (!fRrgstNo1VeriCheck()) {
- return;
- }
- }
- /**
- * [인적사항] 주민번호 뒷자리 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rrgstno2_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- if (!fRrgstNo2VeriCheck()) {
- return;
- }
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- //ds_send_data5.clearData();
- //ds_send_data5.addRow();
- //ds_send_data7.clearData();
- //ds_send_data7.addRow();
- // ds_send_data8.clearData();
- // ds_send_data8.addRow();
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- // ds_send_data10.clearData();
- // ds_send_data10.addRow();
- ds_send_data11.clearData();
- ds_send_data11.addRow();
- // ds_send_data12.clearData();
- // ds_send_data12.addRow();
- ds_send_data9.setColumn(0, "autoflag", "Y");
- btn_ptbsrrgstno.click();
- }
- }
- /**
- * [인적사항] 주민번호 뒷자리 포커스 상실 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KillFocusEventInfo [description]
- * @return {[type]} [description]
- */
- function ipt_rrgstno2_onkillfocus(obj: Edit, e: KillFocusEventInfo) {
- if (!fRrgstNo2VeriCheck()) {
- return;
- }
- btn_ptbsrrgstno.click();
- }
- /**
- * [인적사항] 주민번호 검색 아이콘 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_ptbsrrgstno_onclick(obj: Button, e: ClickEventInfo) {
- var ptbs_rrgstno1 = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_rrgstno1"));
- var ptbs_rrgstno2 = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_rrgstno2"));
- if ((ptbs_rrgstno1 == "" || ptbs_rrgstno1 == " ") && (ptbs_rrgstno2 == "" || ptbs_rrgstno2 == " ")) {
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- }
- else {
- ds_send_data9.setColumn(0, "rrgstno1", ds_main_ptbs.getColumn(0, "ptbs_rrgstno1"));
- ds_send_data9.setColumn(0, "rrgstno2", ds_main_ptbs.getColumn(0, "ptbs_rrgstno2"));
- ds_send_data9.setColumn(0, "srchcond", "3")
- }
- frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_send_data9 } , "", "", "", "", "", "", "", "", "", "M");
- ds_send_data9.clearData();
- ds_send_data9.addRow();
- if (frmf_getParameter('SPPMC02500_popupendflag') == "ok") {
- var ptbs_pid = utlf_transNullToEmpty(ds_patinfolist.getColumn(0, "pid"));
- if (ptbs_pid == " " || ptbs_pid == "") {
- return false;
- }
- //2008.01.29 특이환자조회,증증환자여부조회
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data11.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data11.setColumn(0, "mode", "11");
- dsf_createDsRow('ds_req', [
- { col: 'mode', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' }
- ], false);
- ds_req.copyRow(0, ds_send_data11, 0);
- ds_hidden_check_ptbs.clearData();
- var oParam = {};
- oParam.id = "TRPMI00107";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_hidden_check_ptbs=ptbs ds_hidden_check_ptsp=ptsp";// ds_=ptsp ds_=srdg ds_=rooa ds_=adrv ds_=hndc ds_=cnst ds_=grdinrgstinfo ds_=inpt1 ds_=stdy ds_=disc ds_=bind ds_=tempdsch";
- oParam.async = false;
- tranf_submit(oParam);
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_check_ptbs, 'ptbs_');
- ds_hidden_check_ptbs.copyData(ds_tmp, false);
- fCheckSpcfPat();
- ds_main_ptbs.setColumn(0, "ptbs_pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data3.setColumn(0, "pid", ds_main_ptbs.getColumn(0, "ptbs_pid"));
- ds_send_data3.setColumn(0, "mode", "4");
- //입원예약(입원결정서환자 조회)
- if (!fQueryRsrvRef(2)) {
- return false;
- }
- var adrvcnt = ds_main_adrvlist.rowcount;
- if (adrvcnt > 0) {
- ds_main_adrv.setColumn(0, "suppkind", ds_main_adrvlist.getColumn(0, "suppkind"));
- ds_main_adrv.setColumn(0, "suppkindresn", ds_main_adrvlist.getColumn(0, "suppkindresn"));
- }
- fQueryBaseInfo();
- fOutCHosCheck();
- }
- else {
- return false;
- }
- }
- /**
- * [인적사항] 생년월일 텍스트 변경 이벤트
- * @param {[type]} obj: MaskEdit [description]
- * @param {[type]} e: TextChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function group4_ipt_brthdd_ontextchange(obj: MaskEdit, e: TextChangeEventInfo) {
- checkValid(obj, e, 'YYYYMMDD');
- }
- /**
- * [인적사항] 우편번호 검색 아이콘 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button6_onclick(obj: Button, e: ClickEventInfo) {
- var sZipcd = appf_getZipCodeList();
- ds_main_ptbs.setColumn(0, "ptbs_zipcd1", sZipcd.zipcdhead);
- ds_main_ptbs.setColumn(0, "ptbs_zipcd2", sZipcd.zipcdfoot);
- ds_main_ptbs.setColumn(0, "ptbs_zipcdseq", sZipcd.seqno); //미확인
- ds_main_ptbs.setColumn(0, "ptbs_zipcdaddr", sZipcd.address); //sZipcd.address
- ds_main_ptbs.setColumn(0, "ptbs_detladdr", sZipcd.address_detail); //sZipcd.detladdr
- //20070907 팝업에서 데이터 더블클릭후 메인으로 넘어간 후에는 커서 하위조소로 이동 요청..
- var ptbs_zipnm = utlf_transNullToEmpty(ds_main_ptbs.getColumn(0, "ptbs_zipcdaddr"));
- if (ptbs_zipnm != " " && ptbs_zipnm != "" && ptbs_zipnm != "-") {
- group4.ipt_detladdr.setFocus();
- }
- }
- /**
- * [인적사항] 직원소개/추천인 검색 아이콘 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button20_onclick(obj: Button, e: ClickEventInfo) {
- /* 2007.09.07
- 1. 직원 소개 버튼 클릭하여 조회후에 취소를 누를 경우에 기존 데이터 복구
- 2. 직원사번 보완차원에서 직원명으로 디스플레이
- 3. 직원명 디스플레이 후에 버튼 누르면 자동연동되어 팝업화면 띄운다.
- */
- var resultDs = frmf_modal("SPZSU10103", "SPZSU10103",{ param: "_OneS", flag: 'usernm', searchitem: ds_main_ptbs.getColumn(0, 'ptbs_recmerid') },
- "", "", "", "", "", "", "", "", "", "M");
-
- if (typeof(resultDs) != 'undefined' || resultDs.rowcount > 0) {
- //ds_hidden_oneselect.copyData(resultDs, false);
- ds_main_ptbs.getColumn(0, "ptbs_recmerid", resultDs.getColumn(0, "usernm"));
- }
- }
- /**
- * 병상내역 그리드 셀 더블클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function group6_grd_bedspec_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- var room_row = group6.grd_bedspec.currentrow;
- var adrv_row = grd_inrsv.currentrow;
- var swardcd = ds_main_bedlist.getColumn(room_row, "wardcd");
- var sroomcd = ds_main_bedlist.getColumn(room_row, "roomcd");
- var sbedcd = ds_main_bedlist.getColumn(room_row, "bedcd");
-
- var ptbs_sex = ds_main_adrvlist.getColumn(adrv_row, "sex");
- var ptbs_rrgstno = ds_main_adrvlist.getColumn(adrv_row, "rrgstno");
- var ssex = ds_main_bedlist.getColumn(room_row, "sex");
- //var semptybedcnt = ds_main_bedlist.getColumn(room_row, "emptybedcnt");
- var sOverBedYN = ds_main_bedlist.getColumn(room_row, "overbedyn");
- var sPatinfo = utlf_transNullToEmpty(ds_main_bedlist.getColumn(room_row, "patinfo"));
- var roomtypecd = ds_main_bedlist.getColumn(room_row, "roomtypecd");
- //2007.09.24 수정
- // 2009.11.09 - overbedyn 체크로직 추가
- if(grd_inrsv.currentrow < 0){
- sysf_messageBox("병실배정할 입원예약자를", "C002");
- return false;
- }
- if (sOverBedYN == 'N' && sPatinfo != "") {
- sysf_messageBox("빈병상이 있는 병실을", "C002");
- return false;
- }
- //병실 성별 체크
- if (roomtypecd != 'S02') {
- if (fRoomSexCheck(swardcd, sroomcd, ptbs_sex, ssex, ptbs_rrgstno) == false) {
- return false;
- }
- }
- // 병상 중복배정방지용 로직 추가 by 조중래 20131104
- var cnt = ds_main_adrvlist.getCaseCount('assgroom == "' + sroomcd + '" && assgbed == "' + sbedcd + '"');
- if (cnt > 0) {
- sysf_messageBox("하나의 병상에 두명이상의 환자가 지정되었습니다." +
- "\r\n\r\n배정호실 : " + sroomcd + " " + ds_hidden_init_bedcd.getColumn(ds_hidden_init_bedcd.findRow('cd', sbedcd), "nm") +
- "\r\n\r\n환자리스트를 확인하십시요!!!", "C000");
- return false;
- }
- //배정병동
- ds_main_adrvlist.setColumn(adrv_row, "assgward", ds_main_bedlist.getColumn(room_row, "wardcd"));
- //배정병실
- ds_main_adrvlist.setColumn(adrv_row, "assgroom", ds_main_bedlist.getColumn(room_row, "roomcd"));
- //배정병상
- ds_main_adrvlist.setColumn(adrv_row, "assgbed", ds_main_bedlist.getColumn(room_row, "bedcd"));
- //배정병실등급
- ds_main_adrvlist.setColumn(adrv_row, "assgroomgrde", ds_main_bedlist.getColumn(room_row, "roomgrdecd"));
- //배정병실형태
- ds_main_adrvlist.setColumn(adrv_row, "assgroomtype", ds_main_bedlist.getColumn(room_row, "roomtypecd"));
- // grd_inrsv.addStatus(grd_inrsv.row, "update");
- }
- /**
- * 병상내역 데이터셋 컬럼 변경 후 이벤트
- * @param {[type]} obj: Dataset [description]
- * @param {[type]} e: DSColChangeEventInfo [description]
- * @return {[type]} [description]
- */
- // function ds_main_bedlist_oncolumnchanged(obj: Dataset, e: DSColChangeEventInfo) {
- // // HOLD 메세지 수정 시 pam.pmbmbedm.holdmsg 반영
- // if (e.columnid == "holdmsg") {
- //
- // var updated = grdf_getGridUpdateData(group6.grd_bedspec);
- // grdf_setStatusColumn(updated, "m");
- // ds_tmp.copyData(updated, false);
- //
- // dsf_createDs('ds_res');
- //
- // var oParam = {};
- // oParam.id = "TXPMB00303";
- // oParam.service = "pambaseinfomngtapp.WardRoom";
- // oParam.method = "reqSetBedRem";
- // oParam.inds = "datalist=ds_";
- // oParam.outds = "ds_=aaaa";
- // oParam.async = false;
- // oParam.callback = "callback";
- //
- // tranf_submit(oParam);
- //
- // if (arErrorCode.pop("TXPMB00303") > -1) {
- // // grd_bedspec.clearStatus();
- // alert("저장되었습니다.");
- // }
- // else {
- // alert("저장되었습니다.");
- // }
- // }
- // }
- /**
- * 조회조건 컴보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_cmb_rssrch_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- Fselect(ds_send_data2.getColumn(0, "inrsrvcond"));
- }
- /**
- * 조회조건 ipt_pid 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- div_srch2.btn_search2.click();
- }
- }
- /**
- * 조회조건 ipt_pidnm 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_ipt_pidnm_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- div_srch2.btn_search2.click();
- }
- }
- /**
- * cmb_ordept 콤보 아이템 변경 후 이벤트
- * @param {[type]} obj: Combo [description]
- * @param {[type]} e: ItemChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_cmb_ordept_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- fQueryRsrvRef(1);
- }
- /**
- * ipt_hopetodd 포커스 상실 이벤트
- * @param {[type]} obj: Calendar [description]
- * @param {[type]} e: KillFocusEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_ipt_hopetodd_onkillfocus(obj: Calendar, e: KillFocusEventInfo) {
- fQueryRsrvRef("1");
- }
- /**
- * bol_ckeckdd1 체크박스 클릭 이벤트
- * @param {[type]} obj: CheckBox [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_bol_ckeckdd1_onclick(obj: CheckBox, e: ClickEventInfo) {
- var value = ds_send_data2.getColumn(0, 'r_checkflag');
- if (value == 'Y') {
- if (ds_send_data2.getColumn(0, "inrsrvcond") == "1") {
- div_srch2.caption4.visible = true;
- div_srch2.ipt_hopedd.visible = true;
- div_srch2.ipt_hopetodd.visible = true;
- ds_send_data2.setColumn(0, "inrsrvtodd", utlf_getCurrentDate());
- }
- if (ds_send_data2.getColumn(0, "inrsrvcond") == "1") {
- div_srch2.caption4.visible = false;
- div_srch2.ipt_hopedd.visible = true;
- div_srch2.ipt_hopetodd.visible = false;
- ds_send_data2.setColumn(0, "inrsrvtodd", "");
- }
- }
- else {
- if (ds_send_data2.getColumn(0, "inrsrvcond") == "1") {
- div_srch2.caption4.visible = true;
- div_srch2.ipt_hopedd.visible = true;
- div_srch2.ipt_hopetodd.visible = true;
- ds_send_data2.setColumn(0, "inrsrvtodd", utlf_getCurrentDate());
- }
- if (ds_send_data2.getColumn(0, "inrsrvcond") == "1") {
- div_srch2.caption4.visible = false;
- div_srch2.ipt_hopedd.visible = true;
- div_srch2.ipt_hopetodd.visible = false;
- ds_send_data2.setColumn(0, "inrsrvtodd", "");
- }
- }
- }
- /**
- * [div_srch2_btn_search2_onclick description]
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function div_srch2_btn_search2_onclick(obj: Button, e: ClickEventInfo) {
- fQueryRsrvRef("1");
- }
- /**
- * 출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button3_onclick(obj: Button, e: ClickEventInfo) {
- // DOM 객체 설정
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/send/data2", ds_send_data2);
- rptf_setNodeListToDOM(objDOM, "/root/main/adrvlist/grdinrsrvlist", ds_main_adrvlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPMI00301"],[objParam], option);
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button4_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(grd_inrsv, 'excel', "공용병상병실배정", true, "" , 'user' , true);
- }
- /**
- * caption17 더블클릭 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: EditClickEventInfo [description]
- * @return {[type]} [description]
- */
- function caption17_oneditdblclick(obj: Edit, e: EditClickEventInfo) {
- grp.visible = !grp.visible;
- }
- /**
- * 공용병상 배정 대기 환자리스트 그리드 셀 더블 클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grd_inrsv_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- var cur_row = grd_inrsv.currentrow;
- var erreglyn = ds_main_adrvlist.getColumn(cur_row, "erreglyn");
- if (erreglyn == 'D') {
- //실제가능하니 메세지창 막음
- return;
- }
- if (cur_row >= 0 && srch_flag == "N") {
- ds_send_data3.setColumn(0, "pid", ds_main_adrvlist.getColumn(cur_row, "pid"));
- ds_send_data3.setColumn(0, "insukind", ds_main_adrvlist.getColumn(cur_row, "insukind"));
- ds_send_data3.setColumn(0, "mode", "4");
- ds_main_adrv.setColumn(0, "insukind", ds_main_adrvlist.getColumn(cur_row, "insukind"));
- //2008.01.10 보조유형이 산정특례(07),인공신장투석(02),복막관류술(03),장기이식(04)인 경우는 입원이 없기때문에 정상으로 셋팅해줌.
- if (ds_main_adrvlist.getColumn(cur_row, "suppkind") == "07" || ds_main_adrvlist.getColumn(cur_row, "suppkind") == "02" ||
- ds_main_adrvlist.getColumn(cur_row, "suppkind") == "03" || ds_main_adrvlist.getColumn(cur_row, "suppkind") == "04") {
- ds_main_adrv.setColumn(0, "suppkind", "00"); //보조유형
- }
- else {
- ds_main_adrv.setColumn(0, "suppkind", ds_main_adrvlist.getColumn(cur_row, "suppkind"));
- }
- ds_main_adrv.setColumn(0, "suppkindresn", ds_main_adrvlist.getColumn(cur_row, "suppkindresn"));
- ds_hidden_original_adrv.copyData(ds_main_adrv, false);
- //2008.01.29 특이환자조회,증증환자여부조회
- ds_send_data11.setColumn(0, "pid", ds_main_adrvlist.getColumn(cur_row, "pid"));
- ds_send_data11.setColumn(0, "indd", utlf_getCurrentDate());
- ds_send_data11.setColumn(0, "mode", "11");
- dsf_createDsRow('ds_TRPMI00107', [
- { col: 'mode', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00107.copyRow(0, ds_send_data11, 0);
- ds_TRPMI00107.setColumn(0, 'orddd', ds_send_data11.getColumn(0, 'indd'));
- ds_hidden_check_ptbs.clearData();
- var oParam = {};
- oParam.id = "TRPMI00107";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_TRPMI00107";
- oParam.outds = "ds_hidden_check_ptbs=ptbs ds_hidden_check_ptsp=ptsp";//ds_=ptsp ds_=srdg ds_=rooa ds_=adrv ds_=hndc ds_=cnst ds_=grdinrgstinfo ds_=inpt1 ds_=stdy ds_=disc ds_=bind ds_=tempdsch";
- oParam.async = false;
- tranf_submit(oParam);
-
- dsf_copyDsWithPrefix(ds_hidden_check_ptbs, ds_tmp);
- ds_hidden_check_ptbs.copyData(ds_tmp, false);
-
- ds_main_ptbs.getColumn(0, "ptbs_pid", ds_main_adrvlist.getColumn(cur_row, "pid"));
- fCheckSpcfPat();
- //환자인적정보+보험정보
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_rcv_ptin.clearData();
- var oParam = {};
- oParam.id = "TRPMI00304";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetInRgPatInfo";
- oParam.inds = "req=ds_send_data3";
- oParam.outds = "ds_hidden_rcv_ptbs=ptbs ds_hidden_rcv_ptin=ptin";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMI00304") > -1) {
- ds_send_data3.clearData();
- ds_send_data3.addRow();
- var ptbs_cnt = ds_hidden_rcv_ptbs.rowcount;
- var ptin_cnt = ds_hidden_rcv_ptin.rowcount;
-
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptbs, 'ptbs_');
- ds_hidden_rcv_ptbs.copyData(ds_tmp, false);
-
- dsf_copyDsWithPrefix(ds_tmp, ds_hidden_rcv_ptin, 'ptin_');
- ds_hidden_rcv_ptin.copyData(ds_tmp, false);
- if (ptbs_cnt > 0) {
- ds_main_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- ds_hidden_original_ptbs.copyData(ds_hidden_rcv_ptbs, false);
- }
- else {
- sysf_messageBox("환자인적이", "I004");
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_otptlist.clearData();
- ds_main_diaglist.clearData();
- return false;
- }
- if (ptin_cnt > 0) {
- ds_main_ptin.copyData(ds_hidden_rcv_ptin, false);
- ds_hidden_original_ptin.copyData(ds_hidden_rcv_ptin, false);
- fSuppkindSet();
- }
- else {
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_hidden_original_ptin.copyData(ds_main_ptin, false);
- }
- }
- }
- //희망병실등급from~희망병실등급to사이의 병실내역 조회
- fHopeRoomGrdeRef("2");
- }
- /**
- * 준공용병상 가용현황
- * @param {[type]} obj:Button [description]
- * @param {[type]} e:ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function button2_onclick(obj: Button, e: ClickEventInfo) {
- frmf_modal("SMPMI03910", "SMPMI03910", "", "", "", "", "", "", "", "", "", "", "M");
- }
- /**
- * 저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_update_onclick(obj: Button, e: ClickEventInfo) {
- var xUpdtData = grdf_getGridUpdateData(grd_inrsv, "all");
- grdf_setStatusColumn(xUpdtData, "status");
- dsf_copyColInfo(ds_buffer, ds_main_adrvlist,true);
- ds_buffer.copyData(xUpdtData,true);
- if (ds_buffer.rowcount < 1) {
- sysf_messageBox("저장할 내역이 없습니다!!", "I");
- return;
- }
- else {
- // model.setValue("/root/send/data13/grdinrsrvlist", grd_inrsv.getUpdateData());
- if (utlf_isNull(ds_main_comnbedsmsmsg.getColumn(0, "replytelno"))) {
- sysf_messageBox("병상배정 SMS 회신번호를 입력하십시오.", "E000");
- return;
- }
- dsf_setTypeFormat(ds_buffer, "inrsrvacptseqno:INT");
- dsf_createDsRow('ds_send_comnbedsmsmsg', [
- { col: 'msgfrmtid', type: 'string', size: 256, val: '' },
- { col: 'replytelno', type: 'string', size: 256, val: '' }
- ], false);
- // SMS 발송용 데이터 설정
- ds_send_comnbedsmsmsg.copyRow(0, ds_main_comnbedsmsmsg, 0);
- //ds_buffer.updateColID('inhopedd', 'patinhopedd');
- var adrv_row = ds_main_adrvlist.rowposition;
-
- // 배정자 ID / 배정일시 설정
- ds_buffer.setColumn(0, "nurcnfid", sysf_getUserId());
- ds_buffer.setColumn(0, "nurcnfdt", utlf_getCurrentDate() + utlf_getCurrentTime().substring(0, 4));
- dsf_createDsRow('ds_send_s_adrv', [
- { col: 'adrv_insukind', type: 'string', size: 256, val: ds_main_adrvlist.getColumn(adrv_row,"insukind") },
- { col: 'adrv_suppkind', type: 'string', size: 256, val: ds_main_adrvlist.getColumn(adrv_row,"suppkind") },
- { col: 'adrv_suppkindresn', type: 'string', size: 256, val: ds_main_adrvlist.getColumn(adrv_row,"suppkindresn") }
- ], false);
- dsf_createDsRow('ds_send_s_ptbs', [
- { col: 'status', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'sex', type: 'string', size: 256, val: '' },
- { col: 'vipyn', type: 'string', size: 256, val: '' },
- { col: 'brthdd', type: 'string', size: 256, val: '' },
- { col: 'hometel', type: 'string', size: 256, val: '' },
- { col: 'mpphontel', type: 'string', size: 256, val: '' },
- { col: 'zipcd1', type: 'string', size: 256, val: '' },
- { col: 'zipcd2', type: 'string', size: 256, val: '' },
- { col: 'zipcdseq', type: 'string', size: 256, val: '' },
- { col: 'recmyn', type: 'string', size: 256, val: '' },
- { col: 'recmerid', type: 'string', size: 256, val: '' },
- { col: 'recmerrela', type: 'string', size: 256, val: '' },
- { col: 'detladdr', type: 'string', size: 256, val: '' },
- { col: 'remfact', type: 'string', size: 256, val: '' },
- { col: 'lastupdtrid', type: 'string', size: 256, val : '' },
- { col: 'lastupdtdt', type: 'string', size: 256, val: '' }
- ], false);
- dsf_createDsRow('ds_send_s_ptin', [
- { col: 'status', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'todd', type: 'string', size: 256, val: '' },
- { col: 'seqno', type: 'string', size: 256, val: '' },
- { col: 'histstat', type: 'string', size: 256, val: '' },
- { col: 'fromdd', type: 'string', size: 256, val: '' },
- { col: 'insucd', type: 'string', size: 256, val: '' },
- { col: 'insuno', type: 'string', size: 256, val: '' },
- { col: 'insdnm', type: 'string', size: 256, val: '' },
- { col: 'insdrrgstno1', type: 'string', size: 256, val: '' },
- { col: 'insdrrgstno2', type: 'string', size: 256, val: '' },
- { col: 'insdrela', type: 'string', size: 256, val: '' },
- { col: 'lastupdtrid', type: 'string', size: 256, val: '' },
- { col: 'lastupdtdt', type: 'string', size: 256, val: '' }
- ], false);
- var oParam = {};
- oParam.id = "TXPMI00301";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqSetInhpRsrvList";
- oParam.inds = "grdinrsrvlist=ds_buffer s_adrv=ds_send_s_adrv "
- + "s_ptbs=ds_send_s_ptbs s_ptin=ds_send_s_ptin comnbedsmsmsg=ds_send_comnbedsmsmsg";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXPMI00301") > -1) {
- ds_send_data2.setColumn(0, "sendflag", "A");
- // 병상배정 시 SMS 전송용 기초정보 조회
- dsf_createDsRow('ds_TRPMI00307', [{ col: 'pid', type: 'string', size: 256, val: '' }], false);
- ds_TRPMI00307.copyRow(0, ds_send_data2, 0);
- ds_main_comnbedsmsmsg.clearData();
- var oParam = {};
- oParam.id = "TRPMI00306";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetComnBedInRsrvSmsInfo";
- oParam.inds = "req=ds_TRPMI00307";
- oParam.outds = "ds_main_comnbedsmsmsg=comnbedsmsmsg";
- oParam.async = false;
- tranf_submit(oParam);
- ds_main_otptlist.clearData();
- ds_main_otptlist.addRow();
- ds_main_diaglist.clearData();
- ds_main_diaglist.addRow();
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
- ds_hidden_rcv_ptin.clearData();
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_check_ptbs.clearData();
- ds_hidden_userpopupinfo.clearData();
- ds_hidden_popup.clearData();
- ds_hidden_popup.addRow();
- // model.resetInstanceNode("/root/hidden/updatalist");
- // model.resetInstanceNode("/root/hidden/popup");
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_adrv.clearData();
- fBaseDataInitPtbs();
- fBaseDataInitPtin();
- sysf_messageBox("저장이 ", "I002");
- fQueryRsrvRef("1");
-
- }else {
- fQueryRsrvRef("1");
- }
- }
- }
- /**
- * 취소 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_can_onclick(obj: Button, e: ClickEventInfo) {
- // 배정병동,배정병실,배정등급,배정형태를 원상태로 돌려준다.
- var cur_row = grd_inrsv.currentrow;
- if (cur_row >= 0) {
- //ds_buffer.clearData();
- //ds_buffer.addRow();
- dsf_copyColInfo(ds_buffer, ds_main_adrvlist, true);
- ds_buffer.clearData();
- ds_buffer.addRow();
- ds_buffer.copyRow(0, ds_main_adrvlist, cur_row);
- dsf_makeValue(ds_buffer, "status", "string", "U");
-
- var oParam = {};
- oParam.id = "TXPMI00304";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqExeInhpRsrvCncl";
- oParam.inds = "req=ds_buffer";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXPMI00304") > -1) {
- ds_send_data2.setColumn(0, 'sendflag', 'A');
- //model.setValue("/root/send/data2/prestdd",getCurrentDate());
- // 병상배정 시 SMS 전송용 기초정보 조회
- dsf_createDsRow('ds_TRPMI00307', [{ col: 'pid', type: 'string', size: 256, val: '' }], false);
- ds_TRPMI00307.copyRow(0, ds_send_data2, 0);
- ds_main_comnbedsmsmsg.clearData();
- var oParam = {};
- oParam.id = "TRPMI00306";
- oParam.service = "ipatmngtapp.InRsrv";
- oParam.method = "reqGetComnBedInRsrvSmsInfo";
- oParam.inds = "req=ds_TRPMI00307";
- oParam.outds = "ds_main_comnbedsmsmsg=comnbedsmsmsg";
- oParam.async = false;
- tranf_submit(oParam);
- ds_main_otptlist.clearData();
- ds_main_otptlist.addRow();
- ds_main_diaglist.clearData();
- ds_main_diaglist.addRow();
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
- ds_hidden_rcv_ptin.clearData();
- ds_hidden_rcv_ptbs.clearData();
- ds_hidden_check_ptbs.clearData();
- ds_hidden_userpopupinfo.clearData();
- ds_hidden_popup.clearData();
- ds_hidden_popup.addRow();
- ds_main_ptbs.clearData();
- ds_main_ptbs.addRow();
- ds_main_ptin.clearData();
- ds_main_ptin.addRow();
- ds_main_adrv.clearData();
- fBaseDataInitPtbs();
- fBaseDataInitPtin();
- fQueryRsrvRef("1");
-
- }else {
- fQueryRsrvRef("1");
- }
- }
- else {
- sysf_messageBox("취소할 입원예약 환자를", "C002");
- return false;
- }
- ipt_pid1.setFocus();
- }
- /**
- * 초기화 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function btn_clear_onclick(obj: Button, e: ClickEventInfo) {
- fInitialize();
- fBaseColumn();
- }
- function ds_main_bedlist_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // / / HOLD 메세지 수정 시 pam.pmbmbedm.holdmsg 반영
-
- /*
- if (e.columnid == "holdmsg") {
- var updated = grdf_getGridUpdateData(group6.grd_bedspec);
- grdf_setStatusColumn(updated, "m");
- ds_tmp.copyData(updated, false);
- //dsf_createDs('ds_res');
- var oParam = {};
- oParam.id = "TXPMB00303";
- oParam.service = "pambaseinfomngtapp.WardRoom";
- oParam.method = "reqSetBedRem";
- oParam.inds = "datalist=ds_tmp";
- oParam.outds = "ds_main_bedlist=aaaa";
- oParam.async = false;
- //oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXPMB00303") > -1) {
- // grd_bedspec.clearStatus();
- alert("저장되었습니다.");
- }
- else {
- alert("저장되었습니다.");
- }
- }
-
- */
-
- // HOLD 메세지 수정 시 pam.pmbmbedm.holdmsg 반영
- if (e.columnid == "holdmsg") {
- var updated = grdf_getGridUpdateData(group6.grd_bedspec);
- grdf_setStatusColumn(updated, "m");
- ds_tmp.copyData(updated, false);
-
- var row = e.row;
- //dsf_createDs('ds_res');
-
- //hold 메세지 수정 시 저장안되는 부분 수정 by 설승민 20181203
- dsf_createDsRow('ds_res', [
- { col: 'status', type: 'string', size: 256, val: '' },
- { col: 'building', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'building') },
- { col: 'wardcd', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'wardcd') },
- { col: 'roomcd', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'roomcd') },
- { col: 'bedcd', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'bedcd') },
- { col: 'bednm', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'bednm') },
- { col: 'holdmsg', type: 'string', size: 256, val: ds_main_bedlist.getColumn(row,'holdmsg') }
- ], false);
-
-
- var oParam = {};
- oParam.id = "TXPMB00303";
- oParam.service = "pambaseinfomngtapp.WardRoom";
- oParam.method = "reqSetBedRem";
- oParam.inds = "datalist=ds_res";
- oParam.outds = "ds_=aaaa";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXPMB00303") > -1) {
- // grd_bedspec.clearStatus();
- alert("저장되었습니다.");
- }
- else {
- alert("저장에 실패했습니다.다시 시도해주세요.");
- }
- }
-
-
- }
- ]]></Script>
- </Form>
- </FDL>
|