1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI01600" position="absolute 0 0 1256 805" titletext="전과전실승인" oninit="SMPMI01600_oninit" onload="SMPMI01600_onload">
- <Layouts>
- <Layout>
- <Combo position="absolute 189 609 274 628" id="cmb_2atdoctid" class="combo_default" innerdataset="@ds_init_orddrid" datacolumn="nm" codecolumn="cd" enable="false"/>
- <Combo position="absolute 789 635 874 654" id="cmb_atdoctid" class="combo_default" innerdataset="@fds_orddrid" datacolumn="nm" codecolumn="cd"/>
- <Combo position="absolute 1062 561 1126 580" id="cmb_roomcd" class="combo_default" enable="false" innerdataset="@ds_init_roomcd" datacolumn="nm" codecolumn="cd"/>
- <Static text="전과전실 이력" position="absolute 5 295 175 311" align="align:center middle;" id="caption2" class="tit_2"/>
- <Static text="현재 과/병실 정보" position="absolute 4 537 174 553" align="align:center middle;" id="caption3" class="tit_2"/>
- <Static text="변경후 과/병실 정보" position="absolute 602 537 792 553" align="align:center middle;" id="caption4" class="tit_2"/>
- <Button position="absolute 892 761 948 783" id="btn_save" class="btn4" text="승인" enable="false" onclick="btn_save_onclick"/>
- <Static text="재원내역" position="absolute 5 68 119 84" align="align:center middle;" id="caption40" class="tit_2"/>
- <Shape position="absolute 0 28 1195 63" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Static text="조회구분 :" position="absolute 15 37 105 54" id="caption1" class="search_name"/>
- <Button position="absolute 1125 35 1181 57" id="btn_srch" class="btn1" text="조회" onclick="btn_srch_onclick"/>
- <Combo position="absolute 92 36 244 55" id="cmb_srchcond1" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_srchcond1_onitemchanged" value="1" text="환자번호" index="0">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">환자성명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">진료과</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">담당교수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">주치의</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">병동</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">응급실결정서신청</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">DSC입원결정서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">전실승인(간호확인전)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">9</Col>
- <Col id="datacolumn">전과전실신청</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo position="absolute 262 36 364 55" id="cmb_srchcond2" class="combo_default" visible="false" innerdataset="@ds_srch_cmb" datacolumn="nm" codecolumn="cd"/>
- <Edit position="absolute 262 36 364 55" id="ipt_srchcond2" class="input_default" onkeydown="ipt_srchcond2_onkeydown"/>
- <Grid position="absolute 0 89 1195 289" id="grd_inhosplist" class="datagrid2" binddataset="ds_grd_inhosplist" anchor="left top right" oncelldblclick="grd_inhosplist_oncelldblclick" oncellclick="grd_inhosplist_oncellclick" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="24" band="left"/>
- <Column size="40" band="left"/>
- <Column size="55" band="left"/>
- <Column size="73" band="left"/>
- <Column size="50" band="left"/>
- <Column size="50" band="left"/>
- <Column size="30" band="left"/>
- <Column size="30" band="left"/>
- <Column size="55" band="left"/>
- <Column size="60" band="left"/>
- <Column size="55"/>
- <Column size="67"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="200"/>
- <Column size="86"/>
- <Column size="70"/>
- <Column size="47"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="83"/>
- <Column size="116"/>
- <Column size="90"/>
- <Column size="121"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="O"/>
- <Cell col="2" text="상태"/>
- <Cell col="3" text="입원경로"/>
- <Cell col="4" text="병동"/>
- <Cell col="5" text="병실"/>
- <Cell col="6" text="병상"/>
- <Cell col="7" text="O2"/>
- <Cell col="8" text="Suc"/>
- <Cell col="9" text="감염승인"/>
- <Cell col="10" text="환자번호"/>
- <Cell col="11" text="환자성명"/>
- <Cell col="12" text="생년월일"/>
- <Cell col="13" text="나이"/>
- <Cell col="14" text="성별"/>
- <Cell col="15" text="참고사항"/>
- <Cell col="16" text="진료과"/>
- <Cell col="17" text="응급주과"/>
- <Cell col="18" text="주/부"/>
- <Cell col="19" text="입원일자"/>
- <Cell col="20" text="시간"/>
- <Cell col="21" text="퇴원예고"/>
- <Cell col="22" text="퇴원통보"/>
- <Cell col="23" text="보험유형"/>
- <Cell col="24" text="보험보조유형"/>
- <Cell col="25" text="소급일자"/>
- <Cell col="26" text="진료비계산일자"/>
- <Cell col="27" text="심사"/>
- <Cell col="28" text="최종정산일"/>
- <Cell col="29" text="연구용"/>
- <Cell col="30" text="생년월일"/>
- <Cell col="31" text="최초접수자"/>
- <Cell col="32" text="최초접수일시"/>
- <Cell col="33" text="최종수정담당자"/>
- <Cell col="34" text="최종수정일시"/>
- <Cell col="35" text="caption1"/>
- <Cell col="36" text="caption2"/>
- <Cell col="37" text="caption3"/>
- <Cell col="38" text="caption4"/>
- <Cell col="39" text="caption5"/>
- <Cell col="40" text="caption6"/>
- <Cell col="41" text="caption7"/>
- <Cell col="42" text="caption8"/>
- <Cell col="43" text="caption9"/>
- <Cell col="44" text="caption10"/>
- <Cell col="45" text="caption11"/>
- <Cell col="46" text="caption12"/>
- <Cell col="47" text="caption13"/>
- <Cell col="48" text="caption14"/>
- <Cell col="49" text="caption15"/>
- <Cell col="50" text="caption16"/>
- <Cell col="51" text="caption17"/>
- <Cell col="52" text="caption18"/>
- <Cell col="53" text="caption19"/>
- <Cell col="54" text="caption20"/>
- <Cell col="55" text="caption21"/>
- <Cell col="56" text="caption22"/>
- <Cell col="57" text="caption23"/>
- <Cell col="58" text="caption24"/>
- <Cell col="59" text="caption25"/>
- <Cell col="60" text="caption26"/>
- <Cell col="61" text="caption27"/>
- <Cell col="62" text="caption28"/>
- <Cell col="63" text="caption29"/>
- <Cell col="64" text="caption30"/>
- <Cell col="65" text="caption31"/>
- <Cell col="66" text="caption32"/>
- <Cell col="67" text="caption33"/>
- <Cell col="68" text="caption34"/>
- <Cell col="69" text="caption35"/>
- <Cell col="70" text="caption36"/>
- <Cell col="71" text="caption37"/>
- <Cell col="72" text="caption38"/>
- <Cell col="73" text="caption39"/>
- <Cell col="74" text="caption40"/>
- <Cell col="75" text="caption41"/>
- <Cell col="76" text="caption42"/>
- <Cell col="77" text="caption43"/>
- <Cell col="78" text="caption44"/>
- <Cell col="79" text="caption45"/>
- <Cell col="80" text="caption46"/>
- <Cell col="81" text="caption47"/>
- <Cell col="82" text="caption48"/>
- <Cell col="83" text="caption49"/>
- <Cell col="84" text="caption50"/>
- <Cell col="85" text="caption51"/>
- <Cell col="86" text="caption52"/>
- <Cell col="87" text="caption53"/>
- <Cell col="88" text="caption54"/>
- <Cell col="89" text="caption55"/>
- <Cell col="90" text="caption56"/>
- <Cell col="91" text="caption57"/>
- <Cell col="92" text="caption58"/>
- <Cell col="93" text="caption59"/>
- <Cell col="94" text="caption60"/>
- <Cell col="95" text="caption61"/>
- <Cell col="96" text="caption62"/>
- <Cell col="97" text="caption63"/>
- <Cell col="98" text="caption64"/>
- <Cell col="99" text="caption65"/>
- <Cell col="100" text="caption66"/>
- <Cell col="101" text="caption67"/>
- <Cell col="102" text="caption68"/>
- <Cell col="103" text="caption69"/>
- <Cell col="104" text="caption70"/>
- <Cell col="105" text="caption71"/>
- <Cell col="106" text="caption72"/>
- <Cell col="107" text="caption73"/>
- <Cell col="108" text="caption74"/>
- <Cell col="109" text="caption75"/>
- <Cell col="110" text="caption76"/>
- <Cell col="111" text="caption77"/>
- <Cell col="112" text="caption78"/>
- <Cell col="113" text="caption79"/>
- <Cell col="114" text="caption80"/>
- <Cell col="115" text="caption81"/>
- <Cell col="116" text="caption82"/>
- <Cell col="117" text="caption83"/>
- <Cell col="118" text="caption84"/>
- <Cell col="119" text="caption85"/>
- <Cell col="120" text="caption86"/>
- <Cell col="121" text="caption87"/>
- <Cell col="122" text="caption88"/>
- <Cell col="123" text="caption89"/>
- <Cell col="124" text="caption90"/>
- <Cell col="125" text="caption91"/>
- <Cell col="126" text="caption92"/>
- <Cell col="127" text="caption93"/>
- <Cell col="128" text="caption94"/>
- <Cell col="129" text="caption95"/>
- <Cell col="130" text="caption96"/>
- <Cell col="131" text="caption97"/>
- <Cell col="132" text="caption98"/>
- <Cell col="133" text="caption99"/>
- <Cell col="134" text="caption100"/>
- <Cell col="135" text="caption101"/>
- <Cell col="136" text="caption102"/>
- <Cell col="137" text="caption103"/>
- <Cell col="138" text="caption104"/>
- <Cell col="139" text="caption105"/>
- <Cell col="140" text="caption106"/>
- <Cell col="141" text="caption107"/>
- <Cell col="142" text="caption108"/>
- <Cell col="143" text="caption109"/>
- <Cell col="144" text="caption110"/>
- <Cell col="145" text="caption111"/>
- <Cell col="146" text="caption112"/>
- <Cell col="147" text="caption113"/>
- <Cell col="148" text="caption114"/>
- <Cell col="149" text="caption115"/>
- <Cell col="150" text="caption116"/>
- <Cell col="151" text="caption117"/>
- <Cell col="152" text="caption118"/>
- <Cell col="153" text="caption119"/>
- <Cell col="154" text="caption120"/>
- <Cell col="155" text="caption121"/>
- <Cell col="156" text="caption122"/>
- <Cell col="157" text="caption123"/>
- <Cell col="158" text="caption124"/>
- <Cell col="159" text="caption125"/>
- <Cell col="160" text="caption126"/>
- <Cell col="161" text="caption127"/>
- <Cell col="162" text="caption128"/>
- <Cell col="163" text="caption129"/>
- <Cell col="164" text="caption130"/>
- <Cell col="165" text="caption131"/>
- <Cell col="166" text="caption132"/>
- <Cell col="167" text="caption133"/>
- <Cell col="168" text="caption134"/>
- <Cell col="169" text="caption135"/>
- <Cell col="170" text="caption136"/>
- <Cell col="171"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="text" edittype="text" expandshow="show" expandsize="20"/>
- <Cell col="2" displaytype="combo" edittype="none" text="bind:indschacptstat" combodataset="ds_P0019" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="3" displaytype="combo" edittype="none" text="bind:inpath" combodataset="ds_P0002" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" displaytype="combo" edittype="none" text="bind:wardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="none" text="bind:roomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="6" displaytype="combo" edittype="none" text="bind:bedcd" combodataset="ds_init_bedcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="7" text="bind:oxyyn"/>
- <Cell col="8" text="bind:suctyn"/>
- <Cell col="9" displaytype="normal" edittype="none" text="bind:cnstcnfm" enable="false"/>
- <Cell col="10" text="bind:pid"/>
- <Cell col="11" text="bind:hngnm"/>
- <Cell col="12" text="bind:rrgstno" mask="99/99/99"/>
- <Cell col="13" text="bind:age"/>
- <Cell col="14" displaytype="combo" edittype="none" text="bind:sex" combodataset="ds_P0313" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:remfact" expandshow="show" expandsize="13"/>
- <Cell col="16" displaytype="text" text="bind:orddeptnm" enable="false"/>
- <Cell col="17" displaytype="combo" edittype="none" text="bind:erorddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="18" displaytype="combo" edittype="none" text="bind:mskind" combodataset="ds_P0006" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="19" text="bind:indd" mask="expr:utlf_isNull(indd) ? '' : '####-##-##'"/>
- <Cell col="20" text="bind:intm" mask="expr:utlf_isNull(intm) ? '' : '##:##'"/>
- <Cell col="21" text="bind:dschdclrdt" mask="expr:(utlf_isNull(dschdclrdt) || '-') ? '' : '####-##-## ##:##:##'"/>
- <Cell col="22" text="bind:dschnotidt" mask="expr:(utlf_isNull(dschnotidt) || '-') ? '' : '####-##-## ##:##:##'"/>
- <Cell col="23" displaytype="combo" edittype="none" text="bind:insukind" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="24" displaytype="combo" edittype="none" text="bind:suppkind" combodataset="ds_init_suppkind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="25" text="bind:ordcostretcdd" mask="expr:utlf_isNull(ordcostretcdd) ? '' : '####-##-##'"/>
- <Cell col="26" text="bind:ordcostcalcdd" mask="expr:(utlf_isNull(ordcostcalcdd) || '-') ? '' : '####-##-##'"/>
- <Cell col="27" displaytype="combo" edittype="none" text="bind:dschjudgprcsstat" combodataset="ds_P0363" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="28" text="bind:calclastdd" mask="expr:(utlf_isNull(calclastdd) || '-') ? '' : '####-##-##'"/>
- <Cell col="29" displaytype="text" edittype="text" text="bind:clincstdycd" enable="false"/>
- <Cell col="30" text="bind:brthdd" mask="expr:utlf_isNull(brthdd) ? '' : '####-##-##'"/>
- <Cell col="31" text="bind:fstrgstrnm"/>
- <Cell col="32" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="33" text="bind:lastupdtrnm"/>
- <Cell col="34" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="35" text="bind:cretno"/>
- <Cell col="36" text="bind:hngnm"/>
- <Cell col="37" text="bind:rrgstno"/>
- <Cell col="38" text="bind:sex"/>
- <Cell col="39" text="bind:age"/>
- <Cell col="40" text="bind:brthdd"/>
- <Cell col="41" text="bind:pid"/>
- <Cell col="42" text="bind:indd"/>
- <Cell col="43" text="bind:cretno"/>
- <Cell col="44" text="bind:seqno"/>
- <Cell col="45" text="bind:instcd"/>
- <Cell col="46" text="bind:mskind"/>
- <Cell col="47" text="bind:histstat"/>
- <Cell col="48" text="bind:intm"/>
- <Cell col="49" text="bind:inpath"/>
- <Cell col="50" text="bind:arvpath"/>
- <Cell col="51" text="bind:ordrslt"/>
- <Cell col="52" text="bind:hospbrthyn"/>
- <Cell col="53" text="bind:rsrvinyn"/>
- <Cell col="54" text="bind:dschdd"/>
- <Cell col="55" text="bind:dschtm"/>
- <Cell col="56" text="bind:dschtype"/>
- <Cell col="57" text="bind:dethdt"/>
- <Cell col="58" text="bind:indschacptstat"/>
- <Cell col="59" text="bind:medcostestmflag"/>
- <Cell col="60" text="bind:fsexamflag"/>
- <Cell col="61" text="bind:fsexammanlyn"/>
- <Cell col="62" text="bind:medamtpostyn"/>
- <Cell col="63" text="bind:medamtfreeresn"/>
- <Cell col="64" text="bind:holiflag"/>
- <Cell col="65" text="bind:brateflag"/>
- <Cell col="66" text="bind:ordtype"/>
- <Cell col="67" text="bind:ermngtamtcalcyn"/>
- <Cell col="68" text="bind:erbrthflag"/>
- <Cell col="69" text="bind:erchospath"/>
- <Cell col="70" text="bind:erorddeptcd"/>
- <Cell col="71" text="bind:hosoutexptresncd"/>
- <Cell col="72" text="bind:insukind"/>
- <Cell col="73" text="bind:suppkind"/>
- <Cell col="74" text="bind:centcd"/>
- <Cell col="75" text="bind:dutdeptcd"/>
- <Cell col="76" text="bind:suporddeptcd"/>
- <Cell col="77" text="bind:orddeptcd"/>
- <Cell col="78" text="bind:orddeptnm"/>
- <Cell col="79" text="bind:medispclid"/>
- <Cell col="80" text="bind:medispclnm"/>
- <Cell col="81" text="bind:atdoctid"/>
- <Cell col="82" text="bind:atdoctnm"/>
- <Cell col="83" text="bind:specordyn"/>
- <Cell col="84" text="bind:wardcd"/>
- <Cell col="85" text="bind:roomcd"/>
- <Cell col="86" text="bind:roomgrdecd"/>
- <Cell col="87" text="bind:roomtypecd"/>
- <Cell col="88" text="bind:rqsthospcd"/>
- <Cell col="89" text="bind:rqstdrid"/>
- <Cell col="90" text="bind:hospiceyn"/>
- <Cell col="91" text="bind:drgyn"/>
- <Cell col="92" text="bind:bmtyn"/>
- <Cell col="93" text="bind:clincstdyyn"/>
- <Cell col="94" text="bind:clincstdycd"/>
- <Cell col="95" text="bind:batlockid"/>
- <Cell col="96" text="bind:batlockyn"/>
- <Cell col="97" text="bind:prcplockid"/>
- <Cell col="98" text="bind:ordcostretcdd"/>
- <Cell col="99" text="bind:ordcostcalcdd"/>
- <Cell col="100" text="bind:inacptdt"/>
- <Cell col="101" text="bind:inacptchrgid"/>
- <Cell col="102" text="bind:eroutdt"/>
- <Cell col="103" text="bind:careinrmdd"/>
- <Cell col="104" text="bind:careinrmtm"/>
- <Cell col="105" text="bind:careinrmrgstrid"/>
- <Cell col="106" text="bind:dietprcpcopyflag"/>
- <Cell col="107" text="bind:incncldt"/>
- <Cell col="108" text="bind:incnclchrgid"/>
- <Cell col="109" text="bind:inoutcvrtyn"/>
- <Cell col="110" text="bind:dschcnclyn"/>
- <Cell col="111" text="bind:dschcnclresn"/>
- <Cell col="112" text="bind:dschcncldt"/>
- <Cell col="113" text="bind:dschcnclcharid"/>
- <Cell col="114" text="bind:dschdclrtyn"/>
- <Cell col="115" text="bind:dschdclrdt"/>
- <Cell col="116" text="bind:dschdclrtrgstid"/>
- <Cell col="117" text="bind:dschdclrtrgstdt"/>
- <Cell col="118" text="bind:dschrgstacptdt"/>
- <Cell col="119" text="bind:dschrgstacptcharid"/>
- <Cell col="120" text="bind:dschnotiyn"/>
- <Cell col="121" text="bind:dschnotidt"/>
- <Cell col="122" text="bind:dschnotirgstid"/>
- <Cell col="123" text="bind:dschnotirgstdt"/>
- <Cell col="124" text="bind:visitrefyn"/>
- <Cell col="125" text="bind:keepdschcnclresn"/>
- <Cell col="126" text="bind:calclastdd"/>
- <Cell col="127" text="bind:dschjudgprcsstat"/>
- <Cell col="128" text="bind:lastjudgdt"/>
- <Cell col="129" text="bind:lastmdlclamdd"/>
- <Cell col="130" text="bind:lastjudgendid"/>
- <Cell col="131" text="bind:spcljudgflag"/>
- <Cell col="132" text="bind:probjudgflag"/>
- <Cell col="133" text="bind:mainjudgid"/>
- <Cell col="134" text="bind:medcaredayno"/>
- <Cell col="135" text="bind:dschcntcyn"/>
- <Cell col="136" text="bind:dscharngmnmemo"/>
- <Cell col="137" text="bind:ownbmaxbadd"/>
- <Cell col="138" text="bind:nblsyn"/>
- <Cell col="139" text="bind:fstrgstrid"/>
- <Cell col="140" text="bind:fstrgstdt"/>
- <Cell col="141" text="bind:lastupdtrid"/>
- <Cell col="142" text="bind:lastupdtdt"/>
- <Cell col="143" text="bind:recovwardcd"/>
- <Cell col="144" text="bind:recovmovedd"/>
- <Cell col="145" text="bind:recovinrmdt"/>
- <Cell col="146" text="bind:recovoutdt"/>
- <Cell col="147" text="bind:ordreqformflag"/>
- <Cell col="148" text="bind:handicaprbookpossnyn"/>
- <Cell col="149" text="bind:undersixageyn"/>
- <Cell col="150" text="bind:spclcd"/>
- <Cell col="151" text="bind:calcdd"/>
- <Cell col="152" text="bind:calctm"/>
- <Cell col="153" text="bind:badcd"/>
- <Cell col="154" text="bind:ermedispclid"/>
- <Cell col="155" text="bind:emplno"/>
- <Cell col="156" text="bind:suppkindsubyn"/>
- <Cell col="157" text="bind:ownbflag"/>
- <Cell col="158" text="bind:opertodd"/>
- <Cell col="159" text="bind:onlnno"/>
- <Cell col="160" text="bind:careoutrmdt"/>
- <Cell col="161" text="bind:careoutrmdelyresn"/>
- <Cell col="162" text="bind:careoutrmrgstid"/>
- <Cell col="163" text="bind:etcordflag"/>
- <Cell col="164" text="bind:spclsuppkind"/>
- <Cell col="165" text="bind:orgordtype"/>
- <Cell col="166" text="bind:subdeptcd"/>
- <Cell col="167" text="bind:cnstcnfm"/>
- <Cell col="168" text="bind:cnstfromdd"/>
- <Cell col="169" text="bind:cnsttodd"/>
- <Cell col="170" text="bind:preroomcd"/>
- <Cell col="171" text="bind:cnstroomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 317 595 531" id="grd_icdrlist" class="datagrid" binddataset="ds_grd_icdrlist" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="시작일자"/>
- <Cell col="1" text="종료일자"/>
- <Cell col="2" text="병동"/>
- <Cell col="3" text="병실"/>
- <Cell col="4" text="병상"/>
- <Cell col="5" text="형태"/>
- <Cell col="6" text="등급"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="담당교수"/>
- <Cell col="9" text="담당의"/>
- <Cell col="10" text="선택"/>
- <Cell col="11" text="최종수정자"/>
- <Cell col="12" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell text="bind:fromdd" mask="expr:utlf_isNull(fromdd) ? '' : '####-##-##'"/>
- <Cell col="1" text="bind:todd" mask="expr:utlf_isNull(todd) ? '' : '####-##-##'"/>
- <Cell col="2" displaytype="combo" edittype="none" text="bind:wardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="3" displaytype="combo" edittype="none" text="bind:roomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="4" displaytype="combo" edittype="none" text="bind:bedcd" combodataset="ds_init_bedcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="none" text="bind:roomtypecd" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="6" displaytype="combo" edittype="none" text="bind:roomgrdecd" combodataset="ds_init_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="7" displaytype="normal" edittype="none" text="bind:orddeptnm" enable="false"/>
- <Cell col="8" displaytype="normal" edittype="none" text="bind:medispclnm" enable="false"/>
- <Cell col="9" displaytype="normal" edittype="none" text="bind:atdoctnm" enable="false"/>
- <Cell col="10" text="bind:specordyn"/>
- <Cell col="11" text="bind:lastupdtridnm"/>
- <Cell col="12" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="적용/종료일자" position="absolute 0 558 99 581" align="align:center middle;" id="caption61" class="cell_1" style="font:Dotum,9;"/>
- <Static text="형태/등급" position="absolute 279 583 382 606" align="align:center middle;" id="caption30" class="cell_1" onclick="caption30_onclick"/>
- <Static text="진료과" position="absolute 0 583 99 606" align="align:center middle;" id="caption21" class="cell_1"/>
- <Calendar position="absolute 101 559 186 578" id="ipt_2fromdd" class="input_default" enable="false"/>
- <Static text="담당교수/담당의" position="absolute 0 608 99 631" align="align:center middle;" id="caption22" class="cell_1" style="font:Dotum,8;"/>
- <Calendar position="absolute 189 559 274 578" id="ipt_2todd" class="input_default" enable="false"/>
- <Combo position="absolute 101 609 186 628" id="cmb_2medispclid" class="combo_default" innerdataset="@ds_init_orddrid" datacolumn="nm" codecolumn="cd" enable="false"/>
- <Static text="선택진료" position="absolute 0 633 99 656" align="align:center middle;" id="caption24" class="cell_1"/>
- <Combo position="absolute 384 559 459 578" id="cmb_2wardcd" class="combo_default" innerdataset="@ds_init_wardcd" datacolumn="nm" codecolumn="cd" enable="false"/>
- <Combo position="absolute 101 585 274 604" id="cmb_2orddeptcd" class="combo_default" innerdataset="@ds_init_orddeptcd" datacolumn="nm" codecolumn="cd" enable="false"/>
- <Combo position="absolute 490 585 595 604" id="cmb_2roomgrdecd" class="combo_default" innerdataset="@ds_init_roomgrdelist" datacolumn="cdnm" codecolumn="cdid" enable="false"/>
- <Static text="병동/병실/병상" position="absolute 279 558 382 581" align="align:center middle;" id="caption29" class="cell_1" onclick="caption29_onclick"/>
- <Combo position="absolute 384 585 487 604" id="cmb_2roomtypecd" class="combo_default" innerdataset="@ds_init_roomtypecd" datacolumn="nm" codecolumn="cd" enable="false"/>
- <Radio position="absolute 101 634 186 654" id="rdo_2specordyn" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" enable="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Yes</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">No</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="적용/종료일자" position="absolute 600 558 699 581" align="align:center middle;" id="caption5" class="cell_1"/>
- <Static text="형태/등급" position="absolute 880 583 983 606" align="align:center middle;" id="caption6" class="cell_1"/>
- <Static text="진료과" position="absolute 600 583 699 606" align="align:center middle;" id="caption8" class="cell_1"/>
- <Static text="담당의 여부" position="absolute 600 608 699 631" align="align:center middle;" id="caption15" class="cell_1"/>
- <Static text="담당교수/담당의" position="absolute 600 633 699 656" align="align:center middle;" id="caption10" class="cell_1" style="font:Dotum,8;"/>
- <Combo position="absolute 701 585 874 604" id="cmb_orddeptcd" class="combo_default" innerdataset="@ds_init_orddeptcd" datacolumn="nm" codecolumn="cd" onitemchanged="cmb_orddeptcd_onitemchanged" enable="true" readonly="false"/>
- <Static text="선택진료" position="absolute 600 658 699 681" align="align:center middle;" id="caption11" class="cell_1"/>
- <Radio position="absolute 701 609 801 628" id="rdo_attend" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_attend_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Yes</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">No</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 701 660 801 679" id="rdo_specordyn" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Yes</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">No</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo position="absolute 701 635 786 654" id="cmb_medispclid" class="combo_default" innerdataset="@fds_orddrid" datacolumn="nm" codecolumn="cd" enable="true"/>
- <Combo position="absolute 985 561 1060 580" id="cmb_wardcd" class="combo_default" enable="false" innerdataset="@ds_init_wardcd" datacolumn="nm" codecolumn="cd" readonly="false" type="dropdown"/>
- <Combo position="absolute 1088 585 1193 604" id="cmb_roomgrdecd" class="combo_default" innerdataset="@ds_init_roomgrdelist" datacolumn="cdnm" codecolumn="cdid"/>
- <Calendar position="absolute 701 561 786 580" id="ipt_fromdd" class="input_default" enable="false"/>
- <Combo position="absolute 985 585 1087 604" id="cmb_roomtypecd" class="combo_default" innerdataset="@ds_init_roomtypecd" datacolumn="nm" codecolumn="cd" onitemchanged="cmb_roomtypecd_onitemchanged"/>
- <Calendar position="absolute 789 561 874 580" id="ipt_todd" class="input_default" enable="false"/>
- <Static text="병동/병실/병상" position="absolute 880 558 983 581" align="align:center middle;" id="caption12" class="cell_1"/>
- <Static text="전과전실승인" position="absolute 0 0 132 26" align="align:center middle;" id="caption26" class="tit_1"/>
- <Static text="비고1" position="absolute 880 633 983 656" align="align:center middle;" id="caption13" class="cell_1"/>
- <Static text="비고2" position="absolute 880 658 983 681" align="align:center middle;" id="caption14" class="cell_1"/>
- <Edit position="absolute 985 660 1193 679" id="input1"/>
- <CheckBox position="absolute 701 683 757 703" id="bool2" text="사용" truevalue="Y"/>
- <CheckBox position="absolute 789 683 845 703" id="bool3" text="사용" truevalue="Y"/>
- <Static text="O2 /Suct사용" position="absolute 600 683 699 706" id="caption16" class="cell_1"/>
- <Button position="absolute 69 761 137 783" id="button20" class="btn3" text="약정서" onclick="button20_onclick"/>
- <Button position="absolute 190 761 237 783" id="button11" class="btn3" text="팔찌" onclick="button11_onclick"/>
- <Button position="absolute 239 761 314 783" id="button14" class="btn3" visible="true" text="입원카드" enable="false" onclick="button14_onclick"/>
- <Button position="absolute 623 761 723 783" id="btn_SMASB02100" class="btn3" visible="true" text="격리신청현황" onclick="btn_SMASB02100_onclick"/>
- <Button position="absolute 950 761 1030 783" id="btn_cancel" class="btn4" text="승인취소" enable="false" onclick="btn_cancel_onclick"/>
- <Button position="absolute 1032 761 1112 783" id="btn_cancel2" class="btn4" text="신청취소" enable="false" onclick="btn_cancel2_onclick"/>
- <Button position="absolute 517 761 621 783" id="button1" class="btn3" text="환자기본정보" onclick="button1_onclick"/>
- <Static text="감염내과승인여부" position="absolute 0 709 125 732" align="align:center middle;" id="caption18" class="cell_1"/>
- <Static text="격리개시일" position="absolute 127 709 212 732" align="align:center middle;" id="caption19" class="cell_1"/>
- <Static text="격리종료일" position="absolute 214 709 294 732" align="align:center middle;" id="caption20" class="cell_1"/>
- <Static text="이전병실" position="absolute 296 709 376 732" align="align:center middle;" id="caption25" class="cell_1"/>
- <Static text="격리병실" position="absolute 378 709 458 732" align="align:center middle;" id="caption27" class="cell_1"/>
- <Edit position="absolute 0 734 125 753" align="align:center middle;" id="input2" class="input_default" enable="false"/>
- <MaskEdit position="absolute 127 734 212 753" align="align:center middle;" id="input3" class="input_default" enable="false" mask="yyyy-mm-dd"/>
- <MaskEdit position="absolute 214 734 294 753" align="align:center middle;" id="input4" class="input_default" enable="false" mask="yyyy-mm-dd"/>
- <Edit position="absolute 296 734 376 753" align="align:center middle;" id="input5" class="input_default" enable="false"/>
- <Edit position="absolute 378 734 458 753" align="align:center middle;" id="input6" class="input_default" enable="false"/>
- <Static text="신청정보" position="absolute 608 294 778 310" align="align:center middle;" id="caption28" class="tit_2" anchor="top right"/>
- <Grid position="absolute 600 317 1195 531" id="grd_cdcrlist" class="datagrid" binddataset="ds_grd_cdcrlist" anchor="top right" oncellclick="grd_cdcrlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="33"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="66"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="114"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="상태"/>
- <Cell col="1" text="신청구분"/>
- <Cell col="2" text="신청일자"/>
- <Cell col="3" text="완료일자"/>
- <Cell col="4" text="병동"/>
- <Cell col="5" text="병실"/>
- <Cell col="6" text="병상"/>
- <Cell col="7" text="형태"/>
- <Cell col="8" text="등급"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="담당교수"/>
- <Cell col="11" text="담당의"/>
- <Cell col="12" text="선택"/>
- <Cell col="13" text="O2"/>
- <Cell col="14" text="Suc"/>
- <Cell col="15" text="승인자"/>
- <Cell col="16" text="승인일시"/>
- <Cell col="17" text="비고1"/>
- <Cell col="18" text="비고2"/>
- <Cell col="19" text="최초등록자"/>
- <Cell col="20" text="최초등록일시"/>
- <Cell col="21" text="최종수정자"/>
- <Cell col="22" text="최종수정일시"/>
- <Cell col="23" text="SNo"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" style="align:center;" text="bind:acptflagcd" combodataset="ds_acptflagcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="1" displaytype="combo" edittype="none" style="align:center;" text="bind:appflagcd" combodataset="ds_appflagcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="2" text="bind:appdd" mask="expr:utlf_isNull(appdd) ? '' : '####-##-##'"/>
- <Cell col="3" text="bind:enddd" mask="expr:utlf_isNull(enddd) ? '' : '####-##-##'"/>
- <Cell col="4" displaytype="combo" edittype="none" text="bind:chngwardcd" combodataset="ds_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="none" text="bind:chngroomcd" combodataset="ds_init_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="6" displaytype="combo" edittype="none" text="bind:chngbedcd" combodataset="ds_init_bedcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="7" displaytype="combo" edittype="none" text="bind:chngroomtype" combodataset="ds_init_roomtypecd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="8" displaytype="combo" edittype="none" text="bind:chngroomgrde" combodataset="ds_init_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="9" displaytype="normal" edittype="none" text="bind:chngorddeptnm" enable="false"/>
- <Cell col="10" displaytype="normal" edittype="none" text="bind:chngmedispclnm" enable="false"/>
- <Cell col="11" displaytype="normal" edittype="none" text="bind:chngatdoctnm" enable="false"/>
- <Cell col="12" text="bind:specordyn"/>
- <Cell col="13" text="bind:oxyyn"/>
- <Cell col="14" text="bind:suctyn"/>
- <Cell col="15" text="bind:pamacptnm"/>
- <Cell col="16" text="bind:pamacptdt" mask="expr:utlf_isNull(pamacptdt) ? '' : '####-##-## ##:##'"/>
- <Cell col="17" displaytype="combo" edittype="none" text="bind:prestremcd" combodataset="ds_P0360" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="18" text="bind:chngprestrem"/>
- <Cell col="19" text="bind:fstrgstridnm"/>
- <Cell col="20" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="21" text="bind:lastupdtridnm"/>
- <Cell col="22" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="23" text="bind:icdr_seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1114 761 1194 783" id="btn_recovery" class="btn4" text="완료취소" enable="false" onclick="btn_recovery_onclick"/>
- <Button position="absolute 386 761 433 783" id="button23" class="btn3" text="선택" onclick="button23_onclick"/>
- <Combo position="absolute 1128 561 1194 580" id="cmb_bedcd" class="combo_default" enable="false" innerdataset="@ds_init_bedcd" datacolumn="nm" codecolumn="cd"/>
- <Button position="absolute 0 761 67 783" id="button2" class="btn3" text="결정서" visible="true" enable="false" onclick="button2_onclick"/>
- <Button position="absolute 316 761 384 783" id="button12" class="btn3" text="진단서" onclick="button12_onclick"/>
- <Static text="병실차액/전담전문" position="absolute 880 608 999 631" align="align:center middle;" id="caption33" class="cell_1"/>
- <Combo position="absolute 1001 609 1126 628" id="combo3" class="combo_default" innerdataset="@ds_init_roomgrdecd" datacolumn="cdamt" codecolumn="cd" enable="true"/>
- <Button position="absolute 435 761 515 783" id="button28" class="btn3" text="보호자증" onclick="button28_onclick"/>
- <Button position="absolute 139 761 188 783" id="button3" class="btn3" text="상급" onclick="button3_onclick"/>
- <Calendar position="absolute 344 36 444 55" id="ipt_appddfrom" class="input_search" visible="false" mask="yyyy-mm-dd"/>
- <Static text="승인일자 :" position="absolute 268 37 358 54" id="caption17" class="search_name" visible="false"/>
- <Calendar position="absolute 464 36 564 55" id="ipt_appddto" class="input_search" visible="false" mask="yyyy-mm-dd"/>
- <Static id="cpt_line" text="~" visible="false" position="absolute 448 39 459 56" style="align:center;"/>
- <Shape id="Shape00" position="absolute 0 555 595 557" class="line_3" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="Shape01" class="line_3" position="absolute 600 555 1195 557" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="Shape02" class="line_3" position="absolute 600 315 1195 317" style="strokepen:3 solid #33bbbbff;" anchor="top right"/>
- <Shape id="Shape03" class="line_3" position="absolute 0 315 595 317" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Shape id="Shape04" class="line_3" position="absolute 0 87 1195 89" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Shape id="Shape05" position="absolute 0 754 458 756" style="strokepen:1 solid #33bbbbff;"/>
- <Shape id="Shape06" position="absolute 600 707 1195 709" style="strokepen:1 solid #33bbbbff;"/>
- <Shape id="Shape07" position="absolute 0 682 595 684" style="strokepen:1 solid #33bbbbff;"/>
- <Static id="caption00" text="격리병실승인정보" class="tit_2" position="absolute 4 688 140 704" onclick="caption00_onclick"/>
- <Shape id="Shape08" class="line_3" position="absolute 0 706 458 708" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption07" text="O2 /Suct사용" class="cell_1" position="absolute 0 658 99 681"/>
- <Static id="caption09" text="병실차액" class="cell_1" position="absolute 279 608 382 631"/>
- <Static id="caption31" text="비고2" class="cell_1" position="absolute 279 658 382 681"/>
- <Static id="caption32" text="비고1" class="cell_1" position="absolute 279 633 382 656"/>
- <CheckBox id="bool4" taborder="1" position="absolute 101 658 157 678" onclick="CheckBox00_onclick" text="사용" enable="false"/>
- <CheckBox id="bool5" taborder="2" position="absolute 189 658 245 678" text="사용" enable="false"/>
- <Combo id="Combo00" taborder="3" position="absolute 384 609 595 628" index="-1" enable="false" innerdataset="@ds_init_roomgrdecd" codecolumn="cd" datacolumn="cdamt"/>
- <Combo id="Combo02" taborder="4" position="absolute 384 635 595 654" enable="false" innerdataset="ds_P0360" codecolumn="cdid" datacolumn="cdnm"/>
- <Edit id="Edit00" taborder="5" position="absolute 384 660 595 679" enable="false"/>
- <Combo id="cmb_2wardcd00" taborder="6" innerdataset="@ds_init_roomcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 461 559 527 578"/>
- <Combo id="cmb_2wardcd01" taborder="7" innerdataset="@ds_init_bedcd" codecolumn="cd" datacolumn="nm" class="combo_default" enable="false" position="absolute 529 559 595 578"/>
- <Combo id="Combo01" taborder="8" position="absolute 985 635 1193 654" index="-1" codecolumn="cdid" datacolumn="cdnm" innerdataset="ds_P0360"/>
- <Button id="Button00" taborder="9" text="통지" position="absolute 725 761 773 783" class="btn3" onclick="Button00_onclick"/>
- <Button id="Button04" taborder="10" text="수령" position="absolute 775 761 824 783" class="btn3" onclick="Button04_onclick"/>
- <Combo id="Combo04" taborder="11" position="absolute 1128 609 1194 628" innerdataset="@ds_init_roomcd" codecolumn="cd" datacolumn="hospitalistyn" style="align:center;" enable="false" index="-1"/>
- <Button id="Button05" taborder="12" text="전담" position="absolute 826 761 875 783" class="btn3" onclick="Button05_onclick"/>
- <Button id="btn_srch_room" taborder="13" class="icon_search" position="absolute 1200 563 1216 576" anchor="left top" onclick="btn_srch_room_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="보험유형코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="보험유형명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="up" type="STRING" size="256" sumtext="보험유형코드"/>
- <Column id="cd" type="STRING" size="256" sumtext="보조유형코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="보조유형명"/>
- <Column id="io" type="STRING" size="256" sumtext="입원외래구분"/>
- <Column id="amt" type="STRING" size="256" sumtext="본인부담상한금액"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="deptengabbr2" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="reqdeptno" type="STRING" size="256" sumtext="과번호"/>
- <Column id="orddeptflag" type="STRING" size="256" sumtext="처방사용구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료의사ID"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료의사명"/>
- <Column id="dp" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="sp" type="STRING" size="256" sumtext="선택진료"/>
- <Column id="nmspecyn" type="STRING" size="256" sumtext="이름 선택진료여부"/>
- <Column id="drengabbr" type="STRING" size="256" sumtext="의사영문약어"/>
- <Column id="jobposcd" type="STRING" size="256" sumtext="직위"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="ofg" type="STRING" size="256" sumtext="병동구분"/>
- <Column id="build" type="STRING" size="256" sumtext="건물구분"/>
- <Column id="deptplce" type="STRING" size="256" sumtext="병동위치"/>
- <Column id="deptplce2" type="STRING" size="256" sumtext="병동위치(단축)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="병실명"/>
- <Column id="wd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="gr" type="STRING" size="256" sumtext="병동등급"/>
- <Column id="ty" type="STRING" size="256" sumtext="병동타입"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_bedcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="병상명"/>
- <Column id="wd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="rm" type="STRING" size="256" sumtext="병실코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="병실등급코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="병실등급코드명"/>
- <Column id="typecd" type="STRING" size="256" sumtext="병실등급코드약어"/>
- <Column id="cdamt" type="STRING" size="256" sumtext="병실차액"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256" sumtext="등급코드"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="등급명"/>
- <Column id="newcdid" type="STRING" size="256" sumtext="살아있는코드"/>
- <Column id="typecd" type="STRING" size="256" sumtext="형태"/>
- <Column id="yn" type="STRING" size="256" sumtext="yn"/>
- <Column id="cdyn" type="STRING" size="256" sumtext="cdyn"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="병실형태코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="병실형태코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_inhosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="INT" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원별 기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원 시간"/>
- <Column id="inpath" type="STRING" size="256" sumtext="입원 경로"/>
- <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="hospbrthyn" type="STRING" size="256" sumtext="본원 출생여부"/>
- <Column id="rsrvinyn" type="STRING" size="256" sumtext="입원예약 여부"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원 일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원 시간"/>
- <Column id="dschtype" type="STRING" size="256" sumtext="퇴원 형태"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망 일시"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="medcostestmflag" type="STRING" size="256" sumtext="진찰료 산정"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진 구분"/>
- <Column id="fsexammanlyn" type="STRING" size="256" sumtext="초재진구분 수동부여여부"/>
- <Column id="medamtpostyn" type="STRING" size="256" sumtext="진찰료 후불여부"/>
- <Column id="medamtfreeresn" type="STRING" size="256" sumtext="진찰료 면제 사유"/>
- <Column id="holiflag" type="STRING" size="256" sumtext="공휴일구분"/>
- <Column id="brateflag" type="STRING" size="256" sumtext="외래부담률 O, 입원부담률 I"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태(외래 O, 응급 E ,입원 I)"/>
- <Column id="ermngtamtcalcyn" type="STRING" size="256" sumtext="응급의학관리료산정여부"/>
- <Column id="erbrthflag" type="STRING" size="256" sumtext="응급분만구분"/>
- <Column id="erchospath" type="STRING" size="256" sumtext="응급내원경로"/>
- <Column id="erorddeptcd" type="STRING" size="256" sumtext="응급진료과코드"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="insukind" type="STRING" size="256" sumtext="환자의 보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="환자의 보조유형"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무 부서 코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위 진료과 코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="담당교수명"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료 여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동 코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실 코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상 코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="rqsthospcd" type="STRING" size="256" sumtext="협력의뢰 병원코드"/>
- <Column id="rqstdrid" type="STRING" size="256" sumtext="협력의뢰 의사 ID"/>
- <Column id="hospiceyn" type="STRING" size="256" sumtext="호스피스여부"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG 사용 여부"/>
- <Column id="bmtyn" type="STRING" size="256" sumtext="BMT 환자 여부"/>
- <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구 코드"/>
- <Column id="batlockid" type="STRING" size="256" sumtext="Batch작업시 처리 ID"/>
- <Column id="batlockyn" type="STRING" size="256" sumtext="Batch작업 여부"/>
- <Column id="prcplockid" type="STRING" size="256" sumtext="처방잠김ID"/>
- <Column id="ordcostretcdd" type="STRING" size="256" sumtext="진료비 소급일자"/>
- <Column id="ordcostcalcdd" type="STRING" size="256" sumtext="진료비 계산일자"/>
- <Column id="inacptdt" type="STRING" size="256" sumtext="입원접수 일시"/>
- <Column id="inacptchrgid" type="STRING" size="256" sumtext="입원접수 담당자"/>
- <Column id="eroutdt" type="STRING" size="256" sumtext="응급실 퇴실 일시"/>
- <Column id="careinrmdd" type="STRING" size="256" sumtext="간호입실일자"/>
- <Column id="careinrmtm" type="STRING" size="256" sumtext="간호입실시간"/>
- <Column id="careinrmrgstrid" type="STRING" size="256" sumtext="간호입실등록자ID"/>
- <Column id="dietprcpcopyflag" type="STRING" size="256" sumtext="식이처방복사구분"/>
- <Column id="incncldt" type="STRING" size="256" sumtext="입원취소 일시"/>
- <Column id="incnclchrgid" type="STRING" size="256" sumtext="입원취소 담당자"/>
- <Column id="inoutcvrtyn" type="STRING" size="256" sumtext="입원후 외래전환 여부"/>
- <Column id="dschcnclyn" type="STRING" size="256" sumtext="퇴원취소 여부"/>
- <Column id="dschcnclresn" type="STRING" size="256" sumtext="퇴원취소 사유"/>
- <Column id="dschcncldt" type="STRING" size="256" sumtext="퇴원취소 일시"/>
- <Column id="dschcnclcharid" type="STRING" size="256" sumtext="퇴원취소담당자"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고 여부"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고 일시"/>
- <Column id="dschdclrtrgstid" type="STRING" size="256" sumtext="퇴원예고 등록자"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고 등록일시"/>
- <Column id="dschrgstacptdt" type="STRING" size="256" sumtext="퇴원등록 접수일시"/>
- <Column id="dschrgstacptcharid" type="STRING" size="256" sumtext="퇴원등록 접수담당자"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보 여부"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보 일시"/>
- <Column id="dschnotirgstid" type="STRING" size="256" sumtext="퇴원통보 등록자"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원통보 등록일시"/>
- <Column id="visitrefyn" type="STRING" size="256" sumtext="방문객용 적용 여부"/>
- <Column id="keepdschcnclresn" type="STRING" size="256" sumtext="가퇴원취소 사유"/>
- <Column id="calclastdd" type="STRING" size="256" sumtext="정산 최종일자"/>
- <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="퇴원심사진행 상태"/>
- <Column id="lastjudgdt" type="STRING" size="256" sumtext="최종심사 일자"/>
- <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종중간청구 일자"/>
- <Column id="lastjudgendid" type="STRING" size="256" sumtext="최종심사 완료자"/>
- <Column id="spcljudgflag" type="STRING" size="256" sumtext="선별심사여부"/>
- <Column id="probjudgflag" type="STRING" size="256" sumtext="재원 심사시 문제환자 체크"/>
- <Column id="mainjudgid" type="STRING" size="256" sumtext="주심사자"/>
- <Column id="medcaredayno" type="STRING" size="256" sumtext="요양일수(보험사용)"/>
- <Column id="dschcntcyn" type="STRING" size="256" sumtext="퇴원시 환자에게 연락여부"/>
- <Column id="dscharngmnmemo" type="STRING" size="256" sumtext="퇴원정리메모(간호)"/>
- <Column id="ownbmaxbadd" type="STRING" size="256" sumtext="본인부담상한 기준일자"/>
- <Column id="nblsyn" type="STRING" size="256" sumtext="노블레스 여부"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자 ID"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자 ID"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="recovwardcd" type="STRING" size="256" sumtext="회복병동코드"/>
- <Column id="recovmovedd" type="STRING" size="256" sumtext="회복이동일자"/>
- <Column id="recovinrmdt" type="STRING" size="256" sumtext="회복입실일시"/>
- <Column id="recovoutdt" type="STRING" size="256" sumtext="회복퇴실일시"/>
- <Column id="ordreqformflag" type="STRING" size="256" sumtext="진료의뢰서구분"/>
- <Column id="handicaprbookpossnyn" type="STRING" size="256" sumtext="장애인수첩소지"/>
- <Column id="undersixageyn" type="STRING" size="256" sumtext="6세미만여부"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특례코드"/>
- <Column id="calcdd" type="STRING" size="256" sumtext="계산입실기준일자"/>
- <Column id="calctm" type="STRING" size="256" sumtext="계산입실기준시간"/>
- <Column id="badcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="ermedispclid" type="STRING" size="256" sumtext="응급담당교수ID"/>
- <Column id="emplno" type="STRING" size="256" sumtext="직원사번"/>
- <Column id="suppkindsubyn" type="STRING" size="256" sumtext="보조유형 주과여부"/>
- <Column id="ownbflag" type="STRING" size="256" sumtext="본인부담구분"/>
- <Column id="opertodd" type="STRING" size="256" sumtext="중증수술 보조유형 적용종료예정일"/>
- <Column id="onlnno" type="STRING" size="256" sumtext="통장입금 계좌번호"/>
- <Column id="careoutrmdt" type="STRING" size="256" sumtext="간호퇴실일시"/>
- <Column id="careoutrmdelyresn" type="STRING" size="256" sumtext="간호퇴실지연사유"/>
- <Column id="careoutrmrgstid" type="STRING" size="256" sumtext="간호퇴실등록자ID"/>
- <Column id="etcordflag" type="STRING" size="256" sumtext="(코드군 P0022 참조) J:주사"/>
- <Column id="spclsuppkind" type="STRING" size="256" sumtext="6시간미만환자 산정특례보조유형"/>
- <Column id="orgordtype" type="STRING" size="256" sumtext="최초 ordtype"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="cnstcnfm" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="cnstfromdd" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="cnsttodd" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="preroomcd" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="cnstroomcd" type="STRING" size="256" sumtext="세부진료과"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="O2여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="Suction여부"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="hometel" type="STRING" size="256" sumtext="연락처(집)"/>
- <Column id="agmttype" type="STRING" size="256" sumtext="약정서구분"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="KTAS등급"/>
- <Column id="cctvscanyn" type="STRING" size="256" sumtext="영상정보처리기기 수집/이용 동의서 스캔여부"/>
- <Column id="scanyn" type="STRING" size="256" sumtext="개인정보이용동의서 스캔여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_icdrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="환자 일자별 일련번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="재원이력 시작일자"/>
- <Column id="seqno" type="STRING" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드"/>
- <Column id="appflagcd" type="STRING" size="256" sumtext="신청구분 코드"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무 부서 코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위 진료과 코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="담당교수명"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="wardcd2" type="STRING" size="256" sumtext="병동코드2"/>
- <Column id="roomcd2" type="STRING" size="256" sumtext="병실코드2"/>
- <Column id="bedcd2" type="STRING" size="256" sumtext="병상코드2"/>
- <Column id="roomgrdecd2" type="STRING" size="256" sumtext="병실등급 코드2"/>
- <Column id="roomtypecd2" type="STRING" size="256" sumtext="병실형태 코드2"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="lastupdtridnm" type="STRING" size="256" sumtext="최종 수정자명"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_icdrinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="환자 일자별 일련번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="재원이력 시작일자"/>
- <Column id="seqno" type="STRING" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="접수구분 코드"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드"/>
- <Column id="appflagcd" type="STRING" size="256" sumtext="신청구분 코드"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무 부서 코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위 진료과 코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="담당교수명"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="wardcd2" type="STRING" size="256" sumtext="병동코드2"/>
- <Column id="roomcd2" type="STRING" size="256" sumtext="병실코드2"/>
- <Column id="bedcd2" type="STRING" size="256" sumtext="병상코드2"/>
- <Column id="roomgrdecd2" type="STRING" size="256" sumtext="병실등급 코드2"/>
- <Column id="roomtypecd2" type="STRING" size="256" sumtext="병실형태 코드2"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="O2여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="suction 여부"/>
- <Column id="prestremcd" type="STRING" size="256" sumtext="참고사항코드"/>
- <Column id="chngprestrem" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- <Column id="cnstcnfm" type="STRING" size="256" sumtext="승인여부"/>
- <Column id="cnstfromdd" type="STRING" size="256" sumtext="격리개시일"/>
- <Column id="cnsttodd" type="STRING" size="256" sumtext="격리종료일"/>
- <Column id="preroomcd" type="STRING" size="256" sumtext="이전병실"/>
- <Column id="cnstroomcd" type="STRING" size="256" sumtext="격리병실"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_cdcrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수상태"/>
- <Column id="appflagcd" type="STRING" size="256" sumtext="신청상태"/>
- <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
- <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
- <Column id="appid" type="STRING" size="256" sumtext="신청자"/>
- <Column id="pamacptdd" type="STRING" size="256" sumtext="원무접수일자"/>
- <Column id="pamacpttm" type="STRING" size="256" sumtext="원무접수시간"/>
- <Column id="pamacptdt" type="STRING" size="256" sumtext="원무접수일시"/>
- <Column id="pamacptid" type="STRING" size="256" sumtext="원무접수자"/>
- <Column id="pamacptnm" type="STRING" size="256" sumtext="원무접수자명"/>
- <Column id="prestwardcd" type="STRING" size="256" sumtext="현재병동코드"/>
- <Column id="prestroomcd" type="STRING" size="256" sumtext="현재병실코드"/>
- <Column id="prestbedcd" type="STRING" size="256" sumtext="현재병상코드"/>
- <Column id="prestroomgrde" type="STRING" size="256" sumtext="현재병실등급"/>
- <Column id="prestroomtype" type="STRING" size="256" sumtext="현재병실형태"/>
- <Column id="prestcentcd" type="STRING" size="256" sumtext="현재센터코드"/>
- <Column id="prestsuporddeptcd" type="STRING" size="256" sumtext="현재상위부서코드"/>
- <Column id="prestorddeptcd" type="STRING" size="256" sumtext="현재진료과코드"/>
- <Column id="prestmedispclid" type="STRING" size="256" sumtext="현재담당교수"/>
- <Column id="prestatdoctid" type="STRING" size="256" sumtext="현재주치의"/>
- <Column id="presubdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- <Column id="chngwardcd" type="STRING" size="256" sumtext="변경병동코드"/>
- <Column id="chngroomcd" type="STRING" size="256" sumtext="변경병실코드"/>
- <Column id="chngbedcd" type="STRING" size="256" sumtext="변경병상코드"/>
- <Column id="chngroomgrde" type="STRING" size="256" sumtext="변경병실등급"/>
- <Column id="chngroomtype" type="STRING" size="256" sumtext="변경병실형태"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="O2여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="Suction여부"/>
- <Column id="chngcentcd" type="STRING" size="256" sumtext="변경센터코드"/>
- <Column id="chngsuporddeptcd" type="STRING" size="256" sumtext="변경상위진료과코드"/>
- <Column id="chngorddeptcd" type="STRING" size="256" sumtext="변경진료과코드"/>
- <Column id="chngorddeptnm" type="STRING" size="256" sumtext="변경진료과명"/>
- <Column id="chngmedispclid" type="STRING" size="256" sumtext="변경담당교수아이디"/>
- <Column id="chngmedispclnm" type="STRING" size="256" sumtext="변경담당교수명"/>
- <Column id="chngatdoctid" type="STRING" size="256" sumtext="변경주치의아이디"/>
- <Column id="chngatdoctnm" type="STRING" size="256" sumtext="변경주치의명"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="변경선택진료여부"/>
- <Column id="chngsubdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- <Column id="enddd" type="STRING" size="256" sumtext="완료일자"/>
- <Column id="endtm" type="STRING" size="256" sumtext="완료시간"/>
- <Column id="endid" type="STRING" size="256" sumtext="완료자"/>
- <Column id="prestremcd" type="STRING" size="256" sumtext="참고사항코드"/>
- <Column id="chngprestrem" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초접수자아이디"/>
- <Column id="fstrgstridnm" type="STRING" size="256" sumtext="최초접수자아이디"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초접수일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자아이디"/>
- <Column id="lastupdtridnm" type="STRING" size="256" sumtext="최종수정자명"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srch_cmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hdn_printers" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deci_printer" type="STRING" size="256" sumtext="입원약정서"/>
- <Column id="card_printer" type="STRING" size="256" sumtext="입원등록카드"/>
- <Column id="value" type="STRING" size="256" sumtext="프린트트레이"/>
- <Column id="printflag" type="STRING" size="256" sumtext="입퇴원결정서"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sess_posinstcd" type="STRING" size="256" sumtext="공통코드_기관코드"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="공통코드_구분"/>
- <Column id="dridsorttype" type="STRING" size="256" sumtext="공통코드_의사구분"/>
- <Column id="ipatflag" type="STRING" size="256" sumtext="재원상태"/>
- <Column id="srchcond1" type="STRING" size="256" sumtext="검색조건1"/>
- <Column id="srchcond2" type="STRING" size="256" sumtext="검색조건2"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="mycheck" type="STRING" size="256" sumtext="내환자여부(병동간호)"/>
- <Column id="appddfrom" type="STRING" size="256" sumtext="원무승인일자"/>
- <Column id="appddto" type="STRING" size="256" sumtext="원무승인일자"/>
- <!-- 전과전실 승인/신청정보 -->
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="flag" type="STRING" size="256" sumtext="구분"/>
- <Column id="seqno" type="STRING" size="256" sumtext="연번"/>
- <!-- 입원결정서 조회용 -->
- <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="입원결정일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="aprv_flag" type="STRING" size="256" sumtext="진료형태"/>
- <!-- 빈병상 조회용 -->
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상"/>
- <!-- 입원약정서 조회용 -->
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수"/>
- <Column id="deciflag" type="STRING" size="256" sumtext="출력화면구분"/>
- <!-- 승인취소용 -->
- <Column id="appflag" type="STRING" size="256" sumtext="신청구분"/>
- <Column id="acptflag" type="STRING" size="256" sumtext="상태"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_acptflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">신청</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">접수</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">확인</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_appflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">전실</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">전과</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">전과+전실</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_inpt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_inpt_org" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태Flag"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="환자일련별번호번호"/>
- <Column id="seqno" type="INT" size="256" sumtext="이력일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원시간"/>
- <Column id="inpath" type="STRING" size="256" sumtext="입원경로"/>
- <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="hospbrthyn" type="STRING" size="256" sumtext="본원출생여부"/>
- <Column id="rsrvinyn" type="STRING" size="256" sumtext="입원예약여부"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
- <Column id="dschtype" type="STRING" size="256" sumtext="퇴원형태"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="medcostestmflag" type="STRING" size="256" sumtext="진찰료산정"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="fsexammanlyn" type="STRING" size="256" sumtext="초재진수동부여여부"/>
- <Column id="medamtpostyn" type="STRING" size="256" sumtext="진찰료후불여부"/>
- <Column id="medamtfreeresn" type="STRING" size="256" sumtext="진찰료면제사유"/>
- <Column id="holiflag" type="STRING" size="256" sumtext="공휴일구분"/>
- <Column id="brateflag" type="STRING" size="256" sumtext="외래부담률"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="ermngtamtcalcyn" type="STRING" size="256" sumtext="응급의학관리료산정여부"/>
- <Column id="erbrthflag" type="STRING" size="256" sumtext="응급분만구분"/>
- <Column id="erchospath" type="STRING" size="256" sumtext="응급내원경로"/>
- <Column id="erorddeptcd" type="STRING" size="256" sumtext="응급진료과코드"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무부서코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위진료과코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태코드"/>
- <Column id="rqsthospcd" type="STRING" size="256" sumtext="협력의뢰병원코드"/>
- <Column id="rqstdrid" type="STRING" size="256" sumtext="협력의뢰의사ID"/>
- <Column id="hospiceyn" type="STRING" size="256" sumtext="호스피스여부"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="drgno" type="STRING" size="256" sumtext="DRG번호"/>
- <Column id="bmtyn" type="STRING" size="256" sumtext="BMT여부"/>
- <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
- <Column id="batlockid" type="STRING" size="256" sumtext="Batch작업시처리ID"/>
- <Column id="batlockyn" type="STRING" size="256" sumtext="Batch작업여부"/>
- <Column id="ordcostretcdd" type="STRING" size="256" sumtext="진료비소급일자"/>
- <Column id="ordcostcalcdd" type="STRING" size="256" sumtext="진료비계산일자"/>
- <Column id="inacptdt" type="STRING" size="256" sumtext="입원접수일시"/>
- <Column id="inacptchrgid" type="STRING" size="256" sumtext="입원접수담당자"/>
- <Column id="eroutdt" type="STRING" size="256" sumtext="응급실퇴실일시"/>
- <Column id="careinrmdd" type="STRING" size="256" sumtext="간호입실일자"/>
- <Column id="careinrmtm" type="STRING" size="256" sumtext="간호입실시간"/>
- <Column id="careinrmrgstrid" type="STRING" size="256" sumtext="간호입실등록자ID"/>
- <Column id="dietprcpcopyflag" type="STRING" size="256" sumtext="식이처방복사구분"/>
- <Column id="incncldt" type="STRING" size="256" sumtext="입원취소일시"/>
- <Column id="incnclchrgid" type="STRING" size="256" sumtext="입원취소담당자"/>
- <Column id="inoutcvrtyn" type="STRING" size="256" sumtext="입원후외래전환여부"/>
- <Column id="dschcnclyn" type="STRING" size="256" sumtext="퇴원취소여부"/>
- <Column id="dschcnclresn" type="STRING" size="256" sumtext="퇴원취소사유"/>
- <Column id="dschcncldt" type="STRING" size="256" sumtext="퇴원취소일시"/>
- <Column id="dschcnclcharid" type="STRING" size="256" sumtext="퇴원취소담당자ID"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일시"/>
- <Column id="dschdclrtrgstid" type="STRING" size="256" sumtext="퇴원예고등록자"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고등록일시"/>
- <Column id="dschrgstacptdt" type="STRING" size="256" sumtext="퇴원등록접수일시"/>
- <Column id="dschrgstacptcharid" type="STRING" size="256" sumtext="퇴원등록접수담당자"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보일시"/>
- <Column id="dschnotirgstid" type="STRING" size="256" sumtext="퇴원통보등록자"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원통보등록일시"/>
- <Column id="visitrefyn" type="STRING" size="256" sumtext="방문객용재원환자조회기능적용여부"/>
- <Column id="keepdschcnclresn" type="STRING" size="256" sumtext="가퇴원취소사유"/>
- <Column id="calclastdd" type="STRING" size="256" sumtext="정산최종일자"/>
- <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="퇴원심사진행상태"/>
- <Column id="lastjudgdt" type="STRING" size="256" sumtext="최종심사일자"/>
- <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종중간청구일자"/>
- <Column id="lastjudgendid" type="STRING" size="256" sumtext="최종심사완료자"/>
- <Column id="spcljudgflag" type="STRING" size="256" sumtext="선별심사여부"/>
- <Column id="probjudgflag" type="STRING" size="256" sumtext="재원심사시 문제환자체크"/>
- <Column id="mainjudgid" type="STRING" size="256" sumtext="주심사자재원등록시 보험에서 할당"/>
- <Column id="dschcntcyn" type="STRING" size="256" sumtext="퇴원시 환자에게 연락여부"/>
- <Column id="ownbmaxbadd" type="STRING" size="256" sumtext="본인부담상한기준일자"/>
- <Column id="nblsyn" type="STRING" size="256" sumtext="노블레스여부"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외코드"/>
- <Column id="prcplockrid" type="STRING" size="256" sumtext="처방작업자ID"/>
- <Column id="recovwardcd" type="STRING" size="256" sumtext="회복병동코드 "/>
- <Column id="recovmovedd" type="STRING" size="256" sumtext="회복이동일자"/>
- <Column id="recovinrmdt" type="STRING" size="256" sumtext="회복입실일시 "/>
- <Column id="recovoutdt" type="STRING" size="256" sumtext="회복퇴실일시 "/>
- <Column id="ordreqformflag" type="STRING" size="256" sumtext="진료의뢰서구분"/>
- <Column id="handicaprbookpossnyn" type="STRING" size="256" sumtext="장애인수첩소지 "/>
- <Column id="undersixageyn" type="STRING" size="256" sumtext="6세미만여부 "/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특례코드 "/>
- <Column id="ermedispclid" type="STRING" size="256" sumtext="응급진료과담당교수"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="suppkindsubyn" type="STRING" size="256" sumtext="보조유형의 주과 여부"/>
- <Column id="ownbflag" type="STRING" size="256" sumtext="본인부담여부"/>
- <Column id="opertodd" type="STRING" size="256" sumtext="중증수술일자"/>
- <Column id="onlnno" type="STRING" size="256" sumtext="통장계좌"/>
- <Column id="careoutrmdt" type="STRING" size="256" sumtext="간호퇴실일시"/>
- <Column id="careoutrmdelyresn" type="STRING" size="256" sumtext="간호퇴실지연사유"/>
- <Column id="careoutrmrgstid" type="STRING" size="256" sumtext="간호퇴실등록자ID"/>
- <Column id="etcordflag" type="STRING" size="256" sumtext="기타진료구분"/>
- <Column id="spclsuppkind" type="STRING" size="256" sumtext="산정특례보조유형"/>
- <Column id="orgordtype" type="STRING" size="256" sumtext="최초ordtype"/>
- <Column id="calcdd" type="STRING" size="256" sumtext="계산입실기준일자 "/>
- <Column id="calctm" type="STRING" size="256" sumtext="계산입실기준시간 "/>
- <Column id="badcd" type="STRING" size="256" sumtext="병상코드 "/>
- <Column id="ermedispclid" type="STRING" size="256" sumtext="응급담당교수ID"/>
- <Column id="dscharngmnmemo" type="STRING" size="256" sumtext="메모 "/>
- <Column id="medcaredayno" type="INT" size="256" sumtext="번호 "/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과 "/>
- <Column id="specordtype" type="STRING" size="256" sumtext="KTAS등급"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_icdr" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="환자 일자별 일련번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="seqno" type="INT" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드"/>
- <Column id="appflagcd" type="STRING" size="256" sumtext="신청구분 코드"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무 부서 코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위 진료과 코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="wardcd2" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd2" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd2" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd2" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd2" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="산소여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="suct여부"/>
- <Column id="prestremcd" type="STRING" size="256" sumtext="참고사항1"/>
- <Column id="chngprestrem" type="STRING" size="256" sumtext="참고사항2"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_icdr_org" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="환자 일자별 일련번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="seqno" type="INT" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="acptflagcd" type="STRING" size="256" sumtext="접수구분 코드"/>
- <Column id="appflagcd" type="STRING" size="256" sumtext="신청구분 코드"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="근무 부서 코드"/>
- <Column id="suporddeptcd" type="STRING" size="256" sumtext="상위 진료과 코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수명"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="wardcd2" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd2" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="bedcd2" type="STRING" size="256" sumtext="병상코드"/>
- <Column id="roomgrdecd2" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd2" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="산소여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="suct여부"/>
- <Column id="prestremcd" type="STRING" size="256" sumtext="참고사항1"/>
- <Column id="chngprestrem" type="STRING" size="256" sumtext="참고사항2"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초 등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초 등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종 수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종 수정일시"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_adrv" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="예약접수일자"/>
- <Column id="inrsrvacptseqno" type="INT" size="256" sumtext="예약접수순서"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="inpt_indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="inpt_cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="inpt_drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="inpt_drgno" type="STRING" size="256" sumtext="DRG번호"/>
- </ColumnInfo>
- </Dataset>
- <FilteredDataset id="fds_orddrid" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_orddrid"/>
- <Dataset id="ds_inhpdecilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="status" type="STRING" size="256" sumtext="상태값"/>
- <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="inrsrvacptseqno" type="INT" size="256" sumtext="입원예약접수번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="inrsrvacpttm" type="STRING" size="256" sumtext="접수시간"/>
- <Column id="inrsrvstat" type="STRING" size="256" sumtext="입원예약Flag"/>
- <Column id="insukind" type="STRING" size="256" sumtext="환자유형"/>
- <Column id="indirecdrid" type="STRING" size="256" sumtext="지시의사"/>
- <Column id="indirecdd" type="STRING" size="256" sumtext="지시일자"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="담당교수"/>
- <Column id="patinhopedd" type="STRING" size="256" sumtext="환자희망일자"/>
- <Column id="inhopedd" type="STRING" size="256" sumtext="희망입원일"/>
- <Column id="scheopdd" type="STRING" size="256" sumtext="입원예약병실형태"/>
- <Column id="inhopeward" type="STRING" size="256" sumtext="희망병동"/>
- <Column id="inhoperoomgrdefrom" type="STRING" size="256" sumtext="희망병실등급FROM"/>
- <Column id="inhoperoomgrdeto" type="STRING" size="256" sumtext="희망병실등급TO"/>
- <Column id="inrsrvrem" type="STRING" size="256" sumtext="입원예약참고사항"/>
- <Column id="inrsrvgrad" type="STRING" size="256" sumtext="우선순위"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="drgno" type="STRING" size="256" sumtext="DRG번호"/>
- <Column id="erreglyn" type="STRING" size="256" sumtext="응급정규여부"/>
- <Column id="isolroomyn" type="STRING" size="256" sumtext="격리실사용여부"/>
- <Column id="oxyyn" type="STRING" size="256" sumtext="O2여부"/>
- <Column id="suctyn" type="STRING" size="256" sumtext="suction 여부"/>
- <Column id="specroomyn" type="STRING" size="256" sumtext="특실사용여부"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="inflag" type="STRING" size="256" sumtext="입원상태"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="chngwardcd" type="STRING" size="256" sumtext="승인병동"/>
- <Column id="chngroomcd" type="STRING" size="256" sumtext="승인병실"/>
- <Column id="chngbedcd" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="chngroomgrde" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="chngroomtype" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="assgward" type="STRING" size="256" sumtext="승인병동"/>
- <Column id="assgroom" type="STRING" size="256" sumtext="승인병실"/>
- <Column id="assgbed" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="assgroomgrde" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="assgroomtype" type="STRING" size="256" sumtext="승인병상"/>
- <Column id="drrem" type="STRING" size="256" sumtext="진료참고사항"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원시간"/>
- <Column id="ampmflag" type="STRING" size="256" sumtext="DCC오전오후구분"/>
- <Column id="rsrvprcsstat" type="STRING" size="256" sumtext="입원예약진행상태"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="선택진료형태"/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부진료과코드"/>
- </ColumnInfo>
- </Dataset>
- <FilteredDataset id="fds_orddeptcd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <FilteredDataset id="fds_roomgrdecd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <FilteredDataset id="fds_roomtypecd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rsltroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bedstat" type="STRING" size="256" sumtext="병상체크"/>
- <Column id="bedstatmsg" type="STRING" size="256" sumtext="병상체크"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_saveresult" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inpt_count" type="INT" size="256" sumtext="건수"/>
- <Column id="icdr_count" type="INT" size="256" sumtext="건수"/>
- <Column id="adrv_count" type="INT" size="256" sumtext="건수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_autoprintinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptbs_hngnm" type="STRING" size="256"/>
- <Column id="ptbs_pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_deciprintinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자년"/>
- <Column id="inpath" type="STRING" size="256" sumtext="입원경로"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="담당교수"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별1"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="address" type="STRING" size="256" sumtext="주소"/>
- <Column id="hometel" type="STRING" size="256" sumtext="연락처"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="insukind" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="insucd" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="insuno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="insdnm" type="STRING" size="256" sumtext="바코드"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="상병코드"/>
- <Column id="termhngnm" type="STRING" size="256" sumtext="상병명"/>
- <Column id="inschedd" type="STRING" size="256" sumtext="입원예정일"/>
- <Column id="opschedd" type="STRING" size="256" sumtext="수술예정일"/>
- <Column id="indirecdrnm" type="STRING" size="256" sumtext="의뢰자"/>
- <Column id="inrsrvacptdt" type="STRING" size="256" sumtext="의뢰일시"/>
- <Column id="handicapryn1" type="STRING" size="256" sumtext="장애인유무1"/>
- <Column id="handicapryn2" type="STRING" size="256" sumtext="장애인유무2"/>
- <Column id="inrsrvrem" type="STRING" size="256" sumtext="원무참고사항"/>
- <Column id="cnstyn" type="STRING" size="256" sumtext="의뢰서제출여부"/>
- <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀난치"/>
- <Column id="disregprson3" type="STRING" size="256" sumtext="차상위"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTag"/>
- <Column id="insukindcd" type="STRING" size="256" sumtext="보험유형코드"/>
- <Column id="bedcnt" type="STRING" size="256" sumtext="병상수"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒷자리"/>
- <Column id="grnternm" type="STRING" size="256" sumtext="보증인명"/>
- <Column id="grntertel" type="STRING" size="256" sumtext="보증인전화번호"/>
- <Column id="realcd" type="STRING" size="256" sumtext="관계"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="grnterrrgstno1" type="STRING" size="256" sumtext="보증인주민번호앞"/>
- <Column id="grnterrrgstno2" type="STRING" size="256" sumtext="보증인주민번호뒤"/>
- <Column id="grntermpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
- <Column id="worknm" type="STRING" size="256" sumtext="직장명"/>
- <Column id="worktel" type="STRING" size="256" sumtext="직장전화번호"/>
- <Column id="grnternm1" type="STRING" size="256" sumtext="보증인명1"/>
- <Column id="grntertel1" type="STRING" size="256" sumtext="보증인전화번호1"/>
- <Column id="real1" type="STRING" size="256" sumtext="관계1"/>
- <Column id="addr1" type="STRING" size="256" sumtext="주소1"/>
- <Column id="grnterrrgstno11" type="STRING" size="256" sumtext="보증인주민번호앞1"/>
- <Column id="grnterrrgstno12" type="STRING" size="256" sumtext="보증인주민번호뒤1"/>
- <Column id="grntermpphontel1" type="STRING" size="256" sumtext="휴대전화번호1"/>
- <Column id="worknm1" type="STRING" size="256" sumtext="직장명1"/>
- <Column id="worktel1" type="STRING" size="256" sumtext="직장전화번호1"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터명"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원명"/>
- <Column id="hosptel" type="STRING" size="256" sumtext="병원전화번호"/>
- <!-- 보호자증 -->
- <Column id="deptplce" type="STRING" size="256" sumtext="병동위치"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_prncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="oDsRsltRef" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <FilteredDataset id="fds_wardcd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_specrgst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cnclresult" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="aprv_cnt" type="STRING" size="256" sumtext="건수"/>
- <Column id="result_cnt" type="STRING" size="256" sumtext="건수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_spif" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAG"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="순번"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="msflag" type="STRING" size="256" sumtext="주부구분"/>
- <Column id="orddeptkind" type="STRING" size="256" sumtext="진료과"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순번"/>
- <Column id="histstat" type="STRING" size="256" sumtext="상태"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택구분"/>
- <Column id="choiflag" type="STRING" size="256" sumtext="선택구분"/>
- <Column id="specorddeptcd" type="STRING" size="256" sumtext="특진여부"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="특진여부"/>
- <Column id="appdd" type="STRING" size="256" sumtext="적용일"/>
- <Column id="signflag" type="STRING" size="256" sumtext="사인구분"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="returnyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="returnrid" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="returntm" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="list1specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list1choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list2specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list2choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list3specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list3choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list4specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list4choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list5specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list5choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list6specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list6choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list7specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list7choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list8specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list8choiflag" type="STRING" size="256" sumtext="위임여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_spifptbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="zipcdaddr" type="STRING" size="256" sumtext="상위주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="하위주소"/>
- <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="전화번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_spifinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAG"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="순번"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="msflag" type="STRING" size="256" sumtext="주부구분"/>
- <Column id="orddeptkind" type="STRING" size="256" sumtext="진료과"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순번"/>
- <Column id="histstat" type="STRING" size="256" sumtext="상태"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택구분"/>
- <Column id="choiflag" type="STRING" size="256" sumtext="선택구분"/>
- <Column id="specorddeptcd" type="STRING" size="256" sumtext="특진여부"/>
- <Column id="specdrid" type="STRING" size="256" sumtext="특진여부"/>
- <Column id="appdd" type="STRING" size="256" sumtext="적용일"/>
- <Column id="signflag" type="STRING" size="256" sumtext="사인구분"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="returnyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="returnrid" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="returntm" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="list1specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list1choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list2specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list2choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list3specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list3choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list4specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list4choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list5specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list5choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list6specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list6choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list7specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list7choiflag" type="STRING" size="256" sumtext="위임여부"/>
- <Column id="list8specdrid" type="STRING" size="256" sumtext="선택진료의"/>
- <Column id="list8choiflag" type="STRING" size="256" sumtext="위임여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_spifprintinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="zipcdaddr" type="STRING" size="256" sumtext="우편번호주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="tel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="usernm" type="STRING" size="256" sumtext="사용자성명"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAG"/>
- <Column id="seq" type="STRING" size="256" sumtext="seq"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="appdd" type="STRING" size="256" sumtext="적용일자"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사번"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의성명"/>
- <Column id="maindrnm" type="STRING" size="256" sumtext="진료의성명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="구분"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과약어"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_consent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_cdcr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_PK018list" 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_hidden_grdbedspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_2fromdd" propid="value" datasetid="ds_icdrinfo" columnid="fromdd"/>
- <BindItem id="item1" compid="ipt_2todd" propid="value" datasetid="ds_icdrinfo" columnid="todd"/>
- <BindItem id="item5" compid="cmb_2orddeptcd" propid="value" datasetid="ds_icdrinfo" columnid="orddeptcd"/>
- <BindItem id="item6" compid="cmb_2medispclid" propid="value" datasetid="ds_icdrinfo" columnid="medispclid"/>
- <BindItem id="item7" compid="cmb_2atdoctid" propid="value" datasetid="ds_icdrinfo" columnid="atdoctid"/>
- <BindItem id="item8" compid="cmb_2roomgrdecd" propid="value" datasetid="ds_icdrinfo" columnid="roomgrdecd"/>
- <BindItem id="item9" compid="cmb_2roomtypecd" propid="value" datasetid="ds_icdrinfo" columnid="roomtypecd"/>
- <BindItem id="item10" compid="Combo00" propid="value" datasetid="ds_icdrinfo" columnid="roomgrdecd"/>
- <BindItem id="item11" compid="bool4" propid="value" datasetid="ds_icdrinfo" columnid="oxyyn"/>
- <BindItem id="item12" compid="bool5" propid="value" datasetid="ds_icdrinfo" columnid="suctyn"/>
- <BindItem id="item13" compid="rdo_2specordyn" propid="value" datasetid="ds_icdrinfo" columnid="specordyn"/>
- <BindItem id="item2" compid="cmb_2wardcd" propid="value" datasetid="ds_icdrinfo" columnid="wardcd"/>
- <BindItem id="item3" compid="cmb_2wardcd00" propid="value" datasetid="ds_icdrinfo" columnid="roomcd"/>
- <BindItem id="item4" compid="cmb_2wardcd01" propid="value" datasetid="ds_icdrinfo" columnid="bedcd"/>
- <BindItem id="item14" compid="ipt_fromdd" propid="value" datasetid="ds_send_icdr" columnid="fromdd"/>
- <BindItem id="item15" compid="ipt_todd" propid="value" datasetid="ds_send_icdr" columnid="todd"/>
- <BindItem id="item16" compid="cmb_orddeptcd" propid="value" datasetid="ds_send_icdr" columnid="orddeptcd"/>
- <BindItem id="item17" compid="cmb_medispclid" propid="value" datasetid="ds_send_icdr" columnid="medispclid"/>
- <BindItem id="item18" compid="cmb_atdoctid" propid="value" datasetid="ds_send_icdr" columnid="atdoctid"/>
- <BindItem id="item19" compid="rdo_specordyn" propid="value" datasetid="ds_send_icdr" columnid="specordyn"/>
- <BindItem id="item20" compid="bool2" propid="value" datasetid="ds_send_icdr" columnid="oxyyn"/>
- <BindItem id="item21" compid="bool3" propid="value" datasetid="ds_send_icdr" columnid="suctyn"/>
- <BindItem id="item22" compid="cmb_wardcd" propid="value" datasetid="ds_send_icdr" columnid="wardcd"/>
- <BindItem id="item23" compid="cmb_roomcd" propid="value" datasetid="ds_send_icdr" columnid="roomcd"/>
- <BindItem id="item24" compid="cmb_bedcd" propid="value" datasetid="ds_send_icdr" columnid="bedcd"/>
- <BindItem id="item25" compid="cmb_roomgrdecd" propid="value" datasetid="ds_send_icdr" columnid="roomgrdecd"/>
- <BindItem id="item26" compid="cmb_roomtypecd" propid="value" datasetid="ds_send_icdr" columnid="roomtypecd"/>
- <BindItem id="item27" compid="combo3" propid="value" datasetid="ds_send_icdr" columnid="roomgrdecd"/>
- <BindItem id="item29" compid="input1" propid="value" datasetid="ds_send_icdr" columnid="chngprestrem"/>
- <BindItem id="item30" compid="input2" propid="value" datasetid="ds_icdrinfo" columnid="cnstcnfm"/>
- <BindItem id="item31" compid="input3" propid="value" datasetid="ds_icdrinfo" columnid="cnstfromdd"/>
- <BindItem id="item32" compid="input4" propid="value" datasetid="ds_icdrinfo" columnid="cnsttodd"/>
- <BindItem id="item33" compid="input5" propid="value" datasetid="ds_icdrinfo" columnid="preroomcd"/>
- <BindItem id="item34" compid="input6" propid="value" datasetid="ds_icdrinfo" columnid="cnstroomcd"/>
- <BindItem id="item28" compid="Combo01" propid="value" datasetid="ds_send_icdr" columnid="prestremcd"/>
- <BindItem id="item35" compid="Combo04" propid="value" datasetid="ds_send_icdr" columnid="roomcd"/>
- <BindItem id="item36" compid="ipt_srchcond2" propid="value" datasetid="ds_send" columnid="srchcond2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "pam_ipatmngtxp::PMI001.xjs";
- include 'pam_pamcomnxp::PAM.xjs';
- var arErrorCode = new HashArray();
- var cmcnuprinter_path = system.convertRealPath("%MYDOCUMENT%") + "\\KU20\\cmcnuprinter";
- var inpt_flag = null;
- var icdr_flag = null;
- var ipaddress;
- function SMPMI01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- function SMPMI01600_onload(obj:Form, e:LoadEventInfo)
- {
- var extObj = new ExtCommon();
- ipaddress = extObj.getIPAddress();
- // 프린터설정 확인
- fSetPrinterTray();
- // 그리드 초기화
- grdf_initGrid(grd_inhosplist);
- grdf_initGrid(grd_icdrlist);
- grdf_initGrid(grd_cdcrlist);
-
- // 공통코드 조회
- var arrComParam = [{dsNm:"ds_P0002", cdGrpId:"P0002"},{dsNm:"ds_P0006", cdGrpId:"P0006"},{dsNm:"ds_P0015", cdGrpId:"P0015"},
- {dsNm:"ds_P0016", cdGrpId:"P0016"},{dsNm:"ds_P0019", cdGrpId:"P0019"},{dsNm:"ds_P0021", cdGrpId:"P0021"},
- {dsNm:"ds_P0023", cdGrpId:"P0023"},{dsNm:"ds_P0025", cdGrpId:"P0025"},{dsNm:"ds_P0026", cdGrpId:"P0026"},
- {dsNm:"ds_P0032", cdGrpId:"P0032"},{dsNm:"ds_P0149", cdGrpId:"P0149"},{dsNm:"ds_P0158", cdGrpId:"P0158"},
- {dsNm:"ds_P0160", cdGrpId:"P0160"},{dsNm:"ds_P0360", cdGrpId:"P0360"},{dsNm:"ds_P0363", cdGrpId:"P0363"},
- {dsNm:"ds_P0313", cdGrpId:"P0313"}];
- appf_getCodeList(arrComParam, true, false, "");
-
- // 동적 dataset 컨트롤 적용
- Combo01.innerdataset = "";
- Combo01.innerdataset = "ds_P0360";
-
- // 원무공통코드 조회
- var arrPamParam = [{dsNm:"ds_pP0018", cdGrpId:"P0018"}, {dsNm:"ds_pP0022", cdGrpId:"P0022"},
- {dsNm:"ds_pP0041", cdGrpId:"P0041"}, {dsNm:"ds_pPK018", cdGrpId:"PK018"},
- {dsNm:"ds_pP0032", cdGrpId:"P0032"}];
- pamfGetCodeList(arrPamParam, false);
-
- ds_init_PK018list.copyData(ds_pPK018);
-
- // 개인정보이용동의서 출력을 위한 서식코드 취득
- lf_reqHardCodeInfo(ds_init_prncd, '5604');
- lf_reqHardCodeInfo(oDsRsltRef, "5604"); // oDsRsltRef.getColumn(0, "hardcd")
- // 입원약정서, 입원환자카드 프린터명
- ds_pP0018.filter("cdid=='1'");
- ds_hdn_printers.setColumn(0, "deci_printer", ds_pP0018.getColumn(0, "cdnm"));
- ds_pP0018.filter("cdid=='2'");
- ds_hdn_printers.setColumn(0, "card_printer", ds_pP0018.getColumn(0, "cdnm"));
- ds_pP0018.filter(""); // reset filter
-
- ds_send.setColumn(0, "ioflag", "I");
- ds_send.setColumn(0, "sess_posinstcd", sysf_getUserInfo("dutplceinstcd"));
-
- // 원무 공통코드 설정(진료과, 진료의, 병동, 병실, 병상, 병실등급, 병실형태 etc)
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_wardcd=wardcd ds_init_roomcd=roomcd ds_init_bedcd=bedcd ds_init_roomgrdecd=roomgrdecd ds_init_roomtypecd=roomtypecd ds_init_roomgrdelist=roomgrdelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- // FilterdDataSet 설정
- fds_orddrid.binddataset = ds_init_orddrid; // 의사정보
- fds_wardcd.binddataset = ds_init_wardcd; // 병동정보
- fds_orddeptcd.binddataset = ds_init_orddeptcd; // 진료과정보
-
- // 컨트롤 초기화
- fInit();
-
-
-
- // 버튼 설정
- fSetButton();
-
- // opener 검증
- if (frmf_checkOpener()) {
- //PID 값 받아오는 거 수정 20200207 임승주
- var pid = opener.frmf_getParameter("SMPMI01600_PID");
- ds_send.setColumn(0, "ipatflag", '1');
- ds_send.setColumn(0, "srchcond1", '1');
- ds_send.setColumn(0, "srchcond2", pid);
- btn_srch.click();
- }
-
- //병실변경버튼 히든처리(2019/01/28 이정택)
- btn_srch_room.visible = false;
-
- // 담당의 존재 여부 구분 임승주 추가 19.08.26
- rdo_attend.value= "Y";
- }
- /** 조회구분 변경 */
- function cmb_srchcond1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var ipatrefflag = obj.value;
-
- // 조회구분에 따른 검색조건 동적처리
- fipatrefchlind(ipatrefflag);
-
- // 자동조회 실시
- // 0:전체, 9:전과전실신청, 10:응급실 입원결정서 신청자, 11:DSC 입원결정서 신청자, 12:전실승인
- if (ipatrefflag == '0'||ipatrefflag == '9'||ipatrefflag == '10'||ipatrefflag == '11' ||ipatrefflag == '12' ){
- btn_srch.click();
- }
- }
- /** 검색조건 활성/비활성 처리 */
- function fipatrefchlind(ipatrefflag)
- {
- // default 설정
- ipt_srchcond2.visible = false; // 입력항목
- cmb_srchcond2.visible = false; // 풀다운
- caption17.visible = false; // 전실승인(타이틀)
- ipt_appddfrom.visible = false; // 전실승인(시작)
- cpt_line.visible = false; // 전실승인(하이픈)
- ipt_appddto.visible = false; // 전실승인(종료)
-
- // 1:환자번호, 13:환자성명
- if (ipatrefflag == '1' || ipatrefflag == '13') {
- ipt_srchcond2.visible = true;
- ipt_srchcond2.setFocus();
- ipt_srchcond2.position.width = 270;
-
- // 2:진료과
- } else if (ipatrefflag == '2') {
- cmb_srchcond2.visible = true;
- cmb_srchcond2.position.width = 270;
- ds_srch_cmb.copyData(ds_init_orddeptcd);
-
- // 3:주치의
- } else if (ipatrefflag == '3') {
- cmb_srchcond2.visible = true;
- cmb_srchcond2.position.width = 270;
- ds_srch_cmb.copyData(ds_init_orddrid);
-
- // 4:담당의
- } else if (ipatrefflag == '4') {
- cmb_srchcond2.visible = true;
- cmb_srchcond2.position.width = 270;
- ds_srch_cmb.copyData(ds_init_orddrid);
-
- // 5:병동
- } else if (ipatrefflag == '5') {
- cmb_srchcond2.visible = true;
- cmb_srchcond2.position.width = 270;
- ds_srch_cmb.copyData(ds_init_wardcd);
-
- // 9:전과전실신청
- } else if (ipatrefflag == '9') {
- grd_inhosplist.setFormatColProperty(6, "size", 50);
- grd_inhosplist.setFormatColProperty(7, "size", 30);
- // do nothing
-
- // 10:응급실 입원결정서 신청자
- } else if (ipatrefflag == '10') {
- // do nothing
- grd_inhosplist.setFormatColProperty(6, "size", 50);
- grd_inhosplist.setFormatColProperty(7, "size", 30);
-
- // 11:DSC 입원결정서 신청자
- } else if (ipatrefflag == '11') {
- // do nothing
- grd_inhosplist.setFormatColProperty(6, "size", 50);
- grd_inhosplist.setFormatColProperty(7, "size", 30);
-
- // 12:전실승인
- }else if (ipatrefflag == '12') {
- caption17.visible = true;
- ipt_appddfrom.visible = true;
- ipt_appddto.visible = true;
- cpt_line.visible = true;
- ipt_appddfrom.value = utlf_getCurrentDate(); // 시작일자 설정
- ipt_appddto.value = utlf_getCurrentDate(); // 종료일자 설정
- grd_inhosplist.setFormatColProperty(6, "size", 50);
- grd_inhosplist.setFormatColProperty(7, "size", 30);
-
- // 0:전체
- }else if (ipatrefflag == '0') {
- // do nothing
- grd_inhosplist.setFormatColProperty(6, "size", 0);
- grd_inhosplist.setFormatColProperty(7, "size", 0);
- }
- }
- // 2009년 03월 20일, JHP
- // 서울성모이전으로 프린터를 2tray와 1tray짜리를 동시에 사용한다. 수납쪽(영수증, 중간계산서)은 1tray, 등록쪽(약정서, 입원카드)은 2tray를 쓰는데
- // 1트레이는 기본이므로 수납쪽은 그냥 둔다. 근데 2트레이는 렉스퍼트 출력시 트레이번호를 셋팅값으로 박아줘야하는데 프린터 정보는 동적으로 가지고 올수 없기때문에
- // 임의의 경로에 txt파일을 만들어 트레이값을 설정하여 저장하여놓고 불러와서 트레이번호를 매겨준다.
- // 이때 해당 파일이 없으면 해당파일을 사용자가 만들어준다.
- function fSetPrinterTray(){
- // 프린터 트레이 설정을 위한 ini파일 조회
- var printerfileno = "X";
-
- var vFile = new VirtualFile(cmcnuprinter_path + "\\printer.ini", VirtualFile.openRead | VirtualFile.openText);
- var sLine = "";
-
- // 파일읽기
- if (vFile.readLine() != null) {
- while((sLine = vFile.readLine()).length > 0) {
- if (sLine.indexOf("=") > -1) {
- printerfileno = sLine.charAt(sLine.indexOf("=") + 1);
- }
- }
- }
-
- // 파일 존재하지 않는 경우 파일생성
- if ( printerfileno == "X") {
-
- if (sysf_messageBox("프린터 트레이정보가 존재하지 않습니다. ''예 = 트레이1개'', ''아니오 = 트레이2개'' ","Q003") == "6") {
- printerfileno = "1";
- } else {
- printerfileno = "2";
- }
-
- // 폴더생성
- if( VirtualFile.isExist(cmcnuprinter_path) == false ) {
- VirtualFile.createDirectory(cmcnuprinter_path);
- }
-
- // 파일쓰기
- var vFileNew = new VirtualFile(cmcnuprinter_path + "\\printer.ini", VirtualFile.openWrite | VirtualFile.openText);
- vFileNew.write("[Tray]");
- vFileNew.write("\r\n");
- vFileNew.write("trayno=" + printerfileno);
- vFileNew.close();
- }
-
- ds_hdn_printers.setColumn(0, "value", printerfileno);
- }
- /** 컨트롤 초기화 처리 */
- function fInit() {
- // 기본 비활성화 처리시켰음 필요시 복원로직 추가
- }
- /** 버튼 설정 */
- function fSetButton(pParam) {
- var sOrgOrdType = "";
-
- var sAppflagcd = ds_grd_cdcrlist.getColumn(ds_grd_cdcrlist.rowposition, "appflagcd");
-
- // 재원내역
- var iRows = ds_grd_inhosplist.rowcount;
-
- if (iRows == 1) {
- sOrgOrdType = ds_grd_inhosplist.getColumn(0, "orgordtype");
- } else {
- sOrgOrdType = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "orgordtype");
- }
-
- // 1:전실
- if (pParam == "1") {
- btn_save.enable = true; // 승인
- btn_cancel.enable = false; // 승인취소
- btn_cancel2.enable = true; // 신청취소
- btn_recovery.enable = false; // 완료취소
-
- // 2:전과
- } else if (pParam == "2") {
- btn_save.enable = false; // 승인
- btn_cancel.enable = true; // 승인취소
- btn_cancel2.enable = false; // 신청취소
- btn_recovery.enable = false; // 완료취소
-
- // 3:전실+전과
- } else if (pParam == "3") {
- btn_save.enable = false; // 승인
- btn_cancel.enable = false; // 승인취소
- btn_cancel2.enable = false; // 신청취소
-
- // 2009.05.07 - 전과+전실 완료취소 시에는 응급실일 때만 취소할 수 있도록 조건 추가
- if(sAppflagcd == "3") {
- if (sOrgOrdType == "E") {
- btn_recovery.enable = true; // 완료취소
- } else {
- btn_recovery.enable = false; // 완료취소
- }
- } else if(sAppflagcd == "2" && sOrgOrdType == "E") { //응급실 전과취소 없음!!!!
- btn_recovery.enable = false; // 완료취소
- }else{
- btn_recovery.enable = true; // 완료취소
- }
-
- // 입원결정서
- } else if (pParam == "ED") {
- btn_save.enable = true; // 승인
- btn_cancel.enable = false; // 승인취소
- btn_cancel2.enable = false; // 신청취소
- btn_recovery.enable = false; // 완료취소
-
- // 그외의 경우
- } else {
- btn_save.enable = false; // 승인
- btn_cancel.enable = false; // 승인취소
- btn_cancel2.enable = false; // 신청취소
- btn_recovery.enable = false; // 완료취소
- }
- }
- // 재원내역 조회
- function fQuery1(){
-
-
-
-
-
- // dataset 초기화
- ds_grd_inhosplist.clearData(); // 재원내역
- ds_grd_inhosplist.addRow();
- ds_grd_icdrlist.clearData(); // 전과전실 이력
- ds_grd_icdrlist.addRow();
- ds_icdrinfo.clearData(); // 현재 과/병실 정보
- ds_icdrinfo.addRow();
- ds_grd_cdcrlist.clearData(); // 신청정보
- ds_grd_cdcrlist.addRow();
- ds_send_inpt.clearData(); // 승인정보_inpt
- ds_send_inpt.addRow();
- ds_send_inpt_org.clearData(); // 승인정보_inpt
- ds_send_inpt_org.addRow();
- ds_send_icdr.clearData(); // 승인정보_icdr
- ds_send_icdr.addRow();
- ds_send_icdr_org.clearData(); // 승인정보_icdr
- ds_send_icdr_org.addRow();
- ds_send_adrv.clearData(); // 승인정보_adrv
- ds_send_adrv.addRow();
- ds_inhpdecilist.clearData(); // 입원결정서
- ds_inhpdecilist.addRow();
- // 조회조건 설정
- ds_send.setColumn(0, "ipatflag", "1"); // 1 고정
-
- ds_send.setColumn(0, "srchcond1", cmb_srchcond1.value);
- // 1.등록번호, 13:환자성명
- if (cmb_srchcond1.value == "1" || cmb_srchcond1.value == "13") {
- ds_send.setColumn(0, "srchcond2", ipt_srchcond2.value);
-
- // 2:진료과, 3:주치의, 4:담당의, 5:병동
- } else if (cmb_srchcond1.value == "2" || cmb_srchcond1.value == "3" || cmb_srchcond1.value == "4" || cmb_srchcond1.value == "5") {
- ds_send.setColumn(0, "srchcond2", cmb_srchcond2.value);
- }
- ds_send.setColumn(0, "appddfrom", ipt_appddfrom.value);
- ds_send.setColumn(0, "appddto", ipt_appddto.value);
- ds_send.setColumn(0, "mskind", "M"); // 주유형만 점검
-
-
-
-
- var oParam = {};
- oParam.id = "TRPMI01602";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetIpatListRef";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_inhosplist=inpt";
- oParam.async = false;
- tranf_submit(oParam);
- dsf_setTypeFormat(ds_grd_inhosplist, "cretno:INT^seqno:INT"); // 데이터형 설정
- //조회된건이 한건이면 전과전실이력을 자동으로 조회한다.
- if(ds_grd_inhosplist.rowcount == 1) {
-
- // 첫번째 row 기준으로 재원정보/전과전실정보 조회
- fQuery(ds_grd_inhosplist.rowposition);
-
- // 감염내과정보 셋팅
- fCnstSet(ds_grd_inhosplist.rowposition);
- fComboNodeSet(0);
- }
- //조회시 담당의가 없으면 그 값 그대로 가져오기 19.08.26 임승주
- if(cmb_2atdoctid.value == "-")
- {
- rdo_attend.value="N";// 담당의 여부
- cmb_atdoctid.enable =false;
- ds_send_icdr.setColumn(0,"atdoctid", "-" );
-
-
-
- }
- else
- {
-
- rdo_attend.value="Y";// 담당의 여부
-
-
-
- }
-
-
- }
- /** 조회버튼 */
- function btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fQuery1();
- }
- /** 메인그리드 클릭이벤트 */
- function grd_inhosplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // remark 클릭 시
- if (e.cell == "15") {
- ds_grd_inhosplist.setColumn(e.row, "remfact", fCallSpecPopUp_remfact(ds_grd_inhosplist.getColumn(e.row, "pid"), ds_grd_inhosplist.getColumn(e.row, "remfact")));
- }
- }
- /** 메인그리드 더블클릭이벤트 */
- function grd_inhosplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //버튼 초기화
- fSetButton();
-
- // ds을 기준으로한 row 정보
- var currentrow = ds_grd_inhosplist.rowposition;
- // 재원정보 및 전과전실정보 조회
- fQuery(currentrow);
-
- fComboNodeSet(0);
-
- // 감염내과정보 셋팅
- fCnstSet(currentrow);
- }
- /** 진료과,병동,병실 콤보값 설정 */
- function fComboNodeSet(arg1){
- // 0:자동조회, 1:진료과변경
- if (arg1 == 0 || arg1 == 1) {
- var sorddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
-
- // 전문의
-
- // 담당의
- }
-
- // 0:자동조회, 2:병동변경
- if (arg1 == 0 || arg1 == 2) {
- var swardcd = ds_send_icdr.getColumn(0, "wardcd");
- }
-
- // 4:전문의변경
- if (arg1 == 4) {
- var sOrddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var sMedispclid = ds_send_icdr.getColumn(0, "medispclid");
- var sSpecOrdYN = ds_send_icdr.getColumn(0, "specordyn");
- }
-
- // 0:자동조회, 6:병실형태변경
- if (arg1 == 0 || arg1 == 6) {
- var sroomtypecd = ds_send_icdr.getColumn(0, "roomtypecd");
- }
- }
- /** 재원정보 및 전과전실정보 조회 */
- function fQuery(curruntrow)
- {
- ds_send.setColumn(0, "pid", ds_grd_inhosplist.getColumn(curruntrow, "pid"));
- ds_send.setColumn(0, "indd", ds_grd_inhosplist.getColumn(curruntrow, "indd"));
- ds_send.setColumn(0, "todd", ds_grd_inhosplist.getColumn(curruntrow, "dschdd"));
- ds_send.setColumn(0, "instcd", ds_grd_inhosplist.getColumn(curruntrow, "instcd"));
- ds_send.setColumn(0, "cretno", ds_grd_inhosplist.getColumn(curruntrow, "cretno"));
- ds_send.setColumn(0, "mskind", ds_grd_inhosplist.getColumn(curruntrow, "mskind"));
- ds_send.setColumn(0, "insukind", ds_grd_inhosplist.getColumn(curruntrow, "insukind"));
- ds_send.setColumn(0, "flag", "2");
- var oParam = {};
- oParam.id = "TRPMI01601";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetInhospHist2";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_icdrlist=icdr ds_grd_cdcrlist=cdcr ds_icdrinfo=icdr2";
- oParam.async = false;
- tranf_submit(oParam); // 전과전실내역을 조회한다.
- var sordtype = ds_grd_inhosplist.getColumn(curruntrow, "ordtype");
-
- // INPT backup(변경사항 비교용)
- ds_send_inpt.copyData(ds_grd_inhosplist);
- ds_send_inpt.clearData();
- ds_send_inpt.addRow();
- ds_send_inpt.copyRow(0, ds_grd_inhosplist, curruntrow);
-
- ds_send_inpt_org.copyData(ds_grd_inhosplist);
- ds_send_inpt_org.clearData();
- ds_send_inpt_org.addRow();
- ds_send_inpt_org.copyRow(0, ds_grd_inhosplist, curruntrow);
-
- // ER / CHEMO / DSC
- if (sordtype == 'E' || sordtype == 'D'){
-
- ds_send.setColumn(0, "ordtype", sordtype);
-
- var oParam = {};
- oParam.id = "TRPMI00805";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetInHpDeciRefList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_inhpdecilist=inhpdecilist";
- oParam.async = false;
- tranf_submit(oParam);
- dsf_setTypeFormat(ds_inhpdecilist, "inrsrvacptseqno:INT");
-
- var sadrv_pid = ds_inhpdecilist.getColumn(0, "pid");
- // 입원경정서 존재 시 입원결정서 기준으로 전과전실 신청데이터 생성
- if (sadrv_pid != null && sadrv_pid != "") {
-
- fSetButton("ED");
-
- ds_send_icdr.setColumn(0, "pid", ds_grd_inhosplist.getColumn(curruntrow, "pid"));
- ds_send_icdr.setColumn(0, "indd", ds_grd_inhosplist.getColumn(curruntrow, "indd"));
- ds_send_icdr.setColumn(0, "cretno", ds_grd_inhosplist.getColumn(curruntrow, "cretno"));
- ds_send_icdr.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send_icdr.setColumn(0, "instcd", ds_grd_inhosplist.getColumn(curruntrow, "instcd"));
- ds_send_icdr.setColumn(0, "mskind", ds_grd_inhosplist.getColumn(curruntrow, "mskind"));
- ds_send_icdr.setColumn(0, "todd", "99991231");
- ds_send_icdr.setColumn(0, "histstat", "Y");
- ds_send_icdr.setColumn(0, "indschacptstat", "A");
- ds_send_icdr.setColumn(0, "ordtype", sordtype);
- ds_send_icdr.setColumn(0, "acptflagcd", "1");
- ds_send_icdr.setColumn(0, "appflagcd", "3");
- ds_send_icdr.setColumn(0, "centcd", "-");
- ds_send_icdr.setColumn(0, "dutdeptcd", "-");
- ds_send_icdr.setColumn(0, "suporddeptcd", "-");
- ds_send_icdr.setColumn(0, "orddeptcd", ds_inhpdecilist.getColumn(0, "orddeptcd"));
- ds_send_icdr.setColumn(0, "medispclid", ds_inhpdecilist.getColumn(0, "orddrid"));
- ds_send_icdr.setColumn(0, "atdoctid", "-");
- ds_send_icdr.setColumn(0, "subdeptcd", ds_inhpdecilist.getColumn(0, "subdeptcd"));
-
- fds_orddrid.filter("cd == '" + ds_send_icdr.getColumn(0, "medispclid") + "'");
- var sspecordyn = fds_orddrid.getColumn(0, "sp");
- fds_orddrid.filter(""); // 필터 초기화
-
- ds_send_icdr.setColumn(0, "specordyn", sspecordyn);
- ds_send_icdr.setColumn(0, "wardcd", ds_inhpdecilist.getColumn(0, "assgward"));
- ds_send_icdr.setColumn(0, "roomcd", ds_inhpdecilist.getColumn(0, "assgroom"));
- ds_send_icdr.setColumn(0, "bedcd", ds_inhpdecilist.getColumn(0, "assgbed"));
- ds_send_icdr.setColumn(0, "roomgrdecd", ds_inhpdecilist.getColumn(0, "assgroomgrde"));
- ds_send_icdr.setColumn(0, "roomtypecd", ds_inhpdecilist.getColumn(0, "assgroomtype"));
- ds_send_icdr.setColumn(0, "wardcd2", "-");
- ds_send_icdr.setColumn(0, "roomcd2", "-");
- ds_send_icdr.setColumn(0, "roomgrdecd2", "-");
- ds_send_icdr.setColumn(0, "roomtypecd2", "-");
- ds_send_icdr.setColumn(0, "oxyyn", ds_inhpdecilist.getColumn(0, "oxyyn"));
- ds_send_icdr.setColumn(0, "suctyn", ds_inhpdecilist.getColumn(0, "suctyn"));
- ds_send_icdr.setColumn(0, "chngprestrem", ds_inhpdecilist.getColumn(0, "inrsrvrem"));
-
- // ICDR backup(변경사항 비교용)
- ds_send_icdr_org.copyRow(0, ds_send_icdr, 0);
-
-
- var sMsg = "입원결정서가 있는 [응급실] 또는 [DSC]환자입니다. " + "\n"
- + "전과전실 승인후 간호퇴실시 입원등록 됩니다. ";
-
- sysf_messageBox(sMsg, "I");
-
- // 응급수납에서 병상정보 수정할 수 있도록 프로그램수정(2019/01/28 이정택)
- var e_wardcd = ds_inhpdecilist.getColumn(0, "assgward");
- if(sordtype=='E' && (e_wardcd=='3060100000' || e_wardcd=='3060200000' || e_wardcd=='3060300000')){ //MICU(3060100000), SICU(3060200000), NSICU(3060300000)
- btn_srch_room.visible = true;
- }
- // 응급수납에서 병상정보 수정할 수 있도록 프로그램수정(2019/01/28 이정택)
-
- // 입원약정서 존재하지 않을 경우
- } else {
-
- // 최종 재원정보 복사
- ds_send_icdr.copyData(ds_icdrinfo);
-
- ds_send_icdr.setColumn(0, "ordtype", sordtype);
- ds_send_icdr.setColumn(0, "indschacptstat", "A");
- ds_send_icdr.setColumn(0, "fromdd", utlf_getCurrentDate());
-
- // ICDR backup(변경사항 비교용)
- ds_send_icdr_org.copyRow(0, ds_send_icdr, 0);
-
- // 신청정보 클릭이벤트
- grd_cdcrlist_oncellclick(null, null);
- }
-
- // ER / CHEMO / DSC 이외
- } else {
- // 최종 재원정보 복사
- ds_send_icdr.copyData(ds_icdrinfo);
- ds_send_icdr.setColumn(0, "ordtype", sordtype);
- ds_send_icdr.setColumn(0, "indschacptstat", "A");
- ds_send_icdr.setColumn(0, "fromdd", utlf_getCurrentDate());
-
- // ICDR backup(변경사항 비교용)
- ds_send_icdr_org.copyRow(0, ds_send_icdr, 0);
-
- // 신청정보 클릭이벤트
- grd_cdcrlist_oncellclick(null, null);
- }
-
- // 응급수납에서 병상정보 수정할 수 있도록 프로그램수정(2019/01/28 이정택)
- var e_wardcd = ds_inhpdecilist.getColumn(0, "assgward");
- if(sordtype!='E'){
- btn_srch_room.visible = false;
- }else if(sordtype=='E' && (e_wardcd!='3060100000' && e_wardcd!='3060200000' && e_wardcd!='3060300000')){ //MICU(3060100000), SICU(3060200000), NSICU(3060300000))
- btn_srch_room.visible = false;
- }
- // 응급수납에서 병상정보 수정할 수 있도록 프로그램수정(2019/01/28 이정택)
- }
- /** 전과전실 데이터 검증 및 설정 */
- function fChangeSave(){
-
- // 필수입력항목체크
- var sValCheck = fValCheck();
- if (sValCheck != 'Y') {
- if (sValCheck != 'N'){
- sysf_messageBox(sValCheck,"I004");
- }
- return;
- }
-
- // 퇴원예고환자는 전과전실 승인되지 않도록 수정
- if (ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "dschdclrtyn") == "Y") {
-
- sysf_messageBox("의사에 의해 퇴원예고된 환자입니다. 전과전실 승인할 수 없습니다.", "C000");
- return;
- }
-
- // 1. INPT 처리 start
- // 입원등록정보 설정 : 전과 + 신청상태의 경우에만 INPT에 바로반영 (전실 or 전과+전실은 간호 확인후 원무IF로 반영)
- // 단, ICDR의 내역중 가장 최근내용이 수정되었을때만 반영해야 한다. ( TODD가 99991231인경우만 )
- if ( ds_send_icdr.getColumn(0, "acptflagcd") == "1" && ds_send_icdr.getColumn(0, "appflagcd") == "2" ) {
- if ( ds_send_icdr.getColumn(0, "todd") == '99991231' ){
-
- ds_send_inpt.setColumn(0, "orddeptcd", ds_send_icdr.getColumn(0, "orddeptcd"));
- ds_send_inpt.setColumn(0, "medispclid", ds_send_icdr.getColumn(0, "medispclid"));
- ds_send_inpt.setColumn(0, "atdoctid", ds_send_icdr.getColumn(0, "atdoctid"));
- ds_send_inpt.setColumn(0, "specordyn", ds_send_icdr.getColumn(0, "specordyn"));
-
- // 응급실 정보 설정
- if( ds_send_icdr.getColumn(0, "ordtype") == 'E' ){
- ds_send_inpt.setColumn(0, "erorddeptcd", ds_send_icdr.getColumn(0, "orddeptcd"));
- ds_send_inpt.setColumn(0, "ermedispclid", ds_send_icdr.getColumn(0, "medispclid"));
- }
-
- ds_send_inpt.setColumn(0, "wardcd", ds_send_icdr.getColumn(0, "wardcd"));
- ds_send_inpt.setColumn(0, "roomcd", ds_send_icdr.getColumn(0, "roomcd"));
- ds_send_inpt.setColumn(0, "bedcd", ds_send_icdr.getColumn(0, "bedcd"));
- ds_send_inpt.setColumn(0, "roomgrdecd", ds_send_icdr.getColumn(0, "roomgrdecd"));
- ds_send_inpt.setColumn(0, "roomtypecd", ds_send_icdr.getColumn(0, "roomtypecd"));
- }
- }
- // INPT 변경여부 설정
- if (lf_compareNodeVal(ds_send_inpt, ds_send_inpt_org) == true) {
- inpt_flag = 'U';
- } else {
- inpt_flag = null;
- }
- ds_send_inpt.addColumn("status", "string", 256);
- ds_send_inpt.setColumn(0, "status", inpt_flag);
- // 1. INPT 처리 end
-
- // 2. ICDR 처리 start
- // 병동,병실,등급,형태,진료과,전문의,주치의,특진여부를 비교해서 최종이력과 변경승인하려는 내역이 모두 같으면 승인처리하지 않는다. 2007.09.04 홍영표
- // Start-----------------------------------------------------------------
- var schngflag = 'N'; // 주요항목변경여부
-
- // 변경후 병실정보
- var sicdr_wardcd = ds_send_icdr.getColumn(0, "wardcd");
- var sicdr_roomcd = ds_send_icdr.getColumn(0, "roomcd");
- var sicdr_bedcd = ds_send_icdr.getColumn(0, "bedcd");
- var sicdr_roomgrdecd = ds_send_icdr.getColumn(0, "roomgrdecd");
- var sicdr_roomtypecd = ds_send_icdr.getColumn(0, "roomtypecd");
-
- // 변경후 진료과정보
- var sicdr_orddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var sicdr_medispclid = ds_send_icdr.getColumn(0, "medispclid");
- var sicdr_atdoctid = ds_send_icdr.getColumn(0, "atdoctid");
- var sicdr_specordyn = ds_send_icdr.getColumn(0, "specordyn");
- // 변경전 병실정보
- var sicdr2_wardcd = ds_icdrinfo.getColumn(0, "wardcd");
- var sicdr2_roomcd = ds_icdrinfo.getColumn(0, "roomcd");
- var sicdr2_bedcd = ds_icdrinfo.getColumn(0, "bedcd");
- var sicdr2_roomgrdecd = ds_icdrinfo.getColumn(0, "roomgrdecd");
- var sicdr2_roomtypecd = ds_icdrinfo.getColumn(0, "roomtypecd");
-
- // 변경전 진료과정보
- var sicdr2_orddeptcd = ds_icdrinfo.getColumn(0, "orddeptcd");
- var sicdr2_medispclid = ds_icdrinfo.getColumn(0, "medispclid");
- var sicdr2_atdoctid = ds_icdrinfo.getColumn(0, "atdoctid");
- var sicdr2_specordyn = ds_icdrinfo.getColumn(0, "specordyn");
-
- if (sicdr_wardcd != sicdr2_wardcd){
- schngflag = 'Y';
- } else if (sicdr_roomcd != sicdr2_roomcd){
- schngflag = 'Y';
- } else if (sicdr_bedcd != sicdr2_bedcd){
- schngflag = 'Y';
- } else if (sicdr_roomgrdecd != sicdr2_roomgrdecd){
- schngflag = 'Y';
- } else if (sicdr_roomtypecd != sicdr2_roomtypecd){
- schngflag = 'Y';
- } else if (sicdr_orddeptcd != sicdr2_orddeptcd){
- schngflag = 'Y';
- } else if (sicdr_medispclid != sicdr2_medispclid){
- schngflag = 'Y';
- } else if (sicdr_atdoctid != sicdr2_atdoctid){
- schngflag = 'Y';
- } else if (sicdr_specordyn != sicdr2_specordyn){
- schngflag = 'Y';
- }
-
- if (schngflag == 'N'){
- sysf_messageBox("필수 변경내역(병동,병실,병상,등급,형태,진료과,담당교수,주치의,특진여부)중 \n변경된 내역이 ","I004");
- return;
- }
- // ICDR변경내역은 상기로직에 의해 무조건 존재
- icdr_flag = 'I';
- ds_send_icdr.setColumn(0, "status", icdr_flag);
-
- // 전실신청일 경우 빈병상 체크 한번 더 함
- if ( ds_send_icdr.getColumn(0, "appflagcd") == "1" || ds_send_icdr.getColumn(0, "appflagcd") == "3") {
-
- // 병동 -> 응급실 전실의 경우 응급실의료진 승인처리필요
- if (ds_send_icdr.getColumn(0, "appflagcd") == "1"
- && ds_send_icdr.getColumn(0, "wardcd") == "2280200000") {
-
- sysf_messageBox("병동 → 응급실 전실의 경우 의료진의 승인이 필요합니다. \r\n(원무팀 승인불가)", "C000");
- return false;
- }
-
- //빈병상 체크
- var pid = ds_send_icdr.getColumn(0, "pid");
- var wardcd = ds_send_icdr.getColumn(0, "wardcd");
- var roomcd = ds_send_icdr.getColumn(0, "roomcd");
- var bedcd = ds_send_icdr.getColumn(0, "bedcd");
- var roomtypecd = ds_send_icdr.getColumn(0, "roomtypecd");
-
- if (fRoomBedCntCheck(pid, wardcd, roomcd, bedcd, roomtypecd) == false) {
- return false;
- }
- }
-
- var adrv_pid = ds_inhpdecilist.getColumn(0, "pid");
- var adrv_erreglyn = ds_inhpdecilist.getColumn(0, "erreglyn");
-
- if (adrv_pid != null){
- ds_send_adrv.setColumn(0, "pid", ds_inhpdecilist.getColumn(0, "pid"));
- ds_send_adrv.setColumn(0, "inrsrvacptdd", ds_inhpdecilist.getColumn(0, "inrsrvacptdd"));
- ds_send_adrv.setColumn(0, "inrsrvacptseqno", ds_inhpdecilist.getColumn(0, "inrsrvacptseqno"));
- ds_send_adrv.setColumn(0, "orddeptcd", ds_inhpdecilist.getColumn(0, "orddeptcd"));
- ds_send_adrv.setColumn(0, "inpt_indd", ds_send_icdr.getColumn(0, "indd"));
- ds_send_adrv.setColumn(0, "inpt_cretno", ds_send_icdr.getColumn(0, "cretno"));
- ds_send_adrv.setColumn(0, "inpt_drgyn", ds_inhpdecilist.getColumn(0, "drgyn"));
- ds_send_adrv.setColumn(0, "inpt_drgno", ds_inhpdecilist.getColumn(0, "drgno"));
- }
-
- var inpt_hngnm = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "hngnm");
- var icdr_fromdd = ds_send_icdr.getColumn(0, "fromdd");
- // 응급실이나 DSC환자의 입원일경우 사용자에게 메세지로 최종 확인한다.
- if (adrv_erreglyn != null ){
-
- var smsgparm = "";
-
- if (adrv_erreglyn == "E") {
-
- smsgparm = "응급실";
- } else if (adrv_erreglyn == "D") {
-
- smsgparm = "DSC/CHEMO/DIC";
- }
-
- var smsgrtn = sysf_messageBox("[" + inpt_hngnm + " (" + smsgparm + ")]환자를 " + "[" + icdr_fromdd + "]일자로 입원등록 하시겠습니까?", "Q");
- if (smsgrtn == "6"){
-
- fSaveSubmit(); // 저장sumit
- } else {
-
- return;
- }
- } else {
-
- fSaveSubmit(); // 저장sumit
- }
- // 버튼초기화
- fSetButton();
- }
-
- /** 신청정보 클릭 */
- function grd_cdcrlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var iCurrentRow = grd_cdcrlist.currentrow;
- var sAppflagcd = ds_grd_cdcrlist.getColumn(iCurrentRow, "appflagcd");
- var sAcptflagcd = ds_grd_cdcrlist.getColumn(iCurrentRow, "acptflagcd");
- // 공통정보
- ds_send_icdr.setColumn(0, "appflagcd", sAppflagcd);
- ds_send_icdr.setColumn(0, "acptflagcd", sAcptflagcd);
- ds_send_icdr.setColumn(0, "seqno", ds_grd_cdcrlist.getColumn(iCurrentRow, "seqno"));
- // 전과정보 defalut
- ds_send_icdr.setColumn(0, "orddeptcd", ds_icdrinfo.getColumn(0, "orddeptcd"));
- ds_send_icdr.setColumn(0, "medispclid", ds_icdrinfo.getColumn(0, "medispclid"));
- ds_send_icdr.setColumn(0, "atdoctid", ds_icdrinfo.getColumn(0, "atdoctid"));
-
- ds_send_icdr.setColumn(0, "specordyn", ds_icdrinfo.getColumn(0, "specordyn"));
- // 전실정보 default
- ds_send_icdr.setColumn(0, "wardcd", ds_icdrinfo.getColumn(0, "wardcd"));
- ds_send_icdr.setColumn(0, "roomcd", ds_icdrinfo.getColumn(0, "roomcd"));
- ds_send_icdr.setColumn(0, "bedcd", ds_icdrinfo.getColumn(0, "bedcd"));
- ds_send_icdr.setColumn(0, "roomgrdecd", ds_icdrinfo.getColumn(0, "roomgrdecd"));
- ds_send_icdr.setColumn(0, "roomtypecd", ds_icdrinfo.getColumn(0, "roomtypecd"));
- if (sAppflagcd == "1") { // 전실신청 - 진료과 정보는 original을 사용하고 병실정보만 셋팅
- ds_send_icdr.setColumn(0, "wardcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngwardcd"));
- ds_send_icdr.setColumn(0, "roomcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomcd"));
- ds_send_icdr.setColumn(0, "bedcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngbedcd"));
- ds_send_icdr.setColumn(0, "roomgrdecd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomgrde"));
- ds_send_icdr.setColumn(0, "roomtypecd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomtype"));
- ds_send_icdr.setColumn(0, "oxyyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "oxyyn"));
- ds_send_icdr.setColumn(0, "suctyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "suctyn"));
- ds_send_icdr.setColumn(0, "prestremcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "prestremcd"));
- ds_send_icdr.setColumn(0, "chngprestrem", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngprestrem"));
- }
- if (sAppflagcd == "2") { // 전과신청 - 병실정보는 original을 사용하고 진료과정보만 셋팅
- ds_send_icdr.setColumn(0, "orddeptcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngorddeptcd"));
- ds_send_icdr.setColumn(0, "medispclid", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngmedispclid"));
-
-
- //담당의 구분 조건 추가 19.08.29 임승주
-
- if(ds_grd_cdcrlist.getColumn(iCurrentRow, "chngatdoctid") == "-")
- {
- rdo_attend.value="N";
- cmb_atdoctid.enable=false;
-
- }
- else
- {
- rdo_attend.value="Y";
- cmb_atdoctid.enable= true;
- }
-
- ds_send_icdr.setColumn(0, "atdoctid", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngatdoctid"));
- ds_send_icdr.setColumn(0, "specordyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "specordyn"));
- }
- if (sAppflagcd == "3") { // 전과+전실신청
- ds_send_icdr.setColumn(0, "orddeptcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngorddeptcd"));
- ds_send_icdr.setColumn(0, "medispclid", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngmedispclid"));
-
-
- //담당의 구분 조건 추가 19.08.29 임승주
-
- if(ds_grd_cdcrlist.getColumn(iCurrentRow, "chngatdoctid") == "-")
- {
- rdo_attend.value="N";
- cmb_atdoctid.enable=false;
-
- }
- else
- {
- rdo_attend.value="Y";
- cmb_atdoctid.enable= true;
- }
-
-
- ds_send_icdr.setColumn(0, "atdoctid", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngatdoctid"));
- ds_send_icdr.setColumn(0, "specordyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "specordyn"));
- ds_send_icdr.setColumn(0, "wardcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngwardcd"));
- ds_send_icdr.setColumn(0, "roomcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomcd"));
- ds_send_icdr.setColumn(0, "bedcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngbedcd"));
- ds_send_icdr.setColumn(0, "roomgrdecd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomgrde"));
- ds_send_icdr.setColumn(0, "roomtypecd", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngroomtype"));
- ds_send_icdr.setColumn(0, "oxyyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "oxyyn"));
- ds_send_icdr.setColumn(0, "suctyn", ds_grd_cdcrlist.getColumn(iCurrentRow, "suctyn"));
- ds_send_icdr.setColumn(0, "prestremcd", ds_grd_cdcrlist.getColumn(iCurrentRow, "prestremcd"));
- ds_send_icdr.setColumn(0, "chngprestrem", ds_grd_cdcrlist.getColumn(iCurrentRow, "chngprestrem"));
- }
- fComboNodeSet(0);
- fSetButton(sAcptflagcd);
- }
- /** 조회조건 입력 시 */
- function ipt_srchcond2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- // 조회버튼 클릭 이벤트 발생
- if (e.keycode == "13") {
- btn_srch.click();
- }
- }
- /** 감염내과 승인여부 설정 */
- function fCnstSet(curruntrow){
- ds_icdrinfo.setColumn(0, "cnstcnfm", ds_grd_inhosplist.getColumn(curruntrow, "cnstcnfm"));
- ds_icdrinfo.setColumn(0, "cnstfromdd", ds_grd_inhosplist.getColumn(curruntrow, "cnstfromdd"));
- ds_icdrinfo.setColumn(0, "cnsttodd", ds_grd_inhosplist.getColumn(curruntrow, "cnsttodd"));
- ds_icdrinfo.setColumn(0, "preroomcd", ds_grd_inhosplist.getColumn(curruntrow, "preroomcd"));
- ds_icdrinfo.setColumn(0, "cnstroomcd", ds_grd_inhosplist.getColumn(curruntrow, "cnstroomcd"));
- }
- /** 진료과 변경 시 */
- function cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fComboNodeSet(1);
- }
- /** 병실형태 변경 시 */
- function cmb_roomtypecd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fComboNodeSet(6);
- }
- /** 승인 시 필수입력값 체크 */
- function fValCheck(){
- var rtn = "Y";
-
- // 가퇴원자나 퇴원자는 유형변경을 막는다.
- var sindschacptstat = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "indschacptstat");
- if (sindschacptstat == "D" || sindschacptstat == "T" ){
- sysf_messageBox("가퇴원이나 퇴원중인 환자는 재원변경을 ","E001");
- rtn = "N";
- return rtn;
- }
-
- // 퇴원심사진행상태 체크. 2007.09.03 홍영표
- var sdschjudgprcsstat = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "dschjudgprcsstat");
- if (sdschjudgprcsstat != "A" ){
- sysf_messageBox("퇴원심사가 진행중이거나 완료되어 재원변경을 ","E001");
- rtn = "N";
- return rtn;
- }
-
- // 전과전실적용일자는 오늘보다 클수 없다..
- if(ds_send_icdr.getColumn(0, "fromdd") > utlf_getCurrentDate()){
- sysf_messageBox("적용일자는 오늘일자보다 클수 ", "I004");
- rtn = "N";
- return rtn;
- }
-
- // 최종중간청구일자 이전 데이터는 수정할수 없다. 2007.09.03 홍영표
- var slastmdlclamdd = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "lastmdlclamdd");
- if (slastmdlclamdd != null && slastmdlclamdd != "" && slastmdlclamdd != "-" && slastmdlclamdd != "00000000"){
-
- if (ds_send_icdr.getColumn(0, "fromdd") <= slastmdlclamdd){
- sysf_messageBox("최종중간청구일자 이전 데이터는 수정 할수 ", "I004");
- rtn = "N";
- return rtn;
- }
- }
-
- var icdr_pid = ds_send_icdr.getColumn(0, "pid");
- var icdr_indd = ds_send_icdr.getColumn(0, "indd");
- var icdr_cretno = ds_send_icdr.getColumn(0, "cretno");
- var icdr_mskind = ds_send_icdr.getColumn(0, "mskind");
- var icdr_histstat = ds_send_icdr.getColumn(0, "histstat");
- var icdr_wardcd = ds_send_icdr.getColumn(0, "wardcd");
- var icdr_roomcd = ds_send_icdr.getColumn(0, "roomcd");
- var icdr_bedcd = ds_send_icdr.getColumn(0, "bedcd");
- var icdr_roomgrdecd = ds_send_icdr.getColumn(0, "roomgrdecd");
- var icdr_roomtypecd = ds_send_icdr.getColumn(0, "roomtypecd");
- var icdr_orddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var icdr_medispclid = ds_send_icdr.getColumn(0, "medispclid");
- var icdr_atdoctid = ds_send_icdr.getColumn(0, "atdoctid");
- var icdr_specordyn = ds_send_icdr.getColumn(0, "specordyn");
- var icdr_fromdd = ds_send_icdr.getColumn(0, "fromdd");
- var icdr_todd = ds_send_icdr.getColumn(0, "todd");
-
- if (icdr_pid == null || icdr_pid == "") {
- rtn = "환자등록번호가";
- } else if (icdr_indd == null || icdr_indd == "") {
- rtn = "입원일자가";
- } else if (icdr_cretno == null || icdr_cretno == "") {
- rtn = "입원등록키가";
- } else if (icdr_mskind == null || icdr_mskind == "") {
- rtn = "주부유형이";
- } else if (icdr_histstat == null || icdr_histstat == "") {
- rtn = "상태값이";
- } else if (icdr_wardcd == null || icdr_wardcd == "" || icdr_wardcd == "-" || icdr_wardcd == "0000000000") {
- rtn = "병동정보가";
- } else if (icdr_roomcd == null || icdr_roomcd == "" || icdr_roomcd == "-" || icdr_roomcd == "000000" ) {
- rtn = "병실정보가";
- } else if (icdr_bedcd == null || icdr_bedcd == "" || icdr_bedcd == "-" || (icdr_bedcd == "000000" && (icdr_roomcd != "ERBD" && icdr_roomcd != "DSC") ) ) { //응급실/DSC 전과일땐 병상이 000000 이어도 체크 제외
- rtn = "병상정보가";
- } else if (icdr_roomgrdecd == null || icdr_roomgrdecd == "" || icdr_roomgrdecd == "-") {
- rtn = "병실등급이";
- } else if (icdr_roomtypecd == null || icdr_roomtypecd == "" || icdr_roomtypecd == "-") {
- rtn = "병실형태가";
- } else if (icdr_orddeptcd == null || icdr_orddeptcd == "") {
- rtn = "진료부서코드가";
- } else if (icdr_medispclid == null || icdr_medispclid == ""){
- rtn = "담당교수코드가";
- } else if (icdr_specordyn == null || icdr_specordyn == ""){
- rtn = "특진여부가";
- } else if (icdr_fromdd == null || icdr_fromdd == ""){
- rtn = "적용일자가";
- } else if (icdr_todd == null || icdr_todd == ""){
- rtn = "종료일자가";
- }
- return rtn;
- }
- /** 저장 */
- function fSaveSubmit(){
- // INPT / ICDR 변경내역이 있는 경우
- if (inpt_flag == 'U' || icdr_flag == 'U' || icdr_flag == 'I' ) {
-
- // 데이터형 지정
- dsf_setTypeFormat(ds_send_inpt, "cretno:INT^seqno:INT^medcaredayno:INT");
- dsf_setTypeFormat(ds_send_icdr, "cretno:INT^seqno:INT");
- dsf_setTypeFormat(ds_send_adrv, "inrsrvacptseqno:INT^inpt_cretno:INT");
-
- // 저장
- var oParam = {};
- oParam.id = "TXPMI01601";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqSetInhospUpdt2";
- oParam.inds = "s_inpt=ds_send_inpt s_icdr=ds_send_icdr s_adrv=ds_send_adrv";
- oParam.outds = "ds_saveresult=result";
- oParam.async = false;
- oParam.callback = "callback"
- tranf_submit(oParam);
-
- // 정상처리된 경우
- if (arErrorCode.pop("TXPMI01601") > -1) {
-
- var adrv_erreglyn = ds_inhpdecilist.getColumn(0, "erreglyn");
-
- // 응급실/DSC/CHEMO/DIC에서 병동으로 입원결정승인시 각종 출력물 출력
- if (adrv_erreglyn == "D" || adrv_erreglyn == "E") {
-
- // 입퇴원 결정서
- ds_hdn_printers.setColumn(0, "printflag", "Y");
-
- //자보환자안내문
- fAutoPrint();
- // 약정서 존재하지 않을 경우에만 출력하도록 설정
- if (ds_send_inpt.getColumn(0, "agmttype") != "2") {
- //입원약정서
- button20.click();
- }
- // 정신건강의학과 처리 시 통지서 / 수령확인서 출력
- if (ds_send_icdr.getColumn(0, "orddeptcd") == "2030000000") {
-
- // 입원통지서 출력
- fPrintInNoti(ds_send_inpt.getColumn(0, "pid"),
- ds_send_inpt.getColumn(0, "indd"),
- ds_send_inpt.getColumn(0, "cretno"));
-
- // 입원통지서 수령확인서 출력
- fPrintInNotiConfirm(ds_send_inpt.getColumn(0, "pid"),
- ds_send_inpt.getColumn(0, "indd"),
- ds_send_inpt.getColumn(0, "cretno"),
- ds_send_inpt.getColumn(0, "hngnm"));
-
- }
-
- //개인정보이용동의서가 출력되지 않았을 경우 동의서 자동출력 by 조중래 20171121
- if (ds_send_inpt.getColumn(0, 'scanyn') == 'X') {
- //개인정보이용 동의서 전자동의서를 위한 처리로직 추가 by 조중래 20130305
- var ocrtype = 'O';
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == 'Y') {
- if (sysf_messageBox('개인정보이용동의서', 'Q017') == '6') {
- ocrtype = 'S';
- }
- }
- //구분에 맞춰 폼코드 처리(1:일반약정서 / 2:기간약정서 / 3:개인정보이용동의서)
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '3'), "hardcd");
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- ds_send_inpt.getColumn(0, 'ordtype'),
- ocrtype);
- }
-
- //영상정보처리기기 수집/이용 동의서 출력되지 않았을 경우 동의서 자동출력 by 조중래 20160928
- if (sysf_getUserInfo('dutplceinstcd') == '031') {
- if (ds_send_inpt.getColumn(0, 'cctvscanyn') == 'X') {
- var ocrtype = "O";
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == 'Y') {
- if (sysf_messageBox('영상정보처리기기수집/이용동의서', 'Q017') == '6') {
- ocrtype = 'S';
- }
- }
- //구분에 맞춰 폼코드 처리(1:일반약정서 / 2:기간약정서 / 3:개인정보이용동의서 / 12:영상정보처리기기수집/이용동의서)
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '12'), 'hardcd');
- // COR 출력의 경우
- if (ocrtype == "O") {
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- ds_send_inpt.getColumn(0, 'ordtype'),
- ocrtype);
- }
- else {
- ds_temp_consent.clearData();
- dsf_makeValue(ds_temp_consent, 'pid', 'string',ds_send_inpt.getColumn(0, 'pid'));
- dsf_makeValue(ds_temp_consent, 'orddd', 'string',ds_send_inpt.getColumn(0, 'indd'));
- dsf_makeValue(ds_temp_consent, 'cretno', 'string',ds_send_inpt.getColumn(0, 'cretno'));
- dsf_makeValue(ds_temp_consent, 'ordtype', 'string', ds_send_inpt.getColumn(0, 'ordtype'));
- dsf_makeValue(ds_temp_consent, 'flag', 'string', 'C');
- dsf_makeValue(ds_temp_consent, 'formcd', 'string', formcd);
- dsf_makeValue(ds_temp_consent, 'tag1', 'string',ds_send_inpt.getColumn(0, 'hngnm'));
- var birthdd = String(ds_send_inpt.getColumn(0, 'rrgstno'));
- // 19xx
- if (birthdd.substr(7, 1) == "1" ||
- birthdd.substr(7, 1) == "2" ||
- birthdd.substr(7, 1) == "5" ||
- birthdd.substr(7, 1) == "6") {
- birthdd = "19" + birthdd.substr(0, 2) + "년 " + birthdd.substr(2, 2) + "월 " +
- birthdd.substr(4, 2) + "일";
- // 20xx
- }
- else {
- birthdd = "20" + birthdd.substr(0, 2) + "년 " + birthdd.substr(2, 2) + "월 " +
- birthdd.substr(4, 2) + "일";
- }
- dsf_makeValue(ds_temp_consent, 'tag2', 'string', birthdd);
- fPrintOcrConsent(ds_temp_consent);
- }
- }
-
- // 응급병동 입원시 응급입원실 입실 안내문 받도록 수정 ( 2019/03/12 이정택 )
- if(ds_send_icdr.getColumn(0, "wardcd")=='3050170000'){
- var ocrtype = 'O';
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == 'Y') {
- if (sysf_messageBox('응급입원실 입실 안내문', 'Q017') == '6') {
- ocrtype = 'S';
- }
- }
- //구분에 맞춰 폼코드 처리(19 : K- 응급입원실 입실 안내문)
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '19'), "hardcd");
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- ds_send_inpt.getColumn(0, 'ordtype'),
- ocrtype);
- }
- // 응급병동 입원시 응급입원실 입실 안내문 받도록 수정 ( 2019/03/12 이정택 )
-
- }
- }
-
- // 전실/전과전실의 경우 상급병실신청용 팝업표시
- if (ds_send_icdr.getColumn(0, "appflagcd") == "1"
- || ds_send_icdr.getColumn(0, "appflagcd") == "3") {
-
- // 간호간병통합서비스 병동 입원 시 동의서 출력
- if (ds_send_icdr.getColumn(0, "roomtypecd") == "G02") {
- var ocrtype = "O";
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == "Y") {
- if (sysf_messageBox("간호간병통합서비스 병동 입원동의서", "Q017") == "6") {
- ocrtype = "S";
- }
- }
- //구분에 맞춰 폼코드 처리(14 : 간호간병통합서비스 병동 입원동의서 )
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '14'), "hardcd");
- // COR 출력의 경우
- if (ocrtype == "O") {
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- 'I',
- ocrtype);
- }
- else {
- ds_temp_consent.clearData();
- dsf_makeValue(ds_temp_consent, "pid", 'string', ds_send_inpt.getColumn(0, "pid"));
- dsf_makeValue(ds_temp_consent, "orddd", 'string', ds_send_inpt.getColumn(0, "indd"));
- dsf_makeValue(ds_temp_consent, "cretno", 'string', ds_send_inpt.getColumn(0, "cretno"));
- dsf_makeValue(ds_temp_consent, "ordtype", 'string', ds_send_inpt.getColumn(0, 'ordtype'));
- dsf_makeValue(ds_temp_consent, "flag", 'string', "W"); // W:간호간병통합서비스 병동 입원동의서
- dsf_makeValue(ds_temp_consent, "formcd", 'string', formcd);
- var currentDate = utlf_getCurrentDate();
- dsf_makeValue(ds_temp_consent, "tag1", 'string', currentDate.substr(0, 4));
- dsf_makeValue(ds_temp_consent, "tag2", 'string', currentDate.substr(4, 2));
- dsf_makeValue(ds_temp_consent, "tag3", 'string', currentDate.substr(6, 2));
- fPrintOcrConsent(ds_temp_consent);
- }
- }
-
- var diffamt = 0;
- var roomgrdecd = ds_send_icdr.getColumn(0, "roomgrdecd");
-
- // 병실등급으로 병실차액을 가져옴
- for ( i = 0; i < ds_init_roomgrdecd.rowcount; i++) {
-
- if (ds_init_roomgrdecd.getColumn(i, "cd") == roomgrdecd) {
-
- // 병실차액 설정
- diffamt = ds_init_roomgrdecd.getColumn(i, "cdamt");
- break;
- }
- }
-
- // 실료차가 있는 병실이거나, 격리병실의 경우에는 상급병실신청팝업
- if (diffamt > 0 || roomgrdecd == 'S0701') {
-
- fUpRoomSignMngt(ds_send_icdr.getColumn(0, "pid"), ds_send_icdr.getColumn(0, "indd"), "Y");
- }
-
- // 입원전담전문의 병동 입원동의서 처리 by 조중래 20180911
- // 45병동 입원전담전문의 병동 입원동의서는 팝업 안뜨게 수정 임승주 20200323
- if (Combo04.text == "Y"
- && ds_send_inpt.getColumn(0, "insukind") == "11" && ds_send_icdr.getColumn(0, "wardcd") != "3050314000") {
- var ocrtype = "O";
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == "Y") {
- if (sysf_messageBox("입원전담전문의 병동 입원동의서", "Q017") == "6") {
- ocrtype = "S";
- }
- }
- //구분에 맞춰 폼코드 처리(18 : 입원전담전문의 병동 입원동의서 )
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '18'), "hardcd");
- // COR 출력의 경우
- if (ocrtype == "O") {
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- 'I',
- ocrtype);
- }
- else {
- ds_temp_consent.clearData();
- dsf_makeValue(ds_temp_consent, "pid", 'string', ds_send_inpt.getColumn(0, "pid"));
- dsf_makeValue(ds_temp_consent, "orddd", 'string', ds_send_inpt.getColumn(0, "indd"));
- dsf_makeValue(ds_temp_consent, "cretno", 'string', ds_send_inpt.getColumn(0, "cretno"));
- dsf_makeValue(ds_temp_consent, "ordtype", 'string', ds_send_inpt.getColumn(0, 'ordtype'));
- dsf_makeValue(ds_temp_consent, "flag", 'string', "H"); // H:입원전담전문의 병동 입원동의서
- dsf_makeValue(ds_temp_consent, "formcd", 'string', formcd);
- var currentDate = utlf_getCurrentDate();
-
- dsf_makeValue(ds_temp_consent, "tag1", 'string', ds_send_inpt.getColumn(0, "pid")); // 등록번호
- dsf_makeValue(ds_temp_consent, "tag2", 'string', cmb_orddeptcd.text); // 진료과
- dsf_makeValue(ds_temp_consent, "tag3", 'string', cmb_medispclid.text); // 진료의
- dsf_makeValue(ds_temp_consent, "tag4", 'string', ds_send_inpt.getColumn(0, "hngnm")); // 환자성명
- dsf_makeValue(ds_temp_consent, "tag5", 'string', cmb_wardcd.text + " / " + ds_send_icdr.getColumn(0, "roomcd")); // 입원병동/병실
- dsf_makeValue(ds_temp_consent, "tag6", 'string', ds_send_inpt.getColumn(0, "brthdd").substr(2,2) + "/" + ds_send_inpt.getColumn(0, "brthdd").substr(4,2) + "/" + ds_send_inpt.getColumn(0, "brthdd").substr(6,2)); // 생년월일
- dsf_makeValue(ds_temp_consent, "tag7", 'string', ds_send_inpt.getColumn(0, "mpphontel")); // 전화번호
- dsf_makeValue(ds_temp_consent, "tag8", 'string', currentDate.substr(0, 4));
- dsf_makeValue(ds_temp_consent, "tag9", 'string', currentDate.substr(4, 2));
- dsf_makeValue(ds_temp_consent, "tag10", 'string', currentDate.substr(6, 2));
- fPrintOcrConsent(ds_temp_consent);
- }
- }
- }
-
- // 전과전실의 경우 병실이 변경되므로 보호자증 / 팔찌 자동출력
- if (ds_send_icdr.getColumn(0, "appflagcd") == "3") {
-
- // 보호자증 출력
- fPrintGuardianPaper("Y");
-
- // 팔찌의 경우 자체적으로 전과전실에 대한 처리로직이 있음
- button11.click();
- }
-
- // 선택진료신청서 출력로직 호출으로 변경 by 조중래 20151019
- // 선택진료폐지일자 이전의 진료에 대해서만 선택진료신청서 출력 by 조중래 20171227
- if (ds_pP0032.getColumn(ds_pP0032.findRowExpr("cdid == '150'"), "cdnm") > utlf_getCurrentDate()) {
- fCheckSpecOrdApp();
- }
-
- // 신종코로나 관련 응급->병동 입실 환자에 대해서 문자 발송처리(2020/02/02 이정택)
- if(ds_pP0032.getColumn(ds_pP0032.findRowExpr("cdid == '6620'"), "cdnm") == 'Y' && adrv_erreglyn == 'E'){
- var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
- var msg = "코로나-19 감염증 확산에 따른 면회금지 안내입니다.\r" +
- "대구지역에 코로나-19 감염증 확진 환자가 다수 발생함에 따라 병문안객 면회를 전면 통제합니다.\r"+
- "적극적인 협조를 당부드리며, 보호자도 병원 출입시 출입대장 명부를 반드시 작성하셔야 합니다.\r"+
- "아래의 출입증을 발급 받으시면 내원 명부 작성이 편리하오니 협조바랍니다.\r";
- var mpphontel = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "mpphontel");
- var hngnm = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "hngnm");
- var cntctel = "";
-
- if(dutplceinstcd == '031'){
- msg = msg + "경북대병원은 감염증 확산방지 및 예방을 위하여 최선을 다하겠습니다. 감사합니다.";
- cntctel = "053-420-6441";
- }else if(dutplceinstcd == '032'){
- msg = msg + "칠곡경북대병원은 감염증 확산방지 및 예방을 위하여 최선을 다하겠습니다. 감사합니다.";
- cntctel = "053-200-2114";
- }
-
- dsf_createDsRow("ds_send_recvr", [
- {col:"usernm", type:"STRING", size:256, val: hngnm}
- , {col:"userid", type:"STRING", size:256, val: "-"}
- , {col:"mpphonno", type:"STRING", size:256, val: mpphontel}
- , {col:"pid", type:"STRING", size:256, val: "-"}
- , {col:"deptcd", type:"STRING", size:256, val: "-"}
- ]);
-
- dsf_createDsRow("ds_send_req", [
- {col:"calltype", type:"STRING", size:256, val: ""}
- , {col:"msgcnts", type:"STRING", size:256, val: msg}
- , {col:"insuflag", type:"STRING", size:256, val: "-"}
- , {col:"calltelno", type:"STRING", size:256, val: cntctel}
- , {col:"lmstitle", type:"STRING", size:256, val: "[코로나-19 감염증 확산에 따른 면회금지 안내]"}
- ]);
-
- var oParam = {};
- oParam.id = "TXZMI00402";
- oParam.service = "instantmsgapp.InstantMsg";
- oParam.method = "reqExeSendUserLongMessage";
- oParam.inds = "recvr=ds_send_recvr req=ds_send_req";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- }
- // 신종코로나 관련 응급->병동 입실 환자에 대해서 문자 발송처리(2020/02/02 이정택)
-
- fQuery1();
- }
- } else {
- sysf_messageBox("변경된 내역이 ","I004");
- return;
- }
- }
- /** 승인 */
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fChangeSave();
- }
- /** 빈병상 체크 */
- function fRoomBedCntCheck(pid, wardcd, roomcd, bedcd, roomtypecd) {
-
- if( roomtypecd == 'S01' || roomtypecd == 'S02' || roomtypecd == 'S09' ){
-
- return true;
- }
-
- ds_send.setColumn(0, "pid", pid);
- ds_send.setColumn(0, "wardcd", wardcd);
- ds_send.setColumn(0, "roomcd", roomcd);
- ds_send.setColumn(0, "bedcd", bedcd);
-
- var oParam = {};
- oParam.id = "TRPMI00111";
- oParam.service = "ipatmngtapp.InRgst";
- oParam.method = "reqGetRoomCheckInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_rsltroom=rsltroom";
- oParam.async = false;
- tranf_submit(oParam);
-
- var stat = ds_rsltroom.getColumn(0, "bedstat");
- var msg = ds_rsltroom.getColumn(0, "bedstatmsg");
-
- if( stat == 'I' || stat == 'D' || stat == 'A' || stat == 'C' ){
- var retVal = sysf_messageBox("현재 입원[전실]하시려는 병상이 이미 사용중입니다. \n병상 사용여부를 확인하세요! [사유 : " + msg + "]\n계속 진행하시겠습니까? ", "Q999", "");
-
- if( retVal == '6' ){
- return true;
- }
-
- return false;
- }
- return true;
- }
- /** 자보안내문 출력 */
- function fAutoPrint() {
- if (ds_send_inpt.getColumn(0, "insukind") == "31") {
-
- var print_name = sysf_getGlobalVariable("SPPAO00100_P0045_100_nm","p");
- var print_tray = sysf_getGlobalVariable("SPPAO00100_P0045_100_tray","p");
-
- //호출끝
- //디폴트 프린터
- if(print_name != "false"){
-
- var inhosplistrow = ds_grd_inhosplist.rowposition
-
- //자보환자안내문 출력
- ds_autoprintinfo.setColumn(0, "ptbs_pid", ds_send_inpt.getColumn(0, "pid"));
- ds_autoprintinfo.setColumn(0, "ptbs_hngnm", ds_send_inpt.getColumn(0, "hngnm"));
-
- // 출력용 데이터 설정
- var obj = new Object();
- obj.user_data_XML1 = rptf_getCSVString(ds_autoprintinfo, ["ptbs_pid", "ptbs_hngnm"]);
-
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPMI01203"],[obj], option);
- }
- }
- }
- /** 결정서 */
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- // 사용안함
- }
- /** 입원카드재발행 */
- function button14_onclick(obj:Button, e:ClickEventInfo)
- {
- // 사용안함
- }
- /** 약정서 */
- function button20_onclick(obj:Button, e:ClickEventInfo)
- {
- var inpt_pid = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "pid");
- var inpt_orgordtype = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "orgordtype");
- if ( inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
-
- frmf_setParameter("SPPMI03200_PARM_PID", ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "pid"));
- frmf_setParameter("SPPMI03200_PARM_ORDDD", ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "indd"));
- frmf_setParameter("SPPMI03200_PARM_AGMTTYPE", ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "agmttype"));
- frmf_setParameter("SPPMI03200_PARM_ORDDEPTCD", ds_send_icdr.getColumn(0, "orddeptcd"));
- frmf_setParameter("SPPMI03200_PARM_ORDDRID", ds_send_icdr.getColumn(0, "medispclid"));
- frmf_setParameter("SPPMI03200_PARM_CRETNO", ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "cretno"));
- frmf_setParameter("SPPMI03200_PARM_ORDTYPE", ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "ordtype"));
- frmf_modal("SPPMI03200", "SPPMI03200", '', "", '', '', '', "", "", "", "", "", "M");
- } else {
- sysf_messageBox("재원 중인 환자가 아닙니다.!","E999","");
- return false;
- }
- }
- /** 상급병실 */
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpRoomSignMngt(ds_send_inpt.getColumn(0, "pid"), ds_send_inpt.getColumn(0, "indd"), "N"); // PMI001.js
- }
- /** 환자팔찌 */
- function button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = utlf_transNullToEmpty(ds_send_inpt.getColumn(0, "pid"));
- var indd = utlf_transNullToEmpty(ds_send_inpt.getColumn(0, "indd"));
- var cretno = utlf_transNullToEmpty(ds_send_inpt.getColumn(0, "cretno"));
- var mskind = utlf_transNullToEmpty(ds_send_inpt.getColumn(0, "mskind"));
- var histstat = utlf_transNullToEmpty(ds_send_inpt.getColumn(0, "histstat"));
-
- ds_pP0041.filter("cdid=='A02'");
- var sRoomcdYN = ds_pP0041.getColumn(0, "cdnm");
- ds_pP0041.filter("cdid=='A03'");
- var sIsNEW = ds_pP0041.getColumn(0, "cdnm");
- ds_pP0041.filter(""); // reset filter
-
- sysf_setGlobalVariable("SPPAO00100_강제출력여부", "Y" ,"p");
-
- lf_pmifPrintBarCode(pid,
- indd,
- cretno,
- mskind,
- histstat,
- "Y",
- "SMPMI00100",
- "",
- sRoomcdYN,
- sIsNEW,
- '');
- sysf_setGlobalVariable("SPPAO00100_강제출력여부", "" ,"p");
- }
- /** 진단서 */
- function button12_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMMR02300", "SMMMR02300", '', "", '', '', '', "", "", "", "", "", "M");
- }
- /** 선택진료 */
- function button23_onclick(obj:Button, e:ClickEventInfo)
- {
- var inhosplistrow = ds_grd_inhosplist.rowposition;
- var s_pid = ds_grd_inhosplist.getColumn(inhosplistrow, "pid");
- var s_ordtype = "I";
- var s_orddd = ds_send_icdr.getColumn(0, "indd");
- var s_orddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var s_orddrid = ds_send_icdr.getColumn(0, "medispclid");
- var s_fromdd = ds_send_icdr.getColumn(0, "fromdd");
- var s_cretno = ds_send_icdr.getColumn(0, "cretno");
- var s_hngnm = ds_grd_inhosplist.getColumn(inhosplistrow, "hngnm");
- var rrgstno = String(ds_grd_inhosplist.getColumn(inhosplistrow, "rrgstno"));
- var s_rrgstno1 = rrgstno.substr(0,6);
- var s_rrgstno2 = rrgstno.substr(6,7);
- fCallSpecPopUp(s_pid,s_ordtype,s_orddd,s_orddeptcd,s_orddrid,s_fromdd,s_hngnm,s_rrgstno1,s_rrgstno2,s_cretno); // PAM.js
- }
- /** 환자기초정보 */
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var inpt_pid = ds_send_inpt.getColumn(0, "pid");
-
- if (!utlf_isNull(inpt_pid)) {
- frmf_setParameter("SMPMC01400_PARM_PID", inpt_pid);
- frmf_setParameter("SMPMC01400_PARM_SRCHCOND", "1");
- }
- frmf_modal("SMPMC01400", "SMPMC01400", '', "", '', '', '', "", "", "", "", "", "M");
- }
- /** 격리병실신청현황 */
- function btn_SMASB02100_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMASB02100", "SMASB02100", '', "", '', '', '', "", "", "", "", "", "M");
- }
- /** 보호자증 */
- function button28_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrintGuardianPaper();
- }
- /** 보호자증 출력용 함수 */
- function fPrintGuardianPaper(aprvYN) {
- var inpt_pid = ds_send_inpt.getColumn(0, "pid");
- if (!utlf_isNull(inpt_pid)) {
-
- // RFID 출력
- if(ds_pP0022.getColumn(ds_pP0022.findRow('cdid', '99'), 'cdnm') == 'Y' ) {
- frmf_setParameter("SPPMC06600_PID", inpt_pid);
- frmf_setParameter("SPPMC06600_INDD", ds_send_inpt.getColumn(0, 'indd'));
-
- frmf_modal("SPPMC06600", "SPPMC06600", '', "", '', '', '', "", "", "", "", "", "M");
- return;
-
- // 기존출력
- } else {
-
- //공통코드 P0045에서 프린터 명칭과 트레이 호출 - 입원보호자증
- sysf_setGlobalVariable("SPPAO00100_강제출력여부", "Y" ,"p");
- fGetPrintName();
- sysf_setGlobalVariable("SPPAO00100_강제출력여부", "" ,"p");
-
- var print_name = sysf_getGlobalVariable("SPPAO00100_P0045_7_nm","p");
- var print_tray = sysf_getGlobalVariable("SPPAO00100_P0045_7_tray","p");
- //호출끝
-
- // 입원보호자증 출력 추후 바코드 프린터로 설정 바꿔야함
- if(print_name != "false"){
-
- ds_deciprintinfo.setColumn(0, "pid", inpt_pid);
- ds_deciprintinfo.setColumn(0, "hngnm", ds_send_inpt.getColumn(0, "hngnm"));
- ds_deciprintinfo.setColumn(0, "indd", ds_send_inpt.getColumn(0, "indd"));
-
- if (aprvYN != null && aprvYN == "Y") {
-
- ds_deciprintinfo.setColumn(0, "roomcd", ds_send_icdr.getColumn(0, "roomcd"));
-
- fds_wardcd.filter("cd == '" + ds_send_icdr.getColumn(0, "wardcd") + "'");
- var sdeptplce = fds_wardcd.getColumn(0, "deptplce2");
- fds_wardcd.filter(""); // 필터 초기화
-
- ds_deciprintinfo.setColumn(0, "deptplce", sdeptplce);
- } else {
-
- ds_deciprintinfo.setColumn(0, "roomcd", ds_send_inpt.getColumn(0, "roomcd"));
-
- fds_wardcd.filter("cd == '" + ds_send_inpt.getColumn(0, "wardcd") + "'");
- var sdeptplce = fds_wardcd.getColumn(0, "deptplce2");
- fds_wardcd.filter(""); // 필터 초기화
-
- ds_deciprintinfo.setColumn(0, "deptplce", sdeptplce);
- }
-
- // 출력용 데이터 설정
- var obj = new Object();
- obj.user_data_CSV1 = rptf_getCSVString(ds_deciprintinfo, ["pid", "hngnm", "indd", "roomcd", "deptplce"]);
-
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPMI01202"],[obj], option);
- }
-
- }
-
- } else {
- sysf_messageBox("검색된 입원환자가 없습니다.","E");
- return false;
- }
- }
- /** 선택진료신청 */
- function fCheckSpecOrdApp(){
- ds_send.setColumn(0, "instcd", ds_send.getColumn(0, "sess_posinstcd")); //기관코드
- ds_send.setColumn(0, "pid", ds_send_icdr.getColumn(0, "pid")); //환자번호
- ds_send.setColumn(0, "indd", ds_send_icdr.getColumn(0, "indd")); //입원일자
- ds_send.setColumn(0, "orddeptcd", ds_send_icdr.getColumn(0, "orddeptcd")); //진료과
- ds_send.setColumn(0, "medispclid", ds_send_icdr.getColumn(0, "medispclid")); //주치의
-
- if(ds_send_icdr.getColumn(0, "ordtype") == "E"){
- ds_send.setColumn(0, "ordtype", "I"); //진료형태
- }
- else{
- ds_send.setColumn(0, "ordtype", ds_send_icdr.getColumn(0, "ordtype"));
- }
-
- // 선택진료신청서 작성유무 조회
- var oParam = {};
- oParam.id = "TRPMI00406";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetSpecOrdAppYN";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_specrgst=rgst";
- oParam.async = false;
- tranf_submit(oParam);
-
- if (ds_specrgst.getColumn(0, "rgstyn") == "N") {
-
- // 진료과명 설정
- fds_orddeptcd.filter("cd == '" + ds_send_icdr.getColumn(0, "orddeptcd") + "'");
- var sOrddeptcdnm = fds_orddeptcd.getColumn(0, "nm");
- fds_orddeptcd.filter(""); // 필터 초기화
-
- if (sOrddeptcdnm != null) {
- sOrddeptcdnm = "[" + sOrddeptcdnm + "]";
- }
-
- // 주치의명 설정
- fds_orddrid.filter("cd == '" + ds_send_icdr.getColumn(0, "medispclid") + "'");
- var sOrddrnm = fds_orddrid.getColumn(0, "nm");
- fds_orddrid.filter(""); // 필터 초기화
-
- if (sOrddrnm != null) {
- sOrddrnm = " [" + sOrddrnm + "]";
- }
-
- var sMsg = sOrddeptcdnm + sOrddrnm
-
- if( sysf_messageBox(sMsg + " 선택진료 등록이 되어 있지 않습니다. 등록하시겠습니까?", "Q999", "") == 6 ){
-
- ds_pPK018.filter("cdid == '" + ipaddress + "'");
- var tabYN = ds_pPK018.getColumn(0, "cdnm");
- ds_pPK018.filter("");
-
- if (tabYN == "Y" && sysf_messageBox("선택진료신청서", "Q017") == "6") {
-
-
- var s_instcd = sysf_getUserInfo("dutplceinstcd");
- var s_pid = ds_send_icdr.getColumn(0, "pid");
- var s_ordtype = "I";
- var s_orddd = ds_send_icdr.getColumn(0, "indd");
- var s_cretno = ds_send_icdr.getColumn(0, "cretno");
- var s_orddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var s_orddrid = ds_send_icdr.getColumn(0, "medispclid");
- var s_fromdd = ds_send_icdr.getColumn(0, "fromdd");
- var s_hngnm = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "hngnm");
- var rrgstno = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "rrgstno");
- var s_rrgstno1 = rrgstno.substr(0,6);
- var s_rrgstno2 = rrgstno.substr(6,7);
- var s_detladdr = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "detladdr");
- var s_hometel = ds_grd_inhosplist.getColumn(ds_grd_inhosplist.rowposition, "hometel");
-
- // 전자동의서 파라미터 설정
- frmf_setParameter("SSMRC03160_param_patid", s_pid);
- frmf_setParameter("SSMRC03160_param_cretno", s_cretno);
- frmf_setParameter("SSMRC03160_param_indate", s_orddd);
- frmf_setParameter("SSMRC03160_param_instcd", s_instcd);
- frmf_setParameter("SSMRC03160_param_class", s_ordtype);
-
- oDsRsltRef.filter("cdseqno = '4'");
- var hardcd = oDsRsltRef.getColumn(0, "hardcd"); // 1300013647 선택진료신청서(원무)
- oDsRsltRef.filter(""); // 필터해제
-
- frmf_setParameter("SSMRC03160_param_docucd", hardcd); // 1300013647 선택진료신청서(원무)
- frmf_setParameter("SSMRC03160_param_cuser", sysf_getUserId());
- frmf_setParameter("SSMRC03160_param_flag", "S"); // S : 선택진료신청서, A : 입원약정서, T : 기간약정서
-
- // 환자 기본정보 설정
- frmf_setParameter("SSMRC03160_param_pathngnm", s_hngnm);
- frmf_setParameter("SSMRC03160_param_pataddr", s_detladdr);
- frmf_setParameter("SSMRC03160_param_pattelno", s_hometel);
- frmf_setParameter("SSMRC03160_param_patrrgstno", s_rrgstno1 + "-" + s_rrgstno2);
-
- // 주진료과정보 설정 진료과/의사
- // 이부분은 전자동의서와 함께 수정되어야함..
- // model.makeValue("/root/main/inform/orddeptnm", model.getValue("/root/hidden/init/orddeptcd[cd = '" + s_orddeptcd + "']/nm"));
- // model.makeValue("/root/main/inform/orddrnm", model.getValue("/root/hidden/init/orddrid[dp='"+ s_orddeptcd +"' and cd='" + s_orddrid + "']/nm"));
- // model.makeValue("/root/main/inform/specordyn", model.getValue("/root/hidden/init/orddrid[dp='"+ s_orddeptcd +"' and cd='" + s_orddrid + "']/sp"));
- // model.makeValue("/root/main/inform/appdd", utlf_getCurrentDate());
-
- // 전자동의서 팝업 호출
- frmf_modal("SSMRC03160", "SSMRC03160", '', "", '', '', '', "", "", "", "", "", "M");
-
- } else {
-
- // 전과전실 승인의 경우 화면호출 없이 직접출력 하도록 수정
- fCheckSpecOrdSign_Print();
- }
-
- return true;
- }
- }
- }
- /** 응급등록 시 선택진료신청서 출력 타이밍에 프로그램 비정상 종료문제 해결위해
- 선택진료신청관리화면 호출없이 출력 + 저장만 가능하도록 기능 추출 by 조중래 20151005 */
- function fCheckSpecOrdSign_Print() {
- var p_pid = ds_send_icdr.getColumn(0, "pid");
- var p_ioflag = "I";
- var p_orddeptcd = ds_send_icdr.getColumn(0, "orddeptcd");
- var p_orddrid = ds_send_icdr.getColumn(0, "medispclid");
- var p_orddd = ds_send_icdr.getColumn(0, "indd");
- var p_fromdd = ds_send_icdr.getColumn(0, "indd");
- var p_specordyn = ds_send_icdr.getColumn(0, "specordyn");
-
- // 저장로직
- ds_send_spif.clearData();
- ds_send_spif.addRow();
- ds_send_spif.setColumn(0, "pid" , p_pid);
- ds_send_spif.setColumn(0, "ioflag" , p_ioflag);
- ds_send_spif.setColumn(0, "orddeptcd" , p_orddeptcd);
- ds_send_spif.setColumn(0, "orddrid" , p_orddrid);
- ds_send_spif.setColumn(0, "orddd" , p_orddd);
- ds_send_spif.setColumn(0, "fromdd" , p_fromdd);
- ds_send_spif.setColumn(0, "todd" , "99991231");
- ds_send_spif.setColumn(0, "remfact" , "");
- ds_send_spif.setColumn(0, "appdd" , p_orddd);
- ds_send_spif.setColumn(0, "returnyn" , "Y"); // 제출확인상태 설정
- ds_send_spif.setColumn(0, "specordyn" , p_specordyn);
- ds_send_spif.setColumn(0, "choiflag" , "B");
- ds_send_spif.setColumn(0, "list1choiflag" , "B");
- ds_send_spif.setColumn(0, "list2choiflag" , "B");
- ds_send_spif.setColumn(0, "list3choiflag" , "B");
- ds_send_spif.setColumn(0, "list4choiflag" , "B");
- ds_send_spif.setColumn(0, "list5choiflag" , "B");
- ds_send_spif.setColumn(0, "list6choiflag" , "B");
- ds_send_spif.setColumn(0, "list7choiflag" , "B");
- ds_send_spif.setColumn(0, "list8choiflag" , "B");
-
- var oParam = {};
- oParam.id = "TXPMC06571";
- oParam.service = "patinfomngtapp.SpecAppFrm";
- oParam.method = "reqSetSpifList_ins";
- oParam.inds = "spif=ds_send_spif";
- oParam.outds = "ds_spifptbs=ptbs ds_spifinfo=sasm";
- oParam.async = false;
- tranf_submit(oParam);
-
- // 출력로직
- ds_spifprintinfo.clearData();
- ds_spifprintinfo.addRow();
- ds_spifprintinfo.setColumn(0, "pid", ds_spifptbs.getColumn(0, "pid"));
- ds_spifprintinfo.setColumn(0, "hngnm", ds_spifptbs.getColumn(0, "hngnm"));
- ds_spifprintinfo.setColumn(0, "zipcdaddr", ds_spifptbs.getColumn(0, "zipcdaddr"));
- ds_spifprintinfo.setColumn(0, "detladdr", ds_spifptbs.getColumn(0, "detladdr"));
- ds_spifprintinfo.setColumn(0, "tel", ds_spifptbs.getColumn(0, "hometel"));
- ds_spifprintinfo.setColumn(0, "rrgstno1", ds_spifptbs.getColumn(0, "rrgstno1"));
- ds_spifprintinfo.setColumn(0, "rrgstno2", ds_spifptbs.getColumn(0, "rrgstno2"));
-
- ds_spifprintinfo.setColumn(0, "usernm", sysf_getUserInfo("usernm"));
- ds_spifprintinfo.setColumn(0, "hospnm", sysf_getUserInfo("dutplceinstnm"));
-
- ds_spifprintinfo.setColumn(0, "ocrtag", ds_spifinfo.getColumn(0, "ocrtag"));
- ds_spifprintinfo.setColumn(0, "orddd", ds_spifinfo.getColumn(0, "orddd"));
- ds_spifprintinfo.setColumn(0, "appdd", ds_spifinfo.getColumn(0, "appdd"));
- var orddeptcd = ds_spifinfo.getColumn(0, "orddeptcd");
- ds_spifprintinfo.setColumn(0, "orddeptcd", orddeptcd);
- fds_orddeptcd.filter("cd == '" + orddeptcd + "'");
- var orddeptnm = fds_orddeptcd.getColumn(0, "nm");
- fds_orddeptcd.filter(""); // 필터 초기화
- ds_spifprintinfo.setColumn(0, "orddeptnm", orddeptnm);
- var orddrid = ds_spifinfo.getColumn(0, "orddrid");
- ds_spifprintinfo.setColumn(0, "orddrid", orddrid);
- fds_orddrid.filter("cd == '" + orddrid + "'");
- var orddrnm = fds_orddrid.getColumn(0, "nm");
- fds_orddrid.filter(""); // 필터 초기화
- ds_spifprintinfo.setColumn(0, "orddrnm", orddrnm);
- ds_spifprintinfo.setColumn(0, "ioflag", ds_spifinfo.getColumn(0, "ioflag"));
- ds_spifprintinfo.setColumn(0, "specordyn", ds_spifinfo.getColumn(0, "specordyn"));
- fds_orddeptcd.filter("cd == '" + orddeptcd + "'");
- var deptengabbr = fds_orddeptcd.getColumn(0, "deptengabbr2");
- fds_orddeptcd.filter(""); // 필터 초기화
- ds_spifprintinfo.setColumn(0, "deptengabbr", deptengabbr);
- ds_spifprintinfo.setColumn(0, "seq", ds_spifinfo.getColumn(0, "ocrtag"));
- ds_spifprintinfo.setColumn(0, "orddeptabbr", deptengabbr);
-
-
- // 출력용 데이터 설정
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/rexpert/patappinfo1", ds_spifprintinfo);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- rptf_exeReportPreview30(["RPPMC06504"],[objParam], "open=1;save=1;directprint=1;print=1;zoom=0;printdialog=0;");
- }
- /** 승인취소 */
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
-
- // 병동 -> 응급실 전실의 경우 의료진의 승인으로 처리되므로 승인취소 금지 by 조중래 20131125
- if (ds_send_icdr.getColumn(0, "appflagcd") == "1"
- && ds_send_icdr.getColumn(0, "wardcd") == "2280200000") {
-
- sysf_messageBox("병동 → 응급실 전실의 경우 의료진의 승인취소가 필요합니다. \r\n(원무팀 승인취소불가)", "C000");
- return false;
- }
- var result = sysf_messageBox("승인취소 하시겠습니까?", "Q");
- if (result == "6") {
- var s_ordtype = ds_send_icdr.getColumn(0, "ordtype");
-
- // ER / CHEMO / DSC / DIC
- if (s_ordtype == "E" || s_ordtype == "D") {
-
- if ( ds_send_icdr.getColumn(0, "appflagcd") == "3"
- && ds_send_icdr.getColumn(0, "acptflagcd") == "2" ) {
- ds_send.setColumn(0, "ioflag", s_ordtype);
- ds_send.setColumn(0, "appflag", "3");
- ds_send.setColumn(0, "acptflag", "2");
-
- var oParam = {};
- oParam.id = "TXPMI01602";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqSetInhospUpdt6";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_cnclresult=result";
- oParam.async = false;
- oParam.callback = "callback"
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXPMI01602") > -1) {
- fQuery1();
- }
-
- } else {
- sysf_messageBox("응급실/DSC 재원환자가 아니거나 전실신청 정보가 없습니다.!","E999","");
- return false;
- }
- } else if (s_ordtype == "I") {
-
- if ( ds_send_icdr.getColumn(0, "acptflagcd") == "2" ) {
- ds_send.setColumn(0, "ioflag", "I");
- ds_send.setColumn(0, "appflag", "1");
- ds_send.setColumn(0, "acptflag", "2");
-
- var oParam = {};
- oParam.id = "TXPMI01602";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqSetInhospUpdt6";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_cnclresult=result";
- oParam.async = false;
- oParam.callback = "callback"
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXPMI01602") > -1) {
- fQuery1();
- }
-
- } else {
- sysf_messageBox("승인 정보가 없습니다.!","E999","");
- return false;
- }
- }
- }
-
- }
- /** 신청취소 */
- function btn_cancel2_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( ds_send_icdr.getColumn(0, "acptflagcd") == "1") {
- var result = sysf_messageBox("전과전실신청 취소하시겠습니까?", "Q");
- if (result == "6") {
- ds_send.setColumn(0, "ioflag", "I");
- ds_send.setColumn(0, "appflag", ds_send_icdr.getColumn(0, "appflagcd")); // 전실
- ds_send.setColumn(0, "acptflag", ds_send_icdr.getColumn(0, "acptflagcd")); // 신청
- ds_send.setColumn(0, "seqno", ds_send_icdr.getColumn(0, "seqno")); // 신청
-
- var oParam = {};
- oParam.id = "TXPMI01602";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqSetInhospUpdt6";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_cnclresult=result";
- oParam.async = false;
- oParam.callback = "callback"
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXPMI01602") > -1) {
- fQuery1();
- }
- }
- } else {
- sysf_messageBox("신청 정보가 없습니다.!","E999","");
- return false;
- }
- }
- /** 완료취소 */
- function btn_recovery_onclick(obj:Button, e:ClickEventInfo)
- {
- // 완료일자가 icdr.todd = '99991231'인 내역의 icdr.fromdd와 같은 내역만 복원하도록 체크해야함
- var iCurrentRow = ds_grd_cdcrlist.rowposition;
- var sCdcrEnddd = ds_grd_cdcrlist.getColumn(iCurrentRow, "enddd");
- var sIcdrFromdd = ds_icdrinfo.getColumn(0, "fromdd");
- var sAppFlagCd = ds_grd_cdcrlist.getColumn(iCurrentRow, "appflagcd");
- var sIcdrwardcd = ds_icdrinfo.getColumn(0, "wardcd");
- // 병동 -> 응급실 전실의 경우 의료진의 승인으로 처리되므로 승인취소 금지 by 조중래 20131125
- if (sAppFlagCd == '1' && sIcdrwardcd == "2280200000") {
- sysf_messageBox("병동 → 응급실 전실의 경우 의료진의 승인취소가 필요합니다. \r\n(원무팀 승인취소불가)", "C000");
- return false;
- }
-
- if (sCdcrEnddd == sIcdrFromdd) {
-
- // 전과전실완료취소는 당일만 가능하도록 제어
- if (sAppFlagCd == "3" && sCdcrEnddd != utlf_getCurrentDate()) {
- sysf_messageBox("전과+전실 완료취소는 완료 당일만 처리가능합니다.", "C000");
- return false;
- }
-
- var sMsg = "선택한 내역 이후의 전과전실 변경사항들이 사라집니다.!!" + "\n"
- + "완료 이전으로 복원하시겠습니까?";
- var result = sysf_messageBox(sMsg, "Q");
- if (result == "6") {
-
- ds_send_cdcr.copyData(ds_grd_cdcrlist);
- ds_send_cdcr.clearData();
- ds_send_cdcr.addRow();
- ds_send_cdcr.copyRow(0, ds_grd_cdcrlist, iCurrentRow);
-
- var oParam = {};
- oParam.id = "TXPMI01603";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqSetChngRecovery";
- oParam.inds = "icdr=ds_send_icdr cdcr=ds_send_cdcr adrv=ds_send_adrv";
- oParam.outds = "ds_cnclresult=result";
- oParam.async = false;
- oParam.callback = "callback"
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXPMI01603") > -1) {
-
- // 복원 후 재 조회
- fQuery1();
-
- // 버튼초기화
- fSetButton();
- }
- }
- } else {
- sysf_messageBox("신청정보의 완료일자가 전과전실이력의 최종시작일자와 같은 항목만 복원할 수 있습니다!!", "I");
- }
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_send_inpt.getColumn(0, 'orddeptcd') == '2030000000'){
- fPrintInNoti(ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'));
- }
- }
- function Button04_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_send_inpt.getColumn(0, 'orddeptcd') == '2030000000'){
- fPrintInNotiConfirm(ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- ds_send_inpt.getColumn(0, 'hngnm'));
- }
- }
- /* 콜백 공통처리용*/
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* 입원전담전문의 병동 입원동의서 출력 버튼 */
- function Button05_onclick(obj:Button, e:ClickEventInfo)
- {
- // 입원전담전문의 병동 입원동의서 처리 by 조중래 20180911
- if (Combo04.text == "Y"
- && ds_send_inpt.getColumn(0, "insukind") == "11") {
- var ocrtype = "O";
- if (ds_pPK018.getColumn(ds_pPK018.findRow('cdid', ipaddress), 'cdnm') == "Y") {
- if (sysf_messageBox("입원전담전문의 병동 입원동의서", "Q017") == "6") {
- ocrtype = "S";
- }
- }
- //구분에 맞춰 폼코드 처리(18 : 입원전담전문의 병동 입원동의서 )
- var formcd = oDsRsltRef.getColumn(oDsRsltRef.findRow('cdseqno', '18'), "hardcd");
- // COR 출력의 경우
- if (ocrtype == "O") {
- fPerPrintOCR(formcd,
- ds_send_inpt.getColumn(0, 'pid'),
- ds_send_inpt.getColumn(0, 'indd'),
- ds_send_inpt.getColumn(0, 'cretno'),
- 'I',
- ocrtype);
- }
- else {
- ds_temp_consent.clearData();
- dsf_makeValue(ds_temp_consent, "pid", 'string', ds_send_inpt.getColumn(0, "pid"));
- dsf_makeValue(ds_temp_consent, "orddd", 'string', ds_send_inpt.getColumn(0, "indd"));
- dsf_makeValue(ds_temp_consent, "cretno", 'string', ds_send_inpt.getColumn(0, "cretno"));
- dsf_makeValue(ds_temp_consent, "ordtype", 'string', ds_send_inpt.getColumn(0, 'ordtype'));
- dsf_makeValue(ds_temp_consent, "flag", 'string', "H"); // H:입원전담전문의 병동 입원동의서
- dsf_makeValue(ds_temp_consent, "formcd", 'string', formcd);
- var currentDate = utlf_getCurrentDate();
-
- dsf_makeValue(ds_temp_consent, "tag1", 'string', ds_send_inpt.getColumn(0, "pid")); // 등록번호
- dsf_makeValue(ds_temp_consent, "tag2", 'string', cmb_orddeptcd.text); // 진료과
- dsf_makeValue(ds_temp_consent, "tag3", 'string', cmb_medispclid.text); // 진료의
- dsf_makeValue(ds_temp_consent, "tag4", 'string', ds_send_inpt.getColumn(0, "hngnm")); // 환자성명
- dsf_makeValue(ds_temp_consent, "tag5", 'string', cmb_wardcd.text + " / " + ds_send_icdr.getColumn(0, "roomcd")); // 입원병동/병실
- dsf_makeValue(ds_temp_consent, "tag6", 'string', ds_send_inpt.getColumn(0, "brthdd").substr(2,2) + "/" + ds_send_inpt.getColumn(0, "brthdd").substr(4,2) + "/" + ds_send_inpt.getColumn(0, "brthdd").substr(6,2)); // 생년월일
- dsf_makeValue(ds_temp_consent, "tag7", 'string', ds_send_inpt.getColumn(0, "mpphontel")); // 전화번호
- dsf_makeValue(ds_temp_consent, "tag8", 'string', currentDate.substr(0, 4));
- dsf_makeValue(ds_temp_consent, "tag9", 'string', currentDate.substr(4, 2));
- dsf_makeValue(ds_temp_consent, "tag10", 'string', currentDate.substr(6, 2));
- fPrintOcrConsent(ds_temp_consent);
- }
- }
- }
- function btn_srch_room_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMI02001", "SPPMI02001", "", "", '', '', '', "", "", "", "", "", "M");
- ds_send_icdr.setColumn(0, "wardcd", ds_hidden_grdbedspec.getColumn(0, "wardcd"));
- ds_send_icdr.setColumn(0, "roomcd", ds_hidden_grdbedspec.getColumn(0, "roomcd"));
- ds_send_icdr.setColumn(0, "bedcd", ds_hidden_grdbedspec.getColumn(0, "bedcd"));
- ds_send_icdr.setColumn(0, "roomtypecd", ds_hidden_grdbedspec.getColumn(0, "roomtypecd"));
- ds_send_icdr.setColumn(0, "roomgrdecd", ds_hidden_grdbedspec.getColumn(0, "roomgrdecd"));
- ds_hidden_grdbedspec.clearData();
-
- }
- //담당의 존재 여분 구분 임승주 추가 19.08.26
- function rdo_attend_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(rdo_attend.value == "Y")
- {
-
- cmb_atdoctid.enable =true;
- }
- else
- {
- ds_send_icdr.setColumn(0,"atdoctid", "-" );
- cmb_atdoctid.enable =false;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|