1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZMH00100" classname="SPZMH_00100_설명처방" inheritanceid="" position="absolute 0 0 1074 768" titletext="설명처방" oninit="SPZMH00100_oninit" onload="SPZMH00100_onload" ontimer="SPZMH00100_ontimer" style="background:white;" scrollbars="none" onsize="SPZMH00100_onsize" onclose="SPZMH00100_onclose">
- <Layouts>
- <Layout>
- <Grid id="Grid00" taborder="0" binddataset="ds_sender" useinputpanel="false" position="absolute 160 0 439 76" style="border:2 solid #33bbbbff ;bordertype:round 10 10 ;shadow:outer 1,1 3 #808080c8;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="74"/>
- <Column size="70"/>
- <Column size="131"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell rowspan="3" style="selectbackground:lightgrey;linespace:5;" text="설명처방 발 신 자" taborder="undefined"/>
- <Cell col="1" style="selectbackground:lightgrey;" text="병의원명"/>
- <Cell col="2" displaytype="text" style="padding:0 0 0 8;selectbackground:lightgrey;" text="bind:hospnm"/>
- <Cell row="1" col="1" style="selectbackground:lightgrey;" text="부 서"/>
- <Cell row="1" col="2" displaytype="text" style="padding:0 0 0 8;selectbackground:lightgrey;" text="bind:deptnm"/>
- <Cell row="2" col="1" style="selectbackground:lightgrey;" text="이 름"/>
- <Cell row="2" col="2" displaytype="text" style="padding:0 0 0 8;selectbackground:lightgrey;" text="bind:sendernm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <ImageViewer id="ImageViewer00" taborder="1" position="absolute 0 8 146 44" image="URL('IMG::com\defaultlogo.gif')" style="border:0 none #e5e5e5ff ;" stretch="none" resampling="false"/>
- <Static id="Static02" text="콘텐츠 내용" class="tit_2" position="absolute 532 92 656 112" anchor="top right"/>
- <Static id="Static01" text="설명처방 목록" class="tit_2" position="absolute 0 542 124 562" anchor="left bottom"/>
- <Button id="btn_contents_add" taborder="40" text="추가" position="absolute 117 66 158 86" class="btn5" visible="false" onclick="btn_contents_add_onclick"/>
- <Shape id="Shape01" class="line_10" position="absolute 0 560 523 564" anchor="left right bottom"/>
- <Grid id="grd_sendlist" taborder="4" binddataset="ds_hichartsendlist" useinputpanel="false" position="absolute 0 564 522 766" autofittype="col" onlbuttonup="grd_sendlist_onlbuttonup" style="shadow:outer 1,1 3 #808080c8;" cellsizingtype="col" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="330"/>
- <Column size="60"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="코드"/>
- <Cell col="1" displaytype="normal" text="콘텐츠명"/>
- <Cell col="2" displaytype="normal" text="상영시간"/>
- <Cell col="3" text="삭제"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentscd"/>
- <Cell col="1" displaytype="text" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentsnm"/>
- <Cell col="2" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:viewingtime" mask="##:##"/>
- <Cell col="3" displaytype="button" edittype="button" style="padding:2 0 2 0;line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="삭제"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="div_thumbnail" taborder="8" position="absolute 532 111 940 547" style="border:2 solid lightslategray ;bordertype:round 10 10 ;shadow:outer 1,0 3 #808080c8;" scrollbars="none" anchor="top right">
- <Layouts>
- <Layout>
- <Shape id="Shape00" position="absolute -1 386 406 434" anchor="default" type="rectangle" style="fillbrush:solid #b0c4de5c true;"/>
- <Static id="stt_title" position="absolute 15 342 387 378" style="linespace:2;color:#f26522ff;font:Dotum,11,bold;" anchor="default" wordwrap="english"/>
- <MaskEdit id="medt_time" taborder="19" position="absolute 40 399 92 419" class="edt_transbg" readonly="true" mask="##:##" transparenthittest="true" maskchar="0" type="string" displaynulltext=" " style="align:left middle;"/>
- <Button id="btn_play" taborder="2" text="영상보기" onclick="div_thumbnail_btn_play_onclick" class="btn5" position="absolute 91 395 155 423" enable="false" anchor="default"/>
- <ImageViewer id="ImageViewer00" taborder="3" position="absolute 12 399 32 419" style="border:0 none #e5e5e5ff ;" image="URL('theme://images\icon_clock.png')" anchor="default"/>
- <Static id="stt_title_default" text="왼쪽의 설명처방 콘텐츠에서 콘텐츠명을 클릭하시면 내용을 보실 수 있습니다." position="absolute 15 342 387 378" style="linespace:3;color:red;font:Dotum,11,bold;" anchor="default"/>
- <Div id="div_video" taborder="7" visible="false" position="absolute 0 6 404 349" anchor="default">
- <Layouts>
- <Layout>
- <WebBrowser id="wb_contentsplay" position="absolute 8 4 392 337" anchor="default" taborder="0" onloadcompleted="div_video_wb_contentsplay_onloadcompleted" useautobitmapcache="0"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_play_popup" taborder="9" text="팝업보기" position="absolute 162 395 227 423" class="btn5" onclick="div_thumbnail_btn_play_popup_onclick" visible="false" anchor="default"/>
- <Button id="btn_del_dept" taborder="10" text="과별목록삭제" onclick="div_thumbnail_btn_del_dept_onclick" class="btn5" visible="false" position="absolute 304 395 391 423" anchor="default"/>
- <Button id="btn_del_private" taborder="11" text="개인목록삭제" onclick="div_thumbnail_btn_del_private_onclick" class="btn5" visible="false" position="absolute 304 395 391 423" anchor="default"/>
- <ImageViewer id="iv_video" taborder="15" imagealign="left top" visible="false" position="absolute 8 10 392 322" style="border:0 none #e5e5e5ff ;showeffect:trans 500 linear flip3d [direction right];hideeffect:trans 500 linear flip3d [direction left];" anchor="default"/>
- <ImageViewer id="iv_thumbnail" taborder="16" image="URL('IMG::com\defaultlogo.gif')" position="absolute 77 80 333 274" style="border:0 none #e5e5e5ff ;showeffect:trans 500 linear flip3d [direction left];hideeffect:trans 500 linear flip3d [direction right];" anchor="default"/>
- <Button id="btn_add_private" taborder="17" text="개인목록담기" class="btn5" position="absolute 304 395 391 423" onclick="div_thumbnail_btn_add_private_onclick" visible="false" anchor="default"/>
- <Button id="btn_add_dept" taborder="18" text="과별목록담기" class="btn5" position="absolute 215 395 302 423" visible="false" onclick="div_thumbnail_btn_add_dept_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static03" text="영상과 함께 전달 할 메시지" class="tit_2" position="absolute 536 654 722 674" anchor="right bottom"/>
- <Shape id="Shape02" class="line_10" position="absolute 536 672 939 676" anchor="right bottom"/>
- <Edit id="edt_comment" taborder="23" position="absolute 536 676 940 696" style="shadow:outer 1,1 3 #808080c8;" anchor="right bottom"/>
- <Tab id="tabMain" taborder="12" scrollbars="autoboth" position="absolute 0 87 525 530" style="buttonpadding:4 16 4 16;" onchanged="tabMain_onchanged" anchor="all">
- <Tabpages>
- <Tabpage id="tab_private" text="개인목록">
- <Layouts>
- <Layout>
- <Grid id="grd_hichartlist" taborder="0" binddataset="ds_privatelist" useinputpanel="false" autofittype="col" onlbuttonup="grd_hichartlist_onlbuttonup" oncellclick="grd_hichartlist_oncellclick" position="absolute 0 0 522 413" style="shadow:drop 1,1 3 #808080c8;" cellsizingtype="col" anchor="all" ondrag="grd_hichartlist_ondrag" ondrop="grd_hichartlist_ondrop" dropformat="TEXT">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="330"/>
- <Column size="60"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="코드"/>
- <Cell col="1" displaytype="normal" text="콘텐츠명"/>
- <Cell col="2" displaytype="normal" text="상영시간"/>
- <Cell col="3" text="처방"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentscd"/>
- <Cell col="1" displaytype="text" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent;selectfont:Dotum,9,bold; :mouseover {background:transparent;background2:transparent;color:#f26522ff;color2:#f26522ff;}" text="bind:contentsnm"/>
- <Cell col="2" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:viewingtime" mask="##:##"/>
- <Cell col="3" displaytype="button" edittype="button" style="padding:2 2 2 0;line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="처방"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_dept" text="과별목록">
- <Layouts>
- <Layout>
- <Grid id="grd_hichartlist" taborder="0" binddataset="ds_deptlist" useinputpanel="false" autofittype="col" onlbuttonup="grd_hichartlist_onlbuttonup" oncellclick="grd_hichartlist_oncellclick" position="absolute 0 0 522 413" style="shadow:drop 1,1 3 #808080c8;" cellsizingtype="col" anchor="all" dropformat="TEXT" ondrag="grd_hichartlist_ondrag" ondrop="grd_hichartlist_ondrop">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="330"/>
- <Column size="60"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="코드"/>
- <Cell col="1" displaytype="normal" text="콘텐츠명"/>
- <Cell col="2" displaytype="normal" text="상영시간"/>
- <Cell col="3" text="처방"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentscd"/>
- <Cell col="1" displaytype="text" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent;selectfont:Dotum,9,bold; :mouseover {background:transparent;background2:transparent;color:#f26522ff;color2:#f26522ff;}" text="bind:contentsnm"/>
- <Cell col="2" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:viewingtime" mask="##:##"/>
- <Cell col="3" displaytype="button" edittype="button" style="padding:2 2 2 0;line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="처방"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_new" text="신규콘텐츠">
- <Layouts>
- <Layout>
- <Grid id="grd_hichartlist" taborder="0" binddataset="ds_hichartnewlist" useinputpanel="false" autofittype="col" position="absolute 0 0 522 413" oncellclick="grd_hichartlist_oncellclick" onlbuttonup="grd_hichartlist_onlbuttonup" style="shadow:drop 1,1 3 #808080c8;" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="60"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록일"/>
- <Cell col="1" displaytype="normal" text="코드"/>
- <Cell col="2" displaytype="normal" text="콘텐츠명"/>
- <Cell col="3" displaytype="normal" text="상영시간"/>
- <Cell col="4" text="처방"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:regdt"/>
- <Cell col="1" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentscd"/>
- <Cell col="2" displaytype="text" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent;selectfont:Dotum,9,bold; :mouseover {background:transparent;background2:transparent;color:#f26522ff;color2:#f26522ff;}" text="bind:contentsnm"/>
- <Cell col="3" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:viewingtime" mask="##:##"/>
- <Cell col="4" displaytype="button" edittype="button" style="padding:2 2 2 0;line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="처방"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_search" text="검색">
- <Layouts>
- <Layout>
- <Grid id="grd_hichartlist" taborder="4" binddataset="ds_hichartlist" useinputpanel="false" autofittype="col" onlbuttonup="grd_hichartlist_onlbuttonup" oncellclick="grd_hichartlist_oncellclick" position="absolute 0 52 522 413" style="shadow:drop 1,1 3 #808080c8;" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="330"/>
- <Column size="60"/>
- <Column size="31"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="코드"/>
- <Cell col="1" displaytype="normal" text="콘텐츠명"/>
- <Cell col="2" displaytype="normal" text="상영시간"/>
- <Cell col="3" text="처방"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:contentscd"/>
- <Cell col="1" displaytype="text" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent;selectfont:Dotum,9,bold; :mouseover {background:transparent;background2:transparent;color:#f26522ff;color2:#f26522ff;}" text="bind:contentsnm"/>
- <Cell col="2" displaytype="normal" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;color:#505050ff;color2:#505050ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="bind:viewingtime" mask="##:##"/>
- <Cell col="3" displaytype="button" edittype="button" style="padding:2 2 2 0;line:1 solid #b0b0b0ff,0 solid #b0b0b0ff;selectbackground:transparent; :mouseover {background:transparent;background2:transparent;}" text="처방"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="div_search" taborder="7" position="absolute 0 0 523 51" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Edit id="edt_contentscd" taborder="0" useime="none" position="absolute 107 27 219 47" anchor="default" onkeydown="tabMain_tab_search_div_search_edt_contentsnm_onkeydown" autoselect="true"/>
- <Edit id="edt_contentsnm" taborder="1" imemode="hangul" position="absolute 221 27 457 47" anchor="left top right" onkeydown="tabMain_tab_search_div_search_edt_contentsnm_onkeydown" autoselect="true"/>
- <Button id="btn_search" taborder="2" text="검색" class="btn1" position="absolute 462 27 516 47" anchor="top right" onclick="tabMain_tab_search_div_search_btn_search_onclick"/>
- <Static id="Static00" text="분 류" class="search_name" position="absolute 8 5 105 25" anchor="default"/>
- <Static id="Static01" text="코드/콘텐츠명" class="search_name" position="absolute 8 27 104 47" anchor="default"/>
- <Combo id="cmb_sup" taborder="3" position="absolute 107 4 219 24" anchor="default" index="-1" innerdataset="@ds_M0770" codecolumn="cdid" datacolumn="cdnm" onitemchanged="tabMain_tab_search_div_search_cmb_sup_onitemchanged"/>
- <Combo id="cmb_sub" taborder="4" position="absolute 221 4 457 24" anchor="left top right" innerdataset="@ds_M0771" codecolumn="cdid" datacolumn="dispallnm"/>
- <CheckBox id="chk_privatehosp" taborder="5" text="전용" position="absolute 462 4 508 24" truevalue="Y" falsevalue="N" tooltiptext="병원 전용 컨텐츠 검색 시 사용" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_bundle" text="묶음처방">
- <Layouts>
- <Layout>
- <Static id="Static00" text="개발중" position="absolute 200 182 332 259" style="font:Dotum,32;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_history" text="발송이력">
- <Layouts>
- <Layout>
- <Div id="div_search" taborder="3" text="Div00" position="absolute 0 0 523 51" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_sendsearch" taborder="3" text="검색" onclick="tabMain_tab_history_btn_sendsearch_onclick" class="btn1" position="absolute 462 8 516 43" anchor="top right"/>
- <Edit id="edt_contentscd" taborder="1" position="absolute 107 27 219 47" onkeydown="tab_history_search" useime="none" autoselect="true" anchor="default"/>
- <Edit id="edt_contentsnm" taborder="2" position="absolute 221 27 457 47" onkeydown="tab_history_search" imemode="hangul" autoselect="true" anchor="left top right"/>
- <Static id="Static00" text="코드/콘텐츠명" position="absolute 8 27 102 47" class="search_name" anchor="default"/>
- <Edit id="edt_pid" taborder="0" position="absolute 397 5 457 25" autoselect="true" onkeydown="tab_history_search" anchor="left top right"/>
- <Static id="Static01" text="환자번호" position="absolute 334 5 396 25" class="search_name" anchor="default"/>
- <Radio id="rdo_searchcond" taborder="4" columncount="-1" rowcount="-1" position="absolute 106 4 214 24" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" index="0" value="1" onitemchanged="tabMain_tab_history_div_search_rdo_searchcond_onitemchanged" style="textpadding:0 4 0 3;">
- <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">2</Col>
- <Col id="datacolumn">사용자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static02" text="검색 기준" position="absolute 8 5 76 25" class="search_name" anchor="default"/>
- <cp_monthCal id="cp_monthCal" titletext="monthCalendar" taborder="5" scrollbars="none" position="absolute 255 5 326 25" enable="false"/>
- <Static id="Static03" text="월별" class="search_name" position="absolute 217 5 255 25"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_sendhistory_internal" taborder="4" useinputpanel="false" position="absolute 0 53 523 413" binddataset="ds_result_hichart_sendhistory_internal" visible="false" treeusecheckbox="false" treeuseimage="false" treeuseline="false" scrollpixel="all" cellsizingtype="col" anchor="all" suppresslevel="allcompare" oncellclick="grd_hichartlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" band="left"/>
- <Column size="50" band="left"/>
- <Column size="40" band="left"/>
- <Column size="86"/>
- <Column size="90"/>
- <Column size="25"/>
- <Column size="40"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="36"/>
- <Column size="100"/>
- <Column size="389"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="normal" text="환자번호"/>
- <Cell col="2" displaytype="normal" text="환자명"/>
- <Cell col="3" text="휴대번화번호"/>
- <Cell col="4" displaytype="normal" text="진료과"/>
- <Cell col="5"/>
- <Cell col="6" displaytype="normal" text="코드"/>
- <Cell col="7" displaytype="normal" text="콘텐츠명/복수코드"/>
- <Cell col="8" displaytype="normal" text="발송시간"/>
- <Cell col="9" displaytype="normal" text="결과"/>
- <Cell col="10" displaytype="normal" text="예약시간"/>
- <Cell col="11" text="comment"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="normal" edittype="none" text="expr:(rnum == -1) ? "" : rnum"/>
- <Cell col="1" displaytype="normal" style="padding:5 0 0 0;line:EXPR((pid == "환자번호") ? "1 solid #b0b0b0ff,0 solid #b0b0b0ff,1 solid #b0b0b0ff,1 solid #b0b0b0ff" : "");" text="bind:pid" suppress="1" suppressalign="first,over"/>
- <Cell col="2" displaytype="text" style="align:EXPR((hngnm == "없음") ? "center middle" : "left middle");padding:5 0 0 2;line:EXPR((hngnm == "없음") ? "1 solid #b0b0b0ff,1 solid #b0b0b0ff,1 solid #b0b0b0ff,0 solid #b0b0b0ff" : "");" text="bind:hngnm" suppress="1" suppressalign="first,over"/>
- <Cell col="3" style="padding:5 0 0 0;" text="bind:receiver" mask="expr:fGetPhoneNumMask(receiver)" suppress="1" suppressalign="first,over"/>
- <Cell col="4" displaytype="combo" style="padding:0 0 0 4;" text="bind:orddeptcd" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="5" displaytype="tree" edittype="tree" style="padding:0 0 0 0;" treelevel="bind:lvl"/>
- <Cell col="6" displaytype="text" edittype="none" text="bind:contentscd"/>
- <Cell col="7" displaytype="text" text="bind:contentsnm" treestartlevel="0" treelevel="bind:lvl"/>
- <Cell col="8" displaytype="text" style="padding:5 0 0 2;" text="bind:senddate" suppress="1" suppressalign="first,over"/>
- <Cell col="9" displaytype="normal" style="padding:5 0 0 0;" text="bind:result" suppress="1" suppressalign="first,over"/>
- <Cell col="10" displaytype="normal" style="padding:5 0 0 0;" text="bind:reservetime" suppress="1" suppressalign="first,over"/>
- <Cell col="11" displaytype="text" style="padding:5 0 0 2;" text="bind:scomment" suppress="1" suppressalign="first,over"/>
- <Cell col="12" text="bind:fstrgstdt" suppress="1" suppressalign="first,over"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_sendhistory" taborder="5" binddataset="ds_result_hichart_sendhistory" useinputpanel="false" selecttype="multirow" position="absolute 0 53 523 413" style="shadow:drop 1,1 3 #808080c8;" cellsizingtype="col" autofittype="col" anchor="all" oncellclick="grd_hichartlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="46"/>
- <Column size="90"/>
- <Column size="56"/>
- <Column size="170"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사용자"/>
- <Cell col="2" text="진료과"/>
- <Cell col="3" text="코드"/>
- <Cell col="4" text="콘텐츠명"/>
- <Cell col="5" text="발송시간"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" displaytype="combo" style="padding:0 0 0 4;" text="bind:orddeptcd" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="3" displaytype="text" style="padding:0 0 0 4;" text="bind:contentscd"/>
- <Cell col="4" displaytype="text" style="padding:0 0 0 4;" text="bind:contentsnm"/>
- <Cell col="5" displaytype="text" style="padding:0 0 0 4;" text="bind:senddate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="Static00" text="설명처방 콘텐츠" class="tit_2" position="absolute 0 68 124 88"/>
- <Button id="btn_send" taborder="13" text="처방 발행 (전송)" position="absolute 536 746 662 766" class="btn4" onclick="btn_send_onclick" tooltiptext="수신자리스트에 체크 되어 있는 사람에게 설명처방 목록의 항목들을 문자로 보냅니다" anchor="right bottom"/>
- <Button id="btn_cancel" taborder="14" text="취소" class="btn3" position="absolute 674 746 726 766" onclick="btn_cancel_onclick" tooltiptext="설명처방 목록 모두 삭제" anchor="right bottom"/>
- <Button id="btn_close" taborder="15" text="종료" class="btn3" position="absolute 738 746 790 766" onclick="btn_close_onclick" tooltiptext="창을 닫습니다" anchor="right bottom"/>
- <CheckBox id="chk_autoclose" taborder="16" text="처방 발행 후 자동 창 닫기" position="absolute 799 746 963 766" onclick="chk_autoclose_onclick" truevalue="Y" falsevalue="N" anchor="right bottom"/>
- <Grid id="Grid01" taborder="18" binddataset="ds_receiver" useinputpanel="false" position="absolute 448 0 843 76" style="border:2 solid #33bbbbff ;bordertype:round 10 10 ;shadow:outer 1,1 3 #808080c8;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="78"/>
- <Column size="232"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell rowspan="3" style="selectbackground:skyblue;linespace:5;" text="상단환자 정 보 " taborder="undefined"/>
- <Cell col="1" style="selectbackground:skyblue;" text="환자번호"/>
- <Cell col="2" displaytype="text" style="padding:0 0 0 8;font:Dotum,10,bold;selectbackground:skyblue;" text="bind:pid"/>
- <Cell row="1" col="1" style="selectbackground:skyblue;" text="진 료 과"/>
- <Cell row="1" col="2" displaytype="text" style="padding:0 0 0 8;font:Dotum,10,bold;selectbackground:skyblue;" text="bind:orddeptnm"/>
- <Cell row="2" col="1" style="selectbackground:skyblue;" text="이 름"/>
- <Cell row="2" col="2" displaytype="text" style="padding:0 0 0 8;font:Dotum,10,bold;selectbackground:skyblue;" text="bind:hngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_pat_clear" taborder="39" text="Clear" position="absolute 462 49 510 69" class="btn5" onclick="btn_pat_clear_onclick"/>
- <Div id="Div00" taborder="22" text="Div00" position="absolute 1019 0 1071 76" style="background:beige;border:2 solid peru ;bordertype:round 10 10 ;shadow:drop 1,1 3 #808080c8;" anchor="top right">
- <Layouts>
- <Layout>
- <Button id="btn_hichart" taborder="0" onclick="btn_hichart_onclick" class="btn_hichart" position="absolute 12 9 36 33" anchor="top right" tooltiptext="설명처방"/>
- <Static id="Static04" text="HiChart 구버전" position="absolute 3 40 47 64" style="linespace:2;align:center middle;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="Div01" taborder="38" style="background:beige;border:2 solid peru ;bordertype:round 10 10 ;shadow:drop 1,1 3 #808080c8;" text="Div00" position="absolute 873 0 1013 76" anchor="top right">
- <Layouts>
- <Layout>
- <Button id="btn_docu_down" taborder="0" text="설명처방 사용방법" onclick="btn_docu_down_onclick" class="btn5" position="absolute 9 11 128 31" tooltiptext="설명처방 사용 설명입니다" style="align:center middle;shadow:drop 1,1 3 #808080c8;" anchor="default"/>
- <ImageViewer id="iv_silverlight" taborder="1" image="URL('IMG::com\silverlight_btn.jpg')" onclick="iv_silverlight_onclick" position="absolute 43 41 104 60" tooltiptext="동영상이 재생 안될 때 설치하세요" style="border:0 none #e5e5e5ff ;cursor:hand;shadow:drop 1,1 3 #808080c8;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <CheckBox id="chk_reservation" taborder="24" text="예약전송" position="absolute 536 718 608 738" tooltiptext="체크 하고 날짜/시간 입력되어 있으면 처방 발행 시 예약 됩니다" truevalue="Y" falsevalue="N" anchor="right bottom"/>
- <Calendar id="cal_reservedate" taborder="25" position="absolute 611 717 713 737" autoselect="true" anchor="right bottom"/>
- <MaskEdit id="mk_time" taborder="26" position="absolute 715 717 759 737" mask="##:##" autoselect="true" ontextchange="mk_time_ontextchange" trimtype="both" type="string" maskchar=" " style="align:center middle;" anchor="right bottom"/>
- <Button id="btn_add_private_all" taborder="30" text="개인목록담기(전체)" position="absolute 278 539 399 559" class="btn5" onclick="btn_add_private_all_onclick" tooltiptext="설명처방 목록에 있는 전체를 개인목록에 담는다" anchor="right bottom"/>
- <Button id="btn_add_dept_all" taborder="31" text="과별목록담기(전체)" class="btn5" position="absolute 402 539 523 559" enable="false" onclick="btn_add_dept_onclick" tooltiptext="설명처방 목록에 있는 전체를 과별목록에 담는다" anchor="right bottom"/>
- <Div id="div_dim" anchor="all" taborder="34" style="background:#00000046;" visible="false" position="absolute 1091 0 2165 768" onclick="div_dim_onclick">
- <Layouts>
- <Layout width="1024" height="768"/>
- </Layouts>
- </Div>
- <Div id="div_patinfo" taborder="35" position="absolute 1089 81 1960 557" anchor="top right">
- <Layouts>
- <Layout width="871" height="476">
- <Div id="div_patinfo_back" taborder="28" style="shadow:outer -5,5 10 gray;" position="absolute 34 0 857 464" anchor="default"/>
- <Button id="btn_patinfo" taborder="29" text="환자리스트 (F1, F2)" onclick="div_patinfo_btn_patinfo_onclick" class="btn_tab" position="absolute 11 167 146 191" tooltiptext="환자리스트 열고 닫기" hotkey="F1" style="glow:10 hotpink;transformation:0,0 [rotate -90];" anchor="default"/>
- <Div id="div_patlist" taborder="30" style="background:white;border:1 solid green ;" position="absolute 34 0 857 464" anchor="default">
- <Layouts>
- <Layout>
- <Tab id="tabPatList" taborder="28" onchanged="div_patinfo_div_patlist_tabPatList_onchanged" scrollbars="autoboth" position="absolute 8 8 813 454" style="buttonpadding:4 12 4 12;" anchor="default">
- <Tabpages>
- <Tabpage id="tab_sendlist" text="수신자리스트">
- <Layouts>
- <Layout>
- <Grid id="grd_sendlist" taborder="10" binddataset="ds_pat_sendlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellclickbound="cell" onenterdown="div_patinfo_div_patlist_tabPatList_tab_sendlist_grd_sendlist_onenterdown" position="absolute 0 0 805 418" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="67"/>
- <Column size="26"/>
- <Column size="99"/>
- <Column size="66"/>
- <Column size="64"/>
- <Column size="82"/>
- <Column size="66"/>
- <Column size="35"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" displaytype="normal" text="휴대전화번호"/>
- <Cell col="3" displaytype="normal" text="구분"/>
- <Cell col="4" displaytype="normal" text="관계"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="환자번호"/>
- <Cell col="7" text="전송"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" displaytype="normal" edittype="expr:(getRowType(currow) == Dataset.ROWTYPE_INSERT) ? "text" : "none"" style="align:center middle;selectbackground:EXPR(fGetInputTextColor(currow));" text="bind:mpphone" mask="expr:fGetPhoneNumMask(mpphone)"/>
- <Cell col="3" displaytype="normal" text="bind:gubun"/>
- <Cell col="4" displaytype="normal" text="bind:rel"/>
- <Cell col="5" text="bind:hngnm"/>
- <Cell col="6" edittype="expr:(getRowType(currow) == Dataset.ROWTYPE_INSERT) ? "text" : "none"" style="align:center middle;selectbackground:EXPR(fGetInputTextColor(currow));" text="bind:pid"/>
- <Cell col="7" style="background:EXPR((success == "실패") ? "red" : "");background2:EXPR((success == "실패") ? "red" : "");selectbackground:EXPR((success == "실패") ? "red" : "");" text="bind:success"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_clear" taborder="11" text="전체삭제" onclick="div_patinfo_div_patlist_tabPatList_tab_sendlist_btn_clear_onclick" class="btn5" position="absolute 2 2 65 22" tooltiptext="전체삭제" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_out" text="외래">
- <Layouts>
- <Layout>
- <Div id="div_search_out" taborder="10" class="div_SA2" position="absolute 0 0 805 66" anchor="default">
- <Layouts>
- <Layout>
- <Static id="Static00" text="진료일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
- <Calendar id="cal_orddd" taborder="31" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
- <Static id="Static01" text="진료과 :" class="search_name" position="absolute 249 10 309 30" anchor="default"/>
- <Combo id="cmb_dept" taborder="32" innerdataset="@ds_init_cmb_orddept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_dept_onitemchanged" position="absolute 314 10 470 30" anchor="default"/>
- <Static id="Static02" text="진료의사 :" class="search_name" position="absolute 10 36 82 56" anchor="default"/>
- <Combo id="cmb_orddr" taborder="33" innerdataset="@ds_init_cmb_orddr" codecolumn="userid" datacolumn="userdepthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_orddr_onitemchanged" position="absolute 87 36 283 56" anchor="default"/>
- <Radio id="Radio00" taborder="34" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_Radio00_onitemchanged" position="absolute 288 37 537 57" style="textpadding:0 5 0 3;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">진료일정의사</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">진료의전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">퇴직의사</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="Radio01" taborder="35" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" position="absolute 551 37 684 57" style="textpadding:0 2 0 3;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">오전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">오후</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">전일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_search" taborder="36" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick" class="btn1" position="absolute 744 22 796 42" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 737 22 743 42" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patlist_out" taborder="11" binddataset="ds_grd_opatmngt" useinputpanel="false" selecttype="multirow" autofittype="col" onlbuttonup="grd_patlist_onlbuttonup" position="absolute 0 67 805 419" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="24"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="200"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="예약시간"/>
- <Cell col="3" text="환자번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="S/A"/>
- <Cell col="6" text="초/재"/>
- <Cell col="7" text="수납"/>
- <Cell col="8" text="예약구분"/>
- <Cell col="9" text="Remark"/>
- <Cell col="10" text="휴대전화번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:ordtm" mask="##:##"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" text="bind:sexage"/>
- <Cell col="6" text="bind:fsexamflag"/>
- <Cell col="7" text="bind:calcyn"/>
- <Cell col="8" text="bind:rsrvflag"/>
- <Cell col="9" displaytype="text" style="padding:1 2 1 4;" text="bind:remfact"/>
- <Cell col="10" text="bind:mpphontel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_in" text="입원">
- <Layouts>
- <Layout>
- <Div id="div_search_in" taborder="12" class="div_SA2" position="absolute 0 0 805 66" anchor="default">
- <Layouts>
- <Layout>
- <Calendar id="cal_workdd" taborder="34" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
- <Static id="Static00" text="업무일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
- <Static id="Static01" text="병동 :" class="search_name" position="absolute 254 10 301 30" anchor="default"/>
- <Combo id="cmb_ward" taborder="35" innerdataset="@ds_init_ward" codecolumn="wardcd" datacolumn="wardnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmb_ward_onitemchanged" position="absolute 317 10 417 30" anchor="default"/>
- <Static id="Static02" text="진료과 :" class="search_name" position="absolute 10 36 70 56" anchor="default"/>
- <Combo id="cmd_dept" taborder="36" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmd_dept_onitemchanged" position="absolute 87 36 235 56" anchor="default"/>
- <Static id="Static03" text="전문의 :" class="search_name" position="absolute 254 36 314 56" anchor="default"/>
- <Combo id="cmd_orddr" taborder="37" innerdataset="@ds_init_orddr" codecolumn="userid" datacolumn="usernm" position="absolute 317 36 393 56" anchor="default"/>
- <Button id="btn_search" taborder="38" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick" class="btn1" position="absolute 732 22 784 42" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 716 22 722 42" anchor="top right"/>
- <CheckBox id="chk_in_schedule" taborder="39" text="입원예정자조회" value="N" truevalue="Y" falsevalue="N" position="absolute 601 23 709 43" anchor="default" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_chk_in_schedule_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patlist_in" taborder="13" binddataset="ds_grd_ipatmngt" useinputpanel="false" selecttype="multirow" autofittype="col" cellclickbound="cell" onlbuttonup="grd_patlist_onlbuttonup" position="absolute 0 67 755 419" anchor="default" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_in_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="24"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="26"/>
- <Column size="26"/>
- <Column size="92"/>
- <Column size="38"/>
- <Column size="140"/>
- <Column size="58"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="입원일자"/>
- <Cell col="5" colspan="2" text="재원상태" taborder="undefined"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="S/A"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="전문의"/>
- <Cell col="11" text="휴대전화번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:roomcd"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" displaytype="date" text="bind:indd"/>
- <Cell col="5" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff,1 solid #b0b0b0ff,1 solid #b0b0b0ff;" text="bind:chngroomstat"/>
- <Cell col="6" text="bind:indschstat"/>
- <Cell col="7" text="bind:hngnm"/>
- <Cell col="8" text="bind:sexage"/>
- <Cell col="9" displaytype="text" style="padding:0 0 0 4;" text="bind:orddeptnm"/>
- <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:orddrid" combodataset="ds_init_orddr_all" combocodecol="userid" combodatacol="usernm"/>
- <Cell col="11" text="bind:mpphontel" mask="expr:fGetPhoneNumMask(mpphontel)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_patlist_insche" taborder="14" useinputpanel="false" position="absolute 0 67 805 419" binddataset="ds_grd_inreqhistlist" visible="false" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_onlbuttonup" selecttype="multirow" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="24" band="left"/>
- <Column size="40" band="left"/>
- <Column size="50" band="left"/>
- <Column size="60" band="left"/>
- <Column size="50" band="left"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="24"/>
- <Column size="170"/>
- <Column size="70"/>
- <Column size="152"/>
- <Column size="160"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="50"/>
- <Column size="160"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="입원상태"/>
- <Cell col="4" text="환자번호"/>
- <Cell col="5" text="성명"/>
- <Cell col="6" text="S/A"/>
- <Cell col="7" text="결정일시"/>
- <Cell col="8" text="입원예정일"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="전문의"/>
- <Cell col="11" text="휴대전화번호"/>
- <Cell col="12" text="협진팀명"/>
- <Cell col="13" text="입원경로"/>
- <Cell col="14" text="CP"/>
- <Cell col="15" text="진단명"/>
- <Cell col="16" text="수술예정일"/>
- <Cell col="17" text="수술명"/>
- <Cell col="18" text="의료진참고사항"/>
- <Cell col="19" text="병동"/>
- <Cell col="20" text="병실"/>
- <Cell col="21" text="병상"/>
- <Cell col="22" text="원무참고사항"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:inrsrvstat"/>
- <Cell col="3" text="bind:inflag"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:dispnm2"/>
- <Cell col="6" text="bind:sa"/>
- <Cell col="7" text="bind:assgdt" mask="expr:utlf_isNull(assgdt) ? "" : "####-##-## ##:##""/>
- <Cell col="8" displaytype="date" text="bind:inrsrvacptdd"/>
- <Cell col="9" text="bind:orddeptcd"/>
- <Cell col="10" text="bind:usernm"/>
- <Cell col="11" text="bind:mpphontel"/>
- <Cell col="12" text="bind:coopteam"/>
- <Cell col="13" text="bind:erreglyn"/>
- <Cell col="14" text="bind:cpyn"/>
- <Cell col="15" displaytype="text" text="bind:termengnm"/>
- <Cell col="16" text="bind:scheopdd"/>
- <Cell col="17" text="bind:opengnm"/>
- <Cell col="18" displaytype="text" text="bind:drrem"/>
- <Cell col="19" text="bind:assgwardnm"/>
- <Cell col="20" text="bind:assgroom"/>
- <Cell col="21" text="bind:assgbednm"/>
- <Cell col="22" displaytype="text" text="bind:inrsrvrem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_exam" text="건진">
- <Layouts>
- <Layout>
- <Div id="div_search_exam" taborder="0" class="div_SA2" position="absolute 0 0 805 38" onkeydown="div_patinfo_div_patlist_tabPatList_tab_exam_div_search_exam_onkeydown">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 716 8 722 28" anchor="top right"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 732 8 784 28" onclick="div_patinfo_div_patlist_tabPatList_tab_exam_div_search_exam_btn_search_onclick"/>
- <Static id="stc_rsrvdd" text="예약일자 :" class="search_name" position="absolute 10 10 83 30"/>
- <Calendar id="cal_hopedd" taborder="0" autoselect="true" position="absolute 87 10 188 30" onchanged="div_patinfo_div_patlist_tabPatList_tab_exam_div_search_exam_cal_hopedd_onchanged"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_exam_list" taborder="1" binddataset="ds_examlist" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 39 805 419" onmousemove="div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onmousemove" onmouseleave="div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onmouseleave" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_oncelldblclick" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onlbuttonup" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="24"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="162"/>
- <Column size="95"/>
- <Column size="100"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="환자번호"/>
- <Cell col="4" text="위검사"/>
- <Cell col="5" text="패키지명"/>
- <Cell col="6" text="연락처"/>
- <Cell col="7" text="주민등록번호"/>
- <Cell col="8" text="성별" taborder="undefined"/>
- <Cell col="9" text="나이" taborder="undefined"/>
- <Cell col="10" text="사업체명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" displaytype="combo" style="align:center;" text="bind:choiflag" combodataset="ds_A0116" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" style="align:left;" text="bind:pkgnm"/>
- <Cell col="6" text="expr:utlf_isNull(mpphontel) || utlf_getLengB(mpphontel) < 7 ? telno : mpphontel"/>
- <Cell col="7" text="bind:rgstno"/>
- <Cell col="8" text="bind:sex"/>
- <Cell col="9" text="bind:age"/>
- <Cell col="10" style="align:left;" text="bind:cmpynm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_search" text="검색">
- <Layouts>
- <Layout>
- <Div id="div_search" taborder="0" position="absolute 0 0 805 38" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="Static00" text="검색조건" position="absolute 12 9 76 29" class="search_name" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 716 8 722 28" anchor="top right"/>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 732 8 784 28" anchor="default" onclick="div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick"/>
- <Edit id="edt_hngnm" taborder="1" position="absolute 284 8 368 28" visible="false" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_hngnm_onkeydown" imemode="hangul"/>
- <Edit id="edt_rrgstno1" taborder="2" position="absolute 372 8 472 28" visible="false" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno1_onkeydown" inputtype="number,digit" maxlength="6"/>
- <Edit id="edt_rrgstno2" taborder="4" position="absolute 474 8 574 28" visible="false" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno2_onkeydown" maxlength="7"/>
- <Edit id="edt_pid" taborder="0" position="absolute 284 8 368 28" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_pid_onkeydown"/>
- <Radio id="rdo_searchcond" taborder="5" columncount="-1" rowcount="-1" position="absolute 84 9 278 29" codecolumn="codecolumn" datacolumn="datacolumn" style="textpadding:0 8 0 3;" value="1" index="0" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_search_div_search_rdo_searchcond_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">환자명/주민번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_pat_search" taborder="1" useinputpanel="false" position="absolute 0 39 805 419" binddataset="ds_patinfolist" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_onlbuttonup" autofittype="col" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="24"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="167"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="성별" taborder="undefined"/>
- <Cell col="5" text="나이" taborder="undefined"/>
- <Cell col="6" text="생년월일"/>
- <Cell col="7" text="휴대전화번호"/>
- <Cell col="8" text="연락처"/>
- <Cell col="9" text="주소"/>
- <Cell col="10" text="상세주소"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" text="bind:rrgstno1"/>
- <Cell col="7" text="bind:mpphontel"/>
- <Cell col="8" text="bind:hometel"/>
- <Cell col="9" displaytype="text" text="bind:addr"/>
- <Cell col="10" displaytype="text" text="bind:detladdr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="Static00" text="※ 최대 50명까지만 추가 가능합니다." position="absolute 440 10 648 30" style="color:red;" anchor="default"/>
- <Button id="btn_addlist" taborder="29" text="수신자리스트 추가" onclick="div_patinfo_div_patlist_btn_addlist_onclick" class="btn5" visible="false" position="absolute 306 10 422 30" tooltiptext="수신자리스트에 체크한 행 모두 추가" anchor="default"/>
- <Button id="btn_add" taborder="30" text="행추가" onclick="div_patinfo_div_patlist_btn_add_onclick" class="btn5" position="absolute 359 10 411 30" tooltiptext="행 추가" anchor="default"/>
- <Button id="btn_delete" taborder="31" text="행삭제" onclick="div_patinfo_div_patlist_btn_delete_onclick" class="btn5" position="absolute 306 10 358 30" tooltiptext="체크한 행 모두 삭제" anchor="default"/>
- <Button id="btn_highlight" taborder="32" visible="false" position="absolute 7 7 105 33" style="background:yellow;border:2 double black black;color:black;bordertype:round 2 2 lefttop righttop;" text="수신자리스트" transparenthittest="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_close_light" taborder="31" text="확대보기(F2)" onclick="div_patinfo_btn_close_light_onclick" class="btn2" position="absolute 697 11 784 31" tooltiptext="환자리스트를 반만 닫습니다" hotkey="F2" anchor="default"/>
- <Button id="btn_close" taborder="32" text="닫기(F1)" onclick="div_patinfo_btn_close_onclick" class="btn2" position="absolute 786 11 850 31" tooltiptext="환자리스트 닫기" hotkey="F1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_sender" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hospnm" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="sendernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hospnm"/>
- <Col id="sendernm"/>
- <Col id="deptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hichartlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hichartsendlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="privatehosp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_M0770" 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_M0771" 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_pat_sendlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256"/>
- <Column id="mpphone" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="rel" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="success" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_receiver" 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="orddeptnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="orddeptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_in" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="wardlistopt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddd"/>
- <Col id="wardcd"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="wardlistopt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ipatmngt" enableevent="true" updatecontrol="true">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="0"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="smsyn" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="chngroomstat" type="STRING" size="256"/>
- <Column id="indschstat" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="prcpdt" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_opatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256" sumtext="접수구분"/>
- <Column id="prcsflag" type="STRING" size="256" sumtext="진행상태구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="S/A"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초/재"/>
- <Column id="calcyn" type="STRING" size="256" sumtext="수납"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="nryn" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="telrsrvrem" type="STRING" size="256" sumtext="Remark"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="fstacptdd" type="STRING" size="256" sumtext="최초접수일"/>
- <Column id="nursacptyn" type="STRING" size="256" sumtext="간호사접수여부"/>
- <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발행여부"/>
- <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태여부"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="외래/입원구분"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
- <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
- <Column id="smsyn" type="STRING" size="256" sumtext="전송여부"/>
- <Column id="cntctel" type="STRING" size="256" sumtext="부서전화번호"/>
- <Column id="remfact" type="STRING" size="256" sumtext="진료예약Remark"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사ID"/>
- <Column id="ampmflag" type="STRING" size="256" sumtext="오전오후"/>
- <Column id="ordclsdeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- <Column id="supdeptcd" type="STRING" size="256" sumtext="상위진료과코드"/>
- <Column id="prcpspecflag" type="STRING" size="256" sumtext="진료의구분"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ampmflag">D</Col>
- <Col id="prcpspecflag">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userdepthngnm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddr_all" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <PropertyAnimation id="pa_patinfo_move" endingmode="to" repeat="1" repeattype="normal" duration="300" starttime="0" targetcomp="div_patinfo" targetprop="position.x" interpolation="Interpolation.curve4InOut"/>
- <Dataset id="ds_result_hichart_sendhistory" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" keystring="S:-senddate+contentsnm">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="jobkind" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="senddate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hichartnewlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_result_hichart_sendhistory_internal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="groupnum" type="STRING" size="256"/>
- <Column id="lvl" type="STRING" size="256"/>
- <Column id="vodlist" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="senddate" type="STRING" size="256"/>
- <Column id="result" type="STRING" size="256"/>
- <Column id="reservetime" type="STRING" size="256"/>
- <Column id="receiver" type="STRING" size="256"/>
- <Column id="scomment" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="rnum" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_inreqhistlist" firenextcount="0" firefirstcount="0">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256"/>
- <Column id="inrsrvstat" type="STRING"/>
- <Column id="inflag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="dispnm2" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="assgdt" type="STRING"/>
- <Column id="inrsrvacptdd" type="STRING"/>
- <Column id="inrsrvacpttm" type="STRING"/>
- <Column id="inhopedd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="coopteam" type="STRING"/>
- <Column id="erreglyn" type="STRING"/>
- <Column id="cpyn" type="STRING"/>
- <Column id="termengnm" type="STRING"/>
- <Column id="scheopdd" type="STRING"/>
- <Column id="opengnm" type="STRING"/>
- <Column id="drrem" type="STRING"/>
- <Column id="assgwardnm" type="STRING"/>
- <Column id="assgroom" type="STRING"/>
- <Column id="assgbed" type="STRING" size="0"/>
- <Column id="assgbednm" type="STRING" size="0"/>
- <Column id="inrsrvrem" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="patgrade" type="STRING"/>
- <Column id="bedkind" type="STRING"/>
- <Column id="inrsrvcnclresnnm" type="STRING"/>
- <Column id="inrsrvcnclresnrem" type="STRING"/>
- <Column id="inddtm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_in_schedule" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="assgward" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="erreglyn" type="STRING" size="256"/>
- <Column id="inflag" type="STRING" size="256"/>
- <Column id="statflag" type="STRING" size="256"/>
- <Column id="bedkind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
- <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
- <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
- <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
- <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
- <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
- <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
- <Column id="nati" type="STRING" size="256" sumtext="국적"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
- <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
- <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
- <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
- <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
- <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
- <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
- <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
- <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
- <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
- <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
- <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
- <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
- <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
- <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
- <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
- <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
- <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
- <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
- <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
- <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
- <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
- <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_privatelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_addresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_addfaillist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_privatelist_del" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_deptlist_del" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hichartsavelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_search_single" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="privatehosp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hichartlist_single" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="gubuncd" type="STRING" size="256"/>
- <Column id="subgubuncd" type="STRING" size="256"/>
- <Column id="contentscd" type="STRING" size="256"/>
- <Column id="contentsnm" type="STRING" size="256"/>
- <Column id="viewingtime" type="STRING" size="256"/>
- <Column id="privatehospcd" type="STRING" size="256"/>
- <Column id="regdt" type="STRING" size="256"/>
- <Column id="updatedt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sortlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_examlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptyn" type="STRING" size="256" sumtext="선택"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="cmpynm" type="STRING" size="256" sumtext="사업체명"/>
- <Column id="hopedd" type="STRING" size="256" sumtext="예약일자(건진)"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
- <Column id="statflag" type="STRING" size="256" sumtext="예약상태"/>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세분류"/>
- <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
- <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
- <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="rgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="choiflag" type="STRING" size="256" sumtext="위검사"/>
- <Column id="testcd" type="STRING" size="256" sumtext="선택추가검사코드"/>
- <Column id="testnm" type="STRING" size="256" sumtext="선택추가검사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_A0116" 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_send_exam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item4" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cal_workdd" propid="value" datasetid="ds_send_in" columnid="orddd"/>
- <BindItem id="item5" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmb_ward" propid="value" datasetid="ds_send_in" columnid="wardcd"/>
- <BindItem id="item6" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_dept" propid="value" datasetid="ds_send_in" columnid="orddeptcd"/>
- <BindItem id="item7" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr" propid="value" datasetid="ds_send_in" columnid="orddrid"/>
- <BindItem id="item8" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cal_orddd" propid="value" datasetid="ds_send_out" columnid="orddd"/>
- <BindItem id="item9" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_dept" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
- <BindItem id="item10" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr" propid="value" datasetid="ds_send_out" columnid="orddrid"/>
- <BindItem id="item11" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio00" propid="value" datasetid="ds_send_out" columnid="prcpspecflag"/>
- <BindItem id="item12" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio01" propid="value" datasetid="ds_send_out" columnid="ampmflag"/>
- <BindItem id="item1" compid="tabMain.tab_search.div_search.edt_contentscd" propid="value" datasetid="ds_search" columnid="contentscd"/>
- <BindItem id="item0" compid="tabMain.tab_search.div_search.edt_contentsnm" propid="value" datasetid="ds_search" columnid="contentsnm"/>
- <BindItem id="item2" compid="tabMain.tab_search.div_search.cmb_sup" propid="value" datasetid="ds_search" columnid="gubuncd"/>
- <BindItem id="item3" compid="tabMain.tab_search.div_search.cmb_sub" propid="value" datasetid="ds_search" columnid="subgubuncd"/>
- <BindItem id="item13" compid="tabMain.tab_search.div_search.chk_privatehosp" propid="value" datasetid="ds_search" columnid="privatehosp"/>
- <BindItem id="item14" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid" propid="value" datasetid="ds_send_search" columnid="pid"/>
- <BindItem id="item15" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.rdo_searchcond" propid="value" datasetid="ds_send_search" columnid="srchcond"/>
- <BindItem id="item16" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno1" propid="value" datasetid="ds_send_search" columnid="rrgstno1"/>
- <BindItem id="item17" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno2" propid="value" datasetid="ds_send_search" columnid="rrgstno2"/>
- <BindItem id="item18" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_hngnm" propid="value" datasetid="ds_send_search" columnid="hngnm"/>
- <BindItem id="item19" compid="div_patinfo.div_patlist.tabPatList.tab_exam.div_search_exam.cal_hopedd" propid="value" datasetid="ds_send_exam" columnid="hopedd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- var sSelectedContentsCD = "";
- var sSelectedPrivateHospCD = "";
- var CURR_ROW = "";
- function SPZMH00100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
-
- obj.parent.style.background = "white";
-
- // 개인목록
- grdf_initGrid(tabMain.tab_private.grd_hichartlist);
-
- // 과별목록
- grdf_initGrid(tabMain.tab_dept.grd_hichartlist);
-
- // 검색
- grdf_initGrid(tabMain.tab_search.grd_hichartlist);
-
- // 발송이력 (환자)
- grdf_initGrid(tabMain.tab_history.grd_sendhistory);
-
- // 발송이력 (사용자)
- //grdf_initGrid(tabMain.tab_history.grd_sendhistory_internal);
-
- // 환자리스트 (기본)
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_sendlist.grd_sendlist);
-
- // 환자리스트 (외래)
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_out.grd_patlist_out);
-
- // 환자리스트 (입원)
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_in.grd_patlist_in);
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_in.grd_patlist_insche); // 입원예정자 리스트
-
- // 환자리스트 (검색)
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_search.grd_pat_search);
-
- // 환자리스트 (건진)
- grdf_initGrid(div_patinfo.div_patlist.tabPatList.tab_exam.grd_exam_list);
- }
- function SPZMH00100_onload(obj:Form, e:LoadEventInfo)
- {
- var curDate = utlf_getCurrentDateTime();
- tabMain.removeTabpage(4); // 묶음 처방 개발 되면 제거
-
- grdf_setToolTipBind(tabMain.tab_private.grd_hichartlist);
- grdf_setToolTipBind(tabMain.tab_dept.grd_hichartlist);
- grdf_setToolTipBind(tabMain.tab_search.grd_hichartlist);
- grdf_setToolTipBind(tabMain.tab_history.grd_sendhistory);
- grdf_setToolTipBind(tabMain.tab_history.grd_sendhistory_internal);
- grdf_setToolTipBind(div_patinfo.div_patlist.tabPatList.tab_sendlist.grd_sendlist);
- grdf_setToolTipBind(div_patinfo.div_patlist.tabPatList.tab_out.grd_patlist_out);
- grdf_setToolTipBind(div_patinfo.div_patlist.tabPatList.tab_in.grd_patlist_in);
- grdf_setToolTipBind(div_patinfo.div_patlist.tabPatList.tab_in.grd_patlist_insche);
- grdf_setToolTipBind(div_patinfo.div_patlist.tabPatList.tab_search.grd_pat_search);
-
- // 과별목록 권한별 활성화 설정 (부장, 과장, 팀장, 의사(교수), 수간호사, 의료정보과는 가능)
- var userid = sysf_getUserId();
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- var jobposnm = sysf_getUserInfo("jobposnm");
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var bEnableAddDept = false;
-
- if(!utlf_isNull(jobposnm)) {
- if(jobposnm.indexOf("실장") > -1 || jobposnm.indexOf("센터장") > -1
- || jobposnm.indexOf("부장") > -1 || jobposnm.indexOf("과장") > -1 || jobposnm.indexOf("팀장") > -1
- || jobposnm == "교수" || jobposnm == "수간호사") {
- bEnableAddDept = true;
- }
- }
-
- if(dutplcecd == "4130100000" || dutplcecd == "4130116000"
- || dutplcecd == "3320100000" // 칠곡 의료질관리팀
- || userid == "ENR" || userid == "EMR" || userid == "PAM" || userid == "COM" || userid == "AST" || userid == "LIS") {
- bEnableAddDept = true;
- btn_contents_add.visible = true; // 컨텐츠 추가 화면 팝업
- }
-
- btn_add_dept_all.enable = bEnableAddDept;
- div_thumbnail.btn_add_dept.enable = bEnableAddDept;
- div_thumbnail.btn_del_dept.enable = bEnableAddDept;
-
- ds_sender.setColumn(0, "hospnm", sysf_getUserInfo("dutplceinstnm"));
- ds_sender.setColumn(0, "deptnm", sysf_getUserInfo("dutplcenm"));
- ds_sender.setColumn(0, "sendernm", sysf_getUserName());
-
- // 처방 발행 후 자동 창 닫기 설정
- var hiChartAutoCloseYN = application.getPrivateProfile("gv_HiChartAutoClose");
- if(utlf_isNull(hiChartAutoCloseYN)) {
- application.setPrivateProfile("gv_HiChartAutoClose", "N");
- hiChartAutoCloseYN = "N";
- }
- chk_autoclose.value = hiChartAutoCloseYN;
-
- // 설명처방 대분류 코드 조회
- appf_getCodeList([{dsNm: "ds_M0770", cdGrpId: "M0770", sortField: "dispseq", sortMehotd: "asc"}]);
-
- fGetCategoryInfo();
-
- // 부서코드 조회 (발송이력)
- var oParam = {};
- oParam.id = "TRZMH00000";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetHiChartDeptInfo";
- oParam.outds = "ds_orddept=deptinfo";
- oParam.async = true;
- tranf_submit(oParam);
-
- this.setTimer(0, 10);
-
- // 개인목록 조회
- fGetHiChartPrivateContents();
-
- // 발송이력 날짜 초기화
- tabMain.tab_history.div_search.cp_monthCal.setIsNull();
- tabMain.tab_history.div_search.cp_monthCal.setData("");
-
- // 설명처방 전용 모드 일 때는 환자 검색 기능, 상단 환자 정보 표시 기능 제거
- var isSingle = false;
- try {
- isSingle = (gv_isSingleYN == "Y");
- } catch(e) {}
-
- if(isSingle) {
- div_patinfo.div_patlist.tabPatList.removeTabpage(3);
- div_patinfo.div_patlist.tabPatList.removeTabpage(2);
- div_patinfo.div_patlist.tabPatList.removeTabpage(1);
-
- Grid01.visible = false;
- btn_pat_clear.visible = false;
- }
-
- // 위검사 코드 조회
- appf_getCodeList([{dsNm: "ds_A0116", cdGrpId: "A0116", sortField: "dispseq", sortMehotd: "asc"}]);
- }
- function SPZMH00100_ontimer(obj:Form, e:TimerEventInfo)
- {
- if(e.timerid == 0) { // 환자 데이터 조회
- killTimer(e.timerid);
-
- fInitPatInfo();
- } else if(e.timerid == 1) { // 영상보기 버튼 눌렀을 때 이미지 회전 처리
- killTimer(e.timerid);
-
- div_thumbnail.btn_play.text = "이미지보기";
- div_thumbnail.btn_play.position.width = 77;
-
- div_thumbnail.div_video.visible = true;
-
- var objImg = div_thumbnail.div_video.wb_contentsplay.saveToImageObject();
- div_thumbnail.iv_video.image = "";
- div_thumbnail.iv_video.image = objImg;
-
- div_thumbnail.iv_thumbnail.visible = false;
- div_thumbnail.iv_video.visible = true;
- div_thumbnail.div_video.visible = false;
-
- setTimer(3, 500);
- } else if(e.timerid == 2) {
- div_patinfo.div_patlist.btn_highlight.visible = !div_patinfo.div_patlist.btn_highlight.visible;
- } else if(e.timerid == 3) { // 영상보기 버튼 눌렀을 때 마지막 처리
- killTimer(e.timerid);
-
- div_thumbnail.div_video.visible = true;
- div_thumbnail.iv_video.image = "";
-
- isSwitching = false;
- } else if(e.timerid == 4) { // 그리드에서 셀 클릭할때 썸네일보기로 전환
- killTimer(e.timerid);
-
- fViewThumbnail();
-
- if(sOpenState != "C") {
- sOpenState = "H";
- div_patinfo.btn_close.click();
- }
- }
- }
- function fGetHiChartPrivateContents(isTabClick) {
- var oParam = {};
- oParam.id = "TRZMH00401";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetPrivateList";
- oParam.outds = "ds_privatelist=result";
- oParam.async = (isTabClick) ? true : false; // 최초 실행시에는 동기, 탭 클릭시에는 비동기
- oParam.callback = (isTabClick) ? "cf_TRZMH00401_1" : "cf_TRZMH00401";
- tranf_submit(oParam);
- }
- function cf_TRZMH00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_privatelist.rowposition = -1;
-
- // 최초 실행시 개인목록이 없으면 검색탭이 바로 열리도록 함
- if(ds_privatelist.rowcount < 1) {
- tabMain.tabindex = 3;
- }
- }
- function cf_TRZMH00401_1(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_privatelist.rowposition = -1;
- }
- function fGetHiChartDeptContents() {
- var oParam = {};
- oParam.id = "TRZMH00601";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetDeptList";
- oParam.outds = "ds_deptlist=result";
- oParam.async = true;
- oParam.callback = "cf_TRZMH00601";
- tranf_submit(oParam);
- }
- function cf_TRZMH00601(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_deptlist.rowposition = -1;
- }
- function fGetHiChartNewContents() {
- var oParam = {};
- oParam.id = "TRZMH00500";
- oParam.service = "hichartapp.HichartListMngt";
- oParam.method = "reqGetHichartNewList";
- oParam.outds = "ds_hichartnewlist=result";
- oParam.async = true;
- oParam.callback = "cf_TRZMH00500";
- tranf_submit(oParam);
- }
- function cf_TRZMH00500(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_hichartnewlist.rowposition = -1;
- }
- function grd_hichartlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(isSwitching || e.row < 0 || e.col < 0) return;
-
- var oDs = this.objects[obj.binddataset];
- var edittype = obj.getCellProperty("body", e.cell, "edittype");
-
- // 처방 버튼 누를 때는 처리 안함
- if(edittype == "button") return;
- // 트리 버튼 누를 때는 처리 안함
- if(edittype == "tree" && e.clickitem == "treebutton") return;
-
- // 발송이력 사용자 조회 리스트에선 트리 구조이며 contentscd가 '->' 인건 처리 안함
- if(oDs.name == "ds_result_hichart_sendhistory_internal") {
- if(oDs.getColumn(e.row, "contentscd") == "->") return;
- }
-
- div_thumbnail.iv_thumbnail.resampling = true;
- div_thumbnail.iv_thumbnail.stretch = "fixaspectratio";
-
- var contentscd = oDs.getColumn(e.row, "contentscd");
- var thumUrl = "";
-
- try {
- thumUrl = appf_getHiChartContentsURL(contentscd);
- } catch(e) {
- }
-
- if(!utlf_isNull(thumUrl)) {
- div_thumbnail.iv_thumbnail.image = thumUrl;
- } else {
- try {
- // 기본적으로 jpg 이미지이나 종종 png 파일이 있음
- var path = "";
- if(oDs.getColumn(e.row, "privatehospcd") == "Y") {
- if(oDs.getColumn(e.row, "instcd") == "032") {
- path = "T00039998";
- } else {
- path = "T00000018";
- }
- } else {
- path = "T00000000";
- }
-
- var fordernm = contentscd.substr(0, 1);
- if(fordernm == "g" || fordernm == "l") fordernm = "z";
-
- path = path + "/Thum/" + fordernm + "/";
- var imageUrl = "URL('https://hichart.knuh.kr/Uploads/VODHospital/" + path + contentscd + ".jpg')";
-
- var imgObj = new Image();
- imgObj.loadImage(imageUrl);
-
- if(imgObj.height > 0){
- div_thumbnail.iv_thumbnail.image = imageUrl;
- } else {
- imageUrl = "URL('https://hichart.knuh.kr/Uploads/VODHospital/" + path + contentscd + ".png')";
-
- imgObj.loadImage(imageUrl);
-
- if(imgObj.height > 0){
- div_thumbnail.iv_thumbnail.image = imageUrl;
- } else {
- imageUrl = "URL('https://hichart.knuh.kr/Uploads/VODThum/" + contentscd + ".jpg')";
-
- imgObj.loadImage(imageUrl);
-
- if(imgObj.height > 0){
- div_thumbnail.iv_thumbnail.image = imageUrl;
- }else{
- imageUrl = "URL('https://hichart.knuh.kr/Uploads/VODThum/" + contentscd + ".png')";
-
- div_thumbnail.iv_thumbnail.image = imageUrl;
- }
- }
- }
-
- trace("imageUrl : " + imageUrl);
- } catch(e) {
- }
- }
- div_thumbnail.stt_title.text = oDs.getColumn(e.row, "contentsnm");
- div_thumbnail.medt_time.value = oDs.getColumn(e.row, "viewingtime");
- sSelectedContentsCD = contentscd;
-
- // 발송이력 테이블에는 privatehospcd 정보가 없기 때문에 실시간으로 콘텐츠리스트 테이블에서 정보를 조회하여 사용한다.
- if(utlf_isNull(oDs.getColumnInfo("privatehospcd")) || utlf_isNull(oDs.getColumn(e.row, "privatehospcd"))) {
- oDs.addColumn("privatehospcd", "string");
-
- ds_search_single.setColumn(0, "contentscd", contentscd);
-
- var oParam = {};
- oParam.id = "TRZMH00100";
- oParam.service = "hichartapp.HichartListMngt";
- oParam.method = "reqGetHichartList";
- oParam.inds = "req=ds_search_single";
- oParam.outds = "ds_hichartlist_single=result";
- oParam.async = false;
- tranf_submit(oParam);
-
- oDs.setColumn(e.row, "privatehospcd", ds_hichartlist_single.getColumn(0, "privatehospcd"));
- }
-
- sSelectedPrivateHospCD = oDs.getColumn(e.row, "privatehospcd");
-
- div_thumbnail.stt_title_default.visible = false;
-
- if(oDs.name == "ds_privatelist") {
- div_thumbnail.btn_add_private.visible = false;
- div_thumbnail.btn_del_private.visible = true;
- div_thumbnail.btn_add_dept.visible = false;
- div_thumbnail.btn_del_dept.visible = false;
- } else if(oDs.name == "ds_deptlist") {
- div_thumbnail.btn_add_private.visible = false;
- div_thumbnail.btn_del_private.visible = false;
- div_thumbnail.btn_add_dept.visible = false;
- div_thumbnail.btn_del_dept.visible = true;
- } else {
- div_thumbnail.btn_add_private.visible = true;
- div_thumbnail.btn_del_private.visible = false;
- div_thumbnail.btn_add_dept.visible = true;
- div_thumbnail.btn_del_dept.visible = false;
- }
-
- setTimer(4, 100); // 썸네일 처리
- }
- function div_video_wb_contentsplay_onloadcompleted(obj:WebBrowser, e:WebLoadCompEventInfo)
- {
- if(utlf_isNull(sSelectedContentsCD) || e.url == "about:blank") {
- isSwitching = false;
- return;
- }
-
- var objDom = obj.document.body;
- objDom.style.border = 0; //border 안보이게 처리
- objDom.scroll = "auto"; //scrollbar는 필요할 때만 나오도록
-
- // 전환 애니메이션을 부드럽게 하기 위해 타이머 사용
- setTimer(1, 500);
- }
- function fPlay() {
- if(utlf_isNull(sSelectedContentsCD)) {
- isSwitching = false;
- return;
- }
-
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- var ykiho = (dutplceinstcd == "032") ? "37100467" : "37100017";
- var key = (dutplceinstcd == "032") ? "e285dd1eb61d4949b8bde02a936d9cf8" : "1b9bed0d8cd9439d88aa8dc273f30551";
-
- div_thumbnail.div_video.wb_contentsplay.url = "https://hichart.knuh.kr/controls/mhiView/Popupview3.aspx?"
- + "e=" + ykiho + "&v=" + sSelectedContentsCD + "&mm=384&mi=312&mode=1&loop=OFF&key=" + key;
- }
- function tabMain_tab_search_div_search_edt_contentsnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_search.click();
- }
- }
- function tabMain_tab_search_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRZMH00100";
- oParam.service = "hichartapp.HichartListMngt";
- oParam.method = "reqGetHichartList";
- oParam.inds = "req=ds_search";
- oParam.outds = "ds_hichartlist=result";
- oParam.async = true;
- oParam.callback = "cf_TRZMH00100";
- tranf_submit(oParam);
- }
- function cf_TRZMH00100(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_hichartlist.rowposition = -1;
- }
- var isSwitching = false;
- function div_thumbnail_btn_play_onclick(obj:Button, e:ClickEventInfo)
- {
- if(isSwitching) return;
-
- isSwitching = true;
-
- if(obj.text == "영상보기") {
- fPlay();
- } else { // 이미지보기
- fViewThumbnail();
- }
- }
- function div_thumbnail_btn_play_popup_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function grd_hichartlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- var oDs = this.objects[obj.binddataset];
-
- if((e.col == 3 && oDs.name != "ds_hichartnewlist") || e.col == 4) {
- // 이미 등록되어 있는지 체크
- var oDs = this.objects[obj.binddataset];
-
- if(ds_hichartsendlist.findRow("contentscd", oDs.getColumn(e.row, "contentscd")) >= 0) {
- sysf_messageBox("이미 설명처방 목록에 등록된 콘텐츠 입니다.", "E");
- return;
- }
-
- var row = ds_hichartsendlist.addRow();
- ds_hichartsendlist.copyRow(row, oDs, e.row);
- }
- }
- function grd_sendlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 3) {
- ds_hichartsendlist.deleteRow(e.row);
- }
- }
- function fGetCategoryInfo() {
- var oParam = {};
- oParam.id = "TRZMH00200";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetHiChartCategoryInfo";
- oParam.outds = "ds_M0771=categoryinfo";
- oParam.async = true;
- oParam.callback = "cf_TRZMH00200";
- tranf_submit(oParam);
- }
- function cf_TRZMH00200(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- frmf_addComboItem("tabMain.tab_search.div_search.cmb_sup", "전체", "");
-
- ds_M0771.insertRow(0);
- ds_M0771.setColumn(0, "cdid", "");
- ds_M0771.setColumn(0, "cdnm", "성격에 맞는 카테고리를 선택해주세요.");
- ds_M0771.setColumn(0, "supcd", "");
- ds_M0771.setColumn(0, "dispallnm", "성격에 맞는 카테고리를 선택해주세요.");
- ds_M0771.applyChange();
-
- tabMain.tab_search.div_search.cmb_sup.index = 0;
- tabMain.tab_search.div_search.cmb_sub.index = 0;
-
- }
- function tabMain_tab_search_div_search_cmb_sup_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 전체 선택시 표시 이름 다르게
- if(e.postindex == 0) {
- tabMain.tab_search.div_search.cmb_sub.datacolumn = "dispallnm";
-
- ds_M0771.filter("");
- } else {
- tabMain.tab_search.div_search.cmb_sub.datacolumn = "cdnm";
-
- ds_M0771.filter("cdid == '' || supcd == " + obj.value);
-
- tabMain.tab_search.div_search.cmb_sub.index = 0;
- }
- }
- function chk_autoclose_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- application.setPrivateProfile("gv_HiChartAutoClose", obj.value);
- }
- function btn_send_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_hichartsendlist.rowcount == 0) {
- sysf_messageBox("설명처방 목록이 비어 있습니다.\n\n확인해주세요.", "E");
- return;
- }
-
- if(ds_pat_sendlist.rowcount == 0 || (ds_pat_sendlist.findRow("acptyn", 1) < 0 && ds_pat_sendlist.findRow("acptyn", true) < 0)) {
- sysf_messageBox("체크된 수신자가 없습니다.\n\n확인해주세요.", "E");
- return;
- }
- var vodlist = "";
- var receiverlist = "";
-
- // vod 리스트
- for(var i = 0; i < ds_hichartsendlist.rowcount; i++) {
- var vodcd = ds_hichartsendlist.getColumn(i, "contentscd");
-
- var separator = (i == 0) ? "" : ",";
-
- vodlist = vodlist + separator + vodcd;
- }
-
- // 예약시간 셋팅
- var reservetime = "";
- if(chk_reservation.value == "Y") {
- var sDay = cal_reservedate.text;
- var sTime = (mk_time.text).getTrim();
-
- if(!utlf_isNull(sDay) && (!utlf_isNull(sTime) && sTime != ":")) {
- var day = sDay.split(" ")[0];
-
- reservetime = day + " " + sTime;
- } else {
- sysf_messageBox("예약 날짜 형식이 맞지 않습니다.\n\n확인해주세요.", "E");
- }
- }
- ds_pat_sendlist.enableevent = false;
-
- for(var i = 0; i < ds_pat_sendlist.rowcount; i++) {
- var acptyn = ds_pat_sendlist.getColumn(i, "acptyn");
-
- // 성공여부 초기화
- ds_pat_sendlist.setColumn(i, "success", "");
-
- if((acptyn == 1) || (acptyn == true)) {
- // 폰번호 숫자만 추출('-' 제거)
- var mpphone = utlf_getNumberFromString(ds_pat_sendlist.getColumn(i, "mpphone"));
- appf_sendHiChartLMS(vodlist, mpphone, ds_pat_sendlist.getColumn(i, "pid"), edt_comment.text, "cf_hichart_API", i, reservetime);
- }
- }
-
- ds_pat_sendlist.enableevent = true;
-
- var successCnt = ds_pat_sendlist.getCaseCount("success == '성공'");
- var failCnt = ds_pat_sendlist.getCaseCount("success == '실패'");
- var resrvCnt = ds_pat_sendlist.getCaseCount("success == '예약'");
-
- sysf_messageBox("설명처방을 전송하였습니다.\n\n성공 : " + successCnt + "건, 실패 : " + failCnt + "건, 예약 : " + resrvCnt + "건", "I999");
-
- // 처방 발행 후 자동 닫기 체크 되어 있으면 창 종료
- if(chk_autoclose.value == "Y") {
- this.close();
- }
- }
- function cf_hichart_API(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var status = ds_result_hichart.getColumn(0, "status");
- var rowpos = ds_result_hichart.getColumn(0, "rowpos");
-
- if(rowpos != -1)
- ds_pat_sendlist.setColumn(rowpos, "success", status);
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hichartsendlist.clearData();
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- var sOpenState = "C"; // O : open, H : half open, C : close
- function div_patinfo_btn_patinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- var rightPos = this.position.right - 35;
- if(sOpenState == "C") {
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - 533;
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - 410;
-
- this.parent.style.background = "white";
- div_dim.position.x = 1024;
- div_dim.visible = false;
-
- // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
- fViewThumbnail();
-
- sOpenState = "H";
- } else if(sOpenState == "O" || sOpenState == "H") {
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - 20;
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
-
- this.parent.style.background = "white";
- div_dim.position.x = 1024;
- div_dim.visible = false;
-
- sOpenState = "C";
- }
- }
- function fViewThumbnail() {
- div_thumbnail.stt_title_default.visible = utlf_isNull(div_thumbnail.stt_title.text) ? true : false;
-
- div_thumbnail.div_video.visible = true;
-
- var objImg = div_thumbnail.div_video.wb_contentsplay.saveToImageObject();
- div_thumbnail.iv_video.image = objImg;
-
- div_thumbnail.iv_thumbnail.visible = true;
- div_thumbnail.iv_video.visible = false;
- div_thumbnail.div_video.visible = false;
-
- if(div_thumbnail.div_video.wb_contentsplay.url != "about:blank")
- div_thumbnail.div_video.wb_contentsplay.url = "about:blank";
-
- div_thumbnail.btn_play.text = "영상보기";
- div_thumbnail.btn_play.position.width = 65;
- div_thumbnail.btn_play.enable = utlf_isNull(div_thumbnail.stt_title.text) ? false : true;
- }
- function fInitPatInfo(refresh) {
- ds_pat_sendlist.clearData();
-
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- if(dutplceinstcd == "033") {
- return;
- }
-
- var ykiho = (dutplceinstcd == "032") ? "37100467" : "37100017";
- var userid = sysf_getUserId();
- var usernm = sysf_getUserName();
- var orddeptcd = sysf_getUserInfo("dutplcecd");
- var hospitalkey = (dutplceinstcd == "032") ? "e285dd1eb61d4949b8bde02a936d9cf8" : "1b9bed0d8cd9439d88aa8dc273f30551";
- var url = "";
- var usertype = "";
-
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- if(jobkindcd == "0330") { // 의사
- usertype = "D";
- } else if(jobkindcd == "1220") { // 약사
- usertype = "E";
- } else if(jobkindcd == "1140") { // 간호사
- usertype = "F";
- // } else if(jobkindcd == "9951") { // 간호조무사 (일단 기타로 처리)
- // usertype = "G";
- } else if(jobkindcd == "7020") { // 임상기사
- usertype = "H";
- } else { // 기타
- usertype = "I";
- }
-
- var pamInfoCvs = sysf_getGlobalVariable("paminfo");
- dsf_setCSVToDs ("ds_hichartinfo", pamInfoCvs); //상단화면 정보 초기화
- // 주소 : hichart.knuh.kr (192.168.101.31, 192.168.101.32) 1호기, 2호기 이중화 되어 있음
- if(ds_hichartinfo.rowcount <= 0) {
- //url = "https://hichart.knuh.kr/Controls/Doctor/OCSEMR/default.aspx?pa=" + ykiho + "&bl=" + orddeptcd + "&kt=" + usertype
- // + "&kw=" + usernm + "&g=" + userid + "&key=" + hospitalkey;
-
- ds_receiver.setColumn(0, "pid", "");
- ds_receiver.setColumn(0, "orddeptnm", "");
- ds_receiver.setColumn(0, "hngnm", "");
-
- tabMain.tab_history.div_search.edt_pid.value = "";
- } else {
- var pid = ds_hichartinfo.getColumn(0, "pid");
- var orddeptnm = ds_hichartinfo.getColumn(0, "orddeptnm");
- var mpphontel = ds_hichartinfo.getColumn(0, "mpphontel");
- var ioflag = ds_hichartinfo.getColumn(0, "ioflag");
- var hngnm = ds_hichartinfo.getColumn(0, "hngnm");
- ds_receiver.setColumn(0, "pid", pid);
- ds_receiver.setColumn(0, "orddeptnm", orddeptnm);
- ds_receiver.setColumn(0, "hngnm", hngnm);
-
- tabMain.tab_history.div_search.edt_pid.value = pid;
-
- // 외래, 응급은 원무기본정보로 환자 휴대폰번호 셋팅
- if(ioflag != "I") {
- ds_receiver.setColumn(0, "orddeptnm", orddeptnm);
-
- //url = "https://hichart.knuh.kr/Controls/Doctor/OCSEMR/default.aspx?pa=" + ykiho + "&bl=" + orddeptcd + "&kt=" + usertype
- // + "&kw=" + usernm + "&g=" + userid + "&mi=" + mpphontel + "&c=" + pid + "&key=" + hospitalkey;
-
- fAddPatList(mpphontel, "휴대폰", "본인", pid, hngnm, 1);
- } else {
- var wardnm = ds_hichartinfo.getColumn(0, "wardnm");
-
- ds_receiver.setColumn(0, "orddeptnm", wardnm + " (" + orddeptnm + ")");
-
- // 간호초기평가 기록 조회
- var instcd = ds_hichartinfo.getColumn(0, "instcd");
- var indd = ds_hichartinfo.getColumn(0, "indd");
-
- appf_getHiChartPatPhoneInfo(instcd, pid, indd); // 조회 후 ds_result_hichart_patphoneinfo 데이터셋이 생성된다.
-
- if(ds_result_hichart_patphoneinfo.rowcount <= 0) {
- sysf_messageBox("환자정보를 조회 할 수 없어\n\n원무기본정보로 환자 휴대전화번호를 셋팅합니다.", "E");
-
- //url = "https://hichart.knuh.kr/Controls/Doctor/OCSEMR/default.aspx?pa=" + ykiho + "&bl=" + orddeptcd + "&kt=" + usertype
- // + "&kw=" + usernm + "&g=" + userid + "&mi=" + mpphontel + "&c=" + pid + "&key=" + hospitalkey;
-
- fAddPatList(mpphontel, "휴대폰", "본인", pid, hngnm, 1);
- } else {
- // 환자의 전화번호
- var patmphone = ds_result_hichart_patphoneinfo.getColumn(0, "patmphone"); // 원무 기준 환자 휴대전화번호
- var pattel = ds_result_hichart_patphoneinfo.getColumn(0, "pattel"); // 원무 기준 환자 연락처
- var patetctel1 = ds_result_hichart_patphoneinfo.getColumn(0, "patetctel1"); // 원무 기준 환자 주보호자
- //var patetcphone1 = ds_result_hichart_patphoneinfo.getColumn(0, "patetcphone1"); // 현재 사용 안함(2018.01.22)
- //var patetcphone2 = ds_result_hichart_patphoneinfo.getColumn(0, "patetcphone2"); // 현재 사용 안함(2018.01.22)
- var telflag = ds_result_hichart_patphoneinfo.getColumn(0, "telflag");
- //telflag = (utlf_isNull(telflag)) ? "" : "[" + telflag + "]"; // 본인, 보호자 입력 되어 있지 않을 경우엔 미표시
- if(utlf_isNull(telflag)) telflag = "";
-
- // 보호자의 전화번호
- var guardrelanm = ds_result_hichart_patphoneinfo.getColumn(0, "guardrelanm");
- var guardmpphone = ds_result_hichart_patphoneinfo.getColumn(0, "guardmpphone");
- //var guardtel = ds_result_hichart_patphoneinfo.getColumn(0, "guardtel");
-
- // 가져온 번호에서 숫자만 추출
- patmphone = utlf_getNumberFromString(patmphone);
- pattel = utlf_getNumberFromString(pattel);
- patetctel1 = utlf_getNumberFromString(patetctel1);
- //patetcphone1 = utlf_getNumberFromString(patetcphone1);
- //patetcphone2 = utlf_getNumberFromString(patetcphone2);
- guardmpphone = utlf_getNumberFromString(guardmpphone);
- //guardtel = utlf_getNumberFromString(guardtel);
-
- var regExp = /^01([0|1|6|7|8|9]?)-?([0-9]{3,4})-?([0-9]{4})$/;
-
- // 본원은 휴대폰(디폴트체크), 연락처, 주보호자, 간호정보 순으로 정렬
- // 칠곡은 간호정보(디폴트체크), 연락처, 휴대폰, 주보호자 순으로 정렬
- if(dutplceinstcd == "031") {
- // 환자 휴대폰 (원무 정보)
- var patmphone2 = false;
- if(patmphone != "") {
- patmphone2 = true;
-
- fAddPatList(patmphone, "휴대폰", telflag, pid, hngnm, 1);
- }
-
- // 환자 연락처 (원무 정보)
- var pattel2 = false;
- if(regExp.test(pattel)){
- var acptyn = (!patmphone2) ? 1 : 0;
- pattel2 = true;
-
- fAddPatList(pattel, "연락처", telflag, pid, hngnm, acptyn);
- }
-
- // 환자 주보호자 (원무 정보)
- var pattectel12 = false;
- if(regExp.test(patetctel1)){
- var acptyn = (!patmphone2 && !pattel2) ? 1 : 0;
- pattectel12 = true;
-
- fAddPatList(patetctel1, "주보호자", telflag, pid, hngnm, acptyn);
- }
-
- // 주보호자 (간호초기평가)
- var guardmpphone2 = false;
- if(regExp.test(guardmpphone)){
- var acptyn = (!patmphone2 && !pattel2 && !pattectel12) ? 1 : 0;
- guardmpphone2 = true;
-
- fAddPatList(guardmpphone, "간호정보", guardrelanm, pid, hngnm, acptyn);
- }
- } else {
- // 주보호자 (간호초기평가)
- var guardmpphone2 = false;
- if(regExp.test(guardmpphone)){
- guardmpphone2 = true;
-
- fAddPatList(guardmpphone, "간호정보", guardrelanm, pid, hngnm, 1);
- }
-
- // 환자 휴대폰 (원무 정보)
- var patmphone2 = false;
- if(patmphone != "") {
- var acptyn = (!guardmpphone2) ? 1 : 0;
- patmphone2 = true;
-
- fAddPatList(patmphone, "휴대폰", telflag, pid, hngnm, acptyn);
- }
-
- // 환자 연락처 (원무 정보)
- var pattel2 = false;
- if(regExp.test(pattel)){
- var acptyn = (!guardmpphone2 && !patmphone2) ? 1 : 0;
- pattel2 = true;
-
- fAddPatList(pattel, "연락처", telflag, pid, hngnm, acptyn);
- }
-
- // 환자 주보호자 (원무 정보)
- var pattectel12 = false;
- if(regExp.test(patetctel1)){
- var acptyn = (!guardmpphone2 && !pattel2 && !patmphone2) ? 1 : 0;
- pattectel12 = true;
-
- fAddPatList(patetctel1, "주보호자", telflag, pid, hngnm, acptyn);
- }
- }
- }
- }
- }
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var curDate = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- cal_reservedate.value = curDate;
-
- if(refresh) {
- if(div_patinfo.div_patlist.tabPatList.tabindex == 1) {
- // 환자리스트 외래 초기화
- ds_send_out.setColumn(0,"orddd", curDate);
-
- zsdfGetCareOutOrderDepartmentList(instcd, "ds_init_cmb_orddept", utlf_getCurrentDate());
-
- ds_send_out.setColumn(0, "orddeptcd", dutplcecd);
-
- fDeptChanged();
- } else if(div_patinfo.div_patlist.tabPatList.tabindex == 2) {
- // 환자리스트 입원 초기화
- ds_send_in.setColumn(0, "instcd", instcd);
- ds_send_in.setColumn(0, "orddd", curDate);
- ds_send_in.setColumn(0, "wardcd", dutplcecd);
-
- fDeptList();
- }
- }
-
- // 콘텐츠 내용 부분 초기화
- fInitThumbnail();
-
- // 기본으로 환자리스트 반만 열어놓기
- if(sOpenState != "H") {
- sOpenState = "C";
- div_patinfo.btn_close.click();
- }
- }
- function fAddPatList(mpphone, gubun, rel, pid, hngnm, acptyn) {
- ds_pat_sendlist.enableevent = false;
-
- var row = ds_pat_sendlist.addRow();
- ds_pat_sendlist.setColumn(row, "acptyn", acptyn);
- ds_pat_sendlist.setColumn(row, "mpphone", mpphone);
- ds_pat_sendlist.setColumn(row, "gubun", gubun);
- ds_pat_sendlist.setColumn(row, "rel", rel);
- ds_pat_sendlist.setColumn(row, "pid", pid);
- ds_pat_sendlist.setColumn(row, "hngnm", hngnm);
-
- ds_pat_sendlist.applyChange();
-
- ds_pat_sendlist.enableevent = true;
- }
- function fGetPhoneNumMask(num) {
- var result = "";
-
- if(!utlf_isNull(num)) {
- if((num.toString()).length == 10)
- result = "###-###-####";
- else
- result = "###-####-####";
- }
-
- return result;
- }
- function fDeptList(){
- //임승주 추가 19.09.24 입원 예정자 조회시 병동 전체 포함
- if(div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.chk_in_schedule.value=="Y")
- {
- ds_send_in.setColumn(0,"wardlistopt","A");
-
- }
- else
- {
- ds_send_in.setColumn(0,"wardlistopt","-");
- }
- var oParam = {};
- oParam.id = "TRMNR02501";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetWMInitData";
- oParam.inds = "reqcond=ds_send_in";
- oParam.outds = "ds_init_ward=ward ds_init_dept=dept";
- oParam.async = false;
- //oParam.callback = "cf_TRMNR02501";
- tranf_submit(oParam);
- if(!utlf_isNull(ds_init_dept.getColumn(0, "depthngnm"))){
- ds_init_dept.setColumn(0, "depthngnm", "전체");
- }
-
- div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_dept.index = 0;
-
- //2017.12.01 본원_간호간병서비스 병동(609병동) 추가
- // if(sysf_getUserInfo("dutplceinstcd") == "031") {
- // var vWardcd = "3050159000";
- // ds_init_ward.filter("wardcd=='" + vWardcd + "'");
- // }
-
- lf_mmbfGetUserComboList(ds_init_orddr_all, "", "0330", "", "", "", "", "", "Y");
-
- fInitOrddr_In("");
- }
- function div_patinfo_div_patlist_tabPatList_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) {
- div_patinfo.div_patlist.btn_delete.visible = true;
- div_patinfo.div_patlist.btn_add.visible = true;
- div_patinfo.div_patlist.btn_addlist.visible = false;
-
- killTimer(2);
- div_patinfo.div_patlist.btn_highlight.visible = false;
- } else {
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var curDate = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- if(e.postindex == 1) {
- // 환자리스트 외래 초기화
- if(utlf_isNull(ds_send_out.getColumn(0, "orddd"))) {
- ds_send_out.setColumn(0,"orddd", curDate);
-
- zsdfGetCareOutOrderDepartmentList(instcd, "ds_init_cmb_orddept", utlf_getCurrentDate());
-
- ds_send_out.setColumn(0, "orddeptcd", dutplcecd);
-
- fDeptChanged();
- }
- } else if(e.postindex == 2) {
- // 환자리스트 입원 초기화
- if(utlf_isNull(ds_send_in.getColumn(0, "instcd"))) {
- ds_send_in.setColumn(0, "instcd", instcd);
- ds_send_in.setColumn(0, "orddd", curDate);
- ds_send_in.setColumn(0, "wardcd", dutplcecd);
-
- fDeptList();
- }
- } else if(e.postindex == 3) {
- // 환자리스트 건진 초기화
- if(utlf_isNull(ds_send_exam.getColumn(0, "hopedd"))) {
- ds_send_exam.setColumn(0, "hopedd", curDate);
-
- fExamList();
- }
- }
-
- div_patinfo.div_patlist.btn_delete.visible = false;
- div_patinfo.div_patlist.btn_add.visible = false;
- div_patinfo.div_patlist.btn_addlist.visible = true;
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.parent.cmd_dept.index = 0;
-
- fInitOrddr_In("");
-
- // obj.parent.btn_search.click();
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmd_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fInitOrddr_In(e.postvalue);
-
- // obj.parent.btn_search.click();
- }
- function fInitOrddr_In(orddeptcd) {
- ds_init_orddr.clearData();
-
- // 전체 선택일 때
- lf_mmbfGetUserComboList(ds_init_orddr, orddeptcd, "0330");
-
- frmf_addComboItem("div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr", "전체", "", "above"); //의사콤보 전체항목 추가
-
- div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr.index = 0;
-
- div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.btn_search.click();
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_ipatmngt.clearData();
-
- if(obj.parent.chk_in_schedule.value == "Y") {
- var curDate = utlf_getCurrentDate();
- var year = curDate.substr(0, 4);
- var month = curDate.substr(4, 2);
- var orddd = ds_send_in.getColumn(0, "orddd");
- var wardcd = ds_send_in.getColumn(0, "wardcd");
- var orddeptcd = ds_send_in.getColumn(0, "orddeptcd");
- var orddrid = ds_send_in.getColumn(0, "orddrid");
-
- if(utlf_isNull(orddeptcd)) orddeptcd = "-";
- if(utlf_isNull(orddrid)) orddrid = "-";
-
- ds_send_in_schedule.setColumn(0, "year", year);
- ds_send_in_schedule.setColumn(0, "month", month);
- ds_send_in_schedule.setColumn(0, "orddeptcd", orddeptcd);
- ds_send_in_schedule.setColumn(0, "orddrid", orddrid);
- ds_send_in_schedule.setColumn(0, "assgward", wardcd);
- ds_send_in_schedule.setColumn(0, "pid", "");
- ds_send_in_schedule.setColumn(0, "hngnm", "");
- ds_send_in_schedule.setColumn(0, "fromdd", orddd);
- ds_send_in_schedule.setColumn(0, "todd", orddd);
- ds_send_in_schedule.setColumn(0, "erreglyn", "I");
- ds_send_in_schedule.setColumn(0, "inflag", "G");
- ds_send_in_schedule.setColumn(0, "statflag", "A");
- ds_send_in_schedule.setColumn(0, "bedkind", "-");
-
- var oParam = {};
- oParam.id = "TRMMO09001";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetInReqHistInfoList";
- oParam.inds = "req=ds_send_in_schedule";
- oParam.outds = "ds_grd_inreqhistlist=inreqhistlist";
- oParam.async = true;
- oParam.callback = "cf_TRMMO09001";
- tranf_submit(oParam);
- } else {
- var oParam = {};
- oParam.id = "TRZMH00300";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetPatSmslist";
- oParam.inds = "opatref=ds_send_in";
- oParam.outds = "ds_grd_ipatmngt=opatlist";
- oParam.async = true;
- oParam.callback = "cf_TRZMH00300";
- tranf_submit(oParam);
- }
- }
- function cf_TRMMO09001(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_grd_inreqhistlist.addColumn("acptyn", "string");
- }
- function cf_TRZMH00300(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_Radio00_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fDeptChanged();
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_opatmngt.clearData();
-
- var oParam = {};
- oParam.id = "TRMNO01100";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetPatSmsList";
- oParam.inds = "opatref=ds_send_out";
- oParam.outds = "ds_grd_opatmngt=opatlist";
- oParam.async = true;
- oParam.callback = "cf_TRMNO01100";
- tranf_submit(oParam);
- }
- function cf_TRMNO01100(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function fDeptChanged() {
- var orddeptcd = ds_send_out.getColumn(0, "orddeptcd");
- var sordclsdeptflag = ds_init_cmb_orddept.lookup("deptcd", orddeptcd,"ordclsdeptflag"); // 센터/대표/분과/서브 구분
- var sorddeptkind = ds_init_cmb_orddept.lookup("deptcd", orddeptcd,"orddeptkind"); // 센터/대표 구분
- var ssupdeptcd = ds_init_cmb_orddept.lookup("deptcd", orddeptcd,"supdeptcd"); // 상위부서코드
-
- var sorddeptflag = "";
- if (sorddeptkind == "C") { // 센터이면
- sorddeptflag = "C";
- //} else if (sorddeptkind != "C" && sordclsdeptflag == "A") { // 센터가 아니면서 분과이면
- // sorddeptflag = "A";
- } else { // 그외에 기타과
- sorddeptflag = "etc";
- }
-
-
- //ds_send.setColumn(0,"ordclsdeptflag",sorddeptflag);
- //ds_send.setColumn(0,"supdeptcd",ssupdeptcd);
-
-
- dsf_createDsRow("ds_send_req" , [
- {col: "orddeptcd", val:orddeptcd}
- ,{col: "orddd", val:ds_send_out.getColumn(0,"orddd")}
- ,{col: "ordclsdeptflag", val:sorddeptflag}
- ,{col: "supdeptcd", val:ssupdeptcd}
- ,{col: "prcpspecflag", val:ds_send_out.getColumn(0,"prcpspecflag")}
- ]);
- var oParam = {};
- oParam.id = "TRMNO00104";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetDrId";
- oParam.inds = "reqdrid=ds_send_req";
- oParam.outds = "ds_init_cmb_orddr=orddr";
- oParam.async = false;
- oParam.callback = "cf_TRMNO00104";
- tranf_submit(oParam);
- }
- function cf_TRMNO00104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_init_cmb_orddr.deleteRow(0);
- ds_init_cmb_orddr.applyChange();
-
- div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr.innerdataset = "";
- div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr.innerdataset = "ds_init_cmb_orddr";
-
- if(fCheckIOFlag() == "O") {
- var orddrid = ds_hichartinfo.getColumn(0, "orddrid");
-
- if(!utlf_isNull(orddrid) && (ds_init_cmb_orddr.findRow("userid", orddrid) > -1)) {
- ds_send_out.setColumn(0, "orddrid", orddrid);
- }
-
- div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.btn_search.click();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_dept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fDeptChanged();
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_orddr_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.parent.btn_search.click();
- }
- function div_patinfo_btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- div_patinfo.btn_patinfo.click();
- }
- function btn_hichart_onclick(obj:Button, e:ClickEventInfo)
- {
- appf_openHiChart();
- }
- function fCheckIOFlag() {
- if(ds_hichartinfo.rowcount <= 0)
- return "";
-
- var ioflag = ds_hichartinfo.getColumn(0, "ioflag");
-
- if(utlf_isNull(ioflag)) return;
-
- if(ioflag == "I")
- return "I";
- else
- return "O";
- }
- function grd_patlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col == 1) return;
-
- fSetGrdMultiSelect(obj, "acptyn");
- }
- function div_patinfo_div_patlist_btn_addlist_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddSendList();
- }
- function fAddSendList(nRow) {
- var isAdded = false;
- var oDs = "";
- var isSelected = false;
-
- if(div_patinfo.div_patlist.tabPatList.tabindex == 1) {
- oDs = ds_grd_opatmngt;
- } else if(div_patinfo.div_patlist.tabPatList.tabindex == 2) {
- if(div_patinfo.div_patlist.tabPatList.tab_in.grd_patlist_insche.visible) {
- oDs = ds_grd_inreqhistlist;
- } else {
- oDs = ds_grd_ipatmngt;
- }
- } else if(div_patinfo.div_patlist.tabPatList.tabindex == 3) {
- oDs = ds_examlist;
- } else if(div_patinfo.div_patlist.tabPatList.tabindex == 4) {
- oDs = ds_patinfolist;
- }
-
- if(oDs == "") return;
-
- var isAlone = utlf_isNull(nRow)? false : true;
-
- var selectrow = 0;
- var rowcount = 0;
-
- if(isAlone) {
- selectrow = nRow;
- rowcount = nRow + 1;
- } else {
- selectrow = 0;
- rowcount = oDs.rowcount;
- }
-
- for(var i = selectrow; i < rowcount; i++) {
- var acptyn = oDs.getColumn(i, "acptyn");
-
- if(acptyn == 1 || acptyn == true || isAlone) {
- var mpphone = utlf_getNumberFromString(oDs.getColumn(i, "mpphontel"));
-
- // 등록된 전화 번호가 없다면 처리(동일번호 중복 방지)
- if(ds_pat_sendlist.findRow("mpphone", mpphone) < 0) {
- if(ds_pat_sendlist.rowcount >= 50) {
- sysf_messageBox("최대 50명까지만 추가 할 수 있습니다.", "E");
- break;
- } else {
- //var row = ds_pat_sendlist.addRow();
- //ds_pat_sendlist.setColumn(row, "acptyn", 1);
- //ds_pat_sendlist.setColumn(row, "mpphone", mpphone);
-
- // 입원탭에서 조회시 간호정보조사에 주보호자가 있으면 그것을 사용, 없으면 원무정보 사용
- var isGuardian = false;
- if(!utlf_isNull(oDs.getColumnInfo("guardrelanm"))) {
- var guardrelanm = oDs.getColumn(i, "guardrelanm");
- if(!utlf_isNull(guardrelanm) && guardrelanm != "본인") {
- isGuardian = true;
- }
- }
-
- var gubun = "";
- var rel = "";
- var hngnm = oDs.getColumn(i, "hngnm");
-
- if(isGuardian) {
- gubun = "간호정보";
- rel = guardrelanm;
- //ds_pat_sendlist.setColumn(row, "gubun", "간호정보");
- //ds_pat_sendlist.setColumn(row, "rel", guardrelanm);
- } else {
- gubun = "휴대폰";
- rel = "본인";
- //ds_pat_sendlist.setColumn(row, "gubun", "휴대폰");
- //ds_pat_sendlist.setColumn(row, "rel", "본인 (" + oDs.getColumn(i, "hngnm") + ")");
- }
-
- //ds_pat_sendlist.setColumn(row, "pid", oDs.getColumn(i, "pid"));
-
-
- fAddPatList(mpphone, gubun, rel, oDs.getColumn(i, "pid"), oDs.getColumn(i, "hngnm"), 1);
- }
-
- isAdded = true;
- }
- isSelected = true;
- }
- }
-
- if(isAdded) {
- killTimer(2);
- setTimer(2, 500);
- } else if(!isSelected) {
- sysf_messageBox("선택된 환자가 없습니다.", "I");
- } else {
- sysf_messageBox("이미 수신자리스트에 있습니다", "I");
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_sendlist_btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_pat_sendlist.deleteAll();
- }
- function div_patinfo_div_patlist_btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = 0;
-
- for(var i = ds_pat_sendlist.rowcount - 1; i >= 0; i--) {
- var acptyn = ds_pat_sendlist.getColumn(i, "acptyn");
-
- if(acptyn == 1 || acptyn == true) {
- row = i;
- ds_pat_sendlist.deleteRow(row);
- }
- }
-
- ds_pat_sendlist.selectRow(row - 1);
- ds_pat_sendlist.rowposition = row - 1;
- div_patinfo.div_patlist.tabPatList.tab_sendlist.grd_sendlist.setCellPos(2);
- }
- function div_patinfo_div_patlist_btn_add_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_pat_sendlist.rowcount >= 50) {
- sysf_messageBox("최대 50명까지만 추가 가능합니다.", "I");
- return;
- }
-
- var row = ds_pat_sendlist.addRow();
- ds_pat_sendlist.setColumn(row, "acptyn", 1);
-
- div_patinfo.div_patlist.tabPatList.tab_sendlist.grd_sendlist.setCellPos(2);
- div_patinfo.div_patlist.tabPatList.tab_sendlist.grd_sendlist.showEditor(true);
- }
- function div_patinfo_div_patlist_tabPatList_tab_sendlist_grd_sendlist_onenterdown(obj:Grid, e:GridEditEventInfo)
- {
- if(e.col == 2) {
- obj.setCellPos(6);
- obj.showEditor(true);
- }
- }
- function div_patinfo_btn_close_light_onclick(obj:Button, e:ClickEventInfo)
- {
- var rightPos = this.position.right - 35;
- if(sOpenState == "O") {
- // pa_patinfo_move.stop();
- // pa_patinfo_move.fromvalue = div_patinfo.position.x;
- // pa_patinfo_move.tovalue = rightPos - 20;
- // pa_patinfo_move.run();
- //
- // // 확대 보기 버튼 위치 조정
- // div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
- //
- // this.parent.style.background = "white";
- // div_dim.position.x = 1024;
- // div_dim.visible = false;
- //
- // sOpenState = "C";
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - 533;
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - 410;
-
- this.parent.style.background = "white";
- div_dim.position.x = 1024;
- div_dim.visible = false;
-
- // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
- fViewThumbnail();
-
- sOpenState = "H";
- } else if(sOpenState == "C"){
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = rightPos;
- pa_patinfo_move.tovalue = rightPos - (div_patinfo.position.width - 20);
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
-
- this.parent.style.background = div_dim.style.background;
- div_dim.position.x = 0;
- div_dim.visible = true;
-
- // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
- fViewThumbnail();
-
- sOpenState = "O";
- } else if(sOpenState == "H") {
- pa_patinfo_move.stop();
- pa_patinfo_move.fromvalue = div_patinfo.position.x;
- pa_patinfo_move.tovalue = rightPos - (div_patinfo.position.width - 20);
- pa_patinfo_move.run();
-
- // 확대 보기 버튼 위치 조정
- div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
-
- this.parent.style.background = div_dim.style.background;
- div_dim.position.x = 0;
- div_dim.visible = true;
-
- // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
- fViewThumbnail();
-
- sOpenState = "O";
- }
-
- }
- function tab_history_search(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_sendsearch.click();
- }
- }
- function tabMain_tab_history_btn_sendsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = tabMain.tab_history.div_search.edt_pid.text;
-
- var searchcond = obj.parent.rdo_searchcond.value;
-
- if(searchcond == 1 && utlf_isNull(pid)) {
- sysf_messageBox("환자번호를 입력하여 주십시오", "I");
- tabMain.tab_history.div_search.edt_pid.setFocus();
- return;
- }
-
- var sResultDs = (searchcond == 1) ? "ds_result_hichart_sendhistory" : "ds_result_hichart_sendhistory_internal";
-
- var yearmonth = tabMain.tab_history.div_search.cp_monthCal.getData();
- var contentscd = tabMain.tab_history.div_search.edt_contentscd.value;
- var contentsnm = tabMain.tab_history.div_search.edt_contentsnm.value;
-
- var objColInfo = new Array();
- objColInfo.push({col: "pid", val: pid, type:"STRING"});
- objColInfo.push({col: "cond", val: searchcond, type:"INT"});
- objColInfo.push({col: "yearmonth", val: yearmonth, type:"STRING"});
- objColInfo.push({col: "contentscd", val: contentscd, type:"STRING"});
- objColInfo.push({col: "contentsnm", val: contentsnm, type:"STRING"});
-
- appf_getHiChartSendHistory(objColInfo, sResultDs, "cf_sendhistory");
- }
- function cf_sendhistory(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- ds_result_hichart_sendhistory.enableevent = true;
- return;
- }
-
- var contentscd = tabMain.tab_history.div_search.edt_contentscd.text;
- var contentsnm = tabMain.tab_history.div_search.edt_contentsnm.text;
-
- var filterstr = "";
- var separator = "";
-
- if(!utlf_isNull(contentscd)) {
- filterstr = "String(contentscd).indexOf('" + contentscd + "') >= 0";
- }
-
- if(!utlf_isNull(contentsnm)) {
- if(!utlf_isNull(contentscd)) {
- separator = " && ";
- }
-
- filterstr = filterstr + separator + "String(contentsnm).indexOf('" + contentsnm + "') >= 0";
- }
-
- ds_result_hichart_sendhistory.filter(filterstr);
- }
- function mk_time_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- utlf_validMaskEditTime(obj, e);
- }
- function tabMain_tab_history_div_search_rdo_searchcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(e.postvalue == 2) {
- obj.parent.edt_pid.value = "";
- obj.parent.parent.grd_sendhistory_internal.visible = true;
- obj.parent.parent.grd_sendhistory.visible = false;
- obj.parent.cp_monthCal.enable = true;
- } else {
- //obj.parent.edt_pid.value = ds_hichartinfo.getColumn(0, "pid");
- obj.parent.parent.grd_sendhistory_internal.visible = false;
- obj.parent.parent.grd_sendhistory.visible = true;
- obj.parent.cp_monthCal.enable = false;
- }
-
- //tabMain.tab_history.div_search.btn_sendsearch.click();
- }
- //19.09.24 입원예정자 조회 체크 했을 때 병동 bind 구분 임승주 수정
- function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_chk_in_schedule_onclick(obj:CheckBox, e:ClickEventInfo)
- {
-
- if(obj.value == "Y") {
- obj.parent.parent.grd_patlist_in.visible = false;
- obj.parent.parent.grd_patlist_insche.visible = true;
-
- fDeptList();
- }
- else {
- obj.parent.parent.grd_patlist_in.visible = true;
- obj.parent.parent.grd_patlist_insche.visible = false;
-
- ds_init_ward.setColumn(0,"wardcd","-");
- fDeptList();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col == 1) return;
-
- fSetGrdMultiSelect(obj, "acptyn");
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_rdo_searchcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(e.postvalue == "4") { // 환자명/주민번호
- obj.parent.edt_pid.visible = false;
-
- obj.parent.edt_hngnm.visible = true;
- obj.parent.edt_rrgstno1.visible = true;
- obj.parent.edt_rrgstno2.visible = true;
-
- obj.parent.edt_hngnm.setFocus();
- } else {
- obj.parent.edt_hngnm.visible = false;
- obj.parent.edt_rrgstno1.visible = false;
- obj.parent.edt_rrgstno2.visible = false;
-
- obj.parent.edt_pid.visible = true;
- obj.parent.edt_pid.setFocus();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if (fInputValueCheck(obj.parent)) {
- // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
- ds_send_search.addColumn("functionyn", "string");
- ds_send_search.setColumn(0, "functionyn", "N");
- // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
-
- var oParam = {};
- oParam.id = "TRPMC02500";
- oParam.service = "patinfomngtapp.PatBaseInfo";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_patinfolist=patinfolist";
- oParam.async = true;
- oParam.callback = "cf_TRPMC02500";
-
- tranf_submit(oParam);
- }
- }
- function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_patinfolist.addColumn("acptyn", "string");
- }
- // 입력값의 유효범위 체크
- function fInputValueCheck(oDiv) {
-
- var cond = ds_send_search.getColumn(0, "srchcond");
-
- switch(cond) {
- case '1': // 환자번호 체크
- if (utlf_isNull(ds_send_search.getColumn(0, "pid"))) {
- sysf_messageBox("환자번호를 정확히", "C001");
- oDiv.edt_pid.setFocus();
- return false;
- } else {
- return true;
- }
- break;
- case '2':
- //환자이름 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length >= 2) {
- return true;
- } else {
- sysf_messageBox("환자이름을 2자리 이상", "C001");
- oDiv.edt_hngnm.setFocus();
- return false;
- }
- break;
- case '3':
- //환자 주민번호 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length >= 4 && utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length >=1) {
- return true;
- } else {
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
- sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length < 1) {
- sysf_messageBox("환자 주민번호 뒷자리를 1자리 이상", "C001");
- oDiv.edt_rrgstno2.setFocus();
- return false;
- }
- sysf_messageBox("환자 주민번호를", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- break;
- case '4': // 환자이름 유효성 체크. 환자 주민번호 체크
- // 환자이름 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length < 2) {
- sysf_messageBox("환자이름을 2자리 이상", "C001");
- oDiv.edt_hngnm.setFocus();
- return false;
- }
-
- // 환자 주민번호 체크
- if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
- sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
- oDiv.edt_rrgstno1.setFocus();
- return false;
- }
- return true;
- break;
- case '5': // 예약일자 유효성 체크
-
- if (utlf_isValidDateTime(ds_send_search.getColumn(0, "acptdd"), "YYYYMMDD")) {
- return true;
- } else {
- sysf_messageBox("예약일자를 정확히", "C001");
- return false;
- }
-
- break;
- default :
- sysf_messageBox("검색조건이 정확히 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
- oDiv.rdo_searchcond.setFocus();
- return false;
- break;
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_search.click();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.edt_rrgstno1.setFocus();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_search.click();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_search.click();
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col == 1) return;
-
- fSetGrdMultiSelect(obj, "acptyn");
- }
- function fSetGrdMultiSelect(obj:Grid, colName) {
- var oDs = this.objects[obj.binddataset];
- var selectedRows = grdf_getSelectedRows(obj);
-
- for(var i = 0; i < selectedRows.length; i++) {
- var acptyn = oDs.getColumn(selectedRows[i], "acptyn");
-
- if(acptyn == 1 || acptyn == true){
- oDs.setColumn(selectedRows[i], "acptyn", 0);
- } else {
- oDs.setColumn(selectedRows[i], "acptyn", 1);
- }
- }
- }
- function div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddSendList(e.row);
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_in_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddSendList(e.row);
- }
- function div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddSendList(e.row);
- }
- function div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddSendList(e.row);
- }
- function btn_add_private_all_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddPrivateList(true);
- }
- function div_thumbnail_btn_add_private_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddPrivateList();
- }
- function fAddPrivateList(isAll) {
- if(isAll) {
- if(ds_hichartsendlist.rowcount < 1) {
- sysf_messageBox("설명처방 목록에 저장할 콘텐츠가 존재하지 않습니다", "E");
- return;
- }
-
- ds_hichartsavelist.copyData(ds_hichartsendlist);
- } else {
- ds_hichartsavelist.clearData();
- ds_hichartsavelist.addRow();
- ds_hichartsavelist.setColumn(0, "contentscd", sSelectedContentsCD);
- ds_hichartsavelist.setColumn(0, "privatehospcd", sSelectedPrivateHospCD);
- }
- var oParam = {};
- oParam.id = "TRZMH00400";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqSetPrivatelist";
- oParam.args = "type=" + wrapQuote("I");
- oParam.inds = "req=ds_hichartsavelist";
- oParam.outds = "ds_addresult=count ds_addfaillist=faillist";
- oParam.async = false;
- oParam.callback = "cf_TRZMH00400";
- tranf_submit(oParam);
- }
- function cf_TRZMH00400(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- if(ds_addresult.rowcount <= 0) {
- sysf_messageBox("저장 실패", "E");
- } else {
- var count = ds_addresult.getColumn(0, "cnt");
-
- if(count != ds_hichartsavelist.rowcount && ds_addfaillist.rowcount > 0) {
- var contentscds = "";
- for(var i = 0; i < ds_addfaillist.rowcount; i++) {
- var contentscd = ds_addfaillist.getColumn(i, "contentscd");
-
- if(i == 0) {
- contentscds = contentscd;
- } else {
- contentscds += ", " + contentscd;
- }
- }
-
- if(contentscds != "") {
- if(ds_hichartsavelist.rowcount == ds_addfaillist.rowcount) {
- sysf_messageBox("이미 [개인목록]에 포함되어 있습니다.", "I");
- } else {
- sysf_messageBox("이미 [개인목록]에 포함되어 있는 항목\n\n" +
- "(" + contentscds + ")\n\n" +
- "을 제외하고 모두 저장하였습니다.", "I");
- }
- }
- }
-
- fGetHiChartPrivateContents();
- }
- }
- function div_thumbnail_btn_del_private_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_privatelist.rowposition < 0) return;
-
- ds_privatelist_del.clearData();
-
- var row = ds_privatelist_del.addRow();
-
- ds_privatelist_del.copyRow(row, ds_privatelist, ds_privatelist.rowposition);
-
- if(ds_privatelist_del.rowcount < 1) return;
-
- var oParam = {};
- oParam.id = "TRZMH00402";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqSetPrivatelist";
- oParam.args = "type=" + wrapQuote("D");
- oParam.inds = "req=ds_privatelist_del";
- oParam.outds = "ds_addresult=count";
- oParam.async = false;
- oParam.callback = "cf_TRZMH00402";
- tranf_submit(oParam);
- }
- function cf_TRZMH00402(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fInitThumbnail();
-
- if(ds_addresult.rowcount <= 0) {
- sysf_messageBox("삭제 실패", "E");
- } else {
- var count = ds_addresult.getColumn(0, "cnt");
-
- if(count <= 0) {
- sysf_messageBox("삭제 실패", "E");
- } else {
- sysf_messageBox("콘텐츠가 [개인목록]에서 삭제되었습니다.", "I");
-
- fGetHiChartPrivateContents();
- }
- }
- }
- function btn_add_dept_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddDeptList(true);
- }
- function div_thumbnail_btn_add_dept_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddDeptList();
- }
- function fAddDeptList(isAll) {
- if(isAll) {
- if(ds_hichartsendlist.rowcount < 1) {
- sysf_messageBox("설명처방 목록에 저장할 콘텐츠가 존재하지 않습니다", "E");
- return;
- }
-
- ds_hichartsavelist.copyData(ds_hichartsendlist);
- } else {
- ds_hichartsavelist.clearData();
- ds_hichartsavelist.addRow();
- ds_hichartsavelist.setColumn(0, "contentscd", sSelectedContentsCD);
- ds_hichartsavelist.setColumn(0, "privatehospcd", sSelectedPrivateHospCD);
- }
-
- var oParam = {};
- oParam.id = "TRZMH00600";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqSetDeptlist";
- oParam.args = "type=" + wrapQuote("I");
- oParam.inds = "req=ds_hichartsavelist";
- oParam.outds = "ds_addresult=count ds_addfaillist=faillist ds_deptlist=result";
- oParam.async = false;
- oParam.callback = "cf_TRZMH00600";
- tranf_submit(oParam);
- }
- function cf_TRZMH00600(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_deptlist.rowposition = -1;
-
- if(ds_addresult.rowcount <= 0) {
- sysf_messageBox("저장 실패", "E");
- } else {
- var count = ds_addresult.getColumn(0, "cnt");
-
- if(count != ds_hichartsavelist.rowcount && ds_addfaillist.rowcount > 0) {
- var contentscds = "";
- for(var i = 0; i < ds_addfaillist.rowcount; i++) {
- var contentscd = ds_addfaillist.getColumn(i, "contentscd");
-
- if(i == 0) {
- contentscds = contentscd;
- } else {
- contentscds += ", " + contentscd;
- }
- }
-
- if(contentscds != "") {
- if(ds_hichartsavelist.rowcount == ds_addfaillist.rowcount) {
- sysf_messageBox("이미 [과별목록]에 포함되어 있습니다.", "I");
- } else {
- sysf_messageBox("이미 [과별목록]에 포함되어 있는 항목\n\n" +
- "(" + contentscds + ")\n\n" +
- "을 제외하고 모두 저장하였습니다.", "I");
- }
- }
- }
- }
- }
- function div_thumbnail_btn_del_dept_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_deptlist.rowposition < 0) return;
-
- ds_deptlist_del.clearData();
-
- var row = ds_deptlist_del.addRow();
-
- ds_deptlist_del.copyRow(row, ds_deptlist, ds_deptlist.rowposition);
-
- if(ds_deptlist_del.rowcount < 1) return;
-
- var oParam = {};
- oParam.id = "TRZMH00602";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqSetDeptlist";
- oParam.args = "type=" + wrapQuote("D");
- oParam.inds = "req=ds_deptlist_del";
- oParam.outds = "ds_addresult=count ds_deptlist=result";
- oParam.async = false;
- oParam.callback = "cf_TRZMH00602";
- tranf_submit(oParam);
- }
- function cf_TRZMH00602(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_deptlist.rowposition = -1;
-
- fInitThumbnail();
-
- if(ds_addresult.rowcount <= 0) {
- sysf_messageBox("삭제 실패", "E");
- } else {
- var count = ds_addresult.getColumn(0, "cnt");
-
- if(count <= 0) {
- sysf_messageBox("삭제 실패", "E");
- } else {
- sysf_messageBox("콘텐츠가 [과별목록]에서 삭제되었습니다.", "I");
- }
- }
- }
- function fInitThumbnail() {
- div_thumbnail.iv_thumbnail.resampling = false;
- div_thumbnail.iv_thumbnail.stretch = "none";
- div_thumbnail.iv_thumbnail.image = "IMG::com\\defaultlogo.gif";
- div_thumbnail.stt_title.text = "";
- div_thumbnail.medt_time.value = "";
- sSelectedContentsCD = "";
- sSelectedPrivateHospCD = "";
-
- div_thumbnail.btn_add_private.visible = false;
- div_thumbnail.btn_del_private.visible = false;
- div_thumbnail.btn_add_dept.visible = false;
- div_thumbnail.btn_del_dept.visible = false;
-
- fViewThumbnail();
- }
- function iv_silverlight_onclick(obj:ImageViewer, e:ClickEventInfo)
- {
- frmf_openHtml("https://hichart.knuh.kr/Uploads/EMRNotice/Silverlight.exe");
- }
- function tabMain_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- switch(e.postindex) {
- case 0 :
- // 개인목록 조회
- fGetHiChartPrivateContents(true);
- break;
- case 1 :
- // 과별목록 조회
- fGetHiChartDeptContents();
- break;
- case 2 :
- // 신규컨텐츠 조회
- fGetHiChartNewContents();
- break;
- }
-
- fInitThumbnail();
- }
- function div_dim_onclick(obj:Div, e:ClickEventInfo)
- {
- // var rightPos = this.position.right - 35;
- //
- // if(sOpenState == "O") {
- // pa_patinfo_move.stop();
- // pa_patinfo_move.fromvalue = div_patinfo.position.x;
- // pa_patinfo_move.tovalue = rightPos - 20;
- // pa_patinfo_move.run();
- //
- // // 확대 보기 버튼 위치 조정
- // div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
- //
- // this.parent.style.background = "white";
- // div_dim.position.x = 1024;
- // div_dim.visible = false;
- //
- // sOpenState = "C";
- // }
- }
- function btn_docu_down_onclick(obj:Button, e:ClickEventInfo)
- {
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- if(dutplceinstcd == "032") {
- frmf_openHtml(gv_sURLprefix + "/xpapps/com/hichartxp/xp/Ku2.0_설명처방_사용방법(칠곡).pdf");
- } else {
- frmf_openHtml(gv_sURLprefix + "/xpapps/com/hichartxp/xp/Ku2.0_설명처방_사용방법(본원).pdf");
- }
-
- //var objExtCommon = new ExtCommon();
- //objExtCommon.executeProcess(gv_sURLprefix + "/xpapps/com/hichartxp/xp/hichart_document.pdf","","");
- }
- function btn_pat_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_receiver.setColumn(0, "pid", "");
- ds_receiver.setColumn(0, "orddeptnm", "");
- ds_receiver.setColumn(0, "hngnm", "");
-
- tabMain.tab_history.div_search.edt_pid.value = "";
-
- ds_pat_sendlist.clearData();
- }
- var oldColWidth = 120;
- function SPZMH00100_onsize(obj:Form, e:SizeEventInfo)
- {
- var colWidth = e.cx - 924;
-
- if(oldColWidth == colWidth) return;
-
- if(colWidth < 120) colWidth = 120;
- else if(colWidth > 400) colWidth = 400;
-
- tabMain.tab_history.grd_sendhistory_internal.setFormatColProperty(7, "size", colWidth);
-
- oldColWidth = colWidth;
- }
- function fGetInputTextColor(row) {
- var result = "";
- if(ds_pat_sendlist.getRowType(row) == Dataset.ROWTYPE_INSERT) {
- result = "khaki";
- }
-
- return result;
- }
- function btn_contents_add_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SPZMH00200", "SPZMH00200", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function SPZMH00100_onclose(obj:Form, e:CloseEventInfo)
- {
- // HiChart 전용으로 Ku를 실행 했을 시에는 설명처방 창 종료시 프로그램도 같이 종료한다
- var isSingle = false;
- try {
- isSingle = (gv_isSingleYN == "Y");
- } catch(e) {}
-
- if(isSingle) {
- frmf_logout();
- }
- }
- function grd_hichartlist_ondrag(obj:Grid, e:GridDragEventInfo)
- {
- if(e.row < 0 || e.col < 0) return false;
-
- var oDs = this.objects[obj.binddataset];
- var dragData = e.row + "|" + utlf_transNullToEmpty(oDs.getColumn(e.row, "ordernum"));
-
- var objDragData = new DragDataObject();
- objDragData.setData( DragDataFormats.TEXT, dragData);
- e.dragdata = objDragData;
-
- return true;
- }
- function grd_hichartlist_ondrop(obj:Grid, e:GridDragEventInfo)
- {
- fSetOrder(obj, e);
- }
- function fSetOrder(obj:Grid, e:GridDragEventInfo) {
- var oDs = this.objects[obj.binddataset];
-
- var dragData = e.dragdata.getData(DragDataFormats.TEXT);
-
- if(utlf_isNull(dragData)) return;
-
- var datas = dragData.split("|");
-
- var before_row = parseInt(datas[0]);
- var after_row = e.row;
-
- var start_row, end_row;
- var before_ordernum = datas[1];
-
- var reverse = (before_row < after_row) ? false : true;
-
- // 정렬 순번 시작값과 끝값
- if(utlf_isNull(before_ordernum)) {
- // 처음에 ordernum에 값이 없을 때는 전체 번호를 셋팅
- start_row = oDs.rowcount;
- end_row = 0;
- } else {
- // 처음에 ordernum에 값이 있다면 해당하는 부분만 번호 셋팅
- if(reverse) {
- start_row = parseInt(datas[0]) + 1;
- end_row = e.row;
- } else {
- start_row = e.row + 1;
- end_row = parseInt(datas[0]);
- }
- }
-
- oDs.enableevent = false;
- oDs.moveRow(before_row, after_row);
-
- var updateRows = new Array();
- var uIndex = 0;
- var oIndex = oDs.rowcount - start_row - 1; // index가 0부터 시작하므로 -1을 더 빼준다.
-
- for(var i = start_row; i >= end_row; i--) {
- oDs.setColumn(i, "ordernum", oIndex++);
-
- updateRows[uIndex++] = i;
- }
- oDs.enableevent = true;
-
- var oDsUpdate = grdf_getGridUpdateData(obj, "update");
- grdf_setStatusColumn(oDsUpdate, "status"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
- ds_sortlist.copyData(oDsUpdate, true);
- var listType = (oDs.name == "ds_deptlist") ? "D" : " P";
-
- var oParam = {};
- oParam.id = "TXZMH00500";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqSetSortList";
- oParam.args = "type=" + wrapQuote(listType);
- oParam.inds = "req=" + "ds_sortlist";
- oParam.callback = "cf_TXZMH00500";
- oParam.async = false;
- tranf_submit(oParam);
-
- oDs.enableevent = false;
- oDs.updatecontrol = false;
- for(var i = 0; i < updateRows.length; i++) {
- oDs.setRowType(updateRows[i], Dataset.ROWTYPE_NORMAL);
- }
- oDs.updatecontrol = true;
- oDs.enableevent = true;
- }
- function cf_TXZMH00500(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("목록 순서 변경 저장을 실패 하였습니다.", "E");
- return;
- }
- }
- // 건진탭 조회 버튼 클릭
- function div_patinfo_div_patlist_tabPatList_tab_exam_div_search_exam_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fExamList();
- }
-
- function fExamList(){
- var hopedd = ds_send_exam.getColumn(0, "hopedd");
-
- var oParam = {};
- oParam.id = "TRZMH00700";
- oParam.service = "hichartapp.HiChart";
- oParam.method = "reqGetExamlist";
- oParam.args = "hopedd=" + wrapQuote(hopedd);
- oParam.outds = "ds_examlist=result";
- oParam.async = false;
- oParam.callback = "cf_TRZMH00700";
- tranf_submit(oParam);
- }
- function cf_TRZMH00700(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_examlist.addColumn("acptyn", "string");
- }
- // 건진 리스트 onmousemove
- function div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- var rsrvdd = ds_examlist.getColumn(e.row, "rsrvdd");
- var rsrvno = ds_examlist.getColumn(e.row, "rsrvno");
- var testnm = ds_examlist.getColumn(e.row, "testnm");
-
- if(CURR_ROW == e.row){
- return;
- }
-
- if(e.col == 5 || e.col == 10){
- // 실제 Cell Size보다 Text가 더 길경우 처리를 위한 로직
- if(e.col == 5){
- var text = ds_examlist.getColumn(e.row, "pkgnm");
- }else{
- var text = ds_examlist.getColumn(e.row, "cmpynm");
- }
-
- var ctrlObj = div_patinfo.div_patlist.tabPatList.tab_exam.grd_exam_list;
- var font = ctrlObj.getCellProperty("body", e.col, "font");
- if(utlf_isNull(font)) font = "Dotum,9";
-
- var fontStyle = font.toString().split(',');
- var bold = false;
- if(fontStyle.length > 2 && fontStyle[2] == "bold") bold = true;
-
- var objFont = utlf_getObjFont(fontStyle[1], fontStyle[0], bold); // 실제 폰트의 너비
- var objFontSize = utlf_getTextSize(text, objFont);
-
- var paddingSize = 0;
- var padding = ctrlObj.getCellProperty("body", e.col, "padding");
- if(!utlf_isNull(padding) && padding.length == 4) {
- paddingSize = padding[1] + padding[3];
- }
-
- var arrCellRect = ctrlObj.getCellRect(0, e.col);
- var width = arrCellRect.width - paddingSize - ctrlObj.vscrollbar.position.width + 12; // 실제 글자가 들어갈 수 있는 영역 너비(width - padding 좌우영역 - 세로 스크롤 넓이 + 10은 보정값)
- }
-
- if(e.row >= 0){
- if(e.col == 4){
- // 위검사
- if(!utlf_isNull(testnm)){
- obj.tooltiptext = testnm;
- }else{
- obj.tooltiptext = "선택/추가검사 없음";
- }
- }else if(e.col == 5){
- // 패키지명
- if(objFontSize.cx > width) {
- obj.tooltiptext = text;
- }else{
- obj.tooltiptext = "";
- }
- }else if(e.col == 10){
- // 사업체명
- if(!utlf_isNull(text)){
- if(objFontSize.cx > width) {
- obj.tooltiptext = text;
- }else{
- obj.tooltiptext = "";
- }
- } else {
- obj.tooltiptext = "";
- }
- }else{
- obj.tooltiptext = "";
- }
- }
-
- CURR_ROW = e.row;
- }
- function div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onmouseleave(obj:Grid, e:MouseEventInfo)
- {
- obj.tooltiptext = "";
- }
- // 건진 그리드 더블클릭
- function div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fAddSendList(e.row);
- }
- // 건진 그리드 onbuttonup
- function div_patinfo_div_patlist_tabPatList_tab_exam_grd_exam_list_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col == 1) return;
-
- fSetGrdMultiSelect(obj, "acptyn");
- }
- // 건진 예약일자 변경 이벤트
- function div_patinfo_div_patlist_tabPatList_tab_exam_div_search_exam_cal_hopedd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fExamList();
- }
- ]]></Script>
- </Form>
- </FDL>
|